LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   No access to Samba share anymore from windows 10? (https://www.linuxquestions.org/questions/linux-newbie-8/no-access-to-samba-share-anymore-from-windows-10-a-4175564543/)

roseysdaddy 01-20-2016 07:18 PM

No access to Samba share anymore from windows 10?
 
a few weeks ago i updated two play machines (both ubuntu server 14.04) and i believe smb was one of the things that came through. since then through my windows 10 machines I can no longer access individual files or folders on either machine. one smb.conf is:

[Media]
path = /
valid users = chris
#read only = no
guest ok = yes
writeable = yes

the other:

[Fileserver]
path = /
available = yes
#force users = root
#read only = no
browseable = yes
public = yes
writable = yes

Nothing seems to work. It will list the folders of / on each machine, but give me access denied when I try to access them Any help would be greatly appreciated!

Rawcous 01-21-2016 06:19 AM

Hello "roseysdaddy",

I also had a similar problem with mine when I upgraded Samaba & related components from 3.6.23-20 to 3.6.23-24. Some of my shares funtcioned as before but the majority didn't. Peformng a search on a no. of forums has revealed that this is a known / common issue. I have tried a no. of suggestions but for me non of them have worked. I simply removed the newly updated versions & reverted back to the former.

Using the
Code:

yum downgrade
for me did not work so I had to:

1. Use the
Code:

yum remove [module_names]
2. Use yum to manually install the previous version i.e.
Code:

yum install samba-3.6.23-20.el6
The modules that need removing & replacing are as follows:

Jan 08 15:20:06 Updated: samba-common-3.6.23-24.el6_7.i686
Jan 08 15:20:09 Updated: samba-winbind-3.6.23-24.el6_7.i686
Jan 08 15:20:11 Updated: samba-winbind-clients-3.6.23-24.el6_7.i686
Jan 08 15:20:23 Updated: samba4-libs-4.0.0-67.el6_7.rc4.i686
Jan 08 15:20:29 Updated: samba-client-3.6.23-24.el6_7.i686
Jan 08 15:20:33 Updated: samba-3.6.23-24.el6_7.i686
Jan 08 15:20:34 Updated: libsmbclient-3.6.23-24.el6_7.i686

Until a fix has been brought out I have also modified my /etc/yum.conf so that Samaba & related modules are not accidentally / indavertently reinstalled:

Add the following:

Code:

exclude=samba* libsmbclient*
* Not ideal but at least it will get your shares working again!



Regards,

Rawcous

roseysdaddy 01-21-2016 06:59 AM

Any idea how to do this with apt-get? I don't think Ubuntu has yum does it?
I

Rawcous 01-21-2016 07:19 AM

Hello,

Try using the
Code:

man
command - this will yield all the options available to the
Code:

apt-get
command.

i.e.
Code:

man apt-get
A search via a browser for apt-get options will yield a multitude of information...

i.e. http://manpages.ubuntu.com/manpages/...apt-get.8.html

Regards,

Rawcous!


All times are GMT -5. The time now is 07:17 PM.