LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-03-2009, 01:44 PM   #1
200mg
Member
 
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?

Code:
        
        [share]
        comment = share
        path = /home/trace/share
        valid users = trace
        public = no
        writable = yes
        printable = no
        create mask = 0765
 
Old 06-04-2009, 08:52 AM   #2
battletroll
Member
 
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, 11:10 AM   #3
saagar
Member
 
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
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.
 
  


Reply


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 04:43 PM
Mount an SMB Share with a user's login credentials?? johnson8707 Linux - General 1 02-25-2009 12:59 PM
need 35 Sec. to show login screen for smb share saavik Linux - Networking 1 11-20-2007 07: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 05:50 PM
Mounting A Smb Share At Login - For Domain Users nm2588 Linux - Networking 3 12-07-2006 10:05 AM


All times are GMT -5. The time now is 01:47 AM.

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