diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-29 23:56:09 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-29 23:56:09 +0000 |
commit | 8d0660607f2c2d95e1319e04d0d573d9115c4dc0 (patch) | |
tree | b022b93ae54f03cb0c333d6ab22d1a8ee7727caa /source3/libsmb | |
parent | 1bb4c6f01607f8e0cd5860aa4b3ed429308c3a3f (diff) | |
download | samba-8d0660607f2c2d95e1319e04d0d573d9115c4dc0.tar.gz samba-8d0660607f2c2d95e1319e04d0d573d9115c4dc0.tar.bz2 samba-8d0660607f2c2d95e1319e04d0d573d9115c4dc0.zip |
this is going to sound _really_ weird, ok, but i had to implement
equivalents of NetUseAdd and NetUseDel!
(This used to be commit 86f4b1d3cc3887c4bb7bd6433f5f932f7db1b88e)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/pwd_cache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/pwd_cache.c b/source3/libsmb/pwd_cache.c index b360dbd199..8f030a1a08 100644 --- a/source3/libsmb/pwd_cache.c +++ b/source3/libsmb/pwd_cache.c @@ -45,14 +45,14 @@ void pwd_init(struct pwd_info *pwd) /**************************************************************************** de-obfuscates a password ****************************************************************************/ -static void pwd_deobfuscate(struct pwd_info *pwd) +static void pwd_deobfuscate(const struct pwd_info *pwd) { } /**************************************************************************** obfuscates a password ****************************************************************************/ -static void pwd_obfuscate(struct pwd_info *pwd) +static void pwd_obfuscate(const struct pwd_info *pwd) { } @@ -167,7 +167,7 @@ void pwd_set_lm_nt_16(struct pwd_info *pwd, uchar lm_pwd[16], uchar nt_pwd[16]) /**************************************************************************** gets lm and nt hashed passwords ****************************************************************************/ -void pwd_get_lm_nt_16(struct pwd_info *pwd, uchar lm_pwd[16], uchar nt_pwd[16]) +void pwd_get_lm_nt_16(const struct pwd_info *pwd, uchar lm_pwd[16], uchar nt_pwd[16]) { pwd_deobfuscate(pwd); if (lm_pwd != NULL) |