Winbind's offline state and idmap_ldap

Gerald (Jerry) Carter jerry at samba.org
Mon Feb 19 16:58:28 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gerald (Jerry) Carter wrote:
> simo wrote:
> 
>>>> I'm fixing it up.  Getting closer.  So the current idmap_cache is
>>>> expiring entries when winbindd is offline ?
>>> No it shouldn't.
> 
> ok. Cool.  I have not seen evidence that it was.  Just
> clarifying your statement.  Thanks.

In winbind_msg_offline() we specifically do not send
the OFFLINE message to teh idmap child.  When simo moved
the sid <->uid/gid lookups to be async, this is now broken.

When I'm going to do is to split the idmap calls so that
the main winbindd daemon looks in cache and does and async
call to the idmap child only if the cache is expired
(which it should not when we are offline).

Make sense?




cheers, jerry
=====================================================================
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF2dc0IR7qMdg1EfYRAmMVAKCTdhrPAHFWe1oxj27Ym72v2LetqACfXB8y
iFscfLOaGWjD5IgUDVC4Ozw=
=l+ym
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list