When receiving a request to obtain tickets (from another process), if a
particular principal is requested, set the read-only flag to prevent
the user from changing the principal.
Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 7275 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
strcpy(ldi.in.title,"Get Ticket");
}
+ if (strlen(ldi.username) > 0 && strlen(ldi.realm) > 0)
+ ldi.dlgtype |= DLGFLAG_READONLYPRINC;
+
res = pLeash_kinit_dlg_ex(m_hWnd, &ldi);
GlobalUnlock((HGLOBAL) lParam);
::SendMessage(m_hWnd, WM_COMMAND, ID_UPDATE_DISPLAY, 0);