File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Creating Home Directories for LDAP on HP-UX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Creating Home Directories for LDAP on HP-UX" Watch "Creating Home Directories for LDAP on HP-UX" New topic
Author

Creating Home Directories for LDAP on HP-UX

Mike Cutter
Ranch Hand

Joined: Jun 09, 2002
Posts: 49
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating Home Directories for LDAP on HP-UX