Our vBulletin migration is complete.
Welcome vBulletin users! All content and user information from the Micro Focus Forums (vBulletin) site has been migrated to this site. READ MORE.
Anonymous_User Absent Member.
Absent Member.
921 views

LDIF to disable accounts

Kinda stuck here. I'm trying to import an ldif file to disable accounts.
I'm using the LDAP Browser/Editor v2.8.2, and when I try to import the
LDIF file, I get:

03:10:40 PM: Failed to update entry 1
Root error: 1: [LDAP: error code 34 - Invalid DN Syntax]

Here's the LDIF file (I'm trying it on a single user first to make sure
I've got it right):

version: 1

DN: cn=test,ou=ab,ou=cd,ou=ef,o=gh
changetype: add
loginDisabled: TRUE

What am I doing wrong? What do I do if a current account was never
disabled before, thereby not having this attribute set to either True or
False?

Thanks!

Labels (1)
0 Likes
1 Reply
Anonymous_User Absent Member.
Absent Member.

Re: LDIF to disable accounts

See:
http://www.novell.com/documentation/edir88/edir88tshoot/data/bq0e8eo.html

Check the section: "The Modify Change Type"

Wolfgang

"JimmyV" <spam@spam.com> wrote in message
news:A7PRi.15740$NG7.7946@kovat.provo.novell.com...
> Kinda stuck here. I'm trying to import an ldif file to disable accounts.
> I'm using the LDAP Browser/Editor v2.8.2, and when I try to import the
> LDIF file, I get:
>
> 03:10:40 PM: Failed to update entry 1
> Root error: 1: [LDAP: error code 34 - Invalid DN Syntax]
>
> Here's the LDIF file (I'm trying it on a single user first to make sure
> I've got it right):
>
> version: 1
>
> DN: cn=test,ou=ab,ou=cd,ou=ef,o=gh
> changetype: add
> loginDisabled: TRUE
>
> What am I doing wrong? What do I do if a current account was never
> disabled before, thereby not having this attribute set to either True or
> False?
>
> Thanks!
>



0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.