📄 net.8
字号:
.PPStop the specified service on the remote server\&..RS.Sh "Note".PPCurrently NOT implemented\&..RE.SS "RAP PASSWORD USER OLDPASS NEWPASS".PPChange password of \fIUSER\fR from \fIOLDPASS\fR to \fINEWPASS\fR\&..SS "LOOKUP".SS "LOOKUP HOST HOSTNAME [TYPE]".PPLookup the IP address of the given host with the specified type (netbios suffix)\&. The type defaults to 0x20 (workstation)\&..SS "LOOKUP LDAP [DOMAIN".PPGive IP address of LDAP server of specified \fIDOMAIN\fR\&. Defaults to local domain\&..SS "LOOKUP KDC [REALM]".PPGive IP address of KDC for the specified \fIREALM\fR\&. Defaults to local realm\&..SS "LOOKUP DC [DOMAIN]".PPGive IP's of Domain Controllers for specified \fI DOMAIN\fR\&. Defaults to local domain\&..SS "LOOKUP MASTER DOMAIN".PPGive IP of master browser for specified \fIDOMAIN\fR or workgroup\&. Defaults to local domain\&..SS "CACHE".PPSamba uses a general caching interface called 'gencache'\&. It can be controlled using 'NET CACHE'\&..PPAll the timeout parameters support the suffixes: s \- Secondsm \- Minutesh \- Hoursd \- Daysw \- Weeks .SS "CACHE ADD key data time-out".PPAdd specified key+data to the cache with the given timeout\&..SS "CACHE DEL key".PPDelete key from the cache\&..SS "CACHE SET key data time-out".PPUpdate data of existing cache entry\&..SS "CACHE SEARCH PATTERN".PPSearch for the specified pattern in the cache data\&..SS "CACHE LIST".PPList all current items in the cache\&..SS "CACHE FLUSH".PPRemove all the current items from the cache\&..SS "GETLOCALSID [DOMAIN]".PPPrint the SID of the specified domain, or if the parameter is omitted, the SID of the domain the local server is in\&..SS "SETLOCALSID S-1-5-21-x-y-z".PPSets domain sid for the local server to the specified SID\&..SS "GROUPMAP".PPManage the mappings between Windows group SIDs and UNIX groups\&. Parameters take the for "parameter=value"\&. Common options include:.TP 3\(buunixgroup \- Name of the UNIX group.TP\(buntgroup \- Name of the Windows NT group (must be resolvable to a SID.TP\(burid \- Unsigned 32\-bit integer.TP\(busid \- Full SID in the form of "S\-1\-\&.\&.\&.".TP\(butype \- Type of the group; either 'domain', 'local', or 'builtin'.TP\(bucomment \- Freeform text description of the group.LP.SS "GROUPMAP ADD".PPAdd a new group mapping entry: .nfnet groupmap add {rid=int|sid=string} unixgroup=string \\ [type={domain|local}] [ntgroup=string] [comment=string].fi .SS "GROUPMAP DELETE".PPDelete a group mapping entry\&. If more then one group name matches, the first entry found is deleted\&..PPnet groupmap delete {ntgroup=string|sid=SID}.SS "GROUPMAP MODIFY".PPUpdate en existing group entry.PP .nfnet groupmap modify {ntgroup=string|sid=SID} [unixgroup=string] \\ [comment=string] [type={domain|local}].fi .SS "GROUPMAP LIST".PPList existing group mapping entries.PPnet groupmap list [verbose] [ntgroup=string] [sid=SID].SS "MAXRID".PPPrints out the highest RID currently in use on the local server (by the active 'passdb backend')\&..SS "RPC INFO".PPPrint information about the domain of the remote server, such as domain name, domain sid and number of users and groups\&..SS "[RPC|ADS] TESTJOIN".PPCheck whether participation in a domain is still valid\&..SS "[RPC|ADS] CHANGETRUSTPW".PPForce change of domain trust password\&..SS "RPC TRUSTDOM".SS "RPC TRUSTDOM ADD DOMAIN".PPAdd a interdomain trust account for \fIDOMAIN\fR to the remote server\&..SS "RPC TRUSTDOM DEL DOMAIM".PPRemove interdomain trust account for \fIDOMAIN\fR from the remote server\&..RS.Sh "Note".PPCurrently NOT implemented\&..RE.SS "RPC TRUSTDOM ESTABLISH DOMAIN".PPEstablish a trust relationship to a trusting domain\&. Interdomain account must already be created on the remote PDC\&..SS "RPC TRUSTDOM REVOKE DOMAIN".PPAbandon relationship to trusted domain.SS "RPC TRUSTDOM LIST".PPList all current interdomain trust relationships\&..SS "RPC RIGHTS".PPThis subcommand is used to view and manage Samba's rights assignments (also referred to as privileges)\&. There are three options current available: \fIlist\fR, \fIgrant\fR, and \fIrevoke\fR\&. More details on Samba's privilege model and its use can be found in the Samba\-HOWTO\-Collection\&..SS "RPC ABORTSHUTDOWN".PPAbort the shutdown of a remote server\&..SS "SHUTDOWN [-t timeout] [-r] [-f] [-C message]".PPShut down the remote server\&..TP\-rReboot after shutdown\&..TP\-fForce shutting down all applications\&..TP\-t timeoutTimeout before system will be shut down\&. An interactive user of the system can use this time to cancel the shutdown\&..TP\-C messageDisplay the specified message on the screen to announce the shutdown\&..SS "SAMDUMP".PPPrint out sam database of remote server\&. You need to run this on either a BDC\&..SS "VAMPIRE".PPExport users, aliases and groups from remote server to local server\&. Can only be run an a BDC\&..SS "GETSID".PPFetch domain SID and store it in the local \fIsecrets\&.tdb\fR\&..SS "ADS LEAVE".PPMake the remote host leave the domain it is part of\&..SS "ADS STATUS".PPPrint out status of machine account of the local machine in ADS\&. Prints out quite some debug info\&. Aimed at developers, regular users should use \fBNET ADS TESTJOIN\fR\&..SS "ADS PRINTER".SS "ADS PRINTER INFO [PRINTER] [SERVER]".PPLookup info for \fIPRINTER\fR on \fISERVER\fR\&. The printer name defaults to "*", the server name defaults to the local host\&..SS "ADS PRINTER PUBLISH PRINTER".PPPublish specified printer using ADS\&..SS "ADS PRINTER REMOVE PRINTER".PPRemove specified printer from ADS directory\&..SS "ADS SEARCH EXPRESSION ATTRIBUTES...".PPPerform a raw LDAP search on a ADS server and dump the results\&. The expression is a standard LDAP search expression, and the attributes are a list of LDAP fields to show in the results\&..PPExample: \fBnet ads search '(objectCategory=group)' sAMAccountName\fR .SS "ADS DN DN (attributes)".PPPerform a raw LDAP search on a ADS server and dump the results\&. The DN standard LDAP DN, and the attributes are a list of LDAP fields to show in the result\&..PPExample: \fBnet ads dn 'CN=administrator,CN=Users,DC=my,DC=domain' SAMAccountName\fR.SS "WORKGROUP".PPPrint out workgroup name for specified kerberos realm\&..SS "HELP [COMMAND]".PPGives usage information for the specified command\&..SH "VERSION".PPThis man page is complete for version 3\&.0 of the Samba suite\&..SH "AUTHOR".PPThe 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\&..PPThe net manpage was written by Jelmer Vernooij\&.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -