[jcifs] SmbSession.logon

Michael B Allen mba2000 at ioplex.com
Mon Sep 1 19:23:12 EST 2003


Please send all messages to the jcifs mailing list.

> hi Mike and thank you for your answers,
>>You mean "Access denied" on Unix
> - yes
>
> It's maybe better if I tell the case for you:
> - I create the user who have only logon rights to the domain (no file
> access, just logon)
> - the user logon to the domain from the pc
> - logon ok
> - user are in domain
> - ie & web browsing -> SmbSession.logon -> Access denied
> - I add more rights for the user (file access, user is member of the
> domain
> users, I just add some rigth..)
> - logon ok
> - ie & web browsing -> SmbSession.logon -> logon ok
>
> Question is, what rights the user have to have, if SmbSession.logon have
> been used?

The user will need whatever access rights necessary to open IPC$ on the
machine authenticating clients.

>
>
>>Q: Can you run one of the examples from the Unix machine?
> I will try this.
>
> t:)esa
>
> -----Original Message-----
> From: Michael B Allen [mailto:mba2000 at ioplex.com]
> Sent: 30. elokuuta 2003 1:07
> To: Ääpälä Esa
> Cc: 'jcifs at lists.samba.org'
> Subject: Re: [jcifs] SmbSession.logon
>
>
>> Hi,
>> I have same problem. So, what was wrong in the environment?
>>
>
> You mean "Access denied" on Unix and not on Windows using the Filter?
>
> This is the first we have heard of this problem.
>
> Q: Can you run one of the examples from the Unix machine? For example just
> run the examples/ListFiles example. If that works try examples/Exists on
> the
> domain controller IP like:
>
>   java Exists smb://dom;usr:pass@192.168.1.10/IPC$
>
> That's pretty close to what SmbSession.logon is doing.
>
> Mike
>




More information about the jcifs mailing list