[jcifs] Using jCIFS as a smb server rather than a smb client

Michael B Allen ioplex at gmail.com
Thu Sep 18 02:24:22 GMT 2008

On Wed, Sep 17, 2008 at 10:30 AM, Ron Cozad <rcozad55 at yahoo.com> wrote:
> I desire to have a Tomcat servlet that mimics a smb server.
> Why?  I need to interface an application to a document repository.  I can
> not modify either the application nor repository.  The application only
> supports smb client, no webdav or url support.  The repository does not
> provide smb server services.
> My plan is to put a gateway in place that pretends to be an smb server for
> the application but talks native transport with the repository.
> It appears that jCIFS provides smb client support only.  Could someone
> confirm that?
> If I am wrong, is there any example code available using jCIFS as an smb
> server?
> If I am right, please refer me to another toolkit.

You're right. JCIFS does not implement the server side of CIFS.

Lookup Alfresco JLAN. They use it in their CMS for what sounds like
exactly the same purpose you describe.


Michael B Allen
PHP Active Directory SPNEGO SSO

More information about the jcifs mailing list