Apache DS doesn't like it either. In Apache DS, it works as long as 1)
the # sign is the first character in the string, or 2) if the two
characters immediately after the # sign don't form a valid hex value.
I'm assuming LSC works by the same principle.
The following work:
#10user
user#5
this#1user
The following don't:
user#99
this#10user
user#F1
I believe all of the combinations above are valid. There was a spring
framework bug related to this that was closed earlier this year. See
below: https://jira.springsource.org/browse/LDAP-229
On 9/24/2013 9:56 PM, Mahadevan, Venkat wrote:
Hello,
I think the problem may be that LDAP does not like the DN syntax uid=user#10.
Try creating the entry using a LDAP browser like Apache Directory Studio. I
don't
think it will work with that DN syntax.
cheers,
VM
________________________________________
From: [email protected]
[[email protected]] on behalf of Alexander Amaral
[[email protected]]
Sent: Tuesday, September 24, 2013 9:06 PM
To: lsc-userslsc-users
Subject: [lsc-users] Error while synchronizing ID
Hi Folks,
I'm having difficulty syncing one AD account (out of thousands) to
OpenLDAP. The particular ID I am having an issue with is named user#10
(I don't have any control of how these users are named). User ID's
user#1 through user#9 also exist and sync just fine.
Below is the anonymized log of the sync error. Any idea what could be
causing this, and how to fix?
Sep 24 20:04:32 - ERROR - Error while synchronizing ID
uid=user#10,ou=people,dc=domain,dc=tld: java.lang.RuntimeException:
org.apache.directory.shared.ldap.exception.LdapInvalidDnException:
expecting EOF, found '10'
dn: uid=user#10,ou=people,dc=z,dc=lcl
changetype: add
uid: user#10
sn: Default
userPassword: {sasl}user#[email protected]
uidNumber: 1012345
objectClass: posixAccount
objectClass: shadowAccount
objectClass: inetOrgPerson
objectClass: top
homeDirectory: /home/user#10
loginShell: /bin/bash
shadowMax: 90
shadowLastChange: 13998
shadowWarning: 7
cn: user#10
shadowMin: 30
gidNumber: 10000
Thanks,
Alex
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users