usrmgr races

Stefan (metze) Metzmacher metze at metzemix.de
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 pcug.org.au> (Invalid)
>*** Signed: 08.11.2002 11:22:38
>*** Verified: 08.11.2002 11:34:36
>*** BEGIN PGP VERIFIED MESSAGE ***
>
>
>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).

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 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
>
>
>
>*** END PGP VERIFIED MESSAGE ***
> >
>List-Post: <mailto:samba-technical at lists.samba.org>
>List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba-technical>,
>         <mailto:samba-technical-request at lists.samba.org?subject=subscribe>
>List-Id: Discussions on Samba internals.  For general questions please 
>subscribe to the list samba at samba.org <samba-technical.lists.samba.org>
>List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba-technical>,
>         <mailto:samba-technical-request at lists.samba.org?subject=unsubscribe>
>List-Archive: <http://lists.samba.org/pipermail/samba-technical/>
>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


metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ed0a37.jpg
Type: image/jpeg
Size: 2443 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20021108/02e9910d/ed0a37.jpg


More information about the samba-technical mailing list