Just FYI, on a minimal install of ubuntu (VM) the bsdmainutils package is not installed so "colrm" is missing. I'll do that manually and take another snapshot.

On 07/10/2013 02:20 PM, Szládovics Péter wrote:
2013-07-10 21:11 keltezéssel, Rowland Penny
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

Reply via email to