[Samba] smbpasswd -a ldapsam problem
Gerald (Jerry) Carter
jerry at samba.org
Sat Sep 20 16:41:27 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gunther Schlegel wrote:
| when I add the default configuration for ldapsearches from the Howto
| collection §10.4.4.6, example 10.2
|
| ldap filter = (&(uid=%u)(objectclass=sambaSamAccount))
|
| to smb.conf I cannot run
|
| smbpasswd -a [username]
|
| anymore. It works fine without the ldap filter statement.
|
| I noticed that the ldap queries are different with ldap filter activated
| ( from the ldap logfile ):
smbd appends objectclass filters as necessary, It is better to run with
the default ldap filter if at all possible. I'll take the blame but
having a single tweakable ldap filter doesn't really make sense anymore
since there are so many different types of searches that smbd might use.
cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/bIM3IR7qMdg1EfYRAo6aAKC7C6STArItysVREWVLEJ+ZE2RcUACfXsZR
r9/eH3V4RDACmxPc8g+RlCc=
=R3ho
-----END PGP SIGNATURE-----
More information about the samba
mailing list