net {<ads|rap|rpc>} [-h] [-w workgroup] [-W myworkgroup] [-U user] [-I ip-address] [-p port] [-n myname] [-s conffile] [-S server] [-C comment] [-M maxusers] [-F flags] [-j jobid] [-l] [-r] [-f] [-t timeout] [-P] [-D debuglevel]
This tool is part of the Samba suite.
The samba net utility is meant to work just like the net utility available for windows and DOS.
Display summary of all available options.
Sets target workgroup or domain. You have to specify either this option or the IP address or the name of a server.
Sets client workgroup or domain
User name to use
IP address of target server to use. You have to specify either this option or a target workgroup or a target server.
Port on the target server to connect to.
Sets name of the client.
Specify alternative configuration file that should be loaded.
Name of target server. You should specify either this option or a target workgroup or a target IP address.
FIXME
FIXME
FIXME
FIXME
FIXME
FIXME
FIXME
FIXME
Make queries to the external server using the machine account of the local server.
set the debuglevel. Debug level 0 is the lowest and 100 being the highest. This should be set to 100 if you are planning on submitting a bug report to the Samba team (see BUGS.txt).
The NET TIME command allows you to view the time on a remote server or synchronise the time on the local server with the time on the remote server.
Without any options, the NET TIME command displays the time on the remote server.
Displays the time on the remote server in a format ready for /bin/date
Tries to set the date and time of the local server to that on the remote server using /bin/date.
Displays the timezone in hours from GMT on the remote computer.
The NET RPC command allows you to do various NT4 operations.
Join a domain with specified username and password. Password will be prompted if none is specified.
to join a domain created in server manager
List users
delete specified user
list the domain groups of the specified user
Add specified user
List user groups
Delete specified group
Create specified group
enumerates all exported resources (network shares) on target server
Adds a share from a server (makes the export active)
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.
The original Samba man pages were written by Karl Auer. The current set of manpages and documentation is maintained by the Samba Team in the same fashion as the Samba source code.