svn commit: samba r8759 - in branches/SAMBA_4_0/source: libnet torture/libnet

Rafal Szczesniak mimir at
Mon Jul 25 23:14:01 GMT 2005

On Tue, Jul 26, 2005 at 08:11:01AM +1000, Andrew Bartlett wrote:
> On Mon, 2005-07-25 at 22:00 +0000, mimir at wrote:
> > Author: mimir
> > Date: 2005-07-25 22:00:56 +0000 (Mon, 25 Jul 2005)
> > New Revision: 8759
> > 
> > WebSVN:
> > 
> > Log:
> > Another couple of fields in usermod routine.
> The libnet API provides some useful abstractions, but I'm missing what
> is the benefit of this abstraction over directly setting the
> user_info_21 and the fields_present flag.  Would it not be more complete
> and less complex for the caller to set this directly?

Yes and no :) I initially thought about using just samr structs, but:

 1) I'd like to keep implementers of libnet applications away of samr
 2) SAMR_FIELD_* macros don't seem to cover all fields in the structure,
    though it probably needs just a little more investigation
 3) struct usermod_change is going to contain also text-based datetime
    fields, instead of NTTIME, that will be converted to the value
    required by samr calls. That is to say, I'd like it to be more
    non-samba-hacker friendly :)

Rafal Szczesniak
Samba Team member

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url :

More information about the samba-technical mailing list