TCP/IP and Data Communications Administration Guide

No Permission to Create Table in Data Store

The following error message is displayed:


You do not have permission to create the tablename table in the servicename data store.

If you have a problem creating tables in the data store, check the information below.

Problem

The root account does not have access rights to create a table under the org_dir object.

Verification: Usually, this means the root account's principal name is not a member of the owning group for the org_dir object, or no owning group exists.

Solution:

  1. Enter niscat -o org_dir to see the name of the owning group.

  2. Enter nisgrpadm -l admin to see the group members.

  3. If the current system's principal name is not in the group, enter nisgrpadm -a group principalname to add it.

  4. Enter /usr/lib/nis/nisctl -f g to flush the cache for immediate update.