git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcad45e
)
s3: Simplify cm_connect_sam a bit
author
Volker Lendecke
<vl@samba.org>
Wed, 8 Sep 2010 00:38:24 +0000
(17:38 -0700)
committer
Volker Lendecke
<vl@samba.org>
Wed, 8 Sep 2010 16:28:16 +0000
(18:28 +0200)
source3/winbindd/winbindd_cm.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_cm.c
b/source3/winbindd/winbindd_cm.c
index c5ceb6cc692ec1d01e64ae5c3918cf221a6f0452..3f6d02ec295d0d9ea4a50cc7c563eed8012e3712 100644
(file)
--- a/
source3/winbindd/winbindd_cm.c
+++ b/
source3/winbindd/winbindd_cm.c
@@
-2081,11
+2081,7
@@
NTSTATUS cm_connect_sam(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx,
char *domain_name = NULL;
if (sid_check_is_domain(&domain->sid)) {
- result = open_internal_samr_conn(mem_ctx, domain, cli, sam_handle);
- if (!NT_STATUS_IS_OK(result)) {
- return result;
- }
- return NT_STATUS_OK;
+ return open_internal_samr_conn(mem_ctx, domain, cli, sam_handle);
}
result = init_dc_connection_rpc(domain);