Subscribe
Accepted Solution

8.2 7-mode api for "vfiler run cifs sessions"

Hello !
Could you assist me  a bit? I'm trying to figure out is there any way to bind to the physical filer but issue API calls to the vfiler?

Particularly I need an iterator that will go thrugh the list of established CIFS sessions on the vfiler level.

Thank you!

Re: 8.2 7-mode api for "vfiler run cifs sessions"

Sorted.

            NaServer s = new NaServer("PHYSICAL-FILER-NAME", 1 , 7);
            s.setServerType(NaServer.SERVER_TYPE_FILER);
            s.setTransportType(NaServer.TRANSPORT_TYPE_HTTPS);
            s.setPort(443);
            s.setStyle(NaServer.STYLE_LOGIN_PASSWORD);
            s.setAdminUser("user", "password");
            s.setVfilerTunneling("VFILER-NAME");