Samba-tool-external: Difference between revisions

From SambaWiki
mNo edit summary
mNo edit summary
Line 8: Line 8:


'''Current commands listed in __init__.py in samba 4 Version 4.0.0alpha15-GIT-b12fbc2'''
'''Current commands listed in __init__.py in samba 4 Version 4.0.0alpha15-GIT-b12fbc2'''
<html>
<body>


<h4>samba-tools current commands:</h4>
<h4>samba-tools current commands:</h4>
Line 38: Line 36:
<td>various directory replication services</td>
<td>various directory replication services</td>
<td>bind, kcc, replicate, showrepl, options</td>
<td>bind, kcc, replicate, showrepl, options</td>
<td></td>
<td>add options</td>
<td></td>
<td></td>
</tr>
</tr>
Line 46: Line 44:
<td>username</td>
<td>username</td>
<td></td>
<td></td>
<td>should this be '''user enable''' which is consistent with object action?</td>
<td>Change to '''user enableaccount''' to be consistent with object action</td>
</tr>
</tr>
<tr>
<tr>
<td>export</td>
<td>export</td>
<td>Dumps kerberos keys of the domain into a keytab</td>
<td>keytab</td>
<td></td>
<td></td>
<td>Change to '''keytab export''' to be consistent with object action</td>
<td></td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>fsmo</td>
<td>fsmo</td>
<td>Makes the target DC transfer or seize fsmo role (server connection needed)</td>
<td></td>
<td></td>
<td>show, transfer, seize</td>
<td></td>
<td>Add options</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>group</td>
<td>group</td>
<td>Add or delete groups or add members to or remove members from a group</td>
<td>add, delete, addmembers, removemembers</td>
<td></td>
<td></td>
<td></td>
<td>Change remove to delete for consistency</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>gpo2</td>
<td>gpo2</td>
<td></td>
<td>List group policies</td>
<td></td>
<td>listall or list</td>
<td></td>
<td></td>
<td></td>
<td></td>
Line 116: Line 114:
<td></td>
<td></td>
<td></td>
<td></td>
<td>re-write into python</tr>
<td>re-write into python<br>
</tr>
</tr>
</tr>
<tr>
<tr>
Line 154: Line 153:
</tr>
</tr>
</table>
</table>
</body>
</html>

Revision as of 20:50, 19 April 2011

samba-tool

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 __init__.py 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
join
ldapcmp
machinepw
newuser combine function with user create
pwsettings
password re-write into python
setexpiry
setpassword Use password command
combine both commands into one external
time
user create or delete a user create, delete options Add enable
vampire