Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-03-2009, 02:44 PM   #1
Registered: Jul 2006
Posts: 85

Rep: Reputation: 15
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?

        comment = share
        path = /home/trace/share
        valid users = trace
        public = no
        writable = yes
        printable = no
        create mask = 0765
Old 06-04-2009, 09:52 AM   #2
Registered: Dec 2004
Location: Alabama
Distribution: Slackware, Solaris,Fedora, CentOS, Redhat, SGI
Posts: 65

Rep: Reputation: 18
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"
Old 06-04-2009, 12:10 PM   #3
Registered: Jul 2008
Location: Chennai, India
Distribution: RHEL5, Ubuntu
Posts: 191

Rep: Reputation: 37
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

hope you will now get the prompt..

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.


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
Mount SMB Share with Users Login Credentials?? johnson8707 Linux - Software 1 02-25-2009 05:43 PM
Mount an SMB Share with a user's login credentials?? johnson8707 Linux - General 1 02-25-2009 01:59 PM
need 35 Sec. to show login screen for smb share saavik Linux - Networking 1 11-20-2007 08:30 AM
Why is fmask & dmask required to write to a WinXP share mounted on Mdrake SMB client ruscook_oz Linux - Networking 1 02-08-2007 06:50 PM
Mounting A Smb Share At Login - For Domain Users nm2588 Linux - Networking 3 12-07-2006 11:05 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration