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 | 098b7b378c72632d8c3df0b795ac1e4c5dbfb04a (patch) | |
tree | d9766a7c9885fd33241d67f947b419bb22984092 /source3/libsmb/pwd_cache.c | |
parent | 877c91bfdda53d2e93f4f4148361555d6461101a (diff) | |
download | samba-098b7b378c72632d8c3df0b795ac1e4c5dbfb04a.tar.gz samba-098b7b378c72632d8c3df0b795ac1e4c5dbfb04a.tar.bz2 samba-098b7b378c72632d8c3df0b795ac1e4c5dbfb04a.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
(This used to be commit a04ea15f723e559db3c60bed03318cc7be851f69)
Diffstat (limited to 'source3/libsmb/pwd_cache.c')
-rw-r--r-- | source3/libsmb/pwd_cache.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/libsmb/pwd_cache.c b/source3/libsmb/pwd_cache.c index 1c5f8b5176..26b1d192f0 100644 --- a/source3/libsmb/pwd_cache.c +++ b/source3/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) |