source: trunk/debathena/debathena/libnss-nonlocal/nonlocal.h @ 22768

Revision 22768, 337 bytes checked in by tabbott, 17 years ago (diff)
Make it possible to add new users/groups with the same name as Athena users and groups. * debathena/libnss-nonlocal/: If NSS_NONLOCAL_IGNORE is set, pretend that nonlocal information doesn't exist. * config/nsswitch-config/debian/: Divert and wrap adduser, useradd, groupadd, addgroup, dpkg to set NSS_NONLOCAL_IGNORE when adding new accounts both manually and when installing new packages.
Line 
1#ifndef NONLOCAL_H
2#define NONLOCAL_H
3enum nss_status check_nonlocal_uid(const char *user, uid_t uid, int *errnop);
4enum nss_status check_nonlocal_gid(const char *user, gid_t gid, int *errnop);
5enum nss_status check_nonlocal_user(const char *user, int *errnop);
6#define NONLOCAL_IGNORE_ENV "NSS_NONLOCAL_IGNORE"
7#endif /* NON_LOCAL_H */
Note: See TracBrowser for help on using the repository browser.