Changeset 745 for trunk/server/source4/torture/unix
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/source4/torture/unix/unix.c
r414 r745 25 25 { 26 26 struct torture_suite *suite = 27 torture_suite_create(talloc_autofree_context(), " UNIX");27 torture_suite_create(talloc_autofree_context(), "unix"); 28 28 29 29 suite->description = … … 31 31 32 32 torture_suite_add_simple_test(suite, 33 " WHOAMI", torture_unix_whoami);33 "whoami", torture_unix_whoami); 34 34 torture_suite_add_simple_test(suite, 35 " INFO2", unix_torture_unix_info2);35 "info2", unix_torture_unix_info2); 36 36 37 37 return (torture_register_suite(suite)) ? NT_STATUS_OK -
trunk/server/source4/torture/unix/unix_info2.c
r414 r745 20 20 #include "includes.h" 21 21 #include "libcli/libcli.h" 22 #include "libcli/raw/interfaces.h"23 #include "libcli/raw/raw_proto.h"24 #include "torture/torture.h"25 22 #include "torture/util.h" 26 #include "torture/basic/proto.h"27 23 #include "lib/cmdline/popt_common.h" 28 #include "auth/credentials/credentials.h"29 24 #include "libcli/resolve/resolve.h" 30 25 #include "param/param.h" … … 59 54 struct smbcli_session_options session_options; 60 55 61 lp _smbcli_options(tctx->lp_ctx, &options);62 lp _smbcli_session_options(tctx->lp_ctx, &session_options);56 lpcfg_smbcli_options(tctx->lp_ctx, &options); 57 lpcfg_smbcli_session_options(tctx->lp_ctx, &session_options); 63 58 64 59 status = smbcli_full_connection(tctx, &cli, host, 65 lp _smb_ports(tctx->lp_ctx),66 share, NULL, lp _socket_options(tctx->lp_ctx),60 lpcfg_smb_ports(tctx->lp_ctx), 61 share, NULL, lpcfg_socket_options(tctx->lp_ctx), 67 62 cmdline_credentials, 68 lp _resolve_context(tctx->lp_ctx),63 lpcfg_resolve_context(tctx->lp_ctx), 69 64 tctx->ev, &options, &session_options, 70 lp_iconv_convenience(tctx->lp_ctx), 71 lp_gensec_settings(tctx, tctx->lp_ctx)); 65 lpcfg_gensec_settings(tctx, tctx->lp_ctx)); 72 66 73 67 if (!NT_STATUS_IS_OK(status)) { -
trunk/server/source4/torture/unix/whoami.c
r414 r745 20 20 #include "includes.h" 21 21 #include "libcli/libcli.h" 22 #include "libcli/raw/interfaces.h"23 22 #include "libcli/raw/raw_proto.h" 24 23 #include "torture/torture.h" 25 #include "torture/basic/proto.h"26 24 #include "lib/cmdline/popt_common.h" 27 25 #include "auth/credentials/credentials.h" … … 52 50 53 51 8 bytes unsigned[] - list of GIDs (may be empty) 54 DOM_SID[] - list of SIDs (may be empty)52 struct dom_sid[] - list of SIDs (may be empty) 55 53 */ 56 54 … … 80 78 struct smbcli_session_options session_options; 81 79 82 lp _smbcli_options(tctx->lp_ctx, &options);83 lp _smbcli_session_options(tctx->lp_ctx, &session_options);80 lpcfg_smbcli_options(tctx->lp_ctx, &options); 81 lpcfg_smbcli_session_options(tctx->lp_ctx, &session_options); 84 82 85 83 status = smbcli_full_connection(tctx, &cli, host, 86 lp _smb_ports(tctx->lp_ctx),87 share, NULL, lp _socket_options(tctx->lp_ctx),88 creds, lp _resolve_context(tctx->lp_ctx),84 lpcfg_smb_ports(tctx->lp_ctx), 85 share, NULL, lpcfg_socket_options(tctx->lp_ctx), 86 creds, lpcfg_resolve_context(tctx->lp_ctx), 89 87 tctx->ev, &options, &session_options, 90 lp_iconv_convenience(tctx->lp_ctx), 91 lp_gensec_settings(tctx, tctx->lp_ctx)); 88 lpcfg_gensec_settings(tctx, tctx->lp_ctx)); 92 89 93 90 if (!NT_STATUS_IS_OK(status)) {
Note:
See TracChangeset
for help on using the changeset viewer.