Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source4/torture/unix/unix.c

    r414 r745  
    2525{
    2626        struct torture_suite *suite =
    27                 torture_suite_create(talloc_autofree_context(), "UNIX");
     27                torture_suite_create(talloc_autofree_context(), "unix");
    2828
    2929        suite->description =
     
    3131
    3232        torture_suite_add_simple_test(suite,
    33                         "WHOAMI", torture_unix_whoami);
     33                        "whoami", torture_unix_whoami);
    3434        torture_suite_add_simple_test(suite,
    35                         "INFO2", unix_torture_unix_info2);
     35                        "info2", unix_torture_unix_info2);
    3636
    3737        return (torture_register_suite(suite)) ? NT_STATUS_OK
  • trunk/server/source4/torture/unix/unix_info2.c

    r414 r745  
    2020#include "includes.h"
    2121#include "libcli/libcli.h"
    22 #include "libcli/raw/interfaces.h"
    23 #include "libcli/raw/raw_proto.h"
    24 #include "torture/torture.h"
    2522#include "torture/util.h"
    26 #include "torture/basic/proto.h"
    2723#include "lib/cmdline/popt_common.h"
    28 #include "auth/credentials/credentials.h"
    2924#include "libcli/resolve/resolve.h"
    3025#include "param/param.h"
     
    5954        struct smbcli_session_options session_options;
    6055
    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);
    6358
    6459        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),
    6762                                        cmdline_credentials,
    68                                         lp_resolve_context(tctx->lp_ctx),
     63                                        lpcfg_resolve_context(tctx->lp_ctx),
    6964                                        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));
    7266
    7367        if (!NT_STATUS_IS_OK(status)) {
  • trunk/server/source4/torture/unix/whoami.c

    r414 r745  
    2020#include "includes.h"
    2121#include "libcli/libcli.h"
    22 #include "libcli/raw/interfaces.h"
    2322#include "libcli/raw/raw_proto.h"
    2423#include "torture/torture.h"
    25 #include "torture/basic/proto.h"
    2624#include "lib/cmdline/popt_common.h"
    2725#include "auth/credentials/credentials.h"
     
    5250
    5351       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)
    5553*/
    5654
     
    8078        struct smbcli_session_options session_options;
    8179
    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);
    8482
    8583        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),
    8987                                        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));
    9289
    9390        if (!NT_STATUS_IS_OK(status)) {
Note: See TracChangeset for help on using the changeset viewer.