2011/11/6 Rohler, Brian L <[email protected]>:
> I need to force a known value into the home directory in AD. Will something
> like this ork?
>
>
>
> lsc.tasks.user.dstService.pivotAttrs = uid sAMAccountName uidNumber
> home-directory home-drive
>
> lsc.tasks.user.dstService.attrs = sAMAccountName sn cn uidNumber gidNumber
> objectClass AD.userAccountControl home-directory home-drive
>
>
>
> lsc.syncoptions.user.home-directory.create_value =
> "\\nees06.neeshub.org\data3\windows\home\neeshub\" +
> srcBean.getAttributeValueById("uid")
>
> lsc.syncoptions.user.home-drive.create_value = "H:”

Yes this will create the value when the entry is added, but this will
not force the value for an existing entry.

Also, take care to antislashes with Rhino, see
http://tools.lsc-project.org/issues/76

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