Ho Mourik Thanks for your reply, any other attribute which we can duplicate? Br. Umar On Fri, Jan 23, 2015 at 1:47 PM, mourik jan heupink - merit < heupink at merit.unu.edu> wrote:> Hi, > > In AD, the attribute mail can only exist once. > > MJ > > On 01/23/2015 05:27 AM, Umar Draz wrote: > >> Hi All >> >> I am tying to create a user in SAMBA 4 AD with ldapadd, but its not allow >> me to add multiple mail attributes, here is my ldif of user. >> >> dn: CN=ayesha,CN=Users,DC=samba4pdc,DC=net >> objectClass: top >> objectClass: person >> objectClass: organizationalPerson >> objectClass: user >> cn: ayesha >> name: ayesha >> sAMAccountName: ayesha >> userPrincipalName: Ayesha Umar >> objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=samba4pdc,DC=net >> userAccountControl: 512 >> distinguishedName: CN=ayesha,CN=Users,DC=samba4pdc,DC=net >> mail: ayesha at samba4pdc.net >> mail: ayesha at samba4pdc.org >> >> Here is the error of ldapadd >> >> *adding new entry "CN=ayesha,CN=Users,DC=samba4pdc,DC=net"* >> *ldap_add: Constraint violation (19)* >> * additional info: 0000202F: SINGLE-VALUE attribute mail on >> CN=ayesha,CN=Users,DC=samba4pdc,DC=net specified more than once* >> >> Is it possible I can add multiple attributes, as in simple openldap there >> is no issue. >> >> Br. >> >> Umar >> >> > -- > Mourik Jan C. Heupink > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >-- Umar Draz Network Architect
On 23/01/15 09:44, Umar Draz wrote:> Ho Mourik > > Thanks for your reply, any other attribute which we can duplicate? > > Br. > > Umar > > On Fri, Jan 23, 2015 at 1:47 PM, mourik jan heupink - merit < > heupink at merit.unu.edu> wrote: > >> Hi, >> >> In AD, the attribute mail can only exist once. >> >> MJ >> >> On 01/23/2015 05:27 AM, Umar Draz wrote: >> >>> Hi All >>> >>> I am tying to create a user in SAMBA 4 AD with ldapadd, but its not allow >>> me to add multiple mail attributes, here is my ldif of user. >>> >>> dn: CN=ayesha,CN=Users,DC=samba4pdc,DC=net >>> objectClass: top >>> objectClass: person >>> objectClass: organizationalPerson >>> objectClass: user >>> cn: ayesha >>> name: ayesha >>> sAMAccountName: ayesha >>> userPrincipalName: Ayesha Umar >>> objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=samba4pdc,DC=net >>> userAccountControl: 512 >>> distinguishedName: CN=ayesha,CN=Users,DC=samba4pdc,DC=net >>> mail: ayesha at samba4pdc.net >>> mail: ayesha at samba4pdc.org >>> >>> Here is the error of ldapadd >>> >>> *adding new entry "CN=ayesha,CN=Users,DC=samba4pdc,DC=net"* >>> *ldap_add: Constraint violation (19)* >>> * additional info: 0000202F: SINGLE-VALUE attribute mail on >>> CN=ayesha,CN=Users,DC=samba4pdc,DC=net specified more than once* >>> >>> Is it possible I can add multiple attributes, as in simple openldap there >>> is no issue. >>> >>> Br. >>> >>> Umar >>> >>> >> -- >> Mourik Jan C. Heupink >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba >> > >'otherMailbox' Rowland
Thanks Rowland, Br Umar On Fri, Jan 23, 2015 at 2:50 PM, Rowland Penny <rowlandpenny at googlemail.com> wrote:> On 23/01/15 09:44, Umar Draz wrote: > >> Ho Mourik >> >> Thanks for your reply, any other attribute which we can duplicate? >> >> Br. >> >> Umar >> >> On Fri, Jan 23, 2015 at 1:47 PM, mourik jan heupink - merit < >> heupink at merit.unu.edu> wrote: >> >> Hi, >>> >>> In AD, the attribute mail can only exist once. >>> >>> MJ >>> >>> On 01/23/2015 05:27 AM, Umar Draz wrote: >>> >>> Hi All >>>> >>>> I am tying to create a user in SAMBA 4 AD with ldapadd, but its not >>>> allow >>>> me to add multiple mail attributes, here is my ldif of user. >>>> >>>> dn: CN=ayesha,CN=Users,DC=samba4pdc,DC=net >>>> objectClass: top >>>> objectClass: person >>>> objectClass: organizationalPerson >>>> objectClass: user >>>> cn: ayesha >>>> name: ayesha >>>> sAMAccountName: ayesha >>>> userPrincipalName: Ayesha Umar >>>> objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=samba4pdc,DC>>>> net >>>> userAccountControl: 512 >>>> distinguishedName: CN=ayesha,CN=Users,DC=samba4pdc,DC=net >>>> mail: ayesha at samba4pdc.net >>>> mail: ayesha at samba4pdc.org >>>> >>>> Here is the error of ldapadd >>>> >>>> *adding new entry "CN=ayesha,CN=Users,DC=samba4pdc,DC=net"* >>>> *ldap_add: Constraint violation (19)* >>>> * additional info: 0000202F: SINGLE-VALUE attribute mail on >>>> CN=ayesha,CN=Users,DC=samba4pdc,DC=net specified more than once* >>>> >>>> Is it possible I can add multiple attributes, as in simple openldap >>>> there >>>> is no issue. >>>> >>>> Br. >>>> >>>> Umar >>>> >>>> >>>> -- >>> Mourik Jan C. Heupink >>> -- >>> To unsubscribe from this list go to the following URL and read the >>> instructions: https://lists.samba.org/mailman/options/samba >>> >>> >> >> > 'otherMailbox' > > Rowland > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >-- Umar Draz Network Architect
Hello Umar, Am 23.01.2015 um 10:44 schrieb Umar Draz:> Thanks for your reply, any other attribute which we can duplicate?proxyAddresses is an attribute Exchange uses, to store recipient objects: https://msdn.microsoft.com/en-us/library/ms679424%28v=vs.85%29.aspx At work, we let Postfix use the content of this attribute. The 'mail' attribute we use for the primary SMTP address of an user. Zafara uses 'otherMailbox'. Regards, Marc