diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-12-31 00:31:43 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-12-31 00:31:43 +0000 |
commit | 494781f628683d6e68e8ba21ae54f738727e8c21 (patch) | |
tree | a556662b529d99e7a9bf2c8ae2a319b1af4f3698 /source/lib/smbldap.c | |
parent | 3225f262b18bdcf326d3bfd031dac169bd9347c9 (diff) | |
download | samba-494781f628683d6e68e8ba21ae54f738727e8c21.tar.gz samba-494781f628683d6e68e8ba21ae54f738727e8c21.tar.xz samba-494781f628683d6e68e8ba21ae54f738727e8c21.zip |
auth/auth_util.c:
- Fill in the 'backup' idea of a domain, if the DC didn't supply one. This
doesn't seem to occour in reality, hence why we missed the typo.
lib/charcnv.c:
lib/smbldap.c:
libads/ldap.c:
libsmb/libsmbclient.c:
printing/nt_printing.c:
- all the callers to pull_utf8_allocate() pass a char ** as the first
parammeter, so don't make them all cast it to a void **
nsswitch/winbind_util.c:
- Allow for a more 'correct' view of when usernames should be qualified
in winbindd. If we are a PDC, or have 'winbind trusted domains only',
then for the authentication returns stip the domain portion.
- Fix valgrind warning about use of free()ed name when looking up our
local domain. lp_workgroup() is maniplated inside a procedure that
uses it's former value. Instead, use the fact that our local domain is
always the first in the list.
Andrew Bartlett
Diffstat (limited to 'source/lib/smbldap.c')
-rw-r--r-- | source/lib/smbldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/smbldap.c b/source/lib/smbldap.c index d9d73d943ff..e66724a361d 100644 --- a/source/lib/smbldap.c +++ b/source/lib/smbldap.c @@ -1371,7 +1371,7 @@ char *smbldap_get_dn(LDAP *ld, LDAPMessage *entry) DEBUG (5, ("smbldap_get_dn: ldap_get_dn failed\n")); return NULL; } - if (pull_utf8_allocate((void **) &unix_dn, utf8_dn) == (size_t)-1) { + if (pull_utf8_allocate(&unix_dn, utf8_dn) == (size_t)-1) { DEBUG (0, ("smbldap_get_dn: String conversion failure utf8 [%s]\n", utf8_dn)); return NULL; } |