13.07.2015 Views

Naming and Directory Services (DNS, NIS, and LDAP)

Naming and Directory Services (DNS, NIS, and LDAP)

Naming and Directory Services (DNS, NIS, and LDAP)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

home<strong>Directory</strong>=home, \loginShell=shell, \(shadowLastChange,shadowMin,shadowMax, \shadowWarning, shadowInactive,shadowExpire)=\(shadow, ":"), \nisplusEntryOwner=zo_owner, \nisplusEntryGroup=zo_group, \nisplusEntryAccess=zo_accessSimilarly, to set <strong>NIS</strong>+ entry owner, group, <strong>and</strong> access from <strong>LDAP</strong> data for thepasswd.org_dir table, modify the following.nisplus<strong>LDAP</strong>columnFromAttribute \passwd: name=uid, \("{crypt$}%s", passwd)=userPassword, \uid=uidNumber, \gid=gidNumber, \gcos=gecos, \home=home<strong>Directory</strong>, \shell=loginShell, \shadow=("%s:%s:%s:%s:%s:%s", \shadowLastChange, \shadowMin, \shadowMax, \shadowWarning, \shadowInactive, \shadowExpire)Edit to read as follows.nisplus<strong>LDAP</strong>columnFromAttribute \passwd: name=uid, \("crypt$%s", passwd)=authPassword, \uid=uidNumber, \gid=gidNumber, \gcos=gecos, \home=home<strong>Directory</strong>, \shell=loginShell, \shadow=("%s:%s:%s:%s:%s:%s", \shadowLastChange, \shadowMin, \shadowMax, \shadowWarning, \shadowInactive, \shadowExpire), \zo_owner=nisplusEntryOwner, \zo_group=nisplusEntryGroup, \zo_access=nisplusEntryAccess4. [Upload owner, group, access, <strong>and</strong>/or TTL entry data to <strong>LDAP</strong>.]See “How to Convert All <strong>NIS</strong>+ Data to <strong>LDAP</strong> in One Operation” on page 265 formore information.5. Restart the <strong>NIS</strong>+ service in order to make the mapping change take effect.# svcadm restart network/rpc/nisplus:defaultChapter 16 • Transitioning From <strong>NIS</strong>+ to <strong>LDAP</strong> 277

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

Saved successfully!

Ooh no, something went wrong!