Changeset 124 for branches/samba-3.0/source/auth
- Timestamp:
- Mar 12, 2008, 9:08:18 AM (17 years ago)
- Location:
- branches/samba-3.0/source/auth
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/auth/auth_domain.c
r22 r124 126 126 if (!lp_client_schannel()) { 127 127 /* We need to set up a creds chain on an unauthenticated netlogon pipe. */ 128 uint32 neg_flags = NETLOGON_NEG_ AUTH2_FLAGS;128 uint32 neg_flags = NETLOGON_NEG_SELECT_AUTH2_FLAGS; 129 129 uint32 sec_chan_type = 0; 130 130 unsigned char machine_pwd[16]; 131 132 if (!get_trust_pw(domain, machine_pwd, &sec_chan_type)) { 131 const char *account_name; 132 133 if (!get_trust_pw_hash(domain, machine_pwd, &account_name, 134 &sec_chan_type)) 135 { 133 136 DEBUG(0, ("connect_to_domain_password_server: could not fetch " 134 137 "trust account password for domain '%s'\n", … … 144 147 domain, /* domain */ 145 148 global_myname(), /* client name */ 146 global_myname(), /* machine account name */149 account_name, /* machine account name */ 147 150 machine_pwd, 148 151 sec_chan_type, -
branches/samba-3.0/source/auth/auth_ntlmssp.c
r1 r124 188 188 void auth_ntlmssp_end(AUTH_NTLMSSP_STATE **auth_ntlmssp_state) 189 189 { 190 TALLOC_CTX *mem_ctx = (*auth_ntlmssp_state)->mem_ctx; 190 TALLOC_CTX *mem_ctx; 191 192 if (*auth_ntlmssp_state == NULL) { 193 return; 194 } 195 196 mem_ctx = (*auth_ntlmssp_state)->mem_ctx; 191 197 192 198 if ((*auth_ntlmssp_state)->ntlmssp_state) { -
branches/samba-3.0/source/auth/auth_server.c
r62 r124 72 72 73 73 if (!grab_server_mutex(desthost)) { 74 cli_shutdown(cli); 74 75 return NULL; 75 76 } -
branches/samba-3.0/source/auth/auth_util.c
r108 r124 812 812 } 813 813 fstr_sprintf( root_name, "%s\\root", get_global_sam_name() ); 814 ret = lookup_name( ctx, root_name, 0, NULL, NULL, &root_sid, &type );814 ret = lookup_name( ctx, root_name, LOOKUP_NAME_DOMAIN, NULL, NULL, &root_sid, &type ); 815 815 TALLOC_FREE( ctx ); 816 816
Note:
See TracChangeset
for help on using the changeset viewer.