From c0960be217bbf1107843b510bb0829e9c6593e85 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 24 Apr 2003 03:01:56 +0000 Subject: update net man page for groupmap options (This used to be commit 465510e39f3366a2477ffb6e7fb121ed6c88d04a) --- docs/docbook/manpages/net.8.sgml | 61 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 58 insertions(+), 3 deletions(-) (limited to 'docs/docbook/manpages') diff --git a/docs/docbook/manpages/net.8.sgml b/docs/docbook/manpages/net.8.sgml index 8ee965e3ed..6b6ebd1f09 100644 --- a/docs/docbook/manpages/net.8.sgml +++ b/docs/docbook/manpages/net.8.sgml @@ -600,7 +600,7 @@ List all current items in the cache. GETLOCALSID [DOMAIN] -Print the SID of the specified domain, or if the parameter is +Print the SID of the specified domain, or if the parameter is omitted, the SID of the domain the local server is in. @@ -612,10 +612,65 @@ omitted, the SID of the domain the local server is in. + +GROUPMAP + +Manage the mappings between Windows group SIDs and UNIX groups. +Parameters take the for "parameter=value". Common options include: + + +unixgroup - Name of the UNIX group +ntgroup - Name of the Windows NT group (must be + resolvable to a SID +rid - Unsigned 32-bit integer +sid - Full SID in the form of "S-1-..." +type - Type of the group; either 'domain', 'local', + or 'builtin' +comment - Freeform text description of the group + + + +GROUPMAP ADD + +Add a new group mapping entry + +net groupmap add {rid=int|sid=string} unixgroup=string [type={domain|local|builtin}] [ntgroup=string] [comment=string] + + + + +GROUPMAP DELETE + +Delete a group mapping entry + +net groupmap delete {ntgroup=string|sid=SID} + + + + +GROUPMAP MODIFY + +Update en existing group entry + +net groupmap modify {ntgroup=string|sid=SID} [unixgroup=string] [comment=string] [type={domain|local} + + + +GROUPMAP LIST + +List existing group mapping entries + +net groupmap list [verbose] [ntgroup=string] [sid=SID] + + + + + + MAXRID -Prints out the highest RID currently in use on the local +Prints out the highest RID currently in use on the local server (by the active 'passdb backend'). @@ -624,7 +679,7 @@ server (by the active 'passdb backend'). RPC INFO -Print information about the domain of the remote server, +Print information about the domain of the remote server, such as domain name, domain sid and number of users and groups. -- cgit From 74b9fdc1ccd6c061038d86f7713cb33a89e2261c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 26 Apr 2003 02:29:33 +0000 Subject: --with-tdbsam is gone (This used to be commit 8f63f7142c6bf1e89b5cc3c0d02cbe480bc247b4) --- docs/docbook/manpages/smb.conf.5.sgml | 2 -- 1 file changed, 2 deletions(-) (limited to 'docs/docbook/manpages') diff --git a/docs/docbook/manpages/smb.conf.5.sgml b/docs/docbook/manpages/smb.conf.5.sgml index 9486eb87ea..fa61121f4b 100644 --- a/docs/docbook/manpages/smb.conf.5.sgml +++ b/docs/docbook/manpages/smb.conf.5.sgml @@ -5423,8 +5423,6 @@ df $1 | tail -1 | awk '{print $2" "$4}' This option allows the administrator to chose which backends to retrieve and store passwords with. This allows (for example) both smbpasswd and tdbsam to be used without a recompile. Multiple backends can be specified, separated by spaces. The backends will be searched in the order they are specified. New users are always added to the first backend specified. - Experimental backends must still be selected - (eg --with-tdbsam) at configure time. This parameter is in two parts, the backend's name, and a 'location' -- cgit From 54c285888509dcd4520f2608d618012f5877d073 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 26 Apr 2003 02:30:53 +0000 Subject: The net manpage is complete, say so in the VERSION section (This used to be commit ff76db525180f0fc192a9c0cfb56781dbfb418ee) --- docs/docbook/manpages/net.8.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/docbook/manpages') diff --git a/docs/docbook/manpages/net.8.sgml b/docs/docbook/manpages/net.8.sgml index 6b6ebd1f09..ca52ce8ffc 100644 --- a/docs/docbook/manpages/net.8.sgml +++ b/docs/docbook/manpages/net.8.sgml @@ -883,7 +883,7 @@ to show in the result. VERSION - This man page is incomplete for version 3.0 of the Samba + This man page is complete for version 3.0 of the Samba suite. -- cgit From 013fa338a27eda32dac92882e4fcd39218d8285e Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Sat, 26 Apr 2003 17:22:13 +0000 Subject: removing smbgroupedit manpage (This used to be commit 4a0c02d133af6ea6f1009b81067974d6ad4fb404) --- docs/docbook/manpages/smbgroupedit.8.sgml | 229 ------------------------------ 1 file changed, 229 deletions(-) delete mode 100644 docs/docbook/manpages/smbgroupedit.8.sgml (limited to 'docs/docbook/manpages') diff --git a/docs/docbook/manpages/smbgroupedit.8.sgml b/docs/docbook/manpages/smbgroupedit.8.sgml deleted file mode 100644 index 6c489bb785..0000000000 --- a/docs/docbook/manpages/smbgroupedit.8.sgml +++ /dev/null @@ -1,229 +0,0 @@ - - - - - smbgroupedit - 8 - - - - smbgroupedit - Query/set/change UNIX - Windows NT group mapping - - - - - smbroupedit - -v [l|s] - -a UNIX-groupname [-d NT-groupname|-p privilege|] - - - - - - - -DESCRIPTION - - -This program is part of the Samba -7 suite. - - -The smbgroupedit command allows for mapping unix groups -to NT Builtin, Domain, or Local groups. Also -allows setting privileges for that group, such as saAddUser, -etc. - - - - - - OPTIONS - - - - -v[l|s] - This option will list all groups available - in the Windows NT domain in which samba is operating. - - - - - -l - give a long listing, of the format: - - -"NT Group Name" - SID : - Unix group : - Group type : - Comment : - Privilege : - - -For example: - -Users - SID : S-1-5-32-545 - Unix group: -1 - Group type: Local group - Comment : - Privilege : No privilege - - - - - - - -s - display a short listing of the format: - - -NTGroupName(SID) -> UnixGroupName - - -For example: - -Users (S-1-5-32-545) -> -1 - - - - - - - - - - - - - - - -FILES - - - - - - - - - -EXIT STATUS - - -smbgroupedit returns a status of 0 if the -operation completed successfully, and a value of 1 in the event -of a failure. - - - - - - - - - - -EXAMPLES - - - -To make a subset of your samba PDC users members of -the 'Domain Admins' Global group: - - - - - create a unix group (usually in - /etc/group), let's call it domadm. - - - add to this group the users that you want to be - domain administrators. For example if you want joe, john and mary, - your entry in /etc/group will look like: - - - domadm:x:502:joe,john,mary - - - map this domadm group to the 'domain admins' group: - - Get the SID for the Windows NT "Domain Admins" group: - -root# smbgroupedit -vs | grep "Domain Admins" -Domain Admins (S-1-5-21-1108995562-3116817432-1375597819-512) -> -1 - - - map the unix domadm group to the Windows NT - "Domain Admins" group, by running the command: - -root# smbgroupedit \ --c S-1-5-21-1108995562-3116817432-1375597819-512 \ --u domadm -td - - - warning: don't copy and paste this sample, the - Domain Admins SID (the S-1-5-21-...-512) is different for every PDC. - - - - - - -To verify that your mapping has taken effect: - -root# smbgroupedit -vs|grep "Domain Admins" -Domain Admins (S-1-5-21-1108995562-3116817432-1375597819-512) -> domadm - - -To give access to a certain directory on a domain member machine (an -NT/W2K or a samba server running winbind) to some users who are member -of a group on your samba PDC, flag that group as a domain group: - -root# smbgroupedit -a unixgroup -td - - - - - - -VERSION - - -This man page is correct for the 3.0alpha releases of -the Samba suite. - - - - -SEE ALSO - - -smb.conf -5 - - - - - -AUTHOR - - -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. - - - -smbgroupedit was written by Jean Francois Micouleau. -The current set of manpages and documentation is maintained -by the Samba Team in the same fashion as the Samba source code. The conversion -to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy. - - - -- cgit From ca42a64f9b2bca475cc77c8fd08d54c397c311eb Mon Sep 17 00:00:00 2001 From: John Terpstra Date: Sat, 26 Apr 2003 18:42:17 +0000 Subject: Added tdbbackup man page. (This used to be commit b217373ba8fc167efc8e68b6db1a9e51e670b12a) --- docs/docbook/manpages/tdbbackup.8.sgml | 130 +++++++++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 docs/docbook/manpages/tdbbackup.8.sgml (limited to 'docs/docbook/manpages') diff --git a/docs/docbook/manpages/tdbbackup.8.sgml b/docs/docbook/manpages/tdbbackup.8.sgml new file mode 100644 index 0000000000..25b2c27aef --- /dev/null +++ b/docs/docbook/manpages/tdbbackup.8.sgml @@ -0,0 +1,130 @@ + %globalentities; +]> + + + + tdbbackup + 1 + + + + + tdbbackup + tool for backing up and for validating the integrity of samba .tdb files + + + + + tdbbackup + -s suffix + -v + -h + + + + + DESCRIPTION + + This tool is part of the Samba + 1 suite. + + tdbbackup is a tool that may be used to backup samba .tdb + files. This tool may also be used to verify the integrity of the .tdb files prior + to samba startup, in which case, if it find file damage and it finds a prior backup + it will restore the backup file. + + + + + + OPTIONS + + + + + -s suffix + + The -s option allows the adminisistrator to specify a file + backup extension. This way it is possible to keep a history of tdb backup + files by using a new suffix for each backup. + + + + &stdarg.help; + + + -v + + The -v will check the database for damages (currupt data) + which if detected causes the backup to be restored. + + + + &popt.common.samba; + + + + + + + COMMANDS + + GENERAL INFORMATION + + + The tdbbackup utility should be run as soon as samba has shut down. + Do NOT run this command on a live database. Typical usage for the command will be: + + + tdbbackup [-s suffix] *.tdb + + + Before restarting samba the following command may be run to validate .tdb files: + + + tdbbackup -v [-s suffix] *.tdb + + + Samba .tdb files are stored in various locations, be sure to run backup all + .tdb file on the system. Imporatant files includes: + + + + secrets.tdb - usual location is in the /usr/local/samba/private + directory, or on some systems in /etc/samba. + + + + passdb.tdb - usual location is in the /usr/local/samba/private + directory, or on some systems in /etc/samba. + + + + *.tdb located in the /usr/local/samba/var directory or on some + systems in the /var/cache or /var/lib/samba directories. + + + + + + + + VERSION + + This man page is correct for version 3.0 of the Samba suite. + + + + AUTHOR + + + 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 tdbbackup man page was written by John H Terpstra. + + + -- cgit