usrmgr races

Andrew Bartlett abartlet at samba.org
Fri Nov 8 10:23:00 GMT 2002


I wanted to get to the bottom of 'what does/should happen with
concurrent usrmgr sessions'.

Simple test - and it appears that on NT4, there is no locking, no
'conflicting changes' warning, and simply the last man stands!

The last user to click OK updates all the basic info, as per the SAMR
call.  

At this point we need to decide how to handle this in Samba.  So far,
I've been trying to work on a model where we only record the differences
between the values sent to the client, and the values returned.  This
allows us to avoid macro expansion, and hopefully gives a more useful
set of behaviour.  

So, what do people think?  Is this the right way forward?  Or should we
strictly emulate NT4 (not possible - as far as I can tell - given macro
issues).

Andrew Bartlett
-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20021108/476a3347/attachment.bin


More information about the samba-technical mailing list