net user add <name> [-F user flags] ...

Rafal Szczesniak mimir at diament.ists.pwr.wroc.pl
Mon Oct 7 08:13:01 GMT 2002


On Mon, Oct 07, 2002 at 05:15:24PM +1000, 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)
> 
> I'll be very interested to see why it doesn't.

ok, then I'll see if it was my mistake and it really works.


-- 
cheers,
+------------------------------------------------------------+
|Rafal 'Mimir' Szczesniak <mimir at diament.ists.pwr.wroc.pl>   |
|*BSD, GNU/Linux and Samba                                  /
|__________________________________________________________/



More information about the samba-technical mailing list