On 08/04/15 13:23, Tom wrote:
Hello list,

I tried to add additional mail aliases to my openchange User as it is like other LDAP/Mail Directories where the "mail" attribute is a MULTI VALUE. But my ldapmodify fails. I have a fresh installation of samba4 (V4.1.6) and openchange (V2.2) on Ubuntu 14.04.

This is my *thomas.baumann.modify* file:

dn: CN=thomas.baumann,CN=Users,DC=example,DC=com
changetype: modify
replace: mail
mail: [email protected] <mailto:[email protected]>
mail: [email protected] <mailto:[email protected]>
mail: [email protected] <mailto:[email protected]>
mail: [email protected] <mailto:[email protected]>

$ ldapmodify -D 'CN=Administrator,CN=Users,DC=example,DC=com' -w Passw0rD -v -f thomas.baumann.modify

ldap_initialize( <DEFAULT> )
ldap_modify: Type or value exists (20)
additional info: 0000200D: SINGLE-VALUE attribute mail on CN=thomas.baumann,CN=Users,DC=example,DC=com specified more than once
replace mail:
[email protected] <mailto:[email protected]>
[email protected] <mailto:[email protected]>
[email protected] <mailto:[email protected]>
[email protected] <mailto:[email protected]>
modifying entry "CN=thomas.baumann,CN=Users,DC=example,DC=com"


Any help is appreciated.

Best regards,
Thomas.



_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Welcome to the wonderful world of AD where there can only be one instance of the 'mail' attribute, I suppose windows users are supposed to need only one email address :-D

There is another attribute you can use: 'otherMailbox', there can be more than one instance of this attribute

Rowland
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to