[Samba] Re: Deleting all of winbind mapping

Etienne Goyer etienne.goyer at videotron.ca
Tue Jun 7 19:36:01 GMT 2005


John H Terpstra wrote:
> On Tuesday 07 June 2005 13:03, Etienne Goyer wrote:
> Yes, but be aware that the SID/[uid | gid] mapping generated will most likely 
> result in a totally different from the one you will delete.

Thanks.  I was aware about the change of SID -> [u|g]id mapping.  It's
ok, I am just testing.

I posted a little while ago about a problem I had with winbind.  I
configured nsswitch.conf to use winbind for passwd.  I do not have nscd
running.  When I do a "getent passwd ad-user", it does return anything.
 Then I simply do "gentent passwd", and it list all my /etc/passwd and
winbind user, including ad-user.  Then, if I do "getent passwd ad-user",
user information are returned !

If I wait a little while (5 minutes by my estimate) and try again, the
same problem occur : it can't find info for ad-user.  Then I run "getent
passwd", and it can again.  Also, I could do "wbinfo -u" instead of
"getent passwd" and it work too.

I am faberglasted.  It seem to be a problem with getting info for a
single user.  But asking for all the user work, and it populate the
cache.  Does it make sense ?  What should I be looking for to
troubleshoot this issue ?



More information about the samba mailing list