Linux - SoftwareThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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)
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.