sync up with 2.2
[Samba/gbeck.git] / source / include / ads.h
bloba2584454ecbf211049744e2c7b5bc2530a0b1d61
1 /*
2 header for ads (active directory) library routines
4 basically this is a wrapper around ldap
5 */
7 typedef struct {
8 void *ld;
9 char *realm;
10 char *ldap_server;
11 char *kdc_server;
12 int ldap_port;
13 char *bind_path;
14 } ADS_STRUCT;
17 #define UF_DONT_EXPIRE_PASSWD 0x10000
18 #define UF_MNS_LOGON_ACCOUNT 0x20000
19 #define UF_SMARTCARD_REQUIRED 0x40000
20 #define UF_TRUSTED_FOR_DELEGATION 0x80000
21 #define UF_NOT_DELEGATED 0x100000
22 #define UF_USE_DES_KEY_ONLY 0x200000
23 #define UF_DONT_REQUIRE_PREAUTH 0x400000
25 #define UF_TEMP_DUPLICATE_ACCOUNT 0x0100
26 #define UF_NORMAL_ACCOUNT 0x0200
27 #define UF_INTERDOMAIN_TRUST_ACCOUNT 0x0800
28 #define UF_WORKSTATION_TRUST_ACCOUNT 0x1000
29 #define UF_SERVER_TRUST_ACCOUNT 0x2000