Getting a comma in a Distinguished Name using LDIFDE


P

Paul Motsuk

'lo there

Now that I can get an AD account created using LDIFDE, I've run
into another stumbling block.

I'd like the Distinguished Name of the account to be of the form
"Motsuk, Salvadore P". I've tried the following as the first line of
my input file to LDIFDE:

1)
dn: CN=Motsuk\, Salvadore P,U=Users OU,DC=cua,DC=edu

2)
dn: CN=Motsuk\2C Salvadore P,OU=Users OU,DC=cua,DC=edu

Both of these are suported in RFC #2253 (Lightweight Directory Access
Protocol (v3):UTF-8 String Representation of Distinguished Names).
They are also mentioned in MS's description of the LDAP SDK
<http://msdn.microsoft.com/library/en-us/ldap/distinguished_names.asp?frame=true>

Any suggestions?

Thaks!

Paul Motsuk (motsuk@cua.edu or (e-mail address removed))
Manager, Enterprise Systems
The Catholic University of America
 
Ad

Advertisements

P

Paul Motsuk

Glenn L said:
Try putting it all in quotes.

Thanks for the idea. I guess, I should have included that option in
those I've tried. Here's the complete list:

1) dn: CN=Motsuk\, Salvadore,OU=Users OU,DC=cua,DC=edu
2) dn: CN=Motsuk\2C Salvadore,OU=Users OU,DC=cua,DC=edu
3) dn: CN="Motsuk\, Salvadore",OU=Users OU,DC=cua,DC=edu
4) dn: CN="Motsuk\2C Salvadore",OU=Users OU,DC=cua,DC=edu

All generate the same error:

Add error on line 2: Invalid DN Syntax
The server side error is "An attempt was made to add an object
using an RDN that is not the RDN defined in the schema."
0 entries modified successfully.
An error has occurred in the program

Any more ideas?

Thanks, in advance.

Paul Motsuk (motsuk@cua.edu or (e-mail address removed))
Manager, Enterprise Systems
The Catholic University of America
 
G

Glenn L

Try the whole thing in quotes.
"CN=Motsuk\, Salvadore,OU=Users OU,DC=cua,DC=edu"
 
P

Paul Motsuk

Glenn L said:
Try the whole thing in quotes.
"CN=Motsuk\, Salvadore,OU=Users OU,DC=cua,DC=edu"

Thanks for the idea.

Here's what I get when using
dn: "CN=Mazzuca\, Salvatore,OU=Users OU,DC=cua,DC=edu"
as the first line of the LDIF file

-=-=-=-=-=-=-=-=-=
Connecting to "<Domain Controller>"
Logging in as "<Admin Account>" in domain "cua.edu" using SSPI
Importing directory from file "mazzuca.ldf"
Loading entries
1: "CN=Mazzuca\, Salvatore,OU=Users OU,DC=cua,DC=edu"
Object does not exist, entry skipped


0 entries modified successfully.
-=-=-=-=-=-=-=-=-=


Any other ideas?

Thanks!

Paul Motsuk
 
Ad

Advertisements

Joined
Nov 27, 2012
Messages
1
Reaction score
0
Hi Paul Motsuk,

I am interested to know on how you were able to create account with ldifde with comma in the DN. I am kinda stuck up in a same situation. Please reply back on how you proceeded.

Thanks
Unnik
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Changing logon name using Ldifde 2
distinguished name of a user 4
Base Distinguished name 3
Using the LDIFDE utility 1
Ldifde 1
LDIFDE 2
LDIFDE 7
LDIFDE 1

Top