Directory Server 5.2 dsimport NIS

From: R. Marc Baldus (rbaldus@e-one.com)
Date: Thu Jul 29 2004 - 11:21:42 EDT


# uname -a
SunOS ldapsrv 5.9 Generic_117171-07 sun4u sparc SUNW,UltraAX-i2

I am attempting to import my NIS maps into Directory Server 5.2. I have
attempted to use the included utility dsimport. However, I am getting
errors when I run the command. I am using a document from Sun
Blueprints, "Using dsimport to Convert NIS Maps to LDAP Directory
Entries" for assistance.

# dsimport -n -m nis.mapping -t passwd -D "cn=Directory Manager" -w
mysecret passwd > /tmp/passwd.ldif
/var/mps/serverroot/bin/slapd/server/dsimport: test: unknown operator
Manager

This appeared to me as a problem with a test within the dsimport
script. I bypassed that portion of the script by forcing the arg
variable without luck.

Exception in thread "main" java.lang.NoClassDefFoundError:
com/netscape/admin/dirserv/cmdln/DSImport

Is the dsimport script the correct method for importing the NIS maps to
DS5.2, or is there a better tool?

Also, I am unable to locate the nis.mapping file.

TIA,
Marc B.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:10 EDT