summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-05-24 13:36:43 +0000
committerLuke Leighton <lkcl@samba.org>1998-05-24 13:36:43 +0000
commit684edc9fcd73d9c2059d018c4b5eb599888cfd8b (patch)
tree56e99e6905c79a889d82630fc1e6d22f625f79ad /source3/include
parent0f9d24f083acb5bb17d220ac6bcac833625e1f74 (diff)
downloadsamba-684edc9fcd73d9c2059d018c4b5eb599888cfd8b.tar.gz
samba-684edc9fcd73d9c2059d018c4b5eb599888cfd8b.tar.bz2
samba-684edc9fcd73d9c2059d018c4b5eb599888cfd8b.zip
- created pdb_sethexpwd(), to be called from all pwd apis that need to
store passwords in ascii format - dealt with lots of signed/unsigned char thingies spotted by Tim Winders. (This used to be commit bd825f1ef15c4bf12aeba945f8bfdc7fd0e14d25)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 005911d1f6..9af21c5637 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1596,7 +1596,8 @@ time_t pdb_get_last_set_time(char *p);
void pdb_set_last_set_time(char *p, int max_len, time_t t);
char *pdb_encode_acct_ctrl(uint16 acct_ctrl);
uint16 pdb_decode_acct_ctrl(char *p);
-int pdb_gethexpwd(char *p, char *pwd);
+BOOL pdb_gethexpwd(char *p, char *pwd);
+void pdb_sethexpwd(char *p, char *pwd, uint16 acct_ctrl);
BOOL pdb_name_to_rid(char *user_name, uint32 *u_rid, uint32 *g_rid);
BOOL pdb_generate_machine_sid(void);
uid_t pdb_user_rid_to_uid(uint32 u_rid);