LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to access samba share in a Windows domain environment (https://www.linuxquestions.org/questions/linux-software-2/how-to-access-samba-share-in-a-windows-domain-environment-533091/)

qdog007 02-27-2007 07:02 PM

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

kstan 02-27-2007 08:06 PM

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?

qdog007 02-28-2007 12:03 AM

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.

qdog007 02-28-2007 01:51 AM

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.

kstan 02-28-2007 07:27 PM

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?

qdog007 02-28-2007 11:15 PM

yes, this is a Windows XP Professional machine. Still having trouble with this issue. Any other suggestions? Let me know.

kstan 02-28-2007 11:56 PM

try change the samba workgroup to another name and retry.


All times are GMT -5. The time now is 08:36 AM.