[jcifs] Question on TCP vs UDP

Michael B Allen miallen at ioplex.com
Mon Sep 10 06:03:11 GMT 2007

On Mon, 10 Sep 2007 12:09:39 +0900
tetsu.soh at nts.ricoh.co.jp wrote:

> Hi everyone,
> Sorry for my ignorance in advance.
> I am confused about when jcifs use UDP and when use TCP to transport data.
> Does jcifs switch from UDP to TCP when the packages are too large to
> handle?
> And is it possible to force the jcifs use UDP or TCP programmatically?

Hi Tetsu,

CIFS does not use UDP. But Kerberos does. The Sun Kerberos client should
automatically failover to TCP if the UDP packet is not large enough
to accomodate the Kerberos ticket (e.g. because the user is in a lot
of groups).


Michael B Allen
PHP Active Directory Kerberos SSO

More information about the jcifs mailing list