diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-07-30 01:21:16 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-07-30 03:17:49 +0200 |
commit | 13095a9df6880ebaae87fb08320899bcf6d5b3ee (patch) | |
tree | 6de15818193d37fe95c30408c071d0d49b0eeb16 /dfs_server | |
parent | 6c21ae71035d5bec3a1056ea10e0a72073a3717b (diff) | |
download | samba-13095a9df6880ebaae87fb08320899bcf6d5b3ee.tar.gz samba-13095a9df6880ebaae87fb08320899bcf6d5b3ee.tar.bz2 samba-13095a9df6880ebaae87fb08320899bcf6d5b3ee.zip |
dfs_server_ad: s/acct/aname as acct() is a function
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Jul 30 03:17:49 CEST 2012 on sn-devel-104
Diffstat (limited to 'dfs_server')
-rw-r--r-- | dfs_server/dfs_server_ad.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dfs_server/dfs_server_ad.c b/dfs_server/dfs_server_ad.c index a354ec29e9..ceabe0576e 100644 --- a/dfs_server/dfs_server_ad.c +++ b/dfs_server/dfs_server_ad.c @@ -233,15 +233,15 @@ static NTSTATUS get_dcs_insite(TALLOC_CTX *ctx, struct ldb_context *ldb, NT_STATUS_HAVE_NO_MEMORY_AND_FREE(list->names[list->count], r); } else { char *tmp; - const char *acct = ldb_msg_find_attr_as_string(r2->msgs[0], "sAMAccountName", NULL); - if (acct == NULL) { + const char *aname = ldb_msg_find_attr_as_string(r2->msgs[0], "sAMAccountName", NULL); + if (aname == NULL) { DEBUG(2,(__location__ ": sAMAccountName missing on %s\n", ldb_dn_get_linearized(dn))); talloc_free(r); return NT_STATUS_INTERNAL_ERROR; } - tmp = talloc_strdup(list->names, acct); + tmp = talloc_strdup(list->names, aname); NT_STATUS_HAVE_NO_MEMORY_AND_FREE(tmp, r); /* Netbios name is also the sAMAccountName for |