Fedora Linux Support Community & Resources Center
  #1  
Old 17th July 2007, 09:27 AM
eXDee's Avatar
eXDee Offline
Registered User
 
Join Date: Oct 2006
Posts: 147
Samba User Annoyance

Hello,
I'm having an annoying problem with accessing Fedora from a windows XP computer. No shares show up in My Network Places, or in my Workgroup.
If i type \\Fedora it says it cannot be found. I restart samba and now when i type \\Fedora i am prompted with a username and password, which i enter and it works fine. Now the shares show in my network places and in my workgroup.
This is rather annoying as every time i want to access it, i obviously have to type the hostname and password, as well as restart samba it seems.

Network Drives also don't mount correctly on windows, when i set the share path and then even set a specific username and password, it says the share doesn't exist.

Security mode is user, the samba username is in there, its set to the right hostname and workgroup. The shares are setup. There is no smbpasswd file.

I just want to be able to access Fedora like any other windows computer in the workgroup without messing with typing usernames, restarting samba and typing hostnames.

Any idea what the problem is?
some things out of smb.conf that aren't commented and seem related.
Code:
	workgroup = <myworkgrouphere>
	server string = Fedora
	passdb backend = tdbsam
	username map = /etc/samba/smbusers
[homes]
	comment = Home Directories
;	browseable = yes
	writeable = yes
;	valid users = %S
;	valid users = MYDOMAIN\%S
[Server]
	path = /home/Stephen/Server
	writeable = yes
;	browseable = yes
	guest ok = yes

Last edited by eXDee; 17th July 2007 at 09:32 AM.
Reply With Quote
  #2  
Old 20th July 2007, 01:31 AM
Kinux Offline
Registered User
 
Join Date: Oct 2004
Posts: 27
On one of my Fedora laptops I have a public Samba share that I can use it without any user name and password.
In /home directory I have created a samba directory with these permissions :

drwxrwxrwx 2 root root 4096 jui 15 21:01 samba

Then the smb.conf file has these options :

[global]
workgroup = HOME
server string = Samba Server Version %v
security = share
passdb backend = tdbsam
local master = no

[samba]
comment = Public Share
path = /home/samba
public = yes
writeable = yes
browseable = yes
guest ok = yes

The smb and nmb Services are set to run at startup.
Hope it helps you.
Reply With Quote
  #3  
Old 20th July 2007, 06:03 AM
marcrblevins's Avatar
marcrblevins Offline
Registered User
 
Join Date: Jun 2006
Location: Texas
Age: 42
Posts: 4,168
Fedora 7 is not working right with nmb. nmb is now considered a separate service.

Code:
su -
chkconfig nmb on
chkconfig smb on
service nmb start
service smb start
Reply With Quote
Reply

Tags
annoyance, samba, user

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
Samba only shares for one user OralDeckard Servers & Networking 17 19th December 2006 08:46 PM
Samba user that is not a linux user? shadowwyvern Servers & Networking 1 4th August 2006 04:48 AM
Samba User Question GoodOmens Servers & Networking 3 2nd February 2006 07:54 AM
Samba user for root mndar Using Fedora 1 20th December 2005 10:55 AM
Samba Annoyance salmankhilji Using Fedora 1 12th June 2004 05:10 AM


Current GMT-time: 02:46 (Thursday, 20-06-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