LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-27-2014, 11:59 AM   #1
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 700

Rep: Reputation: 131Reputation: 131
Samba changes Slackware 14.0 versus 14.1 - can't mount shares with 14.1


I have a Slackware 14.0 box, and a Slackware 14.1 box. They both use identical smb.conf files as follows:

Code:
security = share
load printers = yes
log file = /var/log/samba.%m
max log size = 250
socket options = TCP_NODELAY 
local master = no
dns proxy = no
restrict anonymous = no
domain master = no
preferred master = no
max protocol = NT
acl compatibility = winnt
ldap ssl = No
server signing = Auto

[homes]
comment = Home Directories
browseable = no
read only = no

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
printable = yes

# This one is useful for people to share files
[public]
comment = public
path = /home/public
read only = no
guest ok = yes
Both of them have an identical public account.

Mounting the 14.0 share works fine. Mounting the 14.1 share gives "mount error(13): Permission denied"

What am I missing? What was changed with Slackware 14.1 or the version of samba that comes with it that I can no longer mount this share?

I notice that the log for the 14.1 box shows that security=share is no longer supported, as is acl comptibility, and max protocol=NT is no longer valid either.

The 14.0 box logs only complain about max protocol=NT.

I'm guessing that samba has been changed, and the way I've shared my stuff for years and years no longer works?


Edit: changing security=share to:

security = user
map to guest = Bad User

lets me mount the share, but now I'm unable to make them writable. One step forward....

Last edited by Ook; 01-27-2014 at 12:10 PM.
 
Old 01-27-2014, 12:08 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,796

Rep: Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884
This has been discussed here
 
Old 01-27-2014, 12:22 PM   #3
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 700

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by willysr View Post
This has been discussed here

I saw that, but changing security mode did not fix all of the problems. My once read/write share is now read only, and I can no longer mount password protected shares
 
Old 01-27-2014, 01:06 PM   #4
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 700

Original Poster
Rep: Reputation: 131Reputation: 131
And to make it really interesting....I can no longer connect from my windows machines. Bloody hell, this worked great (and still does) with 14.0. So now I have to either spend bloody hours trying to figure out how to get the latest and greatest samba do what the old one did...or revert to Slack 14.0. I feel like I'm missing something fundamental, this should not be so difficult and time consuming. I'll have to return to this later because I don't have any more time to waste on this. I think for now I'm going to revert to 14.0 with the older samba, and work on the upgrade when I have more time to get things working <sigh>...
 
Old 01-27-2014, 07:51 PM   #5
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,796

Rep: Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884
Have you tested the "map to guest" option?
 
Old 01-27-2014, 07:53 PM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,796

Rep: Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884
To make them writeable, use "writeable = yes"
 
Old 01-30-2014, 05:52 PM   #7
guzzi
Member
 
Registered: Jun 2004
Location: Lawrence, KS
Distribution: Slackware
Posts: 313

Rep: Reputation: 40
samba changes

Greetings Ook.

I too have the same issues you brought up. My fix if it can be called that, is to remove Samba version 4.1.4 on Slackware 14.1 and install Samba 3.6.8 from an earlier version of Slackware and it works just fine.

I have spent a lot of time with 4.1.4 and have given up until I learn more.

Good luck to you.
 
Old 02-24-2014, 08:50 AM   #8
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 700

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by guzzi View Post
Greetings Ook.

I too have the same issues you brought up. My fix if it can be called that, is to remove Samba version 4.1.4 on Slackware 14.1 and install Samba 3.6.8 from an earlier version of Slackware and it works just fine.

I have spent a lot of time with 4.1.4 and have given up until I learn more.

Good luck to you.
Let me make sure I understand. I have slackware 14.1, patched to whatever the current 14.1 patches are, including the 3.10.x kernel. I have discovered that with this version I cannot even get my Samba shares to mount. I used to use -o sec=ntlm to get them to mount, but not even that works with the latest version. No matter what I do, I can not mount any shares anymore. On my boxes with the older versions it still works just fine.

And I can fix my Samba hell problems by simply using an older version of Samba?

At this point I'm trying to understand how something that worked so well was changed to basically not work at all. I don't know what I'm missing, but I have yet to find someone that can explain what I'm doing wrong, and why it is that what I've been doing for years no longer works. I'm about to scrap Samba for good.

Does anyone have Samba working with the 3.10.x kernel? Would you be willing to share your config?
 
