summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2012-07-24 10:48:34 +0200
committerGünther Deschner <gd@samba.org>2012-07-24 14:49:41 +0200
commit867de2f3aaa269e5063ae99d6cb77a6e9d20cf67 (patch)
tree846dcdda9a93c264229eeb4d86333e9dec6a64f4 /source3/passdb
parent221a430e229d130d01fa649fadfd95714847c391 (diff)
downloadsamba-867de2f3aaa269e5063ae99d6cb77a6e9d20cf67.tar.gz
samba-867de2f3aaa269e5063ae99d6cb77a6e9d20cf67.tar.bz2
samba-867de2f3aaa269e5063ae99d6cb77a6e9d20cf67.zip
s3-pdb: remove unused variables.
Guenther Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Tue Jul 24 14:49:42 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_ldap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index 302717eb55..56225a2965 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -1135,7 +1135,6 @@ static bool init_ldap_from_sam (struct ldapsam_privates *ldap_state,
enum pdb_elements))
{
char *temp = NULL;
- uint32_t rid;
if (mods == NULL || sampass == NULL) {
DEBUG(0, ("init_ldap_from_sam: NULL parameters found!\n"));
@@ -1548,7 +1547,6 @@ static int ldapsam_get_ldap_user_by_sid(struct ldapsam_privates *ldap_state,
{
int rc = -1;
const char ** attr_list;
- uint32_t rid;
switch ( ldap_state->schema_ver ) {
case SCHEMAVER_SAMBASAMACCOUNT: {