[Samba] smbpasswd -a ldapsam problem

Gunther Schlegel schlegel at riege.de
Thu Sep 18 12:14:32 GMT 2003


I noticed the following issue:

when I add the default configuration for ldapsearches from the Howto
collection §, 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 ):

Sep 18 14:02:33 fermat slapd[1952]: conn=107 op=29 SRCH base="ou=Riege
Software,dc=riege,dc=com" scope=2

Is the default wrong or does the filter not work at all?

regards, Gunther

Gunther Schlegel                    Riege Software International GmbH
Manager System Administration                            Mollsfeld 10
                                             40670 Meerbusch, Germany
Email: schlegel at riege.de                      Phone: +49-2159-9148-0
                                              Fax:   +49-2159-9148-11

You may grab my GPG key from http://www.keyserver.net .
A nonproportional font is recommended for reading.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20030918/673c107e/attachment.bin

More information about the samba mailing list