[Samba] samba-tool (samba-tool-external) to modify parts of extended schema

Rowland Penny rowlandpenny241155 at gmail.com
Wed Sep 9 16:18:20 UTC 2015


On 09/09/15 16:35, David Thompson wrote:
>   Hi list,
>
>
> We have a samba 4.3.0 deployment running at a clients site and we have extended the schema to allow for Kerio Conenct email server to work.
>
>
> I am trying to make adding / modifying existing users for the IT person here easier by creating an easier way to add email aliases via a script
>
>
> The extended attribute that I'm looking to modify is called "kerio-Mail-Address"
>
>
> The name of the attribute that needs to be modified doesn't matter, but I'm simply looking for and trying to figure out how to use samba-tool to modify this attribute quickly.
>
>
> samba-tool
>
>
> if anyone has any pointers I would appreciate it.
>
>
> Thanks,
>
>
>
>
>
> ____________________David Thompson
>
>   
>

Sorry to be the bearer of bad news, but 'samba-tool' is the wrong tool.

You will need to create the user and then add the attribute with 
ldbmodify or ldapmodify. You can of course script around both the user 
creation and modification with a bash script.

Rowland



More information about the samba mailing list