From: Günther Deschner Date: Mon, 8 Nov 2004 23:34:28 +0000 (+0000) Subject: r3628: A typo and a compile-warning. X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5630 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=906d5f88aabf091ee273e0ed9c3d2947b22c5390;p=thirdparty%2Fsamba.git r3628: A typo and a compile-warning. Guenther --- diff --git a/source/passdb/lookup_sid.c b/source/passdb/lookup_sid.c index d536383ef3e..e40a71c1451 100644 --- a/source/passdb/lookup_sid.c +++ b/source/passdb/lookup_sid.c @@ -472,7 +472,7 @@ NTSTATUS sid_to_gid(const DOM_SID *psid, gid_t *pgid) or we are dead in the water */ if ( !winbind_sid_to_gid(pgid, psid) ) { - DEBUG(10,("sid_to_uid: winbind failed to allocate a new gid for sid %s\n", + DEBUG(10,("sid_to_gid: winbind failed to allocate a new gid for sid %s\n", sid_to_string(sid_str, psid) )); return NT_STATUS_UNSUCCESSFUL; } diff --git a/source/passdb/pdb_ldap.c b/source/passdb/pdb_ldap.c index 058ecb04d3e..41d650fad52 100644 --- a/source/passdb/pdb_ldap.c +++ b/source/passdb/pdb_ldap.c @@ -2741,7 +2741,7 @@ static NTSTATUS ldapsam_alias_memberships(struct pdb_methods *methods, (struct ldapsam_privates *)methods->private_data; LDAP *ldap_struct; - const char *attrs[] = { LDAP_ATTRIBUTE_SID, NULL }; + char *attrs[] = { LDAP_ATTRIBUTE_SID, NULL }; LDAPMessage *result = NULL; LDAPMessage *entry = NULL;