summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-04-14 05:22:17 +0000
committerTim Potter <tpot@samba.org>2003-04-14 05:22:17 +0000
commit69605f6fa9994e8d76cf562fea5f6b1ced497258 (patch)
treebabbc4c3f1bbe8234b1d0f8134cf8c664c45840e /source3
parent9a5a49e5dd84003dbffb905078ff7a7b1c8f2d06 (diff)
downloadsamba-69605f6fa9994e8d76cf562fea5f6b1ced497258.tar.gz
samba-69605f6fa9994e8d76cf562fea5f6b1ced497258.tar.bz2
samba-69605f6fa9994e8d76cf562fea5f6b1ced497258.zip
Removed unused variable.
(This used to be commit 117cc35dd0adc6fd5238a440e299d012bfd8e542)
Diffstat (limited to 'source3')
-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;