attrmap(3iac)
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
attradmin(1Mbnu),
idadmin(1Mbnu),
namemap(3iac),
uidadmin(1bnu)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004