From: Gerald Carter Date: Wed, 21 Mar 2007 20:22:12 +0000 (+0000) Subject: more idmap doc updates X-Git-Tag: samba-3.3.0pre1~1662 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7462399b5cb185ab442c69950ef337c497e3e6f5;p=thirdparty%2Fsamba.git more idmap doc updates --- diff --git a/docs/manpages-3/idmap_ldap.8.xml b/docs/manpages-3/idmap_ldap.8.xml index f93d8857110..5cf06a4a9a1 100644 --- a/docs/manpages-3/idmap_ldap.8.xml +++ b/docs/manpages-3/idmap_ldap.8.xml @@ -104,17 +104,17 @@ [global] - idmap domain = default - - idmap config default:backend = ldap - idmap alloc backend:ldap_base_dn = ou=idmap,dc=example,dc=com - idmap alloc backend:ldap_url = ldap://localhost/ - idmap config default:range = 10000 - 50000 + idmap domain = ALLDOMAINS + idmap config ALLDOMAINS:default = yes + idmap config ALLDOMAINS:backend = ldap + idmap config ALLDOMAINS:ldap_base_dn = ou=idmap,dc=example,dc=com + idmap config ALLDOMAINS:ldap_url = ldap://localhost/ + idmap config default:range = 10000 - 50000 idmap alloc backend = ldap - idmap alloc backend:ldap_base_dn = ou=idmap,dc=example,dc=com - idmap alloc backend:ldap_url = ldap://master.example.com/ - idmap alloc config:range = 10000 - 50000 + idmap alloc config:ldap_base_dn = ou=idmap,dc=example,dc=com + idmap alloc config:ldap_url = ldap://master.example.com/ + idmap alloc config:range = 10000 - 50000 diff --git a/docs/manpages-3/idmap_tdb.8.xml b/docs/manpages-3/idmap_tdb.8.xml index 33bbdd8bc57..85f729e5698 100644 --- a/docs/manpages-3/idmap_tdb.8.xml +++ b/docs/manpages-3/idmap_tdb.8.xml @@ -66,10 +66,10 @@ [global] - idmap domain = default - - idmap config default:backend = tdb - idmap config default:range = 10000 - 50000 + idmap domain = ALLDOMAINS + idmap config ALLDOMAINS:default = yes + idmap config ALLDOMAINS:backend = tdb + idmap config ALLDOMAINS:range = 10000 - 50000 idmap alloc backend = tdb idmap alloc config:range = 10000 - 50000 diff --git a/docs/smbdotconf/winbind/idmapbackend.xml b/docs/smbdotconf/winbind/idmapbackend.xml index c9049c6af05..20e1115c5fc 100644 --- a/docs/smbdotconf/winbind/idmapbackend.xml +++ b/docs/smbdotconf/winbind/idmapbackend.xml @@ -24,7 +24,5 @@ - -ldap:ldap://ldapslave.example.com/ -ad +tdb diff --git a/docs/smbdotconf/winbind/idmapconfig.xml b/docs/smbdotconf/winbind/idmapconfig.xml index 7e964459628..63b0a907a8d 100644 --- a/docs/smbdotconf/winbind/idmapconfig.xml +++ b/docs/smbdotconf/winbind/idmapconfig.xml @@ -8,24 +8,57 @@ The idmap config prefix provides a means of managing each domain defined by the option using Samba's parameteric option support. The idmap config prefix should be - followed by the name of the domain, a colon, and either the option - name "backend" or a setting specific to the chosen - backend. + followed by the name of the domain, a colon, and a setting specific to + the chosen backend. There are three options available for all domains: + + + + backend = backend_name + + Specifies the name of the idmap plugin to use as the + SID/uid/gid backend for this domain. + + + + + default = [yes|no] + + The default domain/backend will be used for searching for + users and groups not belonging to one of the explicitly + listed domains (matched by comparing the account SID and the + domain SID). + + + + + readonly = [yes|no] + + Mark the domain as readonly which means that no attempts to + allocate a uid or gid (by the ) for any user or group in that domain + will be attempted. + + + The following example illustrates how to configure the idmap_ad8 for the CORP domain and the idmap_tdb - 8 backend for all other domains. + 8 backend for all other domains. The + TRUSTEDDOMAINS string is simply a key used to reference the "idmap + config" settings and does not represent the actual name of a domain. - idmap domains = CORP default - idmap config CORP:backend = ad - idmap config CORP:read_only = yes - idmap config default:backend = tdb - idmap config default:default = yes - idmap config default:range = 1000 - 9999 + idmap domains = CORP TRUSTEDDOMAINS + + idmap config CORP:backend = ad + idmap config CORP:readonly = yes + + idmap config TRUSTEDDOMAINS:backend = tdb + idmap config TRUSTEDDOMAINS:default = yes + idmap config TRUSTEDDOMAINS:range = 1000 - 9999 diff --git a/docs/smbdotconf/winbind/idmapdomains.xml b/docs/smbdotconf/winbind/idmapdomains.xml index 515a91ba79c..131b9e8167b 100644 --- a/docs/smbdotconf/winbind/idmapdomains.xml +++ b/docs/smbdotconf/winbind/idmapdomains.xml @@ -12,9 +12,9 @@ - Values constist of the short domain name for Winbind's primary or collection - of trusted domains. The keyword "default" is used to - represent all domains not explicitly listed. + Values consist of the short domain name for Winbind's primary or collection + of trusted domains. You may also use an arbitrary string to represent a catchall + domain backend for any domain not explicitly listed.