Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 6462  / 1 Year ago, sat, december 3, 2022, 8:30:48

I seem to have some issues sharing folders from my Ubuntu 12.04 machine to a Win7 machine. After playing around with the settings, I decided to revert to Samba's original setting by reinstalling it:



sudo apt-get purge samba
sudo rm -rf /etc/samba/ /etc/default/samba
sudo apt-get install samba


just to be sure I also run:



sudo apt-get install samba samba-common system-config-samba winbind


Now, I can't find /etc/samba folder any more. Even when I try to share a folder through Nautilus, I get:



Samba's testparm returned error 1: Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
No such file or directory
Error loading services.


Same when I try to list:



xxx@xxx:~$ ll /etc/samba
ls: cannot access /etc/samba: No such file or directory


Any ideas what I did wrong, or what other package am I missing?



cheers


More From » 12.04

 Answers
0

I think you need to purge the others, not only samba before reinstalling.



apt-get purge samba samba-common system-config-samba winbind

[#34965] Sunday, December 4, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
defendle

Total Points: 219
Total Questions: 131
Total Answers: 112

Location: Finland
Member since Sat, Nov 6, 2021
3 Years ago
;