LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-27-2007, 07:02 PM   #1
qdog007
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Rep: Reputation: 0
How to access samba share in a Windows domain environment


I am having issue with adding a Linux Samba server to my Windows domain environment. I just want to be able to access a shared folder on my Fedora Core 6 machine from my Windows XP machine. The XP is part of the Windows domain “qnetwork”. I can see the Samba server from My Network Place, but I am not able to access it. I get the following message: “\\Fedora6 is not accessible. You might not have permission to use this network resource. The network path was not found.” Below are the steps I’ve taken. Can you tell me what I did wrong? I look forward to hearing all of your suggestions and feedback. Thank you.

1. Downloaded and install samba3.0 and various other samba components via yum.
2. Navigate to the Home directory and create a share directory called “samba_share”.
3. Made sure the samba service is running
4. Create a Linux user named “samba_user” and gave it a password.
5. Add a Samba user with the following configuration:
UNIX username: samba_user
Windows username: samba_user
Samba password: ******* (same as the Linux user)
6. Add Samba share (/home/samba_share) to the Samba configuration file via the Samba
GUI. Configure samba_user to be the valid user for this share.
7. Made some modification to the smb.conf file. Here is TestParm output
[global]
workgroup = QNETWORK
server string = Fedora Samba Server
username map = /etc/samba/smbusers
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = No
wins support = Yes
hosts allow = 192.168.1., 192.168.2., 127.
cups options = raw
security: user (tried server and it didn’t work either)


[homes]
comment = Home Directories
read only = No

[printers]
comment = All Printers
path = /usr/spool/samba
printable = Yes
browseable = No

[Samba Share]
path = /home/samba_share
valid users = samba_user
read only = No
 
Old 02-27-2007, 08:06 PM   #2
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
Quote:
Originally Posted by qdog007
wins support = Yes
hosts allow = 192.168.1., 192.168.2., 127.
Your configuration seems working, however what ip you use to access the samba server?
 
Old 02-28-2007, 12:03 AM   #3
qdog007
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Original Poster
Rep: Reputation: 0
The IP configuration are as follows:
Windows XP IP: 192.168.1.11
mask: 255.255.255.0

Linux Fedora IP: 192.168.1.15
mask: 255.255.255.0

I am able to ping back and forth just fine.
 
Old 02-28-2007, 01:51 AM   #4
qdog007
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Update: After configuring the Linux firewall to “trust” samba traffic, I am now able to click on the Fedora machine in Network Places without the error message. However,another issue came up. It just prompts for the password only. For the username, it read “Fedora6\Guest” but this part is grayed out. I am not able to change the username. What happen to the samba username I added earlier in the process? If you have suggestion, please let me know. Thank you.
 
Old 02-28-2007, 07:27 PM   #5
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
u can try using map network drive, using option 'using difference username' and try see whether success or not. By the way, are you sure you use the winxp pro?
 
Old 02-28-2007, 11:15 PM   #6
qdog007
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Original Poster
Rep: Reputation: 0
yes, this is a Windows XP Professional machine. Still having trouble with this issue. Any other suggestions? Let me know.
 
Old 02-28-2007, 11:56 PM   #7
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
try change the samba workgroup to another name and retry.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
windows domain like environment...pl. help azamup Debian 1 02-19-2007 07:57 AM
Access linux SAMBA share from windows pengu Linux - Software 6 02-17-2007 11:55 AM
Samba 3.0.21a and Samba Domain Member Servers in a Windows 2003 ADS Domain ramz Linux - Networking 3 04-09-2006 08:26 PM
Samba windows access w/o domain twantrd Linux - Software 3 08-13-2005 06:46 PM
Samba Share on a Domain Sern Linux - Software 1 05-12-2005 01:05 PM


All times are GMT -5. The time now is 03:01 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration