Greetings,
  I am attempting to create a new uidNumber for every new entry in the 
destination group per the instructions 
here<http://lsc-project.org/wiki/documentation/2.0/configuration/syncoptions/sequences?s[]=sequencesfactory>.
  From the lsc.xml file:

                <propertiesBasedSyncOptions>
                        
<mainIdentifier>srcBean.getMainIdentifier();</mainIdentifier>
                        <defaultDelimiter>$</defaultDelimiter>
                        <defaultPolicy>FORCE</defaultPolicy>
                        <conditions>
                                <create>true</create>
                                <update>true</update>
                                <delete>false</delete>
                        </conditions>
                        <dataset>
                                <name>uidNumber</name>
                                <policy>KEEP</policy>
                                <defaultValues>
                                   
<string>SequencesFactory.getInstance(ldap.getJndiServices()).getNextValue("cn=uidNumberSequence,ou=Sequences,ou=HiddenTree","serialNumber");</string>
                                </defaultValues>
                        </dataset>

It seems that uidNumber might not be able to get the serialNumber but I can 
access it through an admin gui without any problems (with the proper 
user/pass).  But I really don't know because I am unable to find logs 
supporting this.  I have enabled debug for the console.  Here is what I find...

Feb 26 17:13:55 - DEBUG - In object "CN=test":  Attribute "uidNumber" is in 
KEEP status
Feb 26 17:13:55 - DEBUG - In object "CN=test":  Attribute "uidNumber" will not 
be written to the destination
Feb 26 17:13:55 - ERROR - Error while adding entry CN=test in directory 
:javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - object 
class 'posixAccount' requires attribute 'uidNumber']; remaining name 'CN=test'
Feb 26 17:13:55 - ERROR - Error while synchronizing ID CN=test: 
java.lang.Exception: Technical problem while applying modifications to the 
destination
Feb 26 17:13:55 - DEBUG - java.lang.Exception: Technical problem while applying 
modifications to the destination
java.lang.Exception: Technical problem while applying modifications to the 
destination
        at org.lsc.SynchronizeTask.run(AbstractSynchronize.java:774) 
[lsc-core-2.0.1.jar:na]
        at org.lsc.SynchronizeTask.run(AbstractSynchronize.java:673) 
[lsc-core-2.0.1.jar:na]
        at org.lsc.SynchronizeTask.run(AbstractSynchronize.java:643) 
[lsc-core-2.0.1.jar:na]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) 
[na:1.7.0_09]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) 
[na:1.7.0_09]
        at java.lang.Thread.run(Thread.java:722) [na:1.7.0_09]

Any ideas what might be causing the uidNumber field not to be populated?

Thanks

--

Michael Speth
Research Systems Developer
Landcare Research

________________________________

Please consider the environment before printing this email
Warning: This electronic message together with any attachments is confidential. 
If you receive it in error: (i) you must not read, use, disclose, copy or 
retain it; (ii) please contact the sender immediately by reply email and then 
delete the emails.
The views expressed in this email may not be those of Landcare Research New 
Zealand Limited. http://www.landcareresearch.co.nz
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to