On Thu, Jan 16, 2003 at 11:50:55AM +1100, Andrew Bartlett wrote: > On Thu, 2003-01-16 at 11:27, [EMAIL PROTECTED] wrote: > > > > Date: Thu Jan 16 00:27:30 2003 > > Author: jra > > > > Update of /data/cvs/samba/source/nsswitch > > In directory dp.samba.org:/tmp/cvs-serv16834/nsswitch > > > > Modified Files: > > winbindd_cm.c > > Log Message: > > Add mutex protection around auth calls. > > Jeremy. > > You just removed all mutex protection from SAMR, LSA, etc. These will > attempt to session setup to the Win2k DC, and could now fail... > > The mutex on the netlogon is fine - but the rest either should not exist > here at all - put it in cli_full_connection() or should be back in the > connection cache code...
Hang on a minute - I thought we'd determined that it was the challange/auth/netlogon that needed protecting. Not the connection. Are you saying it's both ? If so, I can change this to be the same as in APP-HEAD (where it does protect both). Jeremy.