[Samba] Fwd: could not read attribute 'gidNumber' --> seems to work with ldapsearch

Urs Golla urs.golla at gmail.com
Fri Oct 5 15:23:28 GMT 2007


I have installed 3.0.26 and the problem seems to be fixed now.

But when i do a "finger domain+username" or "id" it does not look for
domain users. it checks only the local users and the ones in the
winbind chache. why? I did not change nsswitch.conf or any other
configuration files.


---------- Forwarded message ----------
From: Urs Golla <urs.golla at gmail.com>
Date: Oct 5, 2007 1:43 PM
Subject: Fwd: could not read attribute 'gidNumber' --> seems to work
with ldapsearch
To: samba at lists.samba.org


If I run a normal ldapsearch it gives me the gidnumber and uidnumber
attributes. It looks like the AD is set up properly.

---------- Forwarded message ----------
From: Urs Golla <urs.golla at gmail.com>
Date: Oct 4, 2007 9:47 AM
Subject: could not read attribute 'gidNumber'
To: samba at lists.samba.org


Hi

I am using samba 3.0.23c on RHEL5 with security = ads. If I use "idmap
backend = ad" i can see in the logfile that it gets my uidNumber:

ad_idmap_get_id_from_sid mapped SID [S-mysid] to POSIX UID myuid

but it is not able to get my gidNumber:

[2007/10/04 09:44:17, 1] sam/idmap_ad.c:ad_idmap_get_id_from_sid(309)
  ad_idmap_get_id_from_sid: ads_pull_uint32: could not read attribute
'gidNumber'

any idea?

thanks!


More information about the samba mailing list