Changeset 862 for trunk/server/source3/auth/auth_util.c
- Timestamp:
- May 13, 2014, 11:39:04 AM (11 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 860
- Property svn:mergeinfo changed
-
trunk/server/source3/auth/auth_util.c
r751 r862 121 121 122 122 if (!is_trusted_domain(domain) && 123 !strequal(domain, my_sam_name())) 123 !strequal(domain, my_sam_name()) && 124 !strequal(domain, get_global_sam_name())) 124 125 { 125 126 if (lp_map_untrusted_to_domain()) … … 902 903 NTSTATUS make_serverinfo_from_username(TALLOC_CTX *mem_ctx, 903 904 const char *username, 905 bool use_guest_token, 904 906 bool is_guest, 905 907 struct auth_serversupplied_info **presult) … … 925 927 result->guest = is_guest; 926 928 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 } 928 934 929 935 if (!NT_STATUS_IS_OK(status)) { … … 1175 1181 /* work around 'winbind use default domain = yes' */ 1176 1182 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() ) ) { 1178 1185 char *domain; 1179 1186
Note:
See TracChangeset
for help on using the changeset viewer.