Antwort: Re: [jcifs] SmbAuthException: Logon failure: user not
allowed to log on to this computer. [Virus checked]
T.Rademacher at inka-kag.de
T.Rademacher at inka-kag.de
Thu Sep 22 15:01:31 GMT 2005
Hey,
is it possible that the NetBIOS nameserver (the WINS Server?) doesn't
resolve my workstation? And that this causes the JCIFS-Client not to use
the name, but the IP-address? In other words: Does the JCIFS-client always
tries to resolve the name by IP?
Thanks
Tim
PS: Sorry Richard, didn't want to bother...
_______________________________________
Tim Rademacher
Internationale Kapitalanlagegesellschaft mbH
Georg-Glock-Str. 14
40474 Düsseldorf
Tel.: 0211-910-2184
e-mail: t.rademacher at inka-kag.de
Richard Caper
<rcaper at gmail.com
> An
Gesendet von: "T.Rademacher at inka-kag.de"
jcifs-bounces+t.r <T.Rademacher at inka-kag.de>
ademacher=inka-ka Kopie
g.de at lists.samba. jcifs at lists.samba.org
org
Fax-Deckblatt: Thema
INKA Re: [jcifs] SmbAuthException:
22.09.2005 11:33 Logon failure: user not allowed to
log on to this computer.
Bitte antworten [Virus checked]
an
Richard Caper
<rcaper at gmail.com
>
This would typically be seen if you have a domain policy specifying
the computers from which you are allowed to log in. By default, jCIFS
presents a random hostname, which would not match whatever is set in
the policy. Try setting the "jcifs.netbios.hostname" property to the
correct hostname; that should fix it.
On 9/22/05, T.Rademacher at inka-kag.de <T.Rademacher at inka-kag.de> wrote:
>
> Hi,
>
> I'm trying to get a file from a windows share. When I use the unix
command
> line tool smbclient, it's working.
>
> But when I use JCIFS it is not! I get an error:
jcifs.smb.SmbAuthException:
> Logon failure: user not allowed to log on to this computer.
>
> It seems, that I'am not allowed to log in _from_my_computer_, but I am
> allowed regarding to smbclient.
>
> Is it possible, that the JCIFS sends a bad ID (like workstation name or
ip
> address)?
>
> Can you help me?
>
> Regards,
>
> Tim
>
>
>
More information about the jcifs
mailing list