diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-06-26 00:25:28 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-06-26 00:25:28 +0000 |
commit | 633445be1a9be37ae727c044417f5607706cf4ae (patch) | |
tree | 3c037459f5249e5c18ee5b9e41802c5964364f95 /src/nsssd/nsssd-nslcd.h | |
download | nsss-633445be1a9be37ae727c044417f5607706cf4ae.tar.xz |
Initial commit
Diffstat (limited to 'src/nsssd/nsssd-nslcd.h')
-rw-r--r-- | src/nsssd/nsssd-nslcd.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/nsssd/nsssd-nslcd.h b/src/nsssd/nsssd-nslcd.h new file mode 100644 index 0000000..6980703 --- /dev/null +++ b/src/nsssd/nsssd-nslcd.h @@ -0,0 +1,26 @@ +/* ISC license. */ + +#ifndef NSSSD_NSLCD_H +#define NSSSD_NSLCD_H + + + /* Taken from nslcd.h */ + +#define NSLCD_VERSION 0x00000002 + +#define NSLCD_ACTION_PASSWD_BYNAME 0x00080001 +#define NSLCD_ACTION_PASSWD_BYUID 0x00080002 +#define NSLCD_ACTION_PASSWD_ALL 0x00080008 + +#define NSLCD_ACTION_GROUP_BYNAME 0x00040001 +#define NSLCD_ACTION_GROUP_BYGID 0x00040002 +#define NSLCD_ACTION_GROUP_BYMEMBER 0x00040006 +#define NSLCD_ACTION_GROUP_ALL 0x00040008 + +#define NSLCD_ACTION_SHADOW_BYNAME 0x000c0001 +#define NSLCD_ACTION_SHADOW_ALL 0x000c0008 + +#define NSLCD_RESULT_BEGIN 1 +#define NSLCD_RESULT_END 2 + +#endif |