[jcifs] Access nativeOS and nativeLanMan in setupAndX

Michael B Allen ioplex at gmail.com
Mon Nov 22 18:43:15 MST 2010

Hi Mikael,

You would have to extend or modify SmbFile to add accessors that
retrieve that information. So no, you are not doing it the wrong way.


Michael B Allen
Java Active Directory Integration

2010/11/20 Mikael Sahlström <mikael.sahlstrom at infrasightlabs.com>:
> Hi!
> I'm trying to access the data sent from the server in the
> smb_com_session_setup_andx response (native os and native lanman)
> from a SmbFile object and from what I understand this data is saved in two
> private strings in the class SmbComSessionSetupAndXResponse
> but never (?) leave this class. If this is the case I would have to modify
> the jcifs source to access this data.
> Am I doing this the wrong way?
> Thanks

More information about the jCIFS mailing list