• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

smdb läuft nicht bei SAMBA 3.0.26a auf Opensuse 10.3

zanubi

Newbie
Hallo,

ich versuche gerade Samba 3.0.26a auf Opensuse 10.3 mit LDAP einzurichten. Ich bin nach dieser Anleitung vorgegangen. Der LDAP-Server funktioniert bereits. Ich habe bereits alles mit dem SWAT konfiguriert.

Der nmbd-Service funktioniert auch und läuft, der smbd allerdings nicht. :(


Der Fehler sieht folgendermaßen aus:
Code:
[2008/03/09 17:44:21, 0] smbd/server.c:main(944)
  smbd version 3.0.26a-3-1478-SUSE-SL10.3 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2007
[2008/03/09 17:44:21, 0] lib/smbldap.c:smb_ldap_start_tls(610)
  Failed to issue the StartTLS instruction: Connect error
[2008/03/09 17:44:21, 1] lib/smbldap.c:another_ldap_try(1153)
  Connection to LDAP server failed for the 1 try!

...Es wird 11mal versucht die Verbindung zum LDAP herzustellen.


Die smb.conf sieht folgendermaßen aus:
Code:
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2007/02/21 16:39:31

[global]
	workgroup = NETZWERK
	map to guest = Bad User
	passdb backend = ldapsam:ldap://127.0.0.1
	printcap name = /etc/printcap
	logon path = \\%N\profile\%U
	logon drive = H:
	domain logons = Yes
	os level = 99
	domain master = Yes
	ldap admin dn = cn=manager,dc=home,dc=stka
	ldap group suffix = ou=groups
	ldap machine suffix = ou=hosts
	ldap passwd sync = Yes
	ldap suffix = dc=home,dc=stka
	ldap ssl = start tls
	ldap user suffix = ou=users
	cups options = raw

[homes]
	comment = Home Directories
	valid users = %S, %D%w%S
	read only = No
	inherit acls = Yes
	browseable = No

[profiles]
	comment = Network Profiles Service
	path = %H
	read only = No
	create mask = 0600
	directory mask = 0700
	store dos attributes = Yes

[users]
	comment = All users
	path = /home
	read only = No
	inherit acls = Yes
	veto files = /aquota.user/groups/shares/

[groups]
	comment = All groups
	path = /home/groups
	read only = No
	inherit acls = Yes

[printers]
	comment = All Printers
	path = /var/tmp
	create mask = 0600
	printable = Yes
	browseable = No

[print$]
	comment = Printer Drivers
	path = /var/lib/samba/drivers
	write list = @ntadmin, root
	force group = ntadmin
	create mask = 0664
	directory mask = 0775

[profile]
	comment = Freigabe fuer Servergespeicherte profile
	path = /profile
	read only = No
	profile acls = Yes
	browseable = No

Ich bin noch Anfänger im Unix-System und hoffe auch hier nicht für diese Frage gesteinigt zu werden. Danke im Voraus. :)
 

stka

Guru
Die Zertifikte für den LDAP-Server hast du erstellt. Ein "ldapsearch -x -ZZ -h localhost" funktioniert auch? du hast auch mit "smbpasswd -w passwort" Das Passwort des LDPA Managers an den Samba übergeben?
 
Oben