Samba mit LDAP Anbindung

AMD_Rulez

Lieutenant
Registriert
Feb. 2010
Beiträge
582
hallo

habe auf meinem Debian einen samba server am laufen den ich jetzt gerne ans ldap anschließen würde. dazu habe ich im internet folgendes beispiel für die smb.conf gefunden:
http://www.linupedia.org/opensuse/Samba_mit_LDAP

gleich mal eingefügt und meine smb.conf sieht jetzt so aus:
Code:
[global]
        workgroup = bla bla
        security = share
                netbiosname = meinRechner

passdb backend = ldapsam:ldap://ldap.mein.ldap.de:389
ldap suffix = o=meinLDAP
ldap admin dn = cn=admin,ou=service,ou=users,o=meinLDAP
ldap ssl = start_tls
ldap passwd sync = Yes
ldap machine suffix     = ou=machines,ou=users
ldap group suffix       = ou=groups
ldap user suffix        = ou=active,ou=users

        [Test]
path = /home/test
public = yes
writable = yes
guest ok = no
#public = no
browseable = yes

testparm sagt folgendes:

Code:
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[Test]"
Loaded services file OK.
Server role: ROLE_STANDALONE

jetzt den smbmount:
Code:
smbmount //localhost/Test /root/smbmount/ -o LDAPnutzer

dann gebe ich das passwort ein und es kommt jedes mal die fehlermeldung:
mount error(11): Resource temporarily unavailable
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

die shares sind richtig benannt und /root/smbmount ist auch vorhanden. also kann es nur an der konfig liegen...


weiß jemand weiter?
 
Versuche einmal das du nur mount verwendest

mount //server-ip/freigabenname -o username="USERNAME"

Beste Grüße
Intel_Xeon
 
kommt aufs gleiche hinaus...
 
Zurück
Oben