diff options
author | Tim Potter <tpot@samba.org> | 2003-01-14 04:04:13 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-01-14 04:04:13 +0000 |
commit | 4c617a3746f52db362344ece1cbcbcd16b252882 (patch) | |
tree | fbb3c37f77cbe52e5dfbabfef1b9165ede0e7b55 | |
parent | 6d030555a113ea8b6bfac51d90dce6cd76719caa (diff) | |
download | samba-4c617a3746f52db362344ece1cbcbcd16b252882.tar.gz samba-4c617a3746f52db362344ece1cbcbcd16b252882.tar.bz2 samba-4c617a3746f52db362344ece1cbcbcd16b252882.zip |
Added a comment in case anyone is thinking of doing a SMB_ASSERT in winbindd.
(This used to be commit c64e2308bae31d48171685b3b67b8cace1b003b5)
-rw-r--r-- | source3/nsswitch/winbindd_pam.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_pam.c b/source3/nsswitch/winbindd_pam.c index 844c44567b..b8a8c38d68 100644 --- a/source3/nsswitch/winbindd_pam.c +++ b/source3/nsswitch/winbindd_pam.c @@ -273,6 +273,8 @@ enum winbindd_result winbindd_pam_auth_crap(struct winbindd_cli_state *state) #if 0 /* we don't currently do this stuff right */ + /* Doing an assert in a daemon is going to be a pretty bad + idea. - tpot */ if (state->request.data.auth_crap.flags & WINBIND_PAM_NTKEY) { SMB_ASSERT(sizeof(state->response.data.auth.nt_session_key) == sizeof(info3.user_sess_key)); memcpy(state->response.data.auth.nt_session_key, info3.user_sess_key, sizeof(state->response.data.auth.nt_session_key) /* 16 */); |