convertSambaAccount doesn't handle machine accounts

Gerald (Jerry) Carter jerry at samba.org
Sat Sep 20 15:29:20 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brad Langhorst wrote:
| it leaves
| primarygroupid in there because
| 	if ( $entry->get_value( "primaryGroupID" ) ) {
| return false when the value is 0
|
| machine account have a 0 value in that field

ok.  I checked and we set this for 3.0 machine
accounts, but I don't have the 2.2 entries in
front of me right now.

|
| this patch makes the ldif work with slapadd but i don't know what samba
| will do with groups like
|  S-1-5-21-AAAAAAAAA-NNNNNNNN-XXXXXXX-0
|
| I also had to modify all the machine accounts to include the
| objectClass: account

Then you probably had an invalid schema to start with.
sambaAccount was originally structural but was changed
to auxilary a long time ago.

Thanks for the patch, Brad.  I'm applying it to the 3.0 and
release trees.





cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/bHJQIR7qMdg1EfYRAsvdAJ4kXkoux6yCKVPE44gcqUXe+dZTgQCgpDLM
aYz7wUqZupX05iuJEWQeXpY=
=7F0c
-----END PGP SIGNATURE-----




More information about the samba-technical mailing list