LDAPSoft LDAP And Active Directory Tools Community Forums
Search
Register
/
Login
Error reading ldif file
Forum Index
»
Report Bugs
Author
Message
05/08/2008 16:30:59
Subject:
Error reading ldif file
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
05/08/2008 17:31:08
Subject:
Re:Error reading ldif file
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
-
05/08/2008 17:59:48
Subject:
Re:Error reading ldif file
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:
Select a forum
General Discussion
Feature Requests
Report Bugs
Official Bug List [read only]
Recent Topics
Hottest Topics
Member Listing
Powered by
JForum 2.1.9
©
JForum Team