<div dir="ltr"><div>Hey folks! <br></div><div><br></div><div>We have to access some customer data via their CIFS shares on a regular basis.</div><div><br></div><div>To date we have been doing it via a setuid script which mounts and unmounts the CIFS share locally, then treats the files as local. We're containerising our workers, and using kernel mounts is no longer possible (at least, not even slightly securely.)</div><div><br></div><div>This means we need a userspace CIFS implementation for a lot of our GDAL code, and a VSI CIFS driver would seem to be the right thing to do. Presumably it will be a fairly thin wrapper of libsmb.<br></div><div><br></div><div>1. Has anyone tried that? Any comments?</div><div><br></div><div>2. Would it be something GDAL might accept as a core contribution, or should we expect to maintain it outside of core? <br></div><div><br></div><div>3. We noticed <a href="https://github.com/OSGeo/gdal/pull/1289">https://github.com/OSGeo/gdal/pull/1289</a> should allow VSI plugins to be registered from Python, which means we could possibly implement this in Python if we decided that was the best approach. Because we're Python experts and not C++ experts, we're likely to choose this path if the answer to (2) is "no". Are there any docs on how to actually do this? <br></div><div><br></div><div><br></div><div>Thanks :)<br></div><br><div><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Regards,</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Craig</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Developer</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Koordinates</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><a href="tel:+64%2021%20256%209488" style="color:rgb(17,85,204)" target="_blank">+64 21 256 9488</a> / <a href="http://koordinates.com/" style="color:rgb(17,85,204)" target="_blank">koordinates.com</a> / <a href="https://twitter.com/koordinates" style="color:rgb(17,85,204)" target="_blank">@koordinates</a></div></div></div></div></div></div>