On Sat, Dec 22, 2018 at 2:01 AM Gabriele Bulfon <[email protected]> wrote:
> Hi, > > probably a strange question... > > Is there any way I can gain access via sftp on CIFS folder joined to an AD > domain using an AD user/pass to gain all required ACL access (read and > write)? > Please consider an SFTP server (via a NodeJS or Java app) that provides the SFTP protocol, while performing NTLM authentication with AD as the user, and accessing the files over the network as the user. These would be individual connections for each use and therefore have to be over the network to avoid doing AD checks yourself. At a client, we're doing something similar (making a data store appear like an LDAP backend to Keycloak using ldapjs, and at another client, we've got one server that makes user-specific HTTP connections with NTLM headers). You may have to use libraries like https://github.com/ggrandes/sftpserver https://www.sftp.net/server-libraries A search for "nodejs sftp server" reveals quite a few libraries that you could use. https://www.reddit.com/r/node/comments/6eo4b3/how_to_create_an_sftp_server_in_nodejs/ > > Gabriele > > > *Sonicle S.r.l. *: http://www.sonicle.com > *Music: *http://www.gabrielebulfon.com > *Quantum Mechanics : *http://www.cdbaby.com/cd/gabrielebulfon > *illumos <https://illumos.topicbox.com/latest>* / illumos-discuss / see > discussions <https://illumos.topicbox.com/groups/discuss> + participants > <https://illumos.topicbox.com/groups/discuss/members> + delivery options > <https://illumos.topicbox.com/groups/discuss/subscription> Permalink > <https://illumos.topicbox.com/groups/discuss/Teaad69d75cbc5da7-M7b5eb03657d556b5cea20ac3> > ------------------------------------------ illumos: illumos-discuss Permalink: https://illumos.topicbox.com/groups/discuss/Teaad69d75cbc5da7-M72f5b32e2fcfa35ad04df6aa Delivery options: https://illumos.topicbox.com/groups/discuss/subscription
