Filling in calculated SAMR fields

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


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.

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