Git Product home page Git Product logo

Comments (4)

guettli avatar guettli commented on July 28, 2024

We had the same issue here. Creating a wheel (compiling) worked, but importing the library failed with above exception. I agree, I think a newer libsmbclient is needed. I think it is strange that compiling the wheel works. But for me the issue is solved, we took a newer lib.

from pysmbc.

hamano avatar hamano commented on July 28, 2024

fixed, sorry for late response.
thanks.

from pysmbc.

cziebuhr avatar cziebuhr commented on July 28, 2024

smbc_option_set doesn't seem to work here, because it only accepts a limited set of options and client min/max protocol is not contained. Btw, smbc_setOptionProtocols indicates it's able to set protocol per context, but it also only calls lp_set_cmdline with client min/max protocol, which acts globally. At least it works unless someone tries to use several context objects with different protocol settings.

from pysmbc.

hamano avatar hamano commented on July 28, 2024

@cziebuhr
Thank you for investigating.
I understand that there is no way to set the min/max protocol in libsmbc under 0.5.0.
I'll remove the smbc_option_set code.

from pysmbc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.