View Full Version : Accessing Linux Samba Shares
DavidLeblond
Mar 16, 2004, 10:08 PM
I have a share on my Linux server /storage. In Panther (10.3.3) I can open a terminal window and type "smbclient //server/storage" and then my password and get into the share. However when I try to connect under the Network icon it prompts me for domain (I think its set at MSHOME), user (I tried my smb user as set up in /etc/smbusers on my linux server) and password. It won't let me in. What am I doing wrong?
Westside guy
Mar 17, 2004, 12:24 AM
No good ideas, but a couple possible suggestions.
Is this a Linux box you have total control over? If so you can look up the domain for sure inside of /etc/samba/smb.conf (Red Hat) or /etc/smb.conf (many others). Also you can restart the daemon from the command line running in verbose mode - often that'll let you see clearly where the connection is going wrong (it's my favorite trick for diagnosing ssh connection errors, but it should help with smb as well).
DavidLeblond
Mar 17, 2004, 07:11 AM
No good ideas, but a couple possible suggestions.
Is this a Linux box you have total control over? If so you can look up the domain for sure inside of /etc/samba/smb.conf (Red Hat) or /etc/smb.conf (many others). Also you can restart the daemon from the command line running in verbose mode - often that'll let you see clearly where the connection is going wrong (it's my favorite trick for diagnosing ssh connection errors, but it should help with smb as well).
Well I fixed it for now by turning off encrypted passwords (my Windows box doesn't have a need to connect to it anymore, seeing that I don't use that crusty old thing now. ;) )
MisterMe
Mar 17, 2004, 07:41 AM
I have a share on my Linux server /storage. In Panther (10.3.3) I can open a terminal window and type "smbclient //server/storage" and then my password and get into the share. However when I try to connect under the Network icon it prompts me for domain (I think its set at MSHOME), user (I tried my smb user as set up in /etc/smbusers on my linux server) and password. It won't let me in. What am I doing wrong?Shouldn't you type "smb://server/storage/"?
DavidLeblond
Mar 17, 2004, 09:14 AM
Shouldn't type "smb://server/storage/"?
Typing smb://server/storage/ is the same thing as browsing it in Finder. smbclient is the Samba client you can run in the terminal window.
Westside guy
Mar 18, 2004, 11:11 AM
Well I fixed it for now by turning off encrypted passwords (my Windows box doesn't have a need to connect to it anymore, seeing that I don't use that crusty old thing now. ;) )
Hmm... we're using encrypted passwords, and like I said things work for me. This probably isn't a good idea long-term.
DavidLeblond
Mar 18, 2004, 11:24 AM
Hmm... we're using encrypted passwords, and like I said things work for me. This probably isn't a good idea long-term.
I don't share with my linux box often (mostly I do by FTP actually.) I also never share with it unless I'm at home in which I have other means of security.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.