getuidattr
Submitted by awilliam on Thu, 2005-08-11 13:20.
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
| Attachment | Size |
|---|---|
| getuidattr.c.gz | 1.52 KB |
» add new comment | 691 reads
