[Samba] LDAP Change, file browsing pause

Tom Kurtz tom.kurtz at gmail.com
Mon Dec 4 19:44:49 GMT 2006


After switching from Netscape LDAP to OpenLDAP, file browsing has a random
10-20 second pause or hesitation when opening explorer or File->Open dialog
boxes.  After the initial pause, the directory browsing runs lightning fast.
 The pause cannot be consistently recreated, but occurs often at random
times throughout the day.  This occurs after the users' machines have been
idle (or share has been idle) for 10 minutes or greater.  Sometimes a
machine can sit for hours and have no pause.  There are no errors being
generated by samba, and nothing ever times out, but there is a definate
random lengthy pause. The system was running great before the LDAP change
with several thousand users.  The only statement that changed in the samba
config was the ldap address.  I am not the admin for the LDAP system so I
cannot post the config.  Any comments or tips would be greatly appreciated.

Environment:
Servers: RHEL4
SAMBA Ver: 3.0.8

12 SAMBA servers with 300 to 6000 users each, spread in different LANS
1 Central LDAP system

Pertinent smb.conf entries:
[global]
        workgroup = xxxxx
        server string = Administration Server
        obey pam restrictions = Yes
        passdb backend = ldapsam:ldap://xxxxxxxxx
        algorithmic rid base = (different for each server)
        passwd program = /usr/bin/passwd %u
        unix password sync = Yes
        log file = /var/log/samba/%m.log
        smb ports = 139
        time server = Yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        load printers = No
        logon script = USERS/%u.bat
        logon path =
        logon drive = F:
        domain logons = Yes
        os level = 65
        preferred master = Yes
        domain master = Yes
        dns proxy = No
        wins support = Yes
        ldap admin dn = cn=xxxxxxxxxxxxxx
        ldap group suffix = ou=Groups
        ldap machine suffix = ou=People
        ldap suffix = dc=xxxxxxx,dc=xxxxxx
        ldap ssl = no
        ldap user suffix = ou=People

Thanks!

TOM


More information about the samba mailing list