diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-02-15 13:28:59 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-02-15 13:28:59 +0000 |
commit | e91e0a83af5cc0282531d318d476618af2e78662 (patch) | |
tree | aa7a2fb1c8065805a6e11c716f83d38c9be264ce /source3/nsswitch/winbindd.h | |
parent | cd38c3a71c74d2c62c0cf25a3b6e9ea460036ef6 (diff) | |
download | samba-e91e0a83af5cc0282531d318d476618af2e78662.tar.gz samba-e91e0a83af5cc0282531d318d476618af2e78662.tar.xz samba-e91e0a83af5cc0282531d318d476618af2e78662.zip |
Winbind cleanup.
This patch fixes the segfaults I introduced in the previous conneciton caching
patch. It cleans up the connection cache a *lot* - in particular it adds
significant robustness to the operation.
If a the DC goes down, we no longer fail the next operation - the code checks
if the connection died during one of its own operations on the socket, and
restarts the conneciton as required.
There is still a memory leak in here somewhere - but this code also cleans up a
number of these.
Also added is the abilty to sepecify the domain of the 'get around restrict anonymous'
user that winbind uses.
Andrew Bartlett
(This used to be commit 92cbefdf2783bf9dbbb2179c1b2f7cdb802d84a9)
Diffstat (limited to 'source3/nsswitch/winbindd.h')
-rw-r--r-- | source3/nsswitch/winbindd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd.h b/source3/nsswitch/winbindd.h index 064c3160ae0..5b63d236ba1 100644 --- a/source3/nsswitch/winbindd.h +++ b/source3/nsswitch/winbindd.h @@ -206,6 +206,7 @@ typedef struct { /* Authenticated user info is stored in secrets.tdb under these keys */ #define SECRETS_AUTH_USER "SECRETS/AUTH_USER" +#define SECRETS_AUTH_DOMAIN "SECRETS/AUTH_DOMAIN" #define SECRETS_AUTH_PASSWORD "SECRETS/AUTH_PASSWORD" #endif /* _WINBINDD_H */ |