[SOLVED] Setting up Samba: /etc/samba/smb.conf makes problems
by Leonard_Linux from LinuxQuestions.org on (#59PRC)
Hello,
I'm having problems setting up Samba. I followed these instructions: https://wiki.alienbase.nl/doku.php?id=slackware:samba. I successfully added the user smbguest, but the step with Code:smbpasswd -a smbguest -d makes problems. First it failed completely, so I run testparm and found out that the file /etc/samba/smb.conf doesn't exist. There was just a smb.conf-sample file. So I created the file smb.conf and now smbpasswd always seems to be successfull, but when I checked smb.conf it was empty! Not a single line was written in it. I tried to add a empty line to smb.conf and ran the command again, but it didn't help. What am I doing wrong?


I'm having problems setting up Samba. I followed these instructions: https://wiki.alienbase.nl/doku.php?id=slackware:samba. I successfully added the user smbguest, but the step with Code:smbpasswd -a smbguest -d makes problems. First it failed completely, so I run testparm and found out that the file /etc/samba/smb.conf doesn't exist. There was just a smb.conf-sample file. So I created the file smb.conf and now smbpasswd always seems to be successfull, but when I checked smb.conf it was empty! Not a single line was written in it. I tried to add a empty line to smb.conf and ran the command again, but it didn't help. What am I doing wrong?