[Samba] core & cosine schema items in Samba AD DC user object?

Joachim Lindenberg samba at lindenberg.one
Tue Mar 26 09:32:33 UTC 2024


I am using some of these attributes in a .NET application updating them in Samba AD.
Regards,
Joachim

-----Ursprüngliche Nachricht-----
Von: samba <samba-bounces at lists.samba.org> Im Auftrag von Rowland Penny via samba
Gesendet: Dienstag, 26. März 2024 09:01
An: samba at lists.samba.org
Cc: Rowland Penny <rpenny at samba.org>
Betreff: Re: [Samba] core & cosine schema items in Samba AD DC user object?

On Tue, 26 Mar 2024 02:57:51 +0100
Franta Hanzlík via samba <samba at lists.samba.org> wrote:

> Please, it is possible (perhaps with some Samba schema extension?) to 
> have items as 'c' (countryName), 'l' (localityName), 'l'
> (localityName), 'co' (friendlyCountryName), 'street' (streetAddress), 
> 'displayName' etc. in the description of the USER object?

It is very possible, because they are standard components of the AD
schema:

dn: CN=Country-Name,CN=Schema,CN=Configuration,DC=X
lDAPDisplayName: c

dn: CN=Locality-Name,CN=Schema,CN=Configuration,DC=X
lDAPDisplayName: l

dn: CN=Text-Country,CN=Schema,CN=Configuration,DC=X
lDAPDisplayName: co

dn: CN=Street-Address,CN=Schema,CN=Configuration,DC=X
lDAPDisplayName: street

dn: CN=Display-Name,CN=Schema,CN=Configuration,DC=X
lDAPDisplayName: displayName

> 
> And then how to manage them? The "samba-tool user add" doesn't seem to 
> have a corresponding switch...

That would be up to you writing your own script to add them, unless you would care to update samba-tool to do this ;-)

Rowland



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba




More information about the samba mailing list