[samba] ldapsam:trusted = yes kills smbd

Jeremy Allison jra at samba.org
Thu Sep 29 20:50:57 GMT 2005


On Thu, Sep 29, 2005 at 09:55:29PM +0100, Daniel Wilson wrote:
> Hi,
> 
> we want to use ldapsam:trusted=yes to improve performace as nss_ldap 
> is killing our ldap server doing enumeration.
> 
> once i enable it smbd dies silently...
> 
> 
> this is the last part of a ./smbd -d 10 -i
> 
> NT user token: (NULL)
> UNIX token of user 0
> Primary group is 0 and contains 0 supplementary groups
> smbldap_search: base => 
> [ou=groups,ou=filestore,dc=sunderland,dc=ac,dc=uk], filt
> er => [(&(objectClass=posixGroup)(|(memberUid=nobody)
> (gidNumber=65533)))], scope
>  => [2]
> primary group of [nobody] not found
> pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
> get_user_groups_from_local_sam failed
> attempting to free (and zero) a server_info structure
> attempting to free (and zero) a server_info structure
> /tmp/dan lines 520-538/538 (END) 
> 
> however i do have a group called nobody with gidNumber of 65533 and 
> nobody as a memberUid, when i run the smbldap_search query i do get a 
> result!
> 
> my nobody user in ldap has a gidNumber of 65533 too!
> 
> Help would be appreciated!

Any chance of tracing it using strace ? That would tell us
what was causing it to abort.

Jeremy.


More information about the samba mailing list