Has anyone else experienced a nominal delay when starting smbd when the backend is ldapsam? I have noticed smbd slower to start after rebooting my linux box. The logs don't seem to reveal any errors. If anyone has experienced this and solved it, kindly enlighten me. Thanks in advance, Matt
Tomasz Chmielewski
2005-Jun-04 15:13 UTC
[Samba] smbd slow to start when using ldapsam backend
Matt Schwartz schrieb:> Has anyone else experienced a nominal delay when starting smbd when the > backend is ldapsam? I have noticed smbd slower to start after rebooting > my linux box. The logs don't seem to reveal any errors. If anyone has > experienced this and solved it, kindly enlighten me.What is your "nominal delay"? is it half a second or several seconds (20, 30, more)? Long delays when starting Samba may indicate: - problems communicating with an LDAP server (is your LDAP server on the same machine as Samba server)? - problems in the LDAP server itself - configuration problems You may increase the log level, both for Samba and LDAP, and see what's happening. Quick checks: Does "getent passwd" list all system users, including the ones in the LDAP server? Is "getent passwd" fast, or rather it begins to slow down when it starts to list the users from the LDAP database? -- Tomek
Maybe Matching Threads
- ldapsam ignores "ldap user suffix" when doing username lookup
- samba4 - classicupgrade - problem - passdb.error uncaught exception - Cannot load backend methods for 'ldapsam:ldap://localhost' backend NT_STATUS_CANT_ACCESS_DOMAIN_INFO
- No builtin nor plugin backend for ldapsam found
- No builtin nor plugin backend for ldapsam found
- Migration from 3.6.25-0ubuntu0.12.04.10 to 4.x with passdb backend = ldapsam