mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s4:kdc: Remove trailing spaces in db-glue.c
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
This commit is contained in:
parent
d128a85f99
commit
8b83758b7c
@ -870,13 +870,13 @@ static krb5_error_code samba_kdc_message2entry(krb5_context context,
|
||||
userAccountControl |= msDS_User_Account_Control_Computed;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* If we are set to canonicalize, we get back the fixed UPPER
|
||||
* case realm, and the real username (ie matching LDAP
|
||||
* samAccountName)
|
||||
* samAccountName)
|
||||
*
|
||||
* Otherwise, if we are set to enterprise, we
|
||||
* get back the whole principal as-sent
|
||||
* get back the whole principal as-sent
|
||||
*
|
||||
* Finally, if we are not set to canonicalize, we get back the
|
||||
* fixed UPPER case realm, but the as-sent username
|
||||
@ -946,7 +946,7 @@ static krb5_error_code samba_kdc_message2entry(krb5_context context,
|
||||
* the client-specified realm. This code attempts to
|
||||
* replace the client principal's realm with the one
|
||||
* we determine from our records */
|
||||
|
||||
|
||||
/* this has to be with malloc() */
|
||||
ret = smb_krb5_principal_set_realm(context, entry_ex->entry.principal, lpcfg_realm(lp_ctx));
|
||||
if (ret) {
|
||||
|
Loading…
Reference in New Issue
Block a user