net user add <name> [-F user flags] ...
Andrew Bartlett
abartlet at samba.org
Mon Oct 7 07:30:01 GMT 2002
Richard Sharpe wrote:
>
> On Mon, 7 Oct 2002, Andrew Bartlett wrote:
>
> > Rafal Szczesniak wrote:
> > >
> > > On Mon, Oct 07, 2002 at 01:22:26PM +0930, Richard Sharpe wrote:
> > > > Hi,
> > > >
> > > > net help user suggests that net user add accepts optional -F user_flags,
> > > > but in scanning the code, I don't see any flags being processed.
> > > >
> > > > Does the code actually accept flags?
> > > >
> > > > Can you use the above command to create a domain trust account, or must
> > > > you use the smbpasswd command?
> > >
> > > Yes, but not against samba dc. Samba doesn't implement SAMR call which
> > > creates an account. Thus, it works only against native WinNT server.
> > > Or at least worked when I checked this last time.
> >
> > Samba *does* implement the createuser SAMR call, so this should work...
> > (Both 2.2 and HEAD)
>
> However, there seems to be no way to specify that you want a workstation
> trust account or a domain trust account rather than an ordinary user.
>
> At least, not in the net user add command.
That's in the net rpc trustdom stuff at the moment.
Andrew Bartlett
--
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
More information about the samba-technical
mailing list