Skip navigation.
Home
Openness protects your investment.

getuidattr

LDAP

getuidattr A very simple C program that returns an attribute associated with a posixAccount object with a given "uid" attribute. This is primarily meant for use in shell scripts than need to know a couple of things about a user.
Example: ./getuidattr -u steve -a cn returns Steve VanderZouwen

Compile the attached C file with a command like: gcc -llber -lldap -o getuidattr getuidattr.c

AttachmentSize
getuidattr.c.gz1.52 KB