diff options
author | Gerald Carter <jerry@samba.org> | 2000-07-03 04:24:31 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2000-07-03 04:24:31 +0000 |
commit | a04ea15f723e559db3c60bed03318cc7be851f69 (patch) | |
tree | 3b62d1b062ff1d1ee6130deed03d0e22d50e31a3 /source/libsmb/pwd_cache.c | |
parent | d9041958558fc8e3c7b0491eb0f7e45bee9d19c5 (diff) | |
download | samba-a04ea15f723e559db3c60bed03318cc7be851f69.tar.gz samba-a04ea15f723e559db3c60bed03318cc7be851f69.tar.xz samba-a04ea15f723e559db3c60bed03318cc7be851f69.zip |
first pass at merging rpcclient from TNG to HEAD. You can get a
semi-connection and a rpcclient prompt, but no functionality there yet.
Will be a few more days on that.
These files changed only with the addition of some support functions
from TNG
--jerry
Diffstat (limited to 'source/libsmb/pwd_cache.c')
-rw-r--r-- | source/libsmb/pwd_cache.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/libsmb/pwd_cache.c b/source/libsmb/pwd_cache.c index 1c5f8b51761..26b1d192f09 100644 --- a/source/libsmb/pwd_cache.c +++ b/source/libsmb/pwd_cache.c @@ -41,6 +41,15 @@ void pwd_init(struct pwd_info *pwd) } /**************************************************************************** +returns NULL password flag +****************************************************************************/ +BOOL pwd_is_nullpwd(const struct pwd_info *pwd) +{ + return pwd->null_pwd; +} + + +/**************************************************************************** compares two passwords. hmm, not as trivial as expected. hmm. ****************************************************************************/ BOOL pwd_compare(struct pwd_info *pwd1, struct pwd_info *pwd2) |