From SambaWiki
Revision as of 20:50, 19 April 2011 by TheresaHalloran (talk | contribs)


This wiki page will document the current externals of the samba-tool command with proposed changes to be made for consistency and usability.

The proposed format for all new / existing functions on the samba-tool command are as follows:

samba-tool <object> <action> <options>

Current commands listed in in samba 4 Version 4.0.0alpha15-GIT-b12fbc2

samba-tools current commands:

Object Description Parameters Options Proposed Changes
acl get or set acls on a file nt(file), ds(directory object) add options
domainlevel Raises domain and forest function level show or raise add options
drs various directory replication services bind, kcc, replicate, showrepl, options add options
enableaccount enable a user username Change to user enableaccount to be consistent with object action
export Dumps kerberos keys of the domain into a keytab keytab Change to keytab export to be consistent with object action
fsmo Makes the target DC transfer or seize fsmo role (server connection needed) show, transfer, seize Add options
group Add or delete groups or add members to or remove members from a group add, delete, addmembers, removemembers Change remove to delete for consistency
gpo2 List group policies listall or list
newuser combine function with user create
password re-write into python
setpassword Use password command
combine both commands into one external
user create or delete a user create, delete options Add enable