Ignore:
Timestamp:
May 13, 2014, 11:39:04 AM (11 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update trunk to 3.6.23

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/auth/auth_util.c

    r751 r862  
    121121
    122122        if (!is_trusted_domain(domain) &&
    123             !strequal(domain, my_sam_name()))
     123            !strequal(domain, my_sam_name()) &&
     124            !strequal(domain, get_global_sam_name()))
    124125        {
    125126                if (lp_map_untrusted_to_domain())
     
    902903NTSTATUS make_serverinfo_from_username(TALLOC_CTX *mem_ctx,
    903904                                       const char *username,
     905                                       bool use_guest_token,
    904906                                       bool is_guest,
    905907                                       struct auth_serversupplied_info **presult)
     
    925927        result->guest = is_guest;
    926928
    927         status = create_local_token(result);
     929        if (use_guest_token) {
     930                status = make_server_info_guest(mem_ctx, &result);
     931        } else {
     932                status = create_local_token(result);
     933        }
    928934
    929935        if (!NT_STATUS_IS_OK(status)) {
     
    11751181                        /* work around 'winbind use default domain = yes' */
    11761182
    1177                         if ( !strchr_m( pw->pw_name, *lp_winbind_separator() ) ) {
     1183                        if ( lp_winbind_use_default_domain() &&
     1184                             !strchr_m( pw->pw_name, *lp_winbind_separator() ) ) {
    11781185                                char *domain;
    11791186
Note: See TracChangeset for help on using the changeset viewer.