Comments (6)
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.
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.
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.
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.
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.
Since this is so old, I'll close it. Reopen if this is still a problem.
from sambal.
Related Issues (18)
- Problems with Exception (Failed to do cd "path"); HOT 1
- I have problem running on OpenBSD/adJ 5.8 HOT 1
- Need a better test infrastructure
- Remote file md5sum HOT 2
- Doesn't work on Windows; cannot load such file pty HOT 4
- Doesn't connect if options[:host] != default_options[:host] HOT 1
- Password is passed to smbclient via plaintext on the command line HOT 3
- If client fails to connect, `#exit(1)` is called instead of raising an error HOT 2
- Unknown Process Failed exit HOT 3
- Doesn't handles files with consecutive whitespace characters HOT 1
- Is their an equivalent method to File.stat HOT 1
- new rubygem version HOT 2
- `brew install samba` does not work anymore HOT 1
- File without any flags is not listed by ls HOT 2
- Smbclient response when trying to cd to a non-existing directory HOT 1
- Failing to use sambal command on irb console / rails console HOT 8
- close doesn't finish smbclient process HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sambal.