Winbind's offline state and idmap_ldap

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


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

Simo,

> Ok, when in offline mode you should just ignore the error 
> code: NT_STATUS_SYNCHRONIZATION_REQUIRED and take
> the returned struct id_map as good. When back online such
> an error should trigger a call to the backend to
> refresh and confirm it.

Why is this different than how the normal winbindd
cache manager behaves.  If you are offline, just don't
expire the cache,  Why should the caller have to check for
mutliple error codes?  If you are offline, the cache
manager should just say NT_STATUS_OK and not expire the
record.

I don't understand the advantage to using a different design
and adding more weight and work to the caller.





cheers, jerry




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF2dtWIR7qMdg1EfYRAu2sAJ0eaHWMEbNeJlQBDfLg9A26PfsMUACeNmZN
vJ0YQ7XK9lGWeWaGapZDjoE=
=FfTP
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list