Results 1 to 10 of 16
First of all, thanks for looking.
I have setup samba on an Open Suse 10.2 box. It is not a domain controller, and is a stand alone server. I am, ...
- 11-23-2007 #1
Samba and me butting heads
First of all, thanks for looking.
I have setup samba on an Open Suse 10.2 box. It is not a domain controller, and is a stand alone server. I am, however, trying to connect my father-in-law's XP Home edition box to it via samba.
I have setup a share, and have added a user: smbpasswd -a someuser
'smbclient -L localhost' shows the share as being there, and testparm says that everything is alright. I can see the ports listening and opened in the firewall.
From the XP box I try START > RUN > \\xxx.xxx.xxx.xxx\ just to see if I can see the share and I get a "The Network Path Was Not Found" message; however, when I right click on My Computer and try and map a network drive I actually get a login prompt. I try passing in the credentials, but it still fails. Actually, I don't see anything really in my log files to indicate any failures, but when I type in the username and password it just keeps coming back and prompting me.
Info regarding the share I have setup:
[dadshare]
comment = Dad Reed's Share
path = /home/someuser
guest ok = No
read only = No
inherit acls = No
valid users = someuser
Any help would be greatly appreciated.
- 11-23-2007 #2Just Joined!
- Join Date
- Nov 2007
- Posts
- 9
ditto
i say ditto. i am having exactly the same problem and would call upon someone to give a solution very quickly.
- 11-24-2007 #3Just Joined!
- Join Date
- Nov 2007
- Posts
- 5
You will probably need to enable plain text passwords on the XP box, see:
Windows XP Home: Enable Plain Text Password
You also might want to edit the "hosts" file in windows\system32\drivers\etc and put the name and IP of the server in there. You should then be able to open the share from the Run prompt (requires a reboot).
- 11-24-2007 #4Linux Enthusiast
- Join Date
- Aug 2006
- Location
- Portsmouth, UK
- Posts
- 539
I don't think password encryption is a problem any more. It used to be but that got fixed.
You will proably need to create a machine account for the host your connecting from.
From memory, the hostname needs to be in caps, and the $ symbol at the end must also be there.Code:smbpasswd -a -m <HOST>$
RHCE #100-015-395
Please don't PM me with questions as no reply may offend, that's what the forums are for.
- 11-26-2007 #5
I tried the clear text option, and that didn't work. I am trying to do this option, but not getting anything to work. I don't think I am typing it as you had hoped though.
Do I need to add a username with the hostname of the connecting box first, then run that command? The hostname of the box is different than the username I am trying to connect with. I just need a little more detail.
Thanks.
- 11-26-2007 #6Linux Enthusiast
- Join Date
- Aug 2006
- Location
- Portsmouth, UK
- Posts
- 539
Hi jdh,
I do have "no login" linux accounts for the each machine that connects to my server as well as the smbpasswd entries.
It's been awhile since I set it up and added any machines to it
RHCE #100-015-395
Please don't PM me with questions as no reply may offend, that's what the forums are for.
- 11-26-2007 #7Just Joined!
- Join Date
- Nov 2007
- Posts
- 5
I've tried this on my NT4 box and matonb is right you don't need plain text passwords, it should work if you are logged on to the XP box with the same account details that you created with #smbpasswd -a <username> (while root) on the linux server. Make sure security = user and you've set a NetBIOS name for the server.
Hope this helps.
- 11-27-2007 #8
I checked the global settings and it is set. Here is some new info:
This works fine from within my network; however, I need to connect to it from another network. Any ideas? The failures I mentioned previously are from a different network. After the holiday break I got home and tested it from within my network and it works fine.
- 11-27-2007 #9
For what it's worth guys, try testparm in a terminal/konsole window, check for any errors. You should get a similar output:
*/home/tbob is shared too but for some reason it doesn't appear here.*
Code:# testparm Load smb config files from /etc/samba/smb.conf Processing section "[Media-Shared]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions [global] [Media-Shared] comment = Giddy-up path = /mnt/media read only = No guest ok = YesI do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 11-27-2007 #10


Reply With Quote
