things like this are done in Linux using the mount command
windows file sharing 
are called Samba on Linux
there is samba server client
probably there is user space( in the kernel )
plugin for file system mount for this.
you can download for your linux 
...using apt or yum

the authentication is NTLM I think it is also Kerberos 

you can connect to a samba server using a client library not only a file 
system

so you need to support NTLM authentication may be also Kerberos 
authentication
and have a client for Samba server.

look here:
https://www.google.co.il/search?q=samba+client+nodejs&hl=en-us



בתאריך יום שישי, 2 ביוני 2017 בשעה 20:13:37 UTC+3, מאת Grant MacDonald:
>
> Hi folks.  I have a node.js application that runs on a Linux server that 
> needs access to files on a Windows file share.  The user account for the 
> node.js application on the Linux server does not have credentials to 
> traverse the directory tree of this Windows file share (ie. using the fs 
> module.)  Is there a way that I can specify valid Windows credentials 
> (username/password) in a node.js application so that it can access this 
> Windows share using fs, fs-extra, etc?  
>
> Thanks. Grant.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/557698ed-ac01-4e39-aadf-5872a0ada261%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to