LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-19-2009, 07:04 AM   #1
amit_kalipur
Member
 
Registered: Dec 2008
Location: Delhi 91
Distribution: RHEL 5
Posts: 74
Blog Entries: 2

Rep: Reputation: 15
configuring samba server


Dear all,
I installed RHEL5 on VMware workstation and configured samba server and also installed guest windows on vmware.when i try to access samba server through guest windows,It displays error "network path was not found"
Here i am attaching the output of smbclient -L localhost -U% and cat /etc/hosts.May u assist me what is the cause and solution.
Regards.

Last edited by amit_kalipur; 05-04-2009 at 07:29 AM.
 
Old 03-19-2009, 08:43 AM   #2
cyprinidae
Member
 
Registered: Oct 2008
Distribution: Fedora, CentOS, Crunchbang
Posts: 46

Rep: Reputation: 16
It seems the client doesn't recognize the server by name. What if you try to access it by \\server_ip_address\share from windows client? If it fails again firewal or selinux are probably blocking smb. If you can access share it'll be the matter of setting up host names.
 
Old 03-20-2009, 07:01 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,694

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
Moved: This thread is more suitable in Server and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 03-21-2009, 05:48 AM   #4
amit_kalipur
Member
 
Registered: Dec 2008
Location: Delhi 91
Distribution: RHEL 5
Posts: 74

Original Poster
Blog Entries: 2

Rep: Reputation: 15
Quote:
Originally Posted by cyprinidae View Post
It seems the client doesn't recognize the server by name. What if you try to access it by \\server_ip_address\share from windows client? If it fails again firewal or selinux are probably blocking smb. If you can access share it'll be the matter of setting up host names.

Thank you very much for kind help.Now after disabling firewal i am accessing samba through guest windows.But one problem is arising that when i double click on that folder, an error message is displayed "folder was not accessible,You may not have perssion" while I assigned full perssion 777 on that forder.

Thanks and Regars
Amit
 
Old 03-22-2009, 06:20 PM   #5
cyprinidae
Member
 
Registered: Oct 2008
Distribution: Fedora, CentOS, Crunchbang
Posts: 46

Rep: Reputation: 16
Hi Amit,
it must be an issue with username now...
If your windows username is different from your samba username you won't be able to access the share. You'll need to use 'runas' (I think) in windows or map the drive with different username as option.
Your linux user must also be 'samba enabled', so please have a look at smbpasswd command, e.g.
Code:
smbpasswd -a test
adds user test to smbpasswd file.
You can test it with smbclient command
Code:
smbclient -L your_server -U your_username
If you can see the list of shared directiories, it's Ok. If the user is not in smbpasswd you'll receive "session setup failed: NT_STATUS_LOGON_FAILURE"
I hope that helps...
 
  


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
Configuring Samba for Fedora Directory Server Exutable Linux - Server 0 11-28-2007 07:11 PM
Configuring Samba with Active Server Directory !!! ajeetraina Linux - Server 2 08-12-2007 10:39 PM
Problem while configuring Samba server sundar1712 Fedora 4 07-20-2007 01:00 AM
configuring the samba server ultrasonic_shock Linux - Software 2 08-08-2005 04:43 PM
Need help configuring samba server bruno buys Linux - Networking 2 07-20-2004 02:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:57 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