summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2011-06-03 15:31:40 +0200
committerGünther Deschner <gd@samba.org>2011-08-31 11:34:25 +0200
commit15c7a873c21411d214ce1b81c123d5e63a5b6626 (patch)
tree72123c050c10b825d38ce9b63493ed52b9e1d0cc /source3
parentbb86062f61b9ae0387c33023f792a05a24734b23 (diff)
downloadsamba-15c7a873c21411d214ce1b81c123d5e63a5b6626.tar.gz
samba-15c7a873c21411d214ce1b81c123d5e63a5b6626.tar.bz2
samba-15c7a873c21411d214ce1b81c123d5e63a5b6626.zip
s3-lsa: Fix typo and use right pdb interface
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/lsa/srv_lsa_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/lsa/srv_lsa_nt.c b/source3/rpc_server/lsa/srv_lsa_nt.c
index 2843162f09..02da5e3b42 100644
--- a/source3/rpc_server/lsa/srv_lsa_nt.c
+++ b/source3/rpc_server/lsa/srv_lsa_nt.c
@@ -1862,7 +1862,7 @@ NTSTATUS _lsa_CreateTrustedDomainEx2(struct pipes_struct *p,
psd,
r->out.trustdom_handle);
if (!NT_STATUS_IS_OK(status)) {
- pdb_del_trusteddom_pw(r->in.info->netbios_name.string);
+ pdb_del_trusted_domain(r->in.info->netbios_name.string);
return NT_STATUS_OBJECT_NAME_NOT_FOUND;
}