summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-10-05 09:27:36 +0200
committerMatthias Dieter Wallnöfer <mdw@sn-devel-104.sn.samba.org>2010-10-05 08:43:19 +0000
commit0e5b77bec44863b1ad440e45fd0933f07e797261 (patch)
tree54e1f38bf81f0eb1f6f2e8d0a3ee57575ccab0f0 /source4/rpc_server
parent933aef0bf4aa52c5b4a584858f635833eb0243bd (diff)
downloadsamba-0e5b77bec44863b1ad440e45fd0933f07e797261.tar.gz
samba-0e5b77bec44863b1ad440e45fd0933f07e797261.tar.bz2
samba-0e5b77bec44863b1ad440e45fd0933f07e797261.zip
s4:kdc - use "userAccountControl" always unsigned
It doesn't change much but it's nicer to have it consistent.
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/lsa/dcesrv_lsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/lsa/dcesrv_lsa.c b/source4/rpc_server/lsa/dcesrv_lsa.c
index 74c28595c3..7acf0364e2 100644
--- a/source4/rpc_server/lsa/dcesrv_lsa.c
+++ b/source4/rpc_server/lsa/dcesrv_lsa.c
@@ -1230,7 +1230,7 @@ static NTSTATUS dcesrv_lsa_OpenTrustedDomain(struct dcesrv_call_state *dce_call,
/* search for the trusted_domain record */
ret = gendb_search(trusted_domain_state->policy->sam_ldb,
mem_ctx, policy_state->domain_dn, &msgs, attrs,
- "(&(samaccountname=%s$)(objectclass=user)(userAccountControl:1.2.840.113556.1.4.803:=%d))",
+ "(&(samaccountname=%s$)(objectclass=user)(userAccountControl:1.2.840.113556.1.4.803:=%u))",
flatname, UF_INTERDOMAIN_TRUST_ACCOUNT);
if (ret == 1) {
trusted_domain_state->trusted_domain_user_dn = talloc_steal(trusted_domain_state, msgs[0]->dn);