[Samba] Re: REPOST net rpc user ADD flags unknown?

Jeremy Allison jra at samba.org
Sun Mar 5 23:41:34 GMT 2006


On Mon, Mar 06, 2006 at 12:23:51AM +0100, Henrik Zagerholm wrote:
> Hi list,
> 
> I have a couple of questions regarding the NET command:
> 
> 1) What flags are available with the net rpc user add command?
>      I says in the man pages that you can specify user flags with  
> the -F parameter but not which flags.

Looking in the source code I don't see the user flags being
handled in this case. I might be missing something though...

> 2) If I add a user with the net command it is automatically  
> "disabled" and I have to "change password at next logon".
> 	How can I avoid this?

Is this to a Windows or Samba DC ? You can always set the
flags using the 'net rpc user edit' command afterwards.

Jeremy.


More information about the samba mailing list