Giter Club home page Giter Club logo

Comments (6)

johnae avatar johnae commented on May 26, 2024

I'm not familiar with LDAP auth and the smbclient, you're welcome to do some more testing - perhaps you could try using just the command line client and see what the output/error is there?

from sambal.

tkrajacic avatar tkrajacic commented on May 26, 2024

Has anyone found a solution to this?
I am trying to connect to a Mac (which has smb sharing turned on), and I am getting the same error.
Connecting using the Finder (Command + K, smb://xxxx) works though, and I don't think the Mac uses LDAP.
Connecting using smbclient from the commandline also works without a problem!

This is the smbclient output (changed server name to 'muppet'). Maybe this helps:

smbclient -L muppet -U guest
Enter guest's password: 
Domain=[MUPPET] OS=[Darwin] Server=[@(#)PROGRAM:smbd  PROJECT:smbx-105.8.70]

Sharename       Type      Comment
---------       ----      -------
IPC$            IPC       
Publieke map van muppet Disk

from sambal.

tkrajacic avatar tkrajacic commented on May 26, 2024

I do get the same error though, when trying to connect to a Windows laptop (I don't have authorization, so I can't really do anything there, but at least smbclient never crashes):

smbclient -L some-nb2 -U guest
Enter guest's password: 
Anonymous login successful
Domain=[V2B] OS=[Windows 7 Home Premium 7601 Service Pack 1] Server=[Windows 7 Home Premium 6.1]

Sharename       Type      Comment
---------       ----      -------
Error returning browse list: NT_STATUS_ACCESS_DENIED
Anonymous login successful
Domain=[V2B] OS=[Windows 7 Home Premium 7601 Service Pack 1] Server=[Windows 7 Home Premium 6.1]

Server               Comment
---------            -------
MACBOOKPRO           MacbookPro
MUPPET                     muppet
SOME-NB2      

Workgroup            Master
---------            -------
V2B                  SOME-NB2

from sambal.

blacktooth avatar blacktooth commented on May 26, 2024

Did you try using the absolute path to smbclient in sambal.rb? I modified https://github.com/johnae/sambal/blob/master/lib/sambal.rb#L48 to /usr/bin/smbclient

I will submit a generic patch if that works.

from sambal.

tkrajacic avatar tkrajacic commented on May 26, 2024

Sorry, I can't access this specific setup anymore (It's halfway around the globe now).
But I don't think I used the full path back then.

I'll see if I find the time to recreate the scenario, but I am working on other projects now. :(
Sorry, but thanks for the effort!

from sambal.

johnae avatar johnae commented on May 26, 2024

Since this is so old, I'll close it. Reopen if this is still a problem.

from sambal.

Related Issues (18)

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.