[Samba] Samba 2.2.7a discards LDAP attributes

Andrew Bartlett abartlet at samba.org
Sat Jan 25 23:55:01 GMT 2003

On Sat, Jan 25, 2003 at 04:46:18PM -0300, Leonardo Fogel wrote:
> Hi there.
> I had configured OpenLDAP, NSS and PAM over RedHat 7.3
> for Linux authentication, and they work pretty well.
> Recently, I downloaded Samba 2.2.7a source code and
> configured it for LDAP access (--with-ldapsam). I also
> configured it as a domain logon for Win98
> authentication and file server. It had looked to be
> working well, but after some tests, I noticed Samba is
> ignoring LDAP data. Please, take a look on the
> following for an example. That is a fragment of samba
> debug (smbd -i -d 5):
> ldap_open_connection: starting...

> get_single_attribute: [scriptPath] = [lfogel.bat]

> So, it looks like Samba 2.2.7a ignores all LDAP
> attributes after authentication succeeds.
> Please, if someone can figure out what the problem is,
> let me know.

Known issue in 2.2, fixed in 3.0 (now in alpha) due to a greater rewrite of 
the auth code.  We now specificly keep that data around for exactly that

Andrew Bartlett

More information about the samba mailing list