summaryrefslogtreecommitdiff
path: root/usr.sbin/ypldap/ypldap.h
diff options
context:
space:
mode:
authoraschrijver <aschrijver@cvs.openbsd.org>2008-10-14 21:41:04 +0000
committeraschrijver <aschrijver@cvs.openbsd.org>2008-10-14 21:41:04 +0000
commitfd1fc729039aaaba1069b6040004a7239cd79976 (patch)
tree6c9841bc003970f92794def093c1c9ad1716eeba /usr.sbin/ypldap/ypldap.h
parentec0e78b6596661dd1918b16a1f8b8594bdb5b036 (diff)
Add support for referrals and lists of attributes.
Diffstat (limited to 'usr.sbin/ypldap/ypldap.h')
-rw-r--r--usr.sbin/ypldap/ypldap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ypldap/ypldap.h b/usr.sbin/ypldap/ypldap.h
index cc31bd31869..e8d4ac5e060 100644
--- a/usr.sbin/ypldap/ypldap.h
+++ b/usr.sbin/ypldap/ypldap.h
@@ -117,7 +117,9 @@ struct idm {
#define F_CONFIGURING 0x00200000
#define F_NEEDAUTH 0x00400000
#define F_FIXED_ATTR(n) (1<<n)
+#define F_LIST(n) (1<<n)
u_int32_t idm_flags; /* lower 20 reserved */
+ u_int32_t idm_list;
in_port_t idm_port;
char idm_binddn[LINE_WIDTH];
char idm_bindcred[LINE_WIDTH];
@@ -148,7 +150,6 @@ struct idm {
#ifdef SSL
struct ssl *idm_ssl;
#endif
-
};
struct idm_req {