mirror of
https://github.com/samba-team/samba.git
synced 2025-10-23 11:33:16 +03:00
r9728: A *major* update to the credentials system, to incorporate the
Kerberos CCACHE into the system. This again allows the use of the system ccache when no username is specified, and brings more code in common between gensec_krb5 and gensec_gssapi. It also has a side-effect that may (or may not) be expected: If there is a ccache, even if it is not used (perhaps the remote server didn't want kerberos), it will change the default username. Andrew Bartlett
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
b1b0e26e53
commit
6202267f6e
@@ -73,7 +73,7 @@ static int ejs_creds_get_username(MprVarHandle eid, int argc, struct MprVar **ar
|
||||
{
|
||||
struct cli_credentials *creds = ejs_creds_get_credentials(eid);
|
||||
|
||||
mpr_Return(eid, mprString(cli_credentials_get_username(creds)));
|
||||
mpr_Return(eid, mprString(cli_credentials_get_username(creds, mprMemCtx())));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user