summaryrefslogtreecommitdiff
path: root/source4/torture/libnet/userinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/libnet/userinfo.c')
-rw-r--r--source4/torture/libnet/userinfo.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source4/torture/libnet/userinfo.c b/source4/torture/libnet/userinfo.c
index e273299160..50e994f3bf 100644
--- a/source4/torture/libnet/userinfo.c
+++ b/source4/torture/libnet/userinfo.c
@@ -1,19 +1,19 @@
-/*
+/*
Unix SMB/CIFS implementation.
Test suite for libnet calls.
Copyright (C) Rafal Szczesniak 2005
-
+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@@ -38,9 +38,9 @@ static bool test_userinfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
NTSTATUS status;
struct libnet_rpc_userinfo user;
struct dom_sid *user_sid;
-
+
user_sid = dom_sid_add_rid(mem_ctx, domain_sid, *rid);
-
+
user.in.domain_handle = *domain_handle;
user.in.sid = dom_sid_string(mem_ctx, user_sid);
user.in.level = level; /* this should be extended */
@@ -140,10 +140,10 @@ bool torture_userinfo(struct torture_context *torture)
mem_ctx = talloc_init("test_userinfo");
- status = torture_rpc_connection(torture,
+ status = torture_rpc_connection(torture,
&p,
&ndr_table_samr);
-
+
if (!NT_STATUS_IS_OK(status)) {
return false;
}