Samba-tool-external: Difference between revisions

From SambaWiki
mNo edit summary
mNo edit summary
Line 25: Line 25:
<td>nt(file), ds(directory object)</td>
<td>nt(file), ds(directory object)</td>
<td>add options</td>
<td>add options</td>
<td></td>
</tr>
</tr>
<tr>
<tr>
Line 31: Line 32:
<td>show or raise</td>
<td>show or raise</td>
<td>add options</td>
<td>add options</td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>drs</td>
<td>drs</td>
<td></td>
<td>various directory replication services</td>
<td>bind, kcc, replicate, showrepl, options</td>
<td></td>
<td></td>
<td></td>
<td></td>
Line 40: Line 43:
<tr>
<tr>
<td>enableaccount</td>
<td>enableaccount</td>
<td>enable a user</td>
<td>username</td>
<td></td>
<td></td>
<td>should this be '''user enable''' which is consistent with object action?</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>export</td>
<td>export</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
Line 52: Line 57:
<tr>
<tr>
<td>fsmo</td>
<td>fsmo</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
Line 58: Line 64:
<tr>
<tr>
<td>group</td>
<td>group</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
Line 64: Line 71:
<tr>
<tr>
<td>gpo2</td>
<td>gpo2</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
Line 70: Line 78:
<tr>
<tr>
<td>join</td>
<td>join</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
Line 76: Line 85:
<tr>
<tr>
<td>ldapcmp</td>
<td>ldapcmp</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
Line 82: Line 92:
<tr>
<tr>
<td>machinepw</td>
<td>machinepw</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
Line 91: Line 102:
<td></td>
<td></td>
<td></td>
<td></td>
<td>combine function with '''user create'''</td>
</tr>
</tr>
<tr>
<tr>
<td>pwsettings</td>
<td>pwsettings</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
Line 107: Line 120:
<tr>
<tr>
<td>setexpiry</td>
<td>setexpiry</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
Line 120: Line 134:
<tr>
<tr>
<td>time</td>
<td>time</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
Line 126: Line 141:
<tr>
<tr>
<td>user</td>
<td>user</td>
<td></td>
<td>create or delete a user</td>
<td></td>
<td>create, delete</td>
<td></td>
<td>options</td>
<td>Add enable</td>
</tr>
</tr>
<tr>
<tr>
<td>vampire</td>
<td>vampire</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>

Revision as of 20:21, 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 <html> <body>

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
enableaccount enable a user username should this be user enable which is consistent with object action?
export
fsmo
group
gpo2
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

</body> </html>