[Samba] Configuration file does not specify default realm
Rowland Penny
rpenny at samba.org
Sat Dec 14 09:22:43 UTC 2024
On Fri, 13 Dec 2024 21:50:44 -0800
Dave Close via samba <samba at lists.samba.org> wrote:
> I have three Windows 10 boxes which I can successfully access
> from Linux using xfreerdp with a command like, "xfreerdp /u:user
> /v:machine:3389". There is no local domain other than whatever the
> default might be. There is no domain controller involved. xfreerdp
> prompts for domain and password, I just hit enter on the domain
> request and, after entering the password, I'm connected.
>
> With winexe I can connect to two of them with a command like,
> "winexe -U .\\user%password //machine systeminfo".
> But with the third, I get this response:
> "[ERROR][com.winpr.sspi.Kerberos] -
> [kerberos_AcquireCredentialsHandleA]: krb5_parse_name
> (Configuration file does not specify default realm [-1765328160])".
> Some online references tell me to be sure the correct default domain
> is in /etc/krb5.conf and, of course, there is no default domain
> specified in that file. Clearly it isn't needed for the first two
> Windows machines and I don't have a value to put in there anyway.
>
> What could be the cause and/or solution in this case?
It sounds like you are trying to connect to three different Windows
machines from one Linux machine, is this correct ?
If it is correct and you can connect to two of them but not the third,
then surely the problem lies on the third Windows machine and has
nothing to do with Linux at all.
I would start by trying to find where your third Windows machine
differs from the two working ones.
Rowland
More information about the samba
mailing list