Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LDAP + Samba Zugriffsgeschwindigkeit
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
148228
n00b
n00b


Joined: 04 Oct 2006
Posts: 48

PostPosted: Wed May 14, 2008 7:41 am    Post subject: LDAP + Samba Zugriffsgeschwindigkeit Reply with quote

Guten Morgen Liebe Community,

ich habe LDAP + Samba stabil am laufen.
Ich habe mit einer allusers.bat Datei eingerichtet, das den Domänen Usern die Netzwerkfreigaben als gemountete Laufwerke angezeigt werden. Die erste Freigabe geht auf das jeweilige Home Verzeichnis, die zweite auf die Public Freigabe. Auf das Home Verzeichnis kann ich mit normaler Geschwindigkeit zugreifen nur auf die Public Freigabe dauert es ewig um etwas Up-bzw Downzuloaden. Woran kann das liegen? Ich poste hier auch gleich mal meine smb.conf und die allusers.bat

allusers.bat:

@echo off
REM    # SYNC THE TIME WITH THE SERVER
net time \\Server1 /set /y
REM    # DELETE ALL MAPPED DRIVES
net use h: /delete
net use x: /delete
REM    # MAP ALL NECESSARY DRIVES
net use h: "\\Server1\ldaphome\%username%"
net use x: "\\Server1\public"


smb.conf:

[global]
   workgroup = STS
   server string = STS
   dns proxy = no
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   panic action = /usr/share/samba/panic-action %d
   security = user
   encrypt passwords = true
   passdb backend = ldapsam:ldap://localhost/
   ldap admin dn = cn=admin,dc=server1.example.com,dc=local
   ldap suffix = dc=server1.example.com, dc=local
   ldap group suffix = ou=Groups
   ldap user suffix = ou=Users
   ldap machine suffix = ou=Computers
   ldap idmap suffix = ou=Users
   ldap passwd sync = Yes
   passwd program = /usr/sbin/smbldap-passwd %u
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n *all*authentication*tokens*updated*
   add user script = /usr/sbin/smbldap-useradd -m "%u"
   ldap delete dn = Yes
   delete user script = /usr/sbin/smbldap-userdel "%u"
   add machine script = /usr/sbin/smbldap-useradd -w "%u"
   add group script = /usr/sbin/smbldap-groupadd -p "%g"
   delete group script = /usr/sbin/smbldap-groupdel "%g"
   add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
   delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
   set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
   domain logons = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
   map to guest = bad user
   logon path =
   logon script = allusers.bat
   socket options = TCP_NODELAY
   usershare allow guests = yes

[ldaphome]
        path =/ldaphome
        writeable = yes
        browseable = no
        security mask = 0777
        force security mode = 0
#       directory security mask = 0777
        force directory security mode = 0

[public]
        path=/ldaphome/public
        writeable = yes
        browseable = yes
        security mask = 0777
        force security mode = 0
        directory security mask = 0777
#       force directory security mask = 0
        force user = nobody
        force group = nogroup

[netlogon]
        comment = Network Logon Service
        path = /home/samba/netlogon
        guest ok = yes
        writeable = no
        share modes = no



Vielen Dank!

Mfg -- fuwangschu

*edit - think4urs11: smb.conf 'auf lesbar getrimmt' (Kommentare entfernt, etc.)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum