[Logo] LDAPSoft LDAP And Active Directory Tools Community Forums
  [Search] Search   [Register] Register /  [Login] Login 
 
Error reading ldif file  XML
Forum Index » Report Bugs
Author Message
Matthew



Joined: 05/08/2008 16:21:26
Messages: 4
Offline

I am trying to change the userPassword attribute of a user. I tried putting one entry in an ldif file, listed below. When I import the file, I get: "Error: Unable to Read the fileC:\temp\LDAP\chpw.ldif"

The update does not take affect.

dn: uid=D102559,ou=People,o=jpmorgan.com
changetype: modify
replace: userPassword
userPassword: testpw01
support



Joined: 27/06/2008 19:01:18
Messages: 123
Offline

Actually the error is not the file read error but you are missing the "-" at the end

It should look like this - make sure that you don't have any space after "-"

dn: uid=D102559,ou=People,o=jpmorgan.com
changetype: modify
replace: userPassword
userPassword: testpw01
-
Matthew



Joined: 05/08/2008 16:21:26
Messages: 4
Offline

That worked. Thank you very much!

And I also see that you need a - in between each enty and a blank line before each dn: entry when you want to update multiple entries.
 
Forum Index » Report Bugs
Go to:   
[Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing  
Powered by JForum 2.1.9 © JForum Team