LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-11-2012, 01:42 AM   #1
Evocati
LQ Newbie
 
Registered: Aug 2012
Posts: 14

Rep: Reputation: Disabled
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?
 
Old 08-11-2012, 05:57 PM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
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.
 
Old 08-11-2012, 06:30 PM   #3
Evocati
LQ Newbie
 
Registered: Aug 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Install and Configure Samba Server as File Server on Ubuntu Server 12.04 LXer Syndicated Linux News 0 06-06-2012 12:01 PM
[SOLVED] SAMBA problem â?? rebuilding server â?? How to configure SAMBA share with writing - Win Alvin88 Linux - Newbie 5 04-04-2012 12:51 AM
generating tmp file in samba server while saving file from win7 in samba server centos123 Linux - Server 15 11-05-2011 05:05 AM
[Samba] Samba as PDC stopped trusting my Win 7 clients after a server update martdj Linux - Networking 1 01-14-2011 10:30 AM
Move user files from Samba server to new samba server TheB2B Linux - Server 3 11-10-2007 08:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration