-
Notifications
You must be signed in to change notification settings - Fork 827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Samba doesn't work : permission denied when using smbpasswd #3937
Comments
WSL has some issue with |
In the edit you didn't link the Repro:
The fail is:
Perms on
So that |
@therealkenc: I also encountered this issue after upgrading WSL Ubuntu from 16.04 to 18.04. |
Yes, Version 4.7.6-Ubuntu is broken alright. I should have said that explicitly but the OP was kali so I ran with it. Your post was motivation enough to look. In March I wanted to blame our old friend Hand on a stack, on Real Linux™
Sad face if Ben ends up pointing out something obvious for a second time. |
I have been trying to find the solution for a day. Can anyone solve this problem and share the solution? |
Bearing in mind that Samba on WSL1 isn't especially useful for much because port 445 is already spoken for. |
Thanks @therealkenc . I solved this issue used WSL2. |
Can you elaborate on solution 1? Trying to remount /run fails for me:
...but
|
Wait, what the... hell... Actually,
|
Your Windows build number: (Type
ver
at a Windows Command Prompt)Microsoft Windows [Version 10.0.17763.379]
What you're doing and what's happening: (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)
I' trying to host a samba server in my Kali WSL. Before that I installed full Kali Linux by command
sudo apt-get install kali-linux-full
After configuration of /etc/samba/smb.conf, I use command
smbpasswd -a share
"share" is a user.
What's wrong / what should be happening instead:
But after setting, I saw error information
And when I tried to start service
some_command
is failing, then runstrace -o some_command.strace -f some_command some_args
, and link the contents ofsome_command.strace
in a gist here).*Configuration of my /etc/samba/smb.conf, neither would work (same error).
Default configuration:
I search for an hour but nothing I found works. Any solution? Many thanks.
The text was updated successfully, but these errors were encountered: