Is it possible to easily add schema attributes to Samba's AD? For instance, I would like to add the folder that contains the user's mail with an attribute like "maildir" and a value like /domain.com/joesmith. Thank you.
On 24/09/2019 13:51, Christopher Wooley via samba wrote:> Is it possible to easily add schema attributes to Samba's AD? For instance, > I would like to add the folder that contains the user's mail with an > attribute like "maildir" and a value like /domain.com/joesmith. > > Thank you.Actually extending the schema is fairly straight forward, as long as you accept it is a one way street ;-) The problem may be in finding a suitable ldif, but see here for the basics: https://wiki.samba.org/index.php/Samba_AD_schema_extensions Rowland
On Tue, 2019-09-24 at 07:51 -0500, Christopher Wooley via samba wrote:> Is it possible to easily add schema attributes to Samba's AD? For instance, > I would like to add the folder that contains the user's mail with an > attribute like "maildir" and a value like /domain.com/joesmith.Yes. https://wiki.samba.org/index.php/Samba_AD_schema_extensions Modification of the schema is disabled by default, you need to set (either on the command with --option or generally in the smb.conf)? dsdb:schema update allowed=true Andrew Bartlett -- Andrew Bartlett https://samba.org/~abartlet/ Authentication Developer, Samba Team https://samba.org Samba Development and Support, Catalyst IT https://catalyst.net.nz/services/samba