1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

Fix the build, missing ->.

Jeremy.
This commit is contained in:
Jeremy Allison 2009-10-14 12:36:02 -07:00
parent ce4542fbde
commit 1c1a883bd0
2 changed files with 3 additions and 3 deletions

View File

@ -980,8 +980,8 @@ static bool winbind_name_to_sid_string(struct pwb_context *ctx,
char *sid_list_buffer,
int sid_list_buffer_size)
{
const char* sid_string;
char *sid_str;
const char* sid_string = NULL;
char *sid_str = NULL;
/* lookup name? */
if (IS_SID_STRING(name)) {

View File

@ -831,7 +831,7 @@ void winbindd_pam_auth(struct winbindd_cli_state *state)
||NT_STATUS_EQUAL(name_map_status, NT_STATUS_FILE_RENAMED)) {
fstrcpy(mapped_user, mapped);
} else {
fstrcpy(mapped_user, state->request.data.auth.user);
fstrcpy(mapped_user, state->request->data.auth.user);
}
if (!canonicalize_username(mapped_user, name_domain, name_user)) {