Hi, Thanks for explaining it, I just couldn't understand deleting and adding the attribute at the same time LOL
Rowland On 10 July 2013 20:20, Szládovics Péter <[email protected]> wrote: > 2013-07-10 21:11 keltezéssel, Rowland Penny írta: > > OK, I have downloaded it and examined it and if you expand the >> proxyAddresses part, you get something like this to pass to ldapmodify: >> >> changetype: modify >> delete: proxyAddresses >> - >> add: proxyAddresses >> proxyAddresses: =EX:/o=First Organization/ou=First Administrative >> Group/cn=Rec >> > > This cut-line error has gone ;) > > > >> Now forget the address, you are setting ldapmodify to delete a >> proxyAddresses and then pass it lines to add proxyAddresses, which do you >> want to do???? >> > > How can you modify _one_ proxyAddresses field, if it is a multiple filed? > No way. > You need to store all of them, delete from all from LDAP, modify the one > of stored property, and add all of stored properties against to the LDAP. > This line exactly do that. > -- > [email protected] > https://inverse.ca/sogo/lists > -- [email protected] https://inverse.ca/sogo/lists
