on 01-09-2008 11:35 AM
Hi All,
I'm trying to implement the followin scenario:
A user is created in the Actice Directory when the DN is as follows:
DN=CN=%MSKEYVALUE%,OU=%DEPARTMENT%,%$rep.LDAP_STARTING_POINT%
Now I want to implement a pass that moves the user if his department changed.
I tried doing so with the modrdn changetype, but it just wouldn't budge.
I created a job with the following passes:
From LDAP (to a table in the IDS):
objectGUID objectGUID
sAMAccountname sAMAccountname
To IDS
MSKEYVALUE %sAMAccountname%
AD_GUID %objectGUID%
To LDAP
DN <GUID=%AD_GUID%>
changetype modrdn
newdn CN=%MSKEYVALUE%
deleteoldrdn 1
newsuperior OU=%DEPARTMENT%,%$rep.LDAP_STARTING_POINT%
The first 2 passes work fine, when it comes to the thirs, I get the following error:
putNextEntry failed storing<GUID=To v?M??Y??)??>+
Now if I specify the full DN of the user like so:
DN CN=%MSKEYVALUE%,OU=%DEPARTMENT%,%$rep.LDAP_STARTING_POINT%
putNextEntry failed storingCN=P0003312,OU=1000,OU=IDM,DC=QANESS,DC=COM
I tried encoding the GUID in the first pass to HEX and removing the prefix, but no difference. What is this putNextEntry function and why does it fail?
Thanks in advance,
Eric Labiner
Ok, so paying even closer attention to spelling does help:
dn CN=User01
changetype modRDN
newRDN CN=User01
Eric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.