diff options
author | Tim Potter <tpot@samba.org> | 2001-06-07 04:35:01 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-06-07 04:35:01 +0000 |
commit | 24dd11dd699e6c30d89f7ff97a3d75edbcaa85f1 (patch) | |
tree | 58fb445f61d9ec5edeb12aabee5f6fac32381d24 /source3/nsswitch | |
parent | b1b5dcaf054806be21f2f78816e580f9a0a19fca (diff) | |
download | samba-24dd11dd699e6c30d89f7ff97a3d75edbcaa85f1.tar.gz samba-24dd11dd699e6c30d89f7ff97a3d75edbcaa85f1.tar.bz2 samba-24dd11dd699e6c30d89f7ff97a3d75edbcaa85f1.zip |
Added comment about possible optimisation to winbindd_pam_auth()
(This used to be commit bb01d2151cde866f0e2d91ee7c58439eeb382c48)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/winbindd_pam.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_pam.c b/source3/nsswitch/winbindd_pam.c index d9197bcb0e..0cbc3166c8 100644 --- a/source3/nsswitch/winbindd_pam.c +++ b/source3/nsswitch/winbindd_pam.c @@ -69,6 +69,10 @@ enum winbindd_result winbindd_pam_auth(struct winbindd_cli_state *state) passlen = strlen(state->request.data.auth.pass); + /* So domain_client_validate() actually opens a new connection + for each authentication performed. This can theoretically + be optimised to use an already open IPC$ connection. */ + result = domain_client_validate(name_user, name_domain, state->request.data.auth.pass, passlen, |