1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/setup
Andrew Tridgell 6b7d7f22e7 r10955: finally worked out why our computer accounts were being identified as users in mmc.
The problem was that the samdb module was auto-adding objectClass=user
for these accounts. That would be OK, as computer accounts are
supposed to be in that objectClass, but mmc cares about the order of
the values in the objectClass attribute! It looks for the last value,
and takes that as the value to use when deciding how to manipulate the record.

So, this patch adds an explicit objectClass=user to the record when it
gets created, which tells the samdb module to not add it as well. That
fixes the order. I suspect we are missing something else though - is
objectClass supposed to auto-sort based on the schema?
(This used to be commit 68c5f807fd)
2007-10-10 13:39:48 -05:00
..
hklm.ldif r9951: Add another value to the default HKLM. 2007-10-10 13:36:24 -05:00
newuser r9477: Convert popt options to an ejs object. Doesn't seem to break anything 2007-10-10 13:34:20 -05:00
provision r10190: Do some very basic input checking when provisioning. 2007-10-10 13:38:06 -05:00
provision_init.ldif r10916: - finished the 'operational' ldb module 2007-10-10 13:39:42 -05:00
provision_templates.ldif r8790: Finish the migration of aliases and privilages with SamSync, by adding 2007-10-10 13:30:05 -05:00
provision_users.ldif r10955: finally worked out why our computer accounts were being identified as users in mmc. 2007-10-10 13:39:48 -05:00
provision.ldif r10855: Put the domain SID in secrets.ldb by default, and add http as a 2007-10-10 13:39:37 -05:00
provision.smb.conf r10314: Apply the controvertial 'server role =' patch after discussion on the list: 2007-10-10 13:38:16 -05:00
provision.zone r10190: Do some very basic input checking when provisioning. 2007-10-10 13:38:06 -05:00
rootdse.ldif r10916: - finished the 'operational' ldb module 2007-10-10 13:39:42 -05:00
secrets.ldif r10916: - finished the 'operational' ldb module 2007-10-10 13:39:42 -05:00
upgrade r9834: More tests for the upgrade from Samba3 2007-10-10 13:36:17 -05:00