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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Using Service Search Descriptors toModify Client Access to Various <strong>Services</strong>A service search descriptor (SSD) changes the default search request for a givenoperation in <strong>LDAP</strong> to a search you define. SSDs are particularly useful if, for example,you have been using <strong>LDAP</strong> with customized container definitions or anotheroperating system <strong>and</strong> are now transitional to the latest Solaris release. Using SSDs,you can configure Solaris <strong>LDAP</strong> naming services without having to change yourexisting <strong>LDAP</strong> database <strong>and</strong> data.Setting Up SSDs Using idsconfigAssume your predecessor at Example, Inc. had configured <strong>LDAP</strong>, storing users inou=Users container. You are now upgrading to the latest Solaris release. Bydefinition, Solaris <strong>LDAP</strong> client assumes that user entries are stored in ou=Peoplecontainer. Thus, when it comes to searching the passwd service, <strong>LDAP</strong> client willsearch the ou=people level of the DIT <strong>and</strong> not find the correct values.One laborious solution to the above problem would be to completely overwriteExample, Inc.’s existing DIT <strong>and</strong> to rewrite all the exiting applications on Example,Inc.’s network so that they are compatible with the new <strong>LDAP</strong> naming service. Asecond, far preferable solution would be to use an SSD that would tell <strong>LDAP</strong> client tolook for user info in an ou=Users container instead the default ou=people container.You would define the necessary SSD during the configuration of the Sun Java System<strong>Directory</strong> Server using idsconfig. The prompt line appears as follows.Do you wish to setup Service Search Descriptors (y/n/h? yA Add a Service Search DescriptorD Delete a SSDM Modify a SSDP Display all SSD’sH HelpX Clear all SSD’sQ Exit menuEnter menu choice: [Quit] aEnter the service id: passwdEnter the base: service ou=user,dc=west,dc=example,dc=comEnter the scope: one[default]A Add a Service Search DescriptorD Delete a SSDM Modify a SSDP Display all SSD’sH HelpChapter 11 • Setting Up Sun Java System <strong>Directory</strong> Server With <strong>LDAP</strong> Clients (Tasks) 165

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

Saved successfully!

Ooh no, something went wrong!