summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-03-22 20:39:31 +0000
committerJeremy Allison <jra@samba.org>2000-03-22 20:39:31 +0000
commit6814d0f45689d2a17af3d95511208421d10f5fce (patch)
treea4ae5be71672b98f19d3319af45bd82312bbb6f4 /source3/include
parent8f1620125dcb9c29c223f4efb6485528ece70f11 (diff)
downloadsamba-6814d0f45689d2a17af3d95511208421d10f5fce.tar.gz
samba-6814d0f45689d2a17af3d95511208421d10f5fce.tar.bz2
samba-6814d0f45689d2a17af3d95511208421d10f5fce.zip
Correctly convert from little-endian UNICODE to dos_codepage when doing
secure file create. Jeremy. (This used to be commit 90134dd13721f60d4fb05ce9434b65e95ff09629)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h34
1 files changed, 18 insertions, 16 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 27d3de49b8..0b911b00ca 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1442,8 +1442,8 @@ struct passdb_ops *nisplus_initialize_password_db(void);
/*The following definitions come from passdb/pass_check.c */
void dfs_unlogin(void);
-BOOL pass_check(char *user,char *password, int pwlen, struct passwd *pwd,
- BOOL (*fn)(char *, char *));
+BOOL pass_check(char *user, char *password, int pwlen, struct passwd *pwd,
+ BOOL (*fn) (char *, char *));
/*The following definitions come from passdb/passdb.c */
@@ -2865,22 +2865,24 @@ void process_blocking_lock_queue(time_t t);
/*The following definitions come from smbd/chgpasswd.c */
-BOOL chgpasswd(char *name,char *oldpass,char *newpass, BOOL as_root);
-BOOL chgpasswd(char *name,char *oldpass,char *newpass, BOOL as_root);
-BOOL check_lanman_password(char *user, uchar *pass1,
- uchar *pass2, struct smb_passwd **psmbpw);
-BOOL change_lanman_password(struct smb_passwd *smbpw, uchar *pass1, uchar *pass2);
+BOOL chgpasswd(char *name, char *oldpass, char *newpass, BOOL as_root);
+BOOL chgpasswd(char *name, char *oldpass, char *newpass, BOOL as_root);
+BOOL check_lanman_password(char *user, uchar * pass1,
+ uchar * pass2, struct smb_passwd **psmbpw);
+BOOL change_lanman_password(struct smb_passwd *smbpw, uchar * pass1,
+ uchar * pass2);
BOOL pass_oem_change(char *user,
- uchar *lmdata, uchar *lmhash,
- uchar *ntdata, uchar *nthash);
+ uchar * lmdata, uchar * lmhash,
+ uchar * ntdata, uchar * nthash);
BOOL check_oem_password(char *user,
- uchar *lmdata, uchar *lmhash,
- uchar *ntdata, uchar *nthash,
- struct smb_passwd **psmbpw, char *new_passwd,
- int new_passwd_size);
-BOOL change_oem_password(struct smb_passwd *smbpw, char *new_passwd, BOOL override);
-BOOL check_plaintext_password(char *user,char *old_passwd,
- int old_passwd_size, struct smb_passwd **psmbpw);
+ uchar * lmdata, uchar * lmhash,
+ uchar * ntdata, uchar * nthash,
+ struct smb_passwd **psmbpw, char *new_passwd,
+ int new_passwd_size);
+BOOL change_oem_password(struct smb_passwd *smbpw, char *new_passwd,
+ BOOL override);
+BOOL check_plaintext_password(char *user, char *old_passwd,
+ int old_passwd_size, struct smb_passwd **psmbpw);
/*The following definitions come from smbd/close.c */