LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Samba Server (https://www.linuxquestions.org/questions/linux-server-73/samba-server-4175421529/)

Evocati 08-11-2012 01:42 AM

Samba Server
 
I've read through several HOWTO's, but for some darned reason, myShare keeps disappearing on me. Also, I don't want the network to have a log-in

I set up security = share and force user = badname as such:

Quote:

[global]
#General server settings
netbios name = Ubuntu
server string =
workgroup = WORKGROUP
announce version = 5.0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192

passdb backend = tdbsam
security = share
null passwords = true
username map = /etc/samba/smbusers
name resolve order = hosts wins bcast

wins support = yes

printing = CUPS
printcap name = CUPS

syslog = 1
syslog only = yes

[print$]
path = /var/lib/samba/printers
browseable = yes
guest ok = yes
read only = yes
write list = root
create mask = 0664
directory mask = 0775

[printers]
path = /tmp
printable = yes
guest ok = yes
browseable = no


[MyFiles]
path = /home/samba/
browseable = yes
read only = no
guest ok = yes
create mask = 0644
directory mask = 0755
force user = badname
force group = badname
Anyone have any suggestions on how to edit smb.conf?

descendant_command 08-11-2012 05:57 PM

My recommendation would be to use a text editor. :)

You don't seem to have
Code:

disappearing = yes
so maybe some more information could be helpful.

Evocati 08-11-2012 06:30 PM

Lol, I guess I should have made that a little clearer. That's the content of my smd.conf file. I was having issued with the server disconnecting from the network, but I got it set up on a static IP and that seemed to remedy the issue.

Also,

Quote:

Code:

gedit /etc/samba/smb.conf



All times are GMT -5. The time now is 05:53 PM.