attrmap(3I) attrmap(3I)
NAME
attrmap - map an attribute
SYNOPSIS
cc [options] file -liaf
#include <iaf.h>
int attrmap(char *attr_name, char *attr_in, char *attr_out);
DESCRIPTION
The attrmap routine takes remote (global) attribute values
that define an attribute on a remote system and maps them into
local attribute values. It takes a remote attribute as input
and returns the corresponding local attribute after consulting
the local attribute mapping file attr_name.map.
attr_name is the attribute name, attr_in is the remote
(global) attribute value, and attr_out is the location where
attrmap places the local, mapped attribute value.
Files
/etc/idmap/attrmap/attr_name.map map file for
attribute attr_name
Return Values
Upon successful completion, attrmap returns 0; otherwise, it
returns -1.
REFERENCES
uidadmin(1), attradmin(1M), idadmin(1M), namemap(3I)
Copyright 1994 Novell, Inc. Page 1