Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
LDAP backup on z/OS (running in OMVS).

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Ivan P

New User


Joined: 08 Jun 2009
Posts: 63
Location: Europe

PostPosted: Thu Jul 09, 2009 6:15 pm    Post subject: LDAP backup on z/OS (running in OMVS).
Reply with quote

Hello everyone! icon_smile.gif

I was just wondering if there is a way to properly backup an LDAP server on z/OS (running in OMVS).

So far, I have an idea to call ldapsearch with specific options which will redirect it's output to an ldiff file. This would be done via a JCL JOB.

Something like...
ldapsearch -b "dc=example,dc=com" -h 127.0.0.1 -D "cn=manager,dc=example,dc=com" -w password "(objectclass=*)" > /path/to/todays_date.ldif

Any ideas? icon_smile.gif
Back to top
View user's profile Send private message

Ivan P

New User


Joined: 08 Jun 2009
Posts: 63
Location: Europe

PostPosted: Thu Jul 09, 2009 7:34 pm    Post subject: Reply to: LDAP backup
Reply with quote

*BUMP*

After reading the Directory Server Administration book, it seems the proper way on z/OS is to use ds2ldif (for backup) and ldif2ds (for restore) utils.

They can be found under: /usr/lpp/ldap/sbin
(which isn't in the $PATH var by default)

However, there are some restrictions..
ds2ldif can only be used with TDBM and LDBM backends
ldif2ds can only be used with TDBM backend

Hope this helps someone, in the future. icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Unavailable RECON datasets while exec... abdulrafi JCL & VSAM 10 Fri Apr 06, 2018 12:45 pm
No new posts OLDS frozen in BACKOUT status when On... lind sh IMS DB/DC 3 Tue Feb 13, 2018 7:12 pm
No new posts Old gds of GDG not rolledoff after AD... Wallace Lee IBM Tools 2 Fri Feb 09, 2018 9:34 pm
No new posts Job is running with no response!!! Vignesh Sid DB2 3 Fri Oct 27, 2017 6:28 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us