diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-12-19 08:44:23 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-12-19 08:44:23 +0000 |
commit | a062e58d9e47f95ac7c66668b3cfe1f72386f6e0 (patch) | |
tree | f968f822fae231153347045cd7f673359a1a9a6f /source3/include | |
parent | e7da05b7605b4bf09a641095d1be23001f83a487 (diff) | |
download | samba-a062e58d9e47f95ac7c66668b3cfe1f72386f6e0.tar.gz samba-a062e58d9e47f95ac7c66668b3cfe1f72386f6e0.tar.bz2 samba-a062e58d9e47f95ac7c66668b3cfe1f72386f6e0.zip |
- added initial support for trusted domains in winbindd_ads
- gss error code patch from a.bokovoy@sam-solutions.net
- better sid dumping in ads_dump
- fixed help in wbinfo
(This used to be commit ee1c3e1f044b4ef62169ad74c5cac40eef81bfda)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/ads.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/include/ads.h b/source3/include/ads.h index 5ae127ff28..4a20d0e79f 100644 --- a/source3/include/ads.h +++ b/source3/include/ads.h @@ -15,8 +15,19 @@ typedef struct { time_t last_attempt; char *password; char *user_name; + char *server_realm; } ADS_STRUCT; +typedef struct { + /* Type of error returned by ads_connect: */ + /* True corresponds GSS API, False - LDAP */ + int error_type; + /* For error_type = False rc describes LDAP error */ + int rc; + /* For error_type = True rc and minor_status describe GSS API error */ + /* Where rc represents major_status of GSS API error */ + int minor_status; +} ADS_RETURN_CODE; /* time between reconnect attempts */ #define ADS_RECONNECT_TIME 5 |