summaryrefslogtreecommitdiff
path: root/server/nss/nss_ldb.h
blob: 64ac592bdb348d50b672103ff81300171f1d97ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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}