samba4, samba-tool command

Jelmer Vernooij jelmer at
Tue May 3 08:56:03 MDT 2011

Hi Theresa,

On Mon, 2011-05-02 at 20:20 -0400, Theresa Halloran wrote:
> My name is Theresa and I'm new to samba development!  I work in 
> Poughkeepsie NY at IBM and am new to linux as well, although I did work 
> on linux tooling several years ago for linux on z/series.
Welcome! :)

> I started looking around samba 4 for places where I might be able to 
> help out, with assistance from Tridge and Steve French.  The samba-tool 
> command seems like an area where some work is needed and I think I can 
> contribute.  One thing I've noticed is that there doesn't seem to be a 
> consistent format for command syntax and sub-commands.  That makes it 
> difficult to use, especially for someone like me, who is new to the 
> product and learning samba.
I guess it's got quite a bit of history - it's derived from the C
implementation of "net" in Samba 4 which was based on an old copy of the
C-based "net" binary in Samba 3...

> I put together a wiki page: 
> This wiki page has two tables.  The first, documents the commands that 
> are currently implemented in samba 4, their syntax (its not 100% 
> complete, but close)...The second table has proposals for changes to 
> existing commands that hopefully will make samba-tool more usable.  ... 
> I'll be filling in the second table and the wiki page with many more 
> details as I go along, make decisions and start to think about the 
> specific implementation changes needed to improve samba-tool.
> I'm also hoping to learn from and get input from all of you samba 
> experts!!  If you are interested, please take a look at the wiki page I 
> put together and give me input / opinions / advice on how you might like 
> to see the samba-tool evolve and improve.  I look forward to hearing 
> from you all.
Overall, this looks like a useful cleanup of the existing chaos.

I wonder if there's any reason for the gpo2 command to be named that
rather than just "gpo", which makes more sense to me.

For "samba-tool keytab export" the object probably should be "keytab",
with export being the sub-sub-command though I'm not sure whether we
would have more keytab subcommands. Do we ever need to import keytabs? 

Like vampire, I think join has enough history behind it and not a
particularly useful object to operate on that it should stay as is. 

Should password be a thing on its own ("samba-tool password set"),
rather than having it under user ("samba-tool user setpassword')? I'm
not sure either way. "samba-tool password" probably has more going for
it historically, but I think as a new user I would look under user. 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the samba-technical mailing list