Problém Samba

From Znalosti

Smazat a instalovat Sambu: (Samba in 14.04 broken?)

I've been having problems with samba for a few months ever since upgrading from 12.04, trying once in a while after reading stuff on other forums to no avail. After upgrading to 14.04, I tried again it is working again. This is what I did...

Started fresh by removing samba:

sudo apt-get autoremove samba samba-common
sudo apt-get autoremove system-config-samba

Reinstall samba:

sudo apt-get install samba samba-common
sudo apt-get install system-config-samba cifs-utils

I copied smb.conf.default2.7K (thanks cariboo​907 for the link) into /etc/samba/smb.conf

Then I launched the samba app to set my samba user and added my shares. Tried to access it with my Win7 laptop and it didn't work. What a surprise. Tested the conf just in case:

sudo testparm

The conf was ok OK. Then I restarted samba:

sudo service smbd restart

Works! Able to access the shares from my WIn8 box too.

!!! u mě to neworkuje !!!

podívat se sem: http://ubuntuforums.org/showthread.php?t=202605


Bug report:

Creating a Samba Share is not possible because "'net usershare' returned error 255: net usershare add: cannot convert name "Everyone" to a SID. Access denied." Bug #1299186 reported by Alexander Langanke on 2014-03-28

Na problém si na forum.ubuntu.cz stěžuje několik uživatelů, viz Samba - Problém s prihlásením do siete windows