Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Solaris CIFS Administration Guide
Previous Next

Identity Mapping Troubleshooting

Viewing Identity Mapping Service Property Settings

The identity mapping service uses the svccfg(1M) command to set properties. Before you change property values, you should view the current property settings.

To view configuration properties related to the idmap service, run one of the following commands:

  • # svccfg -s idmap listprop "config/*"

  • # svcprop -p config svc:/system/idmap

To view all properties related to the idmap service, run one of the following commands:

  • # svccfg -s idmap listprop

  • # svcprop svc:/system/idmap

Saving and Restoring Rule-Based Mappings

You might need to back up and restore your rule-based mappings.

For more information about the idmap export, idmap import, and idmap list commands, see the idmap(1M) man page.

To back up the mappings, perform the following steps:

  1. Save your rule-based mappings in one of the following ways:

    • Export the mappings.

      # idmap export -f output-file format
    • List the mappings.

      # idmap list >output-file
  2. Disable the idmap service.

    # svcadm disable idmap
  3. Remove the idmap.db databases.

    # rm /var/idmap/idmap.db /var/run/idmap/idmap.db
  4. Reboot the system.

To restore the mappings, use the mapping output you saved during the backup procedure. Do one of the following to restore based on your backup method:

  • Use the idmap import command.

    # idmap import -f input-file format
  • Use the idmap list command.

    Run output-file as a shell script.

    # sh ./output-file

Viewing Details About Mappings

If you encounter unexpected mapping results, use the idmap dump and idmap show commands to gather data. Each command has a -v option that produces detailed information about mappings.

For more information, see How to Show All Established Mappings and How to Show a Mapping for a Particular Identity.

Previous Next

 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire