Thanks, that did the trick. I thought I had tried that. Is AD case sensitive 
when it comes to the name of the attributes?


-----Original Message-----
From: Clément OUDOT [mailto:[email protected]] 
Sent: Sunday, November 06, 2011 3:13 AM
To: Rohler, Brian L
Cc: [email protected]
Subject: Re: [lsc-users] syncing home directory and drive

Le 6 novembre 2011 01:28, Rohler, Brian L <[email protected]> a écrit :
> Thanks for the info. The extra "\" did allow the home dir to be formed 
> appropriately.
>
> However, I'm not getting an error after adding these two new entries. I tried 
> them separately but get the same error.
>
> I used Apache Studio and these two are listed but in the 
> CN=Schema,CN=Configuration. Is there something else I need to add?
>
> One other thing, I'm not sure why the "givenName" is labeled as "will not be 
> written to the destination".
>
> Nov 05 20:21:37 - DEBUG - Synchronizing user for {gidnumber=3000, 
> uid=jirish, uidnumber=3067} Nov 05 20:21:37 - DEBUG - In entry 
> "CN=jirish,CN=Users":  List of attributes considered for writing in 
> destination: [sn, AD.userAccountControl, cn, sAMAccountName, 
> gidNumber, uidNumber, objectClass, givenName, Home-Directory, 
> Home-Drive] Nov 05 20:21:37 - DEBUG - In entry "CN=jirish,CN=Users":  
> Attribute "sn" is in FORCE status Nov 05 20:21:37 - DEBUG - In entry 
> "CN=jirish,CN=Users":  Adding attribute "sn" with values [jirish] Nov 
> 05 20:21:37 - DEBUG - In entry "CN=jirish,CN=Users":  Attribute 
> "AD.userAccountControl" is in FORCE status Nov 05 20:21:37 - DEBUG - 
> In entry "CN=jirish,CN=Users":  Attribute "AD.userAccountControl" will 
> not be written to the destination Nov 05 20:21:37 - DEBUG - In entry 
> "CN=jirish,CN=Users":  Attribute "cn" is in FORCE status Nov 05 
> 20:21:37 - DEBUG - In entry "CN=jirish,CN=Users":  Adding attribute 
> "cn" with values [jirish] Nov 05 20:21:37 - DEBUG - In entry 
> "CN=jirish,CN=Users":  Attribute "sAMAccountName" is in FORCE status 
> Nov 05 20:21:37 - DEBUG - In entry "CN=jirish,CN=Users":  Adding 
> attribute "sAMAccountName" with values [jirish] Nov 05 20:21:37 - 
> DEBUG - In entry "CN=jirish,CN=Users":  Attribute "gidNumber" is in 
> FORCE status Nov 05 20:21:37 - DEBUG - In entry "CN=jirish,CN=Users":  
> Adding attribute "gidNumber" with values [3000] Nov 05 20:21:37 - 
> DEBUG - In entry "CN=jirish,CN=Users":  Attribute "uidNumber" is in 
> FORCE status Nov 05 20:21:37 - DEBUG - In entry "CN=jirish,CN=Users":  
> Adding attribute "uidNumber" with values [3067] Nov 05 20:21:37 - 
> DEBUG - In entry "CN=jirish,CN=Users":  Attribute "objectClass" is in 
> FORCE status Nov 05 20:21:37 - DEBUG - In entry "CN=jirish,CN=Users":  
> Adding attribute "objectClass" with values [organizationalPerson, 
> person, user, top] Nov 05 20:21:37 - DEBUG - In entry 
> "CN=jirish,CN=Users":  Attribute "givenName" is in FORCE status Nov 05 
> 20:21:37 - DEBUG - In entry "CN=jirish,CN=Users":  Attribute 
> "givenName" will not be written to the destination Nov 05 20:21:37 - 
> DEBUG - In entry "CN=jirish,CN=Users":  Attribute "Home-Directory" is 
> in FORCE status Nov 05 20:21:37 - DEBUG - In entry 
> "CN=jirish,CN=Users":  Adding attribute "Home-Directory" with values 
> [\\host.domain.org\data3\windows\home\domain\jirish]
> Nov 05 20:21:37 - DEBUG - In entry "CN=jirish,CN=Users":  Attribute 
> "Home-Drive" is in FORCE status Nov 05 20:21:37 - DEBUG - In entry 
> "CN=jirish,CN=Users":  Adding attribute "Home-Drive" with values [H:] Nov 05 
> 20:21:37 - ERROR - Error while adding entry CN=jirish,CN=Users in directory 
> :javax.naming.directory.NoSuchAttributeException: [LDAP: error code 16 - 
> 00000057: LdapErr: DSID-0C090C3E, comment: Error in attribute conversion 
> operation, data 0, v1db1]; remaining name 'CN=jirish,CN=Users'
> Nov 05 20:21:37 - ERROR - Error while synchronizing ID 
> CN=jirish,CN=Users: java.lang.Exception: Technical problem while 
> applying modifications to directory Nov 05 20:21:37 - DEBUG - 
> java.lang.Exception: Technical problem while applying modifications to 
> directory
> java.lang.Exception: Technical problem while applying modifications to 
> directory
>        at 
> org.lsc.AbstractSynchronize.synchronize2Ldap(AbstractSynchronize.java:
> 399) [lsc-core-1.2.1.jar:na]
>        at 
> org.lsc.SimpleSynchronize.launchTask(SimpleSynchronize.java:272) 
> [lsc-core-1.2.1.jar:na]
>        at org.lsc.SimpleSynchronize.launch(SimpleSynchronize.java:155) 
> [lsc-core-1.2.1.jar:na]
>        at org.lsc.Launcher.run(Launcher.java:151) 
> [lsc-core-1.2.1.jar:na]
>        at org.lsc.Launcher.main(Launcher.java:123) 
> [lsc-core-1.2.1.jar:na]
> dn: CN=jirish,CN=Users,DC=server,DC=domain,DC=local
> changetype: add
> sn: jirish
> cn: jirish
> sAMAccountName: jirish
> gidNumber: 3000
> uidNumber: 1035
> objectClass: organizationalPerson
> objectClass: person
> objectClass: user
> objectClass: top
> Home-Directory: \\host.domain.org\data3\windows\home\domain\jirish
> Home-Drive: H:

Hi,

I think the real name of the attribute is homeDirectory and not Home-Directory. 
Idem for homeDrive. Check AD schema.


Clément.
_______________________________________________________________
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