summaryrefslogtreecommitdiffstats
path: root/source/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
commit95e8a910c5d9ba0ef57669fb1256eaa932e0bb09 (patch)
tree4148a934411b8321fbe5841523c4e022cfc0b8c7 /source/include/proto.h
parent63def717992695ed4a4933c2605abe26086fb8c7 (diff)
downloadsamba-95e8a910c5d9ba0ef57669fb1256eaa932e0bb09.tar.gz
samba-95e8a910c5d9ba0ef57669fb1256eaa932e0bb09.tar.xz
samba-95e8a910c5d9ba0ef57669fb1256eaa932e0bb09.zip
made pass_check_smb() available for dce/rpc use.
Diffstat (limited to 'source/include/proto.h')
-rw-r--r--source/include/proto.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/include/proto.h b/source/include/proto.h
index 2a61a05f6d4..63f4d624dc6 100644
--- a/source/include/proto.h
+++ b/source/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,