diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-09-28 12:27:04 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-09-28 12:27:04 +0000 |
commit | 8b197158c9a7a4c881a86381f06c96d5091b5a76 (patch) | |
tree | d7456964593883a55918944484aa3addc15d4f65 /source3/include/ads.h | |
parent | 9e0bd9be01a6337d75d54382b56dfe6a88bda47b (diff) | |
download | samba-8b197158c9a7a4c881a86381f06c96d5091b5a76.tar.gz samba-8b197158c9a7a4c881a86381f06c96d5091b5a76.tar.bz2 samba-8b197158c9a7a4c881a86381f06c96d5091b5a76.zip |
Add the beginings of sam_ads to the tree.
This module, primarilly the work of "Stefan (metze) Metzmacher"
<metze@metzemix.de>, uses the Active Directory schema to store the
user/group/other information. I've been testing it against a real AD server,
and it is intended to work with OpenLDAP as well.
I've moved a few functions around in our other libads code, which has made it
easier to tap into that existing code.
Also, I've made some changes to the SAM interface, I hope there are not too
many objections... To ensure we don't get silly bugs in the skel module, it
is now in the default compile. This way you should not forget to update it :-)
Andrew Bartlett
(This used to be commit 24fb0cde2f0b657df1c99474cd694438c94a566e)
Diffstat (limited to 'source3/include/ads.h')
-rw-r--r-- | source3/include/ads.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/include/ads.h b/source3/include/ads.h index 0181ae535e..88a90229b1 100644 --- a/source3/include/ads.h +++ b/source3/include/ads.h @@ -15,6 +15,7 @@ typedef struct { char *realm; char *workgroup; char *ldap_server; + char *ldap_uri; int foreign; /* set to 1 if connecting to a foreign realm */ } server; @@ -255,5 +256,7 @@ typedef void **ADS_MODLIST; /* ads auth control flags */ -#define ADS_AUTH_DISABLE_KERBEROS 1 -#define ADS_AUTH_NO_BIND 2 +#define ADS_AUTH_DISABLE_KERBEROS 0x01 +#define ADS_AUTH_NO_BIND 0x02 +#define ADS_AUTH_ANON_BIND 0x04 +#define ADS_AUTH_SIMPLE_BIND 0x08 |