diff options
Diffstat (limited to 'server/nss/nss_ldb.h')
-rw-r--r-- | server/nss/nss_ldb.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/server/nss/nss_ldb.h b/server/nss/nss_ldb.h new file mode 100644 index 00000000..64ac592b --- /dev/null +++ b/server/nss/nss_ldb.h @@ -0,0 +1,14 @@ +/* nss_ldb private header file */ + +#define NSS_LDB_PATH "/var/lib/sss/db/sssd.ldb" + +#define NSS_USER_BASE "cn=users,cn=local" + +#define NSS_PWNAM_FILTER "(&(objectclass=user)(uid=%s))" +#define NSS_PWUID_FILTER "(&(objectclass=user)(uidNumber=%llu))" +#define NSS_PWENT_FILTER "(objectclass=user)" + +#define NSS_PW_ATTRS {NSS_PW_NAME, NSS_PW_UIDNUM, NSS_PW_GIDNUM, \ + NSS_PW_FULLNAME, NSS_PW_HOMEDIR, NSS_PW_SHELL, \ + NULL} + |