Bug 3193 - Problem during the LDAP search: (unknown) (Timed out)
Problem during the LDAP search: (unknown) (Timed out)
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Domain Control
3.0.7
x86 Linux
: P3 regression
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-19 08:21 UTC by Matthieu
Modified: 2006-04-08 22:57 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu 2005-10-19 08:21:28 UTC
I've got a samba Domain Controller which is connected top an openldap 2.1.27
I'm using smbldap-tools for populate et administrate Ldap directory. 
Everything is fine I can integrate 2000/XP computer server... I can log on 
them without problems. But sometimes system began slow and slower and I get 
the error in samba.log : 
smbldap_search_suffix: Problem during the LDAP search: (unknown) (Timed out)
[2005/10/17 16:50:46, 0] lib/smbldap.c:smbldap_search_suffix(1101)
I think samba got a timeout on LDAP connection and lose LDAP information and 
after nothing work. 
Previously I made an openldap migration from 2.0.27 to 2.1.27 I didn't 
recompile samba after. 
I use redhat ES 3.0 u2 with samba 3.0.7 / openldap on other same computer with 
openldap 2.0.27 and after 2.1.27
these are my install script : 
./configure --prefix=$extDIR/samba \
--enable-cups \
--with-ldap \
--with-logfilebase=/var/log/samba \
--with-configdir=/etc/samba \
--with-libiconv=$extDIR/libiconv-$libiconv \
--with-automount \
--with-smbmount \
--with-pam_smbpass \
--with-pam \
--with-ldapsam \
--with-quotas \
--with-sys-quotas \
--with-libsmbclient \
--with-acl-support

##### for ldap I previously use rpm package for 2.0.27 

smb.conf (globale config) 
[global]
        workgroup = chub.priv
        netbios name = MAMAT
        null passwords = Yes
        passdb backend = ldapsam:ldap://localhost/
        passwd program = /usr/local/sbin/smbldap-passwd -o %u
        passwd chat = *new*password* %n\n *new*password:* %n\ *successfully*
        passwd chat debug = Yes
        client plaintext auth = yes
        log file = /var/log/samba/samba.log
        time server = Yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        add user script = /usr/local/sbin/smbldap-useradd -a -m %u
        add machine script = /usr/local/sbin/smbldap-useradd -w %m
        logon home = \\%L\profiles\98
        domain logons = Yes
        os level = 30
        preserve case = yes
        short preserve case = yes
        case sensitive = yes
        preferred master = Yes
        domain master = Yes
        wins support = Yes
        ldap suffix = dc=chub,dc=priv
        ldap machine suffix = ou=Computers
        ldap user suffix = ou=Users
        ldap group suffix = ou=Groups
        ldap admin dn = cn=Manager,dc=chub,dc=priv
        ldap ssl = no
        ldap delete dn = no
        comment = Samba-PDC Server %v
        profile acls = Yes
        admin users = Amdinistrator


Any idea will be welcome !!

thx
Comment 1 Gerald (Jerry) Carter 2006-04-08 22:57:02 UTC
Please retest against a current release and reopen if the issue still exists.