samba4, samba-tool command

Theresa Halloran thallora at linux.vnet.ibm.com
Tue May 3 09:25:05 MDT 2011


On 5/3/2011 2:52 AM, Pavel Herrmann wrote:
> Hi
>
> I am in no way an expert, but from your comments in the second table i figured
> you might be confused about some things, so here is my explanation/hint
>
> join command - the type of object being joined depends on the mandatory
> parameter, "member" means machine, "(RO)DC" means (read only) domain controler
> (server) - this parameter/switch needs to be present in your new syntax
One way to handle the join command syntax is to keep it as it is now, 
for historical reasons, as Jelmer suggests.  join <dnsdomain> 
MEMBER|RODC|DC is very similar to: net join MEMBER|PDC|BDC

Another way would be to change the join command to something like this:

object
	action
	parameter
	specific options
	comments
dc
	join
	<dnsdomain>
	--server=
--site=
--mode=RO|<none> (none would indicate not read only but read/write?)
	in samba 3 RODC is called BDC, can I assume that on the samba-tool join 
command, the terminology change to RODC is intentional? (and PDC to DC)?
member
	join
	<dnsdomain>
	--server=
--site=
	


I guess I'll see if I get more input on this from others.....either way 
to me seems ok.

> fsmo is "flexible single master operation", a nice name for a task/role that
> can be handled by only one server at a time for consistency (as opposed to
> most AD interaction) - for instance assignig RID (resource ID) ranges to
> servers, manipulationg database schema etc. just for completness, transfer
> means "request the role from current owner", seize means "take the role by
> force, current master is dead", show is self-explanatory
> synatactically, fsmo would fit into your "object" category quite well IMHO.
Ok, this helps me understand.  I will update the table....thanks!
> hope this helps someone
>
> Pavel Herrmann
>
> On Tuesday 03 of May 2011 02:20:53 Theresa Halloran wrote:
>> Hi all,
>>
>> 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.
>>
>> 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 put together a wiki page:
>> https://wiki.samba.org/index.php/Samba-tool-external
>>
>> 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.
>>
>> Thanks,  Theresa Halloran



More information about the samba-technical mailing list