Difference between revisions of "Samba-tool-external"

From SambaWiki
m
m
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>
{| class="wikitable" style="text-align: center; width: 200px; height: 200px;"
 
  +
<body>
|+ Multiplication table
 
  +
|-
 
  +
<h4>With a normal border:</h4>
! scope="col" | ×
 
  +
<table border="1">
! scope="col" | 1
 
  +
<tr>
! scope="col" | 2
 
  +
<td>First</td>
! scope="col" | 3
 
  +
<td>Row</td>
|-
 
  +
</tr>
! scope="row" | 1
 
  +
<tr>
| 1 || 2 || 3
 
  +
<td>Second</td>
|-
 
  +
<td>Row</td>
! scope="row" | 2
 
  +
</tr>
| 2 || 4 || 6
 
  +
</table>
|-
 
  +
! scope="row" | 3
 
  +
<h4>With a thick border:</h4>
| 3 || 6 || 9
 
  +
<table border="8">
|-
 
  +
<tr>
! scope="row" | 4
 
  +
<td>First</td>
| 4 || 8 || 12
 
  +
<td>Row</td>
|-
 
  +
</tr>
! scope="row" | 5
 
  +
<tr>
| 5 || 10 || 15
 
  +
<td>Second</td>
|}
 
  +
<td>Row</td>
  +
</tr>
  +
</table>
  +
  +
<h4>With a very thick border:</h4>
  +
<table border="15">
  +
<tr>
  +
<td>First</td>
  +
<td>Row</td>
  +
</tr>
  +
<tr>
  +
<td>Second</td>
  +
<td>Row</td>
  +
</tr>
  +
</table>
  +
  +
</body>
  +
</html>
  +
  +
   
 
'''object:''' acl <br>
 
'''object:''' acl <br>

Revision as of 19:32, 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>

With a normal border:

First Row
Second Row

With a thick border:

First Row
Second Row

With a very thick border:

First Row
Second Row

</body> </html>


object: acl
description: get or set acls on a file
parameters: nt (file), ds (directory object)
options:

domainlevel

drs

enableaccount

export

fsmo

group

gpo2

join

ldapcmp

machinepw

newuser

pwsettings

rodc

setexpiry

setpassword

spn

time

user

vampire