summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/nsswitch/winbindd_idmap_ldap.c2
-rw-r--r--source3/rpcclient/cmd_netlogon.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd_idmap_ldap.c b/source3/nsswitch/winbindd_idmap_ldap.c
index 7ffddf9ac4..eb10dd33e9 100644
--- a/source3/nsswitch/winbindd_idmap_ldap.c
+++ b/source3/nsswitch/winbindd_idmap_ldap.c
@@ -40,8 +40,6 @@ static const char *attr[] = { "uid", "rid", "domain", "uidNumber",
static const char *pool_attr[] = {"uidNumber", "gidNumber", "cn", NULL};
-static const char *group_attr[] = {"gidNumber", "ntSid", NULL};
-
static long ldap_allocate_id(BOOL is_user)
{
int rc, count;
diff --git a/source3/rpcclient/cmd_netlogon.c b/source3/rpcclient/cmd_netlogon.c
index e6ec28beab..7a77d125a6 100644
--- a/source3/rpcclient/cmd_netlogon.c
+++ b/source3/rpcclient/cmd_netlogon.c
@@ -268,7 +268,6 @@ static NTSTATUS cmd_netlogon_sam_logon(struct cli_state *cli,
TALLOC_CTX *mem_ctx, int argc,
const char **argv)
{
- unsigned char trust_passwd[16];
NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
int logon_type = NET_LOGON_TYPE;
const char *username, *password;