Added comment about possible optimisation to winbindd_pam_auth()
authorTim Potter <tpot@samba.org>
Thu, 7 Jun 2001 04:35:01 +0000 (04:35 +0000)
committerTim 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

index d9197bcb0e6e849f1546136cd3fd7841f743d8b0..0cbc3166c8c4d6c126885faefd21d1b38e241d8f 100644 (file)
@@ -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,