Novell Home

Storing data locally for remote users

From Developer Community

A simple GUI application that uses identities stored in NVDS or in a corporate directory, associating with them a "favoriteFood" attribute (that may or may not exist in the corporate directory's schema).

Written in Java, uses Novell's LDAP SDK for Java.

To run this example: 1. Find an existing corporate directory where you have an account you can log in with. note the IP address/port and dn of your user's container 2. Install the developer edition of NVDS. 3. Extend the NVDS schema by importing the included sampleuser.ldif (./ldifimport sampleuser.ldif) 4. Change the IP address, port, and dn in chaining.ldif to your values from step 1. 5. Import chaining.ldif (./ldifimport chaining.ldif) 6. Import extraschema.ldif (./ldifimport extraschema.ldif) 7. Compile it by typing "make" 8. Run by typing ./run

This example was written on Linux, but will also work on Windows if you modify the scripts to use windows .bat commands or do it manually.

If you need help with this, please send mail to the nvds-users mail list (nvds-users@forge.novell.com).

Local Data Example: The source code and needed LDIF files


--Tim Larsen

Novell® Making IT Work As One

© 2008 Novell, Inc. All Rights Reserved.