summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-02-03 03:51:01 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-02-03 03:51:01 +0000
commit717f45ca3ca85ca47f6d7b9379c17480f0bf82e4 (patch)
tree9dc31fa82ef874738c84c7c95fd8a6aca5eb8ce2
parentf1687587010a2390b65bd5efa37cc199b67587f8 (diff)
downloadsamba-717f45ca3ca85ca47f6d7b9379c17480f0bf82e4.tar.gz
samba-717f45ca3ca85ca47f6d7b9379c17480f0bf82e4.tar.xz
samba-717f45ca3ca85ca47f6d7b9379c17480f0bf82e4.zip
A new simpiler syntax demands a new simpiler HOWTO. (This can all be reverted
if new simpiler syntax was a bad idea...). Andrew Bartlett
-rw-r--r--docs/textdocs/GROUP-MAPPING-HOWTO.txt32
1 files changed, 7 insertions, 25 deletions
diff --git a/docs/textdocs/GROUP-MAPPING-HOWTO.txt b/docs/textdocs/GROUP-MAPPING-HOWTO.txt
index 6bd29656af8..c266f56548d 100644
--- a/docs/textdocs/GROUP-MAPPING-HOWTO.txt
+++ b/docs/textdocs/GROUP-MAPPING-HOWTO.txt
@@ -37,32 +37,9 @@ want joe,john and mary, your entry in /etc/group will look like:
domadm:x:502:joe,john,mary
-3) map this domadm group to the 'domain admins' group:
+3) map this domadm group to the 'domain admins' group by running the command:
-3.1) lists all the mapped groups by running: smbgroupedit -v
- you will get a list looking like the one below.
-
-NT group (SID) -> Unix group
-System Operators (S-1-5-32-549) -> -1
-Replicators (S-1-5-32-552) -> -1
-Guests (S-1-5-32-546) -> -1
-Power Users (S-1-5-32-547) -> -1
-Print Operators (S-1-5-32-550) -> -1
-Administrators (S-1-5-32-544) -> -1
-Account Operators (S-1-5-32-548) -> -1
-Backup Operators (S-1-5-32-551) -> -1
-Users (S-1-5-32-545) -> -1
-Domain Admins (S-1-5-21-1108995562-3116817432-1375597819-512) -> -1
-Domain Guests (S-1-5-21-1108995562-3116817432-1375597819-514) -> -1
-Domain Users (S-1-5-21-1108995562-3116817432-1375597819-513) -> -1
-
-3.2) map the unix domadm group to the NT 'Domain Admins' group, by running the
-command:
-
- smbgroupedit -c S-1-5-21-1108995562-3116817432-1375597819-512 -u domadm
-
-warning: don't copy and paste this sample, the Domain Admins SID (the
-S-1-5-21-...-512) is different for every PDC.
+ smbgroupedit -c "Domain Admins" -u domadm
you're set, joe, john and mary are domain administrators !
@@ -76,3 +53,8 @@ your samba PDC. Flag that group as a domain group by running:
smbgroupedit -a unixgroup -td
+
+You can list the various groups in the mapping database like this
+
+ smbgroupedit -v
+