LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-31-2003, 07:05 AM   #1
tefol
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Rep: Reputation: 0
Unhappy samba in RH8 install


Hiya.

I have just built a RedHat 8 box and my samba seem a bit up the spout. I am sure this is a common newbie-ness type problem but relevant searches didn't show much so I am here asking you guys. I can see all the shared printers and folders from the windows servers. I run testparm and it reports no warnings or errors. I run smbclient -L localhost and it returns the list (after prompting me for a null password).

When I try to connect to a share from windows2000 explorer it simply says:

\\server\share is not accessible.

The network name cannot be found.


I checked the samba logs and found stuff in there saying stuff like unable to open passdb database. Google et. al. searches on this phrase did not seem to show me much. After a reading a few different how-tos I spotted one that mentioned I should run something like the following command:

smbpasswd -a nobody

and give it a null password (hit enter twice) so this I did. Then the logs change, saying something like permission to the share denied instead. So then I got the clever idea of deciding that there must be some relationship between the samba username and the unix system account permissions. So I added a new user to the samba thingy:

smbpasswd -a tefol

and used tefol as the guest account setting in my config.


Now the logs seem to say something new again:


[2003/10/31 22:51:32, 0] lib/util_sock.c:get_socket_addr(1012)
getpeername failed. Error was Transport endpoint is not connected
[2003/10/31 22:51:32, 0] lib/util_sock.c:write_socket_data(499)
write_socket_data: write failure. Error = Connection reset by peer
[2003/10/31 22:51:32, 0] lib/util_sock.c:write_socket(524)
write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer
[2003/10/31 22:51:32, 0] lib/util_sock.c:send_smb(704)

winhost (192.168.167.1) Can't change directory to /usr1/bleh (Permission denied)
[2003/10/31 22:51:32, 0] smbd/service.c:make_connection(614)
winhost (192.168.167.1) Can't change directory to /usr1/bleh (Permission denied)
[2003/10/31 22:51:32, 0] smbd/service.c:make_connection(614)
winhost (192.168.167.1) Can't change directory to /usr1/bleh (Permission denied)



these systems are in the same physical and logical network (ie, they broadcast all communications). One is a win2k server, the other is this RH8 box. In the how-to at (I think samba.org) it says:

The user you are trying to access the share with does not have sufficient permissions to access the path for the share. Both read (r) and access (x) should be possible.

Can someone explain the relationship between samba users and system accounts? the account tefol certainly has those rights on all the directories that have been configured for sharing.


Or is there something else that i am missing here? I Have done this before and it just worked out of the box. Last week in staging. I don't know what is different or what I can do about it. Any help would b greatly appreciated.

thanks and karma

tefol
 
Old 10-31-2003, 08:32 AM   #2
tefol
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Talking I fixed it..

It was a permissions issue on one of the parent directories.


I still think I gotta do more reading on the security structure of samba. Does anyone have ny good recommndations?

Cha

tefol
 
Old 11-01-2003, 07:53 PM   #3
tefol
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Talking I fixed it..

It was a permissions issue on one of the parent directories.


I still think I gotta do more reading on the security structure of samba. Does anyone have ny good recommndations?

Cha

tefol
 
  


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
rh8 update from to samba 3.0.11 eddi.b Linux - Software 3 03-09-2005 11:22 PM
Is Samba installed in RH8.0? Tiyogi Linux - Networking 3 03-16-2004 05:13 PM
Samba 2.2.5-10 to 2.2.7 in RH8 xox Linux - Software 1 08-16-2003 08:09 AM
RH8 Samba and Firewall Trouble RWild Linux - Networking 9 12-17-2002 09:03 PM
Linux RH8 -->Samba---->Win2K ? Micro Linux - Networking 7 11-07-2002 11:17 PM


All times are GMT -5. The time now is 08:16 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration