summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-10-16 21:36:19 +0000
committerLuke Leighton <lkcl@samba.org>1998-10-16 21:36:19 +0000
commit97f0c9d55014db221fdceaaf07318ae9df9688a1 (patch)
tree2ca251ea3bc04395ecfd92a68440256ca2f04869 /source3/include/proto.h
parent3637ad5f2b0e5716aceaada0eed47f926c95520f (diff)
downloadsamba-97f0c9d55014db221fdceaaf07318ae9df9688a1.tar.gz
samba-97f0c9d55014db221fdceaaf07318ae9df9688a1.tar.bz2
samba-97f0c9d55014db221fdceaaf07318ae9df9688a1.zip
made pass_check_smb() available for dce/rpc use.
(This used to be commit 95e8a910c5d9ba0ef57669fb1256eaa932e0bb09)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 2a61a05f6d..63f4d624dc 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1259,7 +1259,7 @@ BOOL change_trust_account_password( char *domain, char *remote_machine_list);
BOOL rpc_api_pipe_req(struct cli_state *cli, uint8 op_num,
prs_struct *data, prs_struct *rdata);
-BOOL cli_nt_set_ntlmssp_flgs(struct cli_state *cli, uint32 ntlmssp_flgs);
+void cli_nt_set_ntlmssp_flgs(struct cli_state *cli, uint32 ntlmssp_flgs);
BOOL cli_nt_session_open(struct cli_state *cli, char *pipe_name);
void cli_nt_session_close(struct cli_state *cli);
@@ -2196,6 +2196,9 @@ void add_session_user(char *user);
BOOL smb_password_check(char *password, unsigned char *part_passwd, unsigned char *c8);
BOOL smb_password_ok(struct smb_passwd *smb_pass,
uchar lm_pass[24], uchar nt_pass[24]);
+BOOL pass_check_smb(char *user, char *domain,
+ char *challenge, char *lm_pwd, char *nt_pwd,
+ struct passwd *pwd);
BOOL password_ok(char *user, char *password, int pwlen, struct passwd *pwd);
BOOL user_ok(char *user,int snum);
BOOL authorise_login(int snum,char *user,char *password, int pwlen,