svn commit: samba r8759 - in branches/SAMBA_4_0/source: libnet
torture/libnet
Rafal Szczesniak
mimir at samba.org
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 samba.org wrote:
> > Author: mimir
> > Date: 2005-07-25 22:00:56 +0000 (Mon, 25 Jul 2005)
> > New Revision: 8759
> >
> > WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8759
> >
> > 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
structures
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 :)
cheers,
--
Rafal Szczesniak
Samba Team member http://www.samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20050726/7e02cc53/attachment.bin
More information about the samba-technical
mailing list