summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2004-11-08 23:34:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:10 -0500
commit8384b33e0de9f89da245ec8c76a4b829523c3341 (patch)
tree2f2241f8eeeb2e7e7aef831af3528e6ff8545eca /source3/passdb
parent31afaeeb81c7cedff904c1f0861b27193cc015bd (diff)
downloadsamba-8384b33e0de9f89da245ec8c76a4b829523c3341.tar.gz
samba-8384b33e0de9f89da245ec8c76a4b829523c3341.tar.bz2
samba-8384b33e0de9f89da245ec8c76a4b829523c3341.zip
r3628: A typo and a compile-warning.
Guenther (This used to be commit 906d5f88aabf091ee273e0ed9c3d2947b22c5390)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/lookup_sid.c2
-rw-r--r--source3/passdb/pdb_ldap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c
index d536383ef3..e40a71c145 100644
--- a/source3/passdb/lookup_sid.c
+++ b/source3/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/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index 058ecb04d3..41d650fad5 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/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;