Winbind's offline state and idmap_ldap
Gerald (Jerry) Carter
jerry at samba.org
Mon Feb 19 04:57:17 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, 18 Feb 2007, simo wrote:
>> Correct. I thought you had already done that. I remember
>> bringing that up during the merge.
>
> Yes, I did the work, but it still tries to contact the backend as I
> thought it should have been authoritative about what is online/offline.
> You are proposing a different thing (which makes things easier
> probably). Now I see you probably meant this all the time, but I
> understood it in a slightly different way, so we need to check that part
> of the code to make sure it behaves as you propose.
I'm fixing it up. Getting closer. So the current idmap_cache is
expiring entries when winbindd is offline ?
>> My point about calling init() for each backend in idmap_init().
>
> I know, I just thought it was worth mentioning the other stuff, and it
> was indeed as it seem we had slightly different ideas on the details.
> Luckily we spotted this difference, and we can make sure things work.
OK. I'm splitting the idmap_init() to initializae the cache
at first and calling the remaining initialization code for the
backends when necessary and when we know we are online.
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: For info see http://quantumlab.net/pine_privacy_guard/
iD8DBQFF2S4zIR7qMdg1EfYRApAyAJ9jJ/4i6g/brxZBwu4m941ZzTCSRwCglEin
BKhc9inJRNznrVU7IsDPURQ=
=11h2
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list