1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

merging some fixes from the release branch; more to come later

(This used to be commit 7769a0d33c)
This commit is contained in:
Gerald Carter 2004-02-19 17:01:06 +00:00
parent f56317baef
commit b3508ea61e

View File

@ -905,11 +905,14 @@ Removed Parameters (order alphabetically):
* domain guest group * domain guest group
* force unknown acl user * force unknown acl user
* hide local users * hide local users
* mangled stack
* nt smb support * nt smb support
* postscript * postscript
* printer driver * printer driver
* printer driver file * printer driver file
* printer driver location * printer driver location
* read size
* source environment
* status * status
* strip dot * strip dot
* total print jobs * total print jobs
@ -998,6 +1001,7 @@ New Parameters (new parameters have been grouped by function):
* ldap idmap suffix * ldap idmap suffix
* ldap machine suffix * ldap machine suffix
* ldap passwd sync * ldap passwd sync
* ldap replication sleep
* ldap user suffix * ldap user suffix
General Configuration General Configuration
@ -1127,18 +1131,22 @@ New Schema
---------- ----------
A new object class (sambaSamAccount) has been introduced to replace A new object class (sambaSamAccount) has been introduced to replace
the old sambaAccount. This change aids us in the renaming of attributes the old sambaAccount. This change aids us in the renaming of
to prevent clashes with attributes from other vendors. There is a attributes to prevent clashes with attributes from other vendors.
conversion script (examples/LDAP/convertSambaAccount) to modify and LDIF There is a conversion script (examples/LDAP/convertSambaAccount) to
file to the new schema. modify and LDIF file to the new schema.
Example: Example:
$ ldapsearch .... -b "ou=people,dc=..." > old.ldif $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
$ convertSambaAccount <DOM SID> old.ldif new.ldif $ convertSambaAccount --sid=<Domain SID> \
--input=sambaAcct.ldif --output=sambaSamAcct.ldif \
--changetype=[modify|add]
The <DOM SID> can be obtained by running 'net getlocalsid <DOMAINNAME>' The <DOM SID> can be obtained by running 'net getlocalsid
on the Samba PDC as root. <DOMAINNAME>' on the Samba PDC as root. The changetype determines
the format of the generated LDIF output--either create new entries
or modify existing entries.
The old sambaAccount schema may still be used by specifying the The old sambaAccount schema may still be used by specifying the
"ldapsam_compat" passdb backend. However, the sambaAccount and "ldapsam_compat" passdb backend. However, the sambaAccount and