diff options
author | Derrell Lipman <derrell@samba.org> | 2005-04-19 19:23:49 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:40 -0500 |
commit | 1d08b9013a67184b0ecfe8b013926128719b68a6 (patch) | |
tree | 48b05c1be341c1f5183abb7673435e1b0634058a /source3/libsmb/trusts_util.c | |
parent | 67e9fb7c7c61a337da7efb887e401dfaa828b7b5 (diff) | |
download | samba-1d08b9013a67184b0ecfe8b013926128719b68a6.tar.gz |
r6392: - Fixes bug 2564: when smbc_opendir() was called with a file rather than
a directory, the errno returned could end up as ENOENT rather than ENOTDIR.
- Fixes some compiler warnings which showed up on IRIX, as reported by
James Peach.
(This used to be commit 615a62b21f8d2f7f97bde2f166ddd6849d39b95c)
Diffstat (limited to 'source3/libsmb/trusts_util.c')
-rw-r--r-- | source3/libsmb/trusts_util.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/libsmb/trusts_util.c b/source3/libsmb/trusts_util.c index b420e4fa081..aab0d7d1517 100644 --- a/source3/libsmb/trusts_util.c +++ b/source3/libsmb/trusts_util.c @@ -104,11 +104,8 @@ NTSTATUS trust_pw_find_change_and_store_it(struct cli_state *cli, const char *domain) { unsigned char old_trust_passwd_hash[16]; - char *up_domain; uint32 sec_channel_type = 0; - up_domain = talloc_strdup(mem_ctx, domain); - if (!secrets_fetch_trust_account_password(domain, old_trust_passwd_hash, NULL, &sec_channel_type)) { |