winbindd: only call winbindd_validate_cache when not in offline logon mode.
authorMichael Adam <obnox@samba.org>
Thu, 10 Apr 2008 09:53:53 +0000 (11:53 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 10 Apr 2008 11:23:30 +0000 (13:23 +0200)
commitb884db5c47a958188d9570f78093b9443b48b9cc
treef883f3587a57a46916423df6836c407b6168496a
parent0f37cd0c8e62e5bffcbf587c1c826b35802e1e8b
winbindd: only call winbindd_validate_cache when not in offline logon mode.

originally, the cache was cleared before calling validate, but
this way, we skipt the validation of the database when not in
offline logon mode.

This is put into a new wrapper function winbindd_cache_validate_and_initialize()
which is now called in winbindd.c instead calling validate and
initialize functions separately.

Michael
(This used to be commit 641b5e3fecfce9581536de8daf6d7e6ecbefaf34)
source3/winbindd/winbindd.c
source3/winbindd/winbindd_cache.c