[Samba] Samba - Ldap & InetOrgPerson

Keith keith at scott-land.net
Sun Aug 21 13:50:06 MDT 2011

I don't know if I should post this here or in the samba bugzilla but 
here goes...

I am trying to get samba-ldap (editposix) to use the Inetorgperson 
schema so that I can setup a samba domain using our existing ldap 
directory. Our websites users are held in a LDAP directory that has user 
info stored in the Intetorgperson schema where user names are in 
cn=Username but smba-ldap users are stored in the 'account' schema as 

I think these patches https://bugzilla.samba.org/show_bug.cgi?id=4597 
will change samba to use the InetOrgPerson schema so have built 
Samba-ldap from the OpenBSD ports tree along with the two included 
patches. I've read about the patches and have had a look at them but 
don't realy understand how they work and whether I need to modify the 
patches to enable the correct schema but have blindly started up samba 
and my ldap server and have run the "net sam provision" command to 
populate the directory but the users are still have uid= and not cn=

The ldap server that I am using with samba doesn't actually have the 
inetorgperson schema in it yet as I haven't been able to figure out how 
to get a working tree structure setup  that contains InetOrgPerson 
schema. I was hoping that as because I have applied the patches that the 
"net sam provision" command would fail as the schema was wrong but as 
it's not I am wondering if the patches have worked.

Can anyone give me some advice on what I could try next ?


More information about the samba mailing list