Page 1 of 1

[Solved] Can't add user with omldapsync

Posted: Fri Oct 17, 2008 7:04 pm
by nlindq
I've run into a very frustrating issue trying to add a new user from my OpenLDAP to Scalix with omldapsync. I've been successfully using it for a while, so this one has me stumped.

The failure message is:

Code: Select all

               <scalix-caa:fault-details xmlns:scalix-caa="http://www.scalix.com/caa">
                    <message>omaddu : [OM 8257] The Internet Address is already assigned to another entry in the System Default Directory.  omaddu :  :redacted.dom.ain</message>
                    <errorcode>OM 8257</errorcode>
                </scalix-caa:fault-details>


Try as I might, I cannot find any entry whatsoever containing that e-mail address.

I've searched with:

Code: Select all

omsearch -e INTERNET-ADDR=[offending address]


And get

[OM 16954] Entry not in the Directory


as a result.

Any ideas?

Posted: Sun Oct 19, 2008 10:23 am
by Valerion
replace INTERNET-ADDR with IA-FORMAL and try again. Or do a omsearch -s -m IA-FORMAL and grep for a string in there.

Posted: Mon Oct 20, 2008 10:49 am
by schmoe90
also search the userlist - -d userlist -t h

Posted: Mon Oct 20, 2008 12:40 pm
by nlindq
Valerion wrote:replace INTERNET-ADDR with IA-FORMAL and try again. Or do a omsearch -s -m IA-FORMAL and grep for a string in there.


Yep, that worked.

Why wouldn't the INTERNET-ADDR attribute turn up the entry? I did a couple of other searches based on INTERNET-ADDR and the entries came up fine.

In any event, I removed the duplicate and was able to create the new account in Scalix with omldapsync.

Thanks!

Posted: Tue Oct 21, 2008 5:43 am
by Valerion
With INTERNET-ADDR you will get the full address with comments added. IA-FORMAL contains the email address without any comments. The comments could be breaking the seach, if you don't specify them as well.