mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
lib:krb5_wrap: Use case-sensitive comparison against 'krbtgt'
This matches the other comparisons against krbtgt, kadmin, etc., which are all case-sensitive. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
d2c5a297f2
commit
01b6c87c4f
@ -3370,7 +3370,7 @@ int smb_krb5_principal_is_tgs(krb5_context context,
|
||||
}
|
||||
|
||||
eq = krb5_princ_size(context, principal) == 2 &&
|
||||
(strequal(p, KRB5_TGS_NAME));
|
||||
(strcmp(p, KRB5_TGS_NAME) == 0);
|
||||
|
||||
talloc_free(p);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user