HP UX LDAP-UX Integration Software manual Verify LDAP-UX Client Services

Page 42

Migrating NIS+ to LDAP

Verify LDAP-UX Client Services

Verify LDAP-UX Client Services

This section describes some simple ways you can verify the installation and configuration of your LDAP-UX Client Services.

Use the nsquery(1)1 command to test the name service: nsquery lookup_type lookup_query [lookup_policy]

For example, to test the name service switch to resolve a username lookup, enter:

nsquery passwd username ldap

where username is the login name of a valid user whose posix account information is in the directory. You should see output something like the following depending on how you have configured /etc/nsswitch.conf:

Using "files ldap" for the passwd policy. Searching /etc/passwd for johnw

johnw was NOTFOUND

Switch configuration: Allows fallback Searching ldap for johnw

User name: johnw

User Id: 644

Group Id: 20

Gecos: John Bloggs,43L-C3,555-1212

Home Directory: /home/johnw

Shell: /usr/bin/ksh

Switch configuration: Terminates Search

This tests the Name Service Switch configuration in /etc/nsswitch.conf. If you do not see output like that above, check /etc/nsswitch.conf for proper configuration

Use other commands to display information about users in the directory, making sure the output is as expected:

pwget -n username

nsquery hosts host_to_find

grget -n groupname

ls -l

1.nsquery(1) is a contributed tool included with the ONC/NFS product.

36

Chapter 2

Image 42
Contents Editon Manufacturing Part Number J4269-90054 E0606Legal Notices Contents Glossary Index Intended Audience Publishing HistoryCommand and Tool Reference Use this chapter to What’s in This documentHP Encourages Your Comments Overview of NIS+ to Ldap Migration Overview Documentation References Ldap Directory Server and LDAP-UX Client Services Overview of the LDAP-UX Integration ProductComparing Features and Security Between LDAP-UX and NIS+ Feature Comparison Between Ldap and NIS+Features Comparison between Ldap and NIS+ Security Comparison Between LDAP-UX and NIS+Security Coexisting with Trusted Mode Security Comparison between LDAP-UX and NIS+ NIS+ withTrusted Mode Comparing Ldap and NIS+ Information SharingSimplified NIS+ Environment How LDAP-UX Client Services Work Simplified LDAP-UX Client Services EnvironmentComparing Ldap and NIS+ Information Sharing LDAP-UX Client Administrator’s Tools Migration Scripts Ldap Administrator ‘s Tools DescriptionNIS+ to Ldap Migration Tools Description NIS+ to Ldap Migration Tools Tool DescriptionOverview of NIS+ to Ldap Migration Migrating NIS+ to Ldap Before You BeginBefore You Begin Migrating NIS+ Service Data to the Ldap Server Summary of Migration StepsStep Migrating NIS+ Clients to LDAP-UX Client Services Installing and Configuring Your Ldap Directory Server Installing Netscape Directory ServerConfiguring Netscape Directory Server Installing the LDAP-UX Integration Product Installing ONC EP/NCF Software and AutoFS 2.3 Patch ONC EP/NCF Software RequirementSeptember AutoFS Patch Requirement Chapter Publickey and Automount Schemas Publickey SchemaAutomount Schema Following shows the new automount schema in the Ldif formatImporting Your NIS+ Data to Your Ldap Directory Server Steps to Import Your NIS+ Data into Your Directory Server and placed into a Ldif formatted file Importing Your NIS+ Data to Your Ldap Directory Server Migrateallnisplusonline.sh Enter the manager DN Configuring LDAP-UX Client Services Automount files ldap Configure the LDAP-UX Client Services, see the Configure Configuring LDAP-UX Client Services Verify LDAP-UX Client Services Ll /tmp Ls -l Verify LDAP-UX Client Services Chapter Ldappasswd Command SyntaxLdap Directory Tools ExamplesLdapentry Ldapscope SyntaxExamples NIS+ to Ldap Migration Scripts Ldapsearch Ldapmodify LdapdeleteMigrates groups Migrates all user Environment Variables General Syntax For Migration ScriptsDefault Naming Context Naming ContextNIS+ Map Name Location in the Directory Tree Migrating The Credential Table NisMapName=mapname Non-standard mapaMigrating Most of Service Data Using One Script Migrating Individual Service Data Migrating User-Defined Maps NIS+ to Ldap Migration Scripts NIS+ to Ldap Migration Scripts Following shows the nispautomap.ldif file NIS+ to Ldap Migration Scripts Chapter Glossary Ldap Data Interchange Format LdifNetwork Information Service Plus NIS+ Glossary Symbols Index
Related manuals
Manual 214 pages 54.35 Kb Manual 26 pages 60.39 Kb