Filling in calculated SAMR fields

Rafal Szczesniak mimir at samba.org
Fri Jul 29 06:32:14 GMT 2005


Andrew,

On Fri, Jul 29, 2005 at 09:03:35AM +1000, Andrew Bartlett wrote:
> Mimir,
> 
> I just found this little gem in the libnet/userman.c code, which has me
> confused:  Why are you filling in the name and length fields, when the
> NDR layer will just overwrite them?  Or is there something more subtle
> going on here?

No, I've simply forgotten NDR doing this :) Thanks for reminding me
that. It was just a bit of samba3 habits. I've read ndr_samr.h code and
have automatically done similar.


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/20050729/0e9f3480/attachment.bin


More information about the samba-technical mailing list