Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating Home Directories for LDAP on HP-UX  RSS feed

Mike Cutter
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working with Netscape Directory Server 6.2 on HP-UX 11.11. I am working with the JNDI to create an interface so our operators can do routine LDAP user administration like add users, delete users, and change passwords. I would like to replace NIS with LDAP.

I seem to have basics of the JNDI in connecting to the LDAP server in creating the entries. I notice that LDAP does not create or delete the home directories for Unix users.

I was hoping in using Java so the operators can run the program on their Windows PCs while manipulating LDAP on HP-UX. What is the best way to create directories, change permissions, and copy files remotely in Java for user accounts defined in LDAP?

I was thinking about using "Runtime.getRuntime().exec("command");", but this cannot be done remotely. The only other idea I can think of is using the Jakarta Commons-Net Class library for the FTPClient and FTPFile classes. I am having problems understanding using the Jakarta libraries.

Any ideas or clarifications would be helpful.

Mike Cutter
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!