usrmgr races

Stefan (metze) Metzmacher metze at
Fri Nov 8 10:40:00 GMT 2002

At 21:22 08.11.2002 +1100, Andrew Bartlett wrote:
>*** PGP Signature Status: good
>*** Signer: Andrew Francis Bartlett <abartlet at> (Invalid)
>*** Signed: 08.11.2002 11:22:38
>*** Verified: 08.11.2002 11:34:36
>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
>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

I think we shouldn't emulate NT4 here!
it produces much useless write operations to the pdb and play very badly 
together with pdb_ldap.
but what is left to do is to delete empty attributes with pdb_ldap...

>Andrew Bartlett
>Andrew Bartlett                                 abartlet at
>Manager, Authentication Subsystems, Samba Team  abartlet at
>Student Network Administrator, Hawker College   abartlet at
> >
>List-Post: <mailto:samba-technical at>
>List-Subscribe: <>,
>         <mailto:samba-technical-request at>
>List-Id: Discussions on Samba internals.  For general questions please 
>subscribe to the list samba at <>
>List-Unsubscribe: <>,
>         <mailto:samba-technical-request at>
>List-Archive: <>
>X-Original-Date: 08 Nov 2002 21:22:38 +1100
>Date: 08 Nov 2002 21:22:38 +1100
><file://m:\eudora\attach\usrmgr races.ems 
><0880.0002>>ed0a37.jpg<file://m:\eudora\attach\usrmgr races.ems 
><0880.0002>> usrmgr races.ems

Stefan "metze" Metzmacher <metze at>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ed0a37.jpg
Type: image/jpeg
Size: 2443 bytes
Desc: not available
Url :

More information about the samba-technical mailing list