It worked using cn (if I choose uid then only synchronization did work but not 
propagation).



I've also tried to configure the roles but I can't save my resource setting. I 
get the following error:

[RequiredValuesMissing [intAttrName]]



Of course, the RoleName and RoleOwnerSchema has got no internal attribute 
because it's disabled in the GUI (same on the screenshot in your blog).

Here a snippet of the REST request written to console log:

]
  
rmapping=org.apache.syncope.common.to.MappingTO@7231b360<mailto:rmapping=org.apache.syncope.common.to.MappingTO@7231b360>[
  accountLink='cn=' + name + ',ou=groups,dc=fediz,dc=org'
  items=[org.apache.syncope.common.to.MappingItemTO@253785a2[
  id=<null>
  intAttrName=<null>
  intMappingType=RoleName
  extAttrName=<null>
  accountid=true
  password=false
  mandatoryCondition=true
  purpose=BOTH
], 
org.apache.syncope.common.to.MappingItemTO@66652fd9<mailto:org.apache.syncope.common.to.MappingItemTO@66652fd9>[
  id=<null>
  intAttrName=<null>
  intMappingType=RoleOwnerSchema
  extAttrName=owner
  accountid=false
  password=false
  mandatoryCondition=false
  purpose=BOTH
]]



Any ideas?



________________________________

From: Francesco Chicchiriccò [[email protected]]
Sent: 26 April 2013 14:24
To: [email protected]
Subject: Re: Synchronized LDAP users got UUID assigned as username

On 26/04/2013 08:28, Marco Di Sabatino Di Diodoro wrote:
Hi Oliver,

On Apr 25, 2013, at 10:05 PM, Oliver Wulff wrote:

Hi there



I've set up an LDAP connector and corresponding resource. The 
import/synchronization works fine (for all attributes defined in my user 
schema) but the username got assigned a UUID instead of the username I defined 
as account link:
'uid=' + username + ',o=users,dc=fediz,dc=org'
or
Account User Name Attributes (uid).

In the Ldap Connector configuration you must set the Uid Attribute Field with 
value uid.

Or to "cn", if using roles as well.
I have reported some more information at 
http://blog.tirasa.net/blogs/index.php/ilgrosso/unlock-full-ldap-features-in




I've set up the LDAP connector based on the docs here:
https://connid.atlassian.net/wiki/display/BASE/LDAP



But my synchronized users got assigned a username with a UUID - not stored in 
my LDAP directory.



What am I doing wrong?

--
Francesco Chicchiriccò

ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/

Reply via email to