Federated Naming Service Guide
검색에만이 책은
PDF로 이 문서 다운로드

............................Contents


Part 1 --Introduction

1. Introduction to the Federated Naming Service (FNS)
3
...What Is FNS? 4
...What Is XFN? 5
...Why FNS? 5
......Uniform Naming Interface 5
......Uniform Means of Composing Names 6
......Coherence in Naming 7
...FNS in the Solaris Environment 8
......FNS and NIS+ 8
......FNS and DNS 9
......FNS and X.500 9
......FNS-based File Naming 9
......FNS-based Printer Naming 9
......FNS and Applications 10

2. The XFN Model
11
...XFN Architectural Model 11
......References 11
......Contexts 12
......Attributes 13
......Compound Names 13
......Composite Names 15
......XFN Links 15
...... Initial Context 16
... User's View 17
...File System View 18
...Application View 19
...API Usage Model 22

Part 2 --FNS Policies

3. Introduction to FNS Policies
25
...Policy Overview 26
......What FNS Policies Specify 26
......What FNS Policies Do Not Specify 26
......What FNS Enterprise Policies Arrange 28
...Examples of Composite Names 29
...How FNS Policies Relate to NIS+ 30
......NIS+ Domains and FNS Organizational Units 30
......NIS+ Users and FNS Users 31
......NIS+ Hosts and FNS Hosts 32
...Target Client Applications of FNS Policies 32
......Example Application: Calendar Service 33

4. Policies for the Enterprise Namespace
37
...Namespaces in the Enterprise 37
......Organizational Unit Namespace 38
......Site Namespace 38
......User Namespace 39
......Host Namespace 39
......Service Namespace 39
......Printer Namespace 40
......File Namespace 40
...... Namespace Identifiers 41
...Structure of the Enterprise Namespace 42
......Enterprise Root 45
......Organizational Units 46
......Sites 47
......Users 49
......Hosts 50
......Services 51
......Files 52
......Printers 53
...Initial Context Bindings for Naming Within the Enterprise 54
......User-related Bindings 56
......Host-related Bindings 58
......"Shorthand" Bindings 59

5. Policies for the Global Namespace
61
...The Global Namespace 61
... Initial Context Bindings for Global Naming 62
...Federating DNS 62
...Federating X.500 63

Part 3 --Administration

6. Administering FNS on NIS+
69
...Setting Up FNS 70
......Estimating Resource Requirements 70
......Setting Up NIS+ Service for FNS 70
......Setting Up the FNS Namespace 71
......Replicating FNS Service 72
...Creating FNS Contexts Individually 73
......Organization Context 75
......All Hosts Context 76
......Single Host Context 76
......All-Users Context 77
......Single User Context 78
......Service Context 79
......Printer Context 80
......Generic Context 80
......Site Context 81
......File Context 82
......Namespace Identifier Context 82
...Managing and Examining FNS Contexts 83
......Displaying the Binding 83
......Listing the Context 85
......Binding a Composite Name to a Reference 89
......Removing a Composite Name 91
......Renaming an Existing Binding 91
......Destroying the Named Context 92
...Managing and Examining FNS Attributes 92
......Adding an Attribute 92
......Deleting an Attribute 93
......Listing an Attribute 93
......Modifying an Attribute 94
......Other Options 94
...Maintaining Consistency Between NIS+ and FNS 94
......Checking Naming Inconsistencies 95
...Advanced FNS and NIS+ Issues 96
......Mapping FNS Contexts to NIS+ Objects 96
......Browsing FNS Structures Using NIS+ Commands 97
......Checking Access Control 98
...Significance of Double Slashes 99
...Significance of Trailing Slash 100
...Error Messages 100
......FNS Message Descriptions 101
...Troubleshooting 104
......Cannot Obtain Initial Context 104
......Nothing in Initial Context 105
......"No Permission" Messages 105
......fnlist Does Not List Suborganizations 106
......Cannot Create Host- or User-related Contexts 107
......Cannot Remove a Context I Created 107
......"Name in Use" With fnunbind 108
......"Name in Use" With fnbind/fncreate -s 108
......fndestroy/fnunbind Does Not Return "Operation Failed"
.......... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109

7. Federating NIS+ With Global Naming Systems
111
...Obtaining the NIS+ Root Reference 111
...Federating NIS+ Under DNS 112
...Federating NIS+ Under X.500 114

8. Administering the File System Namespace
117
...The FNS File System Namespace 117
......NFS File Servers 118
......The Automounter 119
...Creating File Contexts 120
......Creating the Input File 121
......Using Command-line Input 123
......Advanced Input Formats 124
......Backward Compatibility Input Format 125
...Administering File Contexts 126

9. Administering the Printer Namespace
127
...The Printer Namespace 127
...Administering Printer Contexts 128
......Using Files 128
......Using NIS 129
......Using NIS+ 129

Part 4 --Application Programming

10. Interfaces for Writing XFN Applications
133
...XFN Interface Overview 133
......Interface Conventions 134
......Usage 134
......Abstract Data Types 134
......Memory-Management Policies 135
...The Base Context Interface 135
......Names in Context Operations 136
......Requirements for Supporting the Context Operations 136
......Status Objects 137
......Getting Context Handles 137
......Lookup and List Contexts 138
......Updating Bindings 140
......Managing Contexts 141
......Other Context Operations 142
...The Base Attribute Interface 143
......XFN Attribute Model 143
......Relationship to Naming Operations 144
......Status Objects 145
......Single-Attribute Operations 145
......Multiple-Attribute Operations 147
...Status Objects and Status Codes 150
...Parameters Used in the Interface 153
......Composite Names 153
......References and Addresses 153
......Identifiers 154
......Strings 155
......Attributes and Attribute Values 155
......Attribute Sets 155
......Attribute-Modification Lists 155
...Parsing Compound Names 156
......Syntax Attributes 156
......XFN Standard Syntax Model 156

11. XFN Composite Names
159
...Syntax 159
...Composite Name and Naming System Boundaries 161
......Strong Separation 161
......Weak Separation 162
...Composite Name Resolution 163
......Explicit NNSPs: Junctions 163
......Implicit NNSPs 164
......Coexistence of Explicit and Implicit NNSPs 165
......XFN Links 165

12. XFN Programming Examples
167
...Namespace Browser Example168
......Compiling and Executing Browser Example 175
......Commands 175
......Sample Output 176
...Printer Programming Example 178
......Client 179
......Server 181

A. XFN Composite Names Syntax
185
...Composite Name Encoding 185
...Backus-Naur Form (BNF) 186
...Decomposing the Composite Name String 187
...Composing the Composite Name String 189

B. DNS Text Record Format for XFN References
191

C. X.500 Attribute Syntax for XFN References
195
...Object Classes 195

Glossary
201

Index
207