Old 02-24-2014, 07:19 PM   #9
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 700

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by guzzi View Post
Greetings Ook.

I too have the same issues you brought up. My fix if it can be called that, is to remove Samba version 4.1.4 on Slackware 14.1 and install Samba 3.6.8 from an earlier version of Slackware and it works just fine.

I have spent a lot of time with 4.1.4 and have given up until I learn more.

Good luck to you.
OK, so I removed Samba 4.1.x and installed Samba 3.6.8 from the slackware 14.0 packages. IT WORKS!!!!!!!

What in the name of deity did they do the 4.1.x that people like us can't get it to work?
 
Old 02-24-2014, 08:56 PM   #10
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
My windows 8 box couldn't connect to slackware 64 14.1 samba 4.1.4 secured share. I found this works now, no problem with guest shares.
 
Old 02-24-2014, 09:31 PM   #11
flokofcgulls
Member
 
Registered: Apr 2013
Posts: 79

Rep: Reputation: Disabled
I recently upgraded my media server to Slackware64 14.1, which uses Samba shares to make my local content available to different devices around the house. I can connect to these shares from my laptop which is running Slackware64 14.1 and Windows 7 x64 Ultimate (it works from both systems), as well as my XBMC and WDTV Live. I didn't have to downgrade Samba or do anything out of the ordinary, it all worked just as it did before.

Unfortunately I can't offer any ideas about what may be causing your problem, but I will say that my setup is extremely simple, so maybe there's an issue with a particular option or combination of options?
 
Old 02-25-2014, 09:03 AM   #12
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 700

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by flokofcgulls View Post
I recently upgraded my media server to Slackware64 14.1, which uses Samba shares to make my local content available to different devices around the house. I can connect to these shares from my laptop which is running Slackware64 14.1 and Windows 7 x64 Ultimate (it works from both systems), as well as my XBMC and WDTV Live. I didn't have to downgrade Samba or do anything out of the ordinary, it all worked just as it did before.

Unfortunately I can't offer any ideas about what may be causing your problem, but I will say that my setup is extremely simple, so maybe there's an issue with a particular option or combination of options?
Would you be willing to share your smb.conf file? For all I know it is a simple setting causing all the problem.
 
Old 02-25-2014, 09:06 AM   #13
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 700

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by glorsplitz View Post
My windows 8 box couldn't connect to slackware 64 14.1 samba 4.1.4 secured share. I found this works now, no problem with guest shares.
Alas, I'm going linux to linux. I don't use Windows anymore. Interesting enough, I had a Windows 7 box a year or so ago, and I could not connect to its shared drives - at all. Just could not get it to work, never found out why. An identical box sitting next to it worked fine. I have since wiped them both and put linux on them. At least when Linux does not work, it consistently doesn't work LOL.
 
Old 02-25-2014, 09:45 AM   #14
perbh
Member
 
Registered: May 2008
Location: Republic of Texas
Posts: 393

Rep: Reputation: 81
How about sshfs? Just tried your particular example (well, near enough - I have a seperate disk mounted as /backup).
With sshfs I mounted the root filesystem on /mnt/hd, and all was there under /mnt/hd/backup

Less hassle ...
 
Old 02-26-2014, 01:52 AM   #15
michaelslack
Member
 
Registered: Feb 2013
Location: Sydney
Distribution: slackware
Posts: 110

Rep: Reputation: 36
new samba mucks up qemu too

I have only ever used samba to facilitate sharing between qemu guests and hosts -- so I know next to nothing about samba. However there is a fair amount of slightly old information about setting this up and I have just copied their host samba configs and it has worked just fine...until slackware 14.1 (more precisely the new samba 4.x in it).

I came across this debian patch which points out quite clearly what the problem is, and this may interest people who find this thread through a search:

https://bugs.debian.org/cgi-bin/bugr...cgi?bug=727756

Knowing very little about samba I can't quickly see if this is basically the same as what was dicussed in the thread referred to by willys above. If it contains nothing new, apologies, I just thought it might be of interest.

Michael
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba can mount some vista shares, but not others lekoman Linux - Networking 8 01-30-2010 02:02 PM
Samba shares mount ro only mrknight Linux - Newbie 6 08-23-2006 10:27 AM
Samba 3.0.6 - How to mount Samba Shares from Windows 2003? kp1 Linux - Software 2 09-10-2004 07:03 PM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 06:28 PM
mount samba shares (?) bkeating Linux - General 7 07-02-2002 12:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration