The Samba-Bugzilla – Bug 2393
net rap user add -F can't set UF_DONT_EXPIRE_PASSWD
Last modified: 2006-04-05 22:01:55 UTC
Because UF_DONT_EXPIRE_PASSWD is 0x00010000 and userflags in rap_user_info_1 is
defined as uint16, net rap user add -F can't set UF_DONT_EXPIRE_PASSWD.
"net rpc user add" can't have no options but this is not documented.
monyo@mango:~$ net rpc user help
No command: help
net [<method>] user ADD <name> [password] [-c container] [-F user flags] [misc.
Add specified user
Do you find that this works on some other platform? The problem here is that the RAP user_info_1 has a W definition (16 bits) for the flags. Do you have a RAP platform that can handle something different? Perhaps a different info level?
in fact, when I expand this parameter to a D, i get INVALID_PARAMETER back from a windows box. I'm going to close this. If you can show me a trace of a RAP server than can handle a 32-bit flags field somehow, then please reopen this.