r3628: A typo and a compile-warning.
authorGünther Deschner <gd@samba.org>
Mon, 8 Nov 2004 23:34:28 +0000 (23:34 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:53:10 +0000 (10:53 -0500)
Guenther
(This used to be commit 906d5f88aabf091ee273e0ed9c3d2947b22c5390)

source3/passdb/lookup_sid.c
source3/passdb/pdb_ldap.c

index d536383ef3eceddc65f4fda5521276931917d979..e40a71c1451ac75ffd1fe04321f6a68c54b87557 100644 (file)
@@ -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;
        }
index 058ecb04d3e75a0496635b74d9e10666876f39b6..41d650fad5260ef081b08188d3082643c616c757 100644 (file)
@@ -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;