LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   smb share +winxp login (https://www.linuxquestions.org/questions/linux-newbie-8/smb-share-winxp-login-730470/)

200mg 06-03-2009 01:44 PM

smb share +winxp login
 
I am trying to login to an smb share from an xp machine, when it prompts for creds I use my linux user creds and I can't get it to take them, this is a copy of the smb.conf. I thought this should share my /home/trace/share folder to the user trace, but when I try to connect to the share via a winxp machine, and I supply the creds for trace, it does not accept them. The user is trace and the box is trace so on a whim i tried trace@trace and the password and that didn't work either. Can anyone see what the issue is?

Code:

       
        [share]
        comment = share
        path = /home/trace/share
        valid users = trace
        public = no
        writable = yes
        printable = no
        create mask = 0765


battletroll 06-04-2009 08:52 AM

make sure you do:
I am assuming you are using security = user in the global area.

smbpasswd -a username = add user to smb files

smbpasswd -e username = enables smb user


Look at "smbpasswd -h"

saagar 06-04-2009 11:10 AM

first check in the linux machine itself whether you could access the share:

1.from the linux machine type: smbclient -L //<linux_machine_ip> -U trace
password: <trace passwd>
2.if you can see the share, good, then..
3.smbclient //<linuxmachineip>/share -U trace
Password:

hope you will now get the prompt..
smb:>

if you are not getting check selinux or the password set for the sambauser (trace)

if everything is okay, you may proceed with windows machine.


All times are GMT -5. The time now is 11:01 PM.