LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-30-2010, 12:31 PM   #1
twinkers
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 153

Rep: Reputation: 30
Easy file sharing option in gnome grayed out


I'm using Gnome for the first time (after a long time with KDE) and am trying to share a folder the easy way. After installing nautilus-share (and samba, samba-common and samba-common-bin)I can right click on a folder and make it shared. Problem is that the option 'Guest access (for people with no user account)' is always grayed out.
On some Ubuntu forums I saw people fix it by purging and reinstalling samba but that didn't work for me.

I know how to manually setup a share in samba, just want to figure out why this isn't working and how to get this going.

Regards
 
Old 03-30-2010, 04:57 PM   #2
twinkers
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 153

Original Poster
Rep: Reputation: 30
I had a look in /usr/share/doc/nautilus-share/examples/smb.conf and renamed smb.conf to smb.bak and copied the example to /etc/samba/smb.conf. I added everything from smb.bak that doesn't set folder permissions. Final file looks like:

Code:
[global]
workgroup = HOME
security = share

usershare path = /var/lib/samba/usershares
usershare max shares = 100
usershare allow guests = yes
usershare owner only = yes
wins support = no

#### Debugging/Accounting ####

# This tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba/log.%m

# Cap the size of the individual log files (in KiB).
   max log size = 1000

# If you want Samba to only log through syslog then set the following
# parameter to 'yes'.
#   syslog only = no

# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
   syslog = 0

# Do something sensible when Samba crashes: mail the admin a backtrace
   panic action = /usr/share/samba/panic-action %d

####### Authentication #######

# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
#   security = user

# You may wish to use password encryption.  See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
   encrypt passwords = true

# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.  
   passdb backend = tdbsam

   obey pam restrictions = yes

# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
   unix password sync = yes

# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for
# sending the correct chat script for the passwd program in Debian Sarge).
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .

# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
   pam password change = yes

Everything works fine now.

Regards
 
  


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
Audio player with easy accessible delete option zomane Linux - Desktop 4 08-01-2009 02:59 PM
Easy File Sharing Web Server for Linux (or equivalent) Ricky00 Linux - Newbie 11 04-17-2009 05:35 AM
samba and kde - easy file sharing ShanaVar Debian 2 04-23-2008 05:29 PM
wine - All File open dialog buttons grayed out kryptobs2000 Linux - Software 2 12-25-2007 09:47 PM
Gnome-2.16.0 Windows on top option grayed out securitybreach Fedora 1 01-26-2007 01:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:27 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