This section has general FAQs for Native File Access for UNIX.
Section C.1.5, What is the significance of the SEARCH_ROOT parameter in SYS:ETC\NFS.CFG file?
Section C.1.6, How do I manually set the UNIX profile of a user?
Section C.1.7, How do I set a User’s UNIX profile to the Root’s profile?
Section C.1.8, Could not authenticate ContextHandle. Load schinst and try again. Exiting...9601
Select to overwrite the existing nfsstart.ncf file.
For complete and correct functionality, ensure that the entire replica ring for any partition containing the NFS search_root contexts are on eDirectory 8.0 or later.
Manually execute schinst -n -w on system console.
Or
If the error continues even after executing schinst, then do the following:
Make a note of all the nodes that share the NFAUUser object in that context.
Delete the NFAUUser object.
Run schinst -n -w on all the nodes that you made note of in Step 1.
The profile gets updated after two hours. To update the profile before this time in the system console, execute ndsilib cache refresh.
This parameter is a list of contexts under which NFS* modules search for users that have their UNIX* profile populated.
There are some rules that need to be observed to add to this search list:
The specified contexts should begin with a period (.)
Contexts can be specified as .Ou1.Top or as .Ou=Ou1.O=Top
Items in the list must be separated by commas (,) but no spaces.
After the product installation is complete and the schema has been extended to have UNIX attributes, appropriate ConsoleOne® snap-ins are now available to populate those attributes.
To populate the UNIX attributes, follow these steps:
In ConsoleOne, select an existing Group object or create a new Group object.
Right-click this
object and then click .Go to the
tab and specify the desired .Select/create a User object whose UNIX profile needs to be updated.
Right-click this
object and then click .Click the
tab and then specify the desired .For the Primary Group field, specify the GID specified in Step 3 and then click on Apply/OK.
Now there is a user whose UNIX profile is populated; but to make this visible to NFS modules, this User’s context or one of its parents' context needs to appear in the SEARCH_ROOT parameter in SYS:ETC\NFS.CFG. For this change to get reflected (if a fresh context was added to the SEARCH_ROOT list), do an nfsstop and nfsstart again.
In Step 6 above, setting the UID Value to 0 in the User ID field attaches the root profile to that User object. Again, make sure that either this User’s context or one of its parents' context is in the SEARCH_ROOT list.
In the following procedure .NSC = Organization name in the eDirectory tree.
Ensure that in the NFS.CFG, the NIS_ADMIN_OBJECT_CONTEXT is set to .NSC or .O=NSC and that SEARCH_ROOT also has the same context in the same format and is preceded by a dot (.).
Execute nfsstop and run SCHINST.NLM (get the SCHINST.LOG and NFS.CFG after this).
If this does not work, then do the following:
Make a note of all the nodes that share the NFAUUser object in that context.
Delete the NFAUUser object.
Run schinst -n -w on all the nodes that you made note of in Step 1.
Capture the log and configuration files and see if it works.
You need to do the following:
Execute nfsstop.
Execute schinst -n -w
(Conditional) When you reinstall the directory services in the server or join the server to an existing tree, run nisinst.
Execute nfsstart.
This implies that the server’s /etc/hosts file does not contain the simple host name (server name).
To resolve this, do the following:
Make sure that the server's /etc/hosts file contains the simple host name (server name).
For example, if the format is
192.168.2.3 server1.domain.com
then change the entry to,
192.168.2.3 server1.domain.com server1
Restart the server and schinst should work fine.
NetWare FTP Server (Nwftpd.nlm) has a dependency on ndsilib.nlm. So if nwftpd.nlm is running, unloading ndsilib.nlm through nfsstop.ncf will fail. To avoid this, please unload nwftpd.nlm first and then unload ndsilib.nlm