Extending Samba 4 schema for OSX GPO support

Matthieu Patou mat at samba.org
Tue Nov 23 04:16:27 MST 2010

On 22/11/2010 20:06, Aubrey Ekstrom wrote:
> Hello all,
> Great job on Samba 4! We are a tech start up looking to use Samba 4 in our small production site (50 or so users). We have a mixed environment of OS X, Ubuntu and Windows desktops. Windows works fine with Samba 4, as does Likewise Open for Ubuntu. On Ubuntu logging into the domain is all that is needed for now so no issues there.
> For OS X though, we'd like to extend the A/D schema to support Apple MCX extensions so we can apply Group Policy to our Apple machines. Is this possible? After looking through the documentation and searching Samba Wiki and the web, as well as poking through any README files in the git download of Samba 4 I can not find any instructions. I did find the MS-AD schema files in /share/setup/ad-schema/ and ldif files in /share/setup/, but I am not sure which I would use to extend the schema, or if one of those is the correct way to do this. I did try importing the Apple Schema as an .ldf file through the phpLDAPadmin web based tool. But the file import does not appear to make any changes even though it returns no error. If I paste the contents into phpLDAPadmin then it returns an error:
> LDIF text import
> Could not add object: CN=apple-category,CN=Schema,CN=Configuration,DC=xxx,DC=xxx
> That entry does not contain the attribute specified.
Can we see the ldif that you try to import ?


Matthieu Patou
Samba Team        http://samba.org
Private repo      http://git.samba.org/?p=mat/samba.git;a=summary

More information about the samba-technical mailing list