git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1b5dca
)
Added comment about possible optimisation to winbindd_pam_auth()
author
Tim Potter
<tpot@samba.org>
Thu, 7 Jun 2001 04:35:01 +0000
(
04:35
+0000)
committer
Tim Potter
<tpot@samba.org>
Thu, 7 Jun 2001 04:35:01 +0000
(
04:35
+0000)
(This used to be commit
bb01d2151cde866f0e2d91ee7c58439eeb382c48
)
source3/nsswitch/winbindd_pam.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/winbindd_pam.c
b/source3/nsswitch/winbindd_pam.c
index d9197bcb0e6e849f1546136cd3fd7841f743d8b0..0cbc3166c8c4d6c126885faefd21d1b38e241d8f 100644
(file)
--- 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,