Samba4: Extension of schema to support apple mac's

Lukasz Zalewski lukas at eecs.qmul.ac.uk
Wed Apr 25 12:41:46 MDT 2012


Hi list,
I have been trying to extend s4 schema to support apple mac's (using 
4.0.0alpha19-GIT-e36622f).
The ldif was created on Windows, using ADAM utility (as described in the 
instructions in 
http://training.apple.com/pdf/wp_integrating_active_directory.pdf)
and imported using ldifde utility (after manually replacing DC=X with 
appropriate values):
ldifde /j . /k /i /f APPLE_10.7_EXTENSION_SCHEMA.ldf

I had some errors related to rdnAttId attributes (complaints about 
invalid value), but after replacing rdnAttId numeric 2.5.4.3 value with 
cn the import was successful.

Before ldifde was run i have added
dsdb:schema update allowed = yes
to the smb.conf, and after the import was completed the above entry was 
removed.

I had a quick look at CN=Schema, CN=Configuration, DC=......
and 27 attributes and 6 classes from the import were there.

However when i try to create new object based on one of the classes 
(through ADSI) i get operation failed. Error Code 0x80005000. An Invalid 
directory pathname was passed.

I have imported the above ldif to AD (in one attempt as all of the 
errors were fixed) and did get the same error once, but after i run 
"update schema now" the error was no more and i could create the object 
of that class (i have tested it with apple-computer-list class)

Have i missed something along the line? If so could you point me in the 
right direction?

Many Thanks

Lukasz

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: APPLE_10.7_EXTENSION_SCHEMA.ldf
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120425/a6e0be17/attachment.ksh>


More information about the samba-technical mailing list