I need an LDAP LDIF to Change Password, Remove Suspend and remove pswd-exp. I also need this for passphrase.

Document ID:  TEC1492078
Last Modified Date:  06/09/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • CA LDAP Server for z/OS

Releases

  • CA LDAP Server for z/OS:Release:15.1
  • CA LDAP Server for z/OS:Release:15.0
Question:

I want to setup an LDAP request to change a user password, remove pswd-exp and laso remove suspend attribute

I also want this for passphrase.  

Answer:

LDAPMODIFY LDIF file input to change a passphrase and remove phraseexpired. 
dn: acf2UserPwphrase=userid,acf2lid=userid,acf2admingrp=lids,suffix 
changetype: modify 
replace: PasswordPhrase 
PasswordPhrase: apassphraseforme 

replace: ExpirePassphrase 
ExpirePassphrase: N 

LDAPMODIFY LDIF file input to change a password and remove pswd-exp and suspend 
dn: acf2lid=USERID,acf2admingrp=lids,suffix 
changetype: modify 
replace: userPassword 
UserPassword: NEWPASS 

replace: ExpirePassword 
ExpirePassword: N 

replace: SuspendedLid 
SuspendedLid: N

 

When changing a passphrase, you cannot remove SUSPEND from the logonid because the phrase and password are in different records.

You will need to run another ldapmodify request for the suspend..

 
dn: acf2lid=USERID,acf2admingrp=lids,suffix
changetype: modify
replace: SuspendedLid
SuspendedLid: N

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >

Chat with CA

Just give us some brief information and we'll connect you to the right CA ExpertCA sales representative.

Our hours of availability are 8AM - 5PM CST.

All Fields Required

connecting

We're matching your request.

Unfortunately, we can't connect you to an agent. If you are not automatically redirected please click here.

  • {{message.agentProfile.name}} will be helping you today.

    View Profile


  • Transfered to {{message.agentProfile.name}}

    {{message.agentProfile.name}} joined the conversation

    {{message.agentProfile.name}} left the conversation

  • Your chat with {{$storage.chatSession.messages[$index - 1].agentProfile.name}} has ended.
    Thank you for your interest in CA.


    Rate Your Chat Experience.

    {{chat.statusMsg}}

agent is typing