DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

attrmap(IAC)


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(C), idadmin(C), namemap(IAC), uidadmin(C)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005