[Samba] PANIC in pdb_ldap.c

Philip Chambers P.A.Chambers at exeter.ac.uk
Fri Sep 17 09:25:11 GMT 2004


I have just installed 3.0.7 so that I can use "write list" and "force user" together 
and it panics!

I have diagnosed the problem to the line at which it fails, but not yet back to the 
root cause.

The first call to append_attr() in ldapsam_getsampwnam() is being made with new_attr 
having a value of NULL.  This causes strdup(new_attr) to fail.

The NULL is being generated by get_auserattr_key2string() which is being called with 
schema_ver = 1 and key = 41 (LDAP_ATTR_MOD_TIMESTAMP).

Before spending time tracking this further I would appreciate it if someone who is 
familiar with this code could quickly identify the root cause.

I am running on Solaris 9.

Phil.
---------------------------------------
Phil Chambers (postmaster at exeter.ac.uk)
University of Exeter



More information about the samba mailing list