14.02.2014 Views

ldapv3.pdf 7947KB Apr 17 2013 11:30:42 AM - mirror omadata

ldapv3.pdf 7947KB Apr 17 2013 11:30:42 AM - mirror omadata

ldapv3.pdf 7947KB Apr 17 2013 11:30:42 AM - mirror omadata

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ldap2nis<br />

(http://ldapconsole.sourceforge.net)<br />

ldap2nis is a small C utility that reads and LDAP directory and<br />

outputs the data in the manner expected by makedbm. This is<br />

useful for publishing user and group information from an LDAP<br />

directory to legacy hosts that do not support LDAP but probably<br />

support NIS.<br />

Building a group map from LDAP<br />

ldap2nis -mapkey gidnumber -minkey gidnumber -minval 0 \<br />

-objectclass posixgroup -host littleboy \<br />

-basedn "o=Morrison Industries, c=US" \<br />

-map "cn,userpassword,gidnumber,memberuid" | \<br />

/usr/lib/yp/makedbm -i /etc/group -m littleboy \<br />

-o morrison - group.bygid

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!