LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-04-2009, 03:15 AM   #1
lucky_chouhan
LQ Newbie
 
Registered: Nov 2006
Distribution: RedHat9, Suse 9, Vector Linux 5
Posts: 13

Rep: Reputation: 0
Unable to access Samba server in WinXp


Hi, Using Redhat Linux AS5 Server, sucessfully configure Samba share and able to see this share on my xp machine, remove password security on samba. but when i try to access samba share in xp, its asking for username & password, when i give the root and pass , they deny for access. what i do.

" Successfully access the root via Putty"

http://img6.imageshack.us/my.php?ima...bashareno6.jpg

ImageShack - Image Hosting :: sambashareno6.jpg
 
Old 02-04-2009, 03:37 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
What does your /etc/samba/smb.conf look like?

Mine works perfectly when I access it from an XP machine over the lan. Here's my config that does this.

Code:
[global]

netbios name = development
workgroup = WORKGROUP
security = share
log file = /var/log/samba.log
log level =  1
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=16384 SO_SNDBUF=16384
wins support = yes
domain logons = no
logon drive = f:
logon home = \\stefan\%U
os level = 99
preferred master = yes
local master = yes
hosts allow = 10.0.0.1 10.0.0.3 10.0.0.4 10.0.0.5 10.0.0.6 10.0.0.7 10.0.0.8 10.0.0.9 10.0.0.10 10.0.0.11 10.0.0.11
encrypt passwords = yes
browseable = yes
lanman auth = yes
lm announce = yes

[shared]
path = /mnt/win/shared
guest ok = yes
writeable = yes
create mode = 0666
directory mode = 0777
browseable = yes
public = yes
I can access the /mnt/win/shared on my Linux box from any of my Windows systems without it prompting for password / usernames...
 
Old 02-04-2009, 11:39 AM   #3
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
Did you create a Samba account on the Linux box? As root issue the command "smbpasswd -a username" where username is the XP user. If you make the password the same on the Samba server as on the XP machine you should be able to connect without the challenge.

Ken
 
Old 02-05-2009, 02:44 AM   #4
lucky_chouhan
LQ Newbie
 
Registered: Nov 2006
Distribution: RedHat9, Suse 9, Vector Linux 5
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for your help after i reconf samba when i try to click on icon i'm able to access my 2 share folders w/o asking for username & password and able to open the network location (192.168.1.2) and got my share folders.

but when i click the folder getting message "Network access denied you dont have permission".

Last edited by lucky_chouhan; 02-05-2009 at 02:57 AM.
 
Old 02-05-2009, 05:56 AM   #5
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
Have you checked the permissions on the folders and files from the Linux side? If the user(s) cannot access them from Linux they cannot access them with Samba. You also might check the firewall settings on the Windows PCs. I had a Zone Alarm upgrade break my first Samba setup some years ago. I blamed the problems on Samba and it took a looooooong time for me to figure out that the Windows firewall was the source of the problem.

Ken
 
  


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
WinXP(Pro) access to Linux OpenSuSE/SAMBA server? DarkFlame Linux - Server 6 12-02-2008 02:07 AM
no permission to access shares on a samba server from a SPECIFIC only, winXP machine nass Linux - Server 3 05-17-2007 08:20 PM
no permission to access shares on a samba server from a SPECIFIC only, winXP machine nass Linux - Server 0 05-17-2007 02:50 PM
Can't access the samba server (RedHat9) frm WinXP though it's shown in network places rajibshovan Linux - Networking 11 01-08-2007 05:20 AM
WinXP home client sees Linux Samba server but no access to shares IslanderTexas Linux - Software 27 02-22-2006 04:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:39 AM.

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