Log in to the NIS+ domain as an authorized user.
You must have read and write access to the tables in the NIS+ org_dir directory.
Ensure that the auto_master table includes an entry for the auto_direct automount map.
$ niscat auto_master.org_dir /net -hosts -nosuid /home auto_home /- auto_direct |
If the auto_direct entry appears in the output, proceed to Step 4. If the entry does not appear, go to the next step.
Add the auto_direct entry to the auto_master table.
$ nistbladm -a key=/- value=auto_direct auto_master.org_dir |
Verify that the entry has been added to the table.
$ niscat auto_master.org_dir /net -hosts -nosuid /home auto_home /- auto_direct |
Ensure that the auto_direct table exists.
$ nisls auto_direct.org_dir auto_direct.org_dir.your-domain. |
If the auto_direct table appears in the output, proceed to Step 6. If the table does not appear, go to the next step.
Create the auto_direct table.
$ nistbladm -D access=og=rmcd,w=r,n= -c automount_map key=S,\nogw= value=,nogw= auto_direct.org_dir.`nisdefaults -d` |
Verify that the table has been created.
$ nisls auto_direct.org_dir auto_direct.org_dir.your-domain. |
Proceed to Step 7.
Look for a pre-existing Solstice AdminSuite entry.
A table entry supporting an earlier version of the Solstice AdminSuite software may be present.
$ niscat auto_direct.org_dir | grep SUNWadm |
If an entry similar to the following appears, proceed to Step 8.
/opt/SUNWadm server-name:/install-dir/$CPU/SUNWadm |
In this example,
server-name |
Is the Solstice administration system host name. |
install-dir |
Is the path to the Solstice AdminSuite 2.3 software location (usually /export/opt). |
If the entry does not appear, go to the next step.
Add the entry designating the location of the Solstice AdminSuite 2.3 software.
If you chose an installation location other than the /export/opt directory, be sure to indicate the correct path in this command.
$ nistbladm -a key=/opt/SUNWadm \value=server-name:/export/opt/\$CPU/SUNWadm \auto_direct.org_dir.`nisdefaults -d` |
In this command,
server-name |
Is the Solstice administration system host name. |
Verify that the entry has been added to the table.
$ niscat auto_direct.org_dir /opt/SUNWadm server-name:/export/opt/$CPU/SUNWadm |
Add the entry designating the location of the Solstice AdminSuite 2.3 data area.
If you chose an installation location other than the /export/opt directory, be sure to indicate the correct path in this command.
$ nistbladm -a key=/opt/SUNWadmd \value=server-name:/export/opt/all/SUNWadmd \auto_direct.org_dir.`nisdefaults -d` |
In this command,
server-name |
Is the Solstice administration system host name. |
Verify that the entry has been added to the table.
$ niscat auto_direct.org_dir/opt/SUNWadm server-name:/export/opt/$CPU/SUNWadm/opt/SUNWadmd \server-name:/export/opt/all/SUNWadmd |
Log in as root to all Solstice administration systems and AdminSuite enabled systems in the NIS+ name service domain and run the automount command.
# /usr/sbin/automount |
Running this command enables the system to use the new (or updated) automount table.