Fedora Linux Support Community & Resources Center
  #1  
Old 10th May 2011, 02:21 PM
vertextao's Avatar
vertextao Offline
Registered User
 
Join Date: Sep 2010
Location: China
Posts: 75
linuxchrome
samba sharing problem!

Hey friends!

I've got a problem while sharing file through samba.

my smb.conf is here:
[global]
workgroup = MYGROUP
server string = Samba Server Version %v

netbios name = fedora-xtao
security = share

[shared]
comment = shared files
path=/home/xtao/local_e/Movies
read only = no
browseable = yes
guest ok = yes

then i restart my smb service, and i found the 'shared' folder on windows, but I can't access it.

__________________
[SIGPIC][/SIGPIC]
Reply With Quote
  #2  
Old 10th May 2011, 02:30 PM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082
windows_xp_2003firefox
Re: samba sharing problem!

Hello,
May need to add a user to [shared]

valid users = userID
write list = @userID

Also need to setup
smbpasswd
smbusers


I have this script ( with no warranty ) you can use
smbadduser.sh

#!/bin/bash
#
# Ensure that root is running the script.
##
WHOAMI=`/usr/bin/whoami`
if [ $WHOAMI != "root" ]; then
echo "You must be root to add news users!"
exit 1
fi
#

USER="XXXXXX"
SMBPASS="XXXXXXX"

smbpasswd -e ${USER} -e ${SMBPASS} > /dev/null
(echo $SMBPASS; echo $SMBPASS) | smbpasswd -as ${USER}
echo -e "${USER} = ${USER}" >> /etc/samba/smbusers
Reply With Quote
  #3  
Old 10th May 2011, 02:36 PM
Dan's Avatar
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,309
linuxfedorafirefox
Re: samba sharing problem!

Vertextao: You've been around long enough to know the rules. One thread per subject per customer at a time. Read the posting rules, and follow them. Other thread deleted.
__________________
Signature Links | New Posts | Who's on the forums (right now) |

© ® ™ № ¿
Reply With Quote
  #4  
Old 10th May 2011, 04:18 PM
glennzo's Avatar
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929
linuxfedorafirefox
Re: samba sharing problem!

I may have replied in that other thread. I've had the same problem with my networked systems and have seen the same Windows based error you've shown here. Try this command
PHP Code:
sudo setsebool samba_share_fusefs  on 
on the Linux host machine. You may need to restart samba on the Linux machine also. I couldn't access an NTFS formatted storage drive on a networked Fedora 14 box from a Windows client until I ran the above command.
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #5  
Old 10th May 2011, 04:20 PM
Dan's Avatar
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,309
linuxfedorafirefox
Re: samba sharing problem!

Nope. Nothing but crickets there. Which is, I'm sure, why he re-posted.
__________________
Signature Links | New Posts | Who's on the forums (right now) |

© ® ™ № ¿
Reply With Quote
Reply

Tags
samba, smb

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] samba sharing thrivingcot Using Fedora 3 30th March 2010 08:04 PM
Sharing /var/log with Samba sixdoubleo Using Fedora 1 1st March 2007 07:57 PM
Samba file sharing and printer sharing problems.. fedoranewboydaz Servers & Networking 1 11th October 2006 11:06 AM
Samba Sharing PSI Servers & Networking 3 18th August 2006 05:43 PM
FC3 Samba config problem (sharing with XP) alpen Servers & Networking 5 31st March 2005 03:21 AM


Current GMT-time: 04:46 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat