LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 04-23-2007, 12:34 PM   #1
mcmorj
Member
 
Registered: Oct 2004
Location: Buckingham
Distribution: Suse 10 11 and kubuntu
Posts: 73

Rep: Reputation: 15
Samba server shares linux disk but windows user cannot connect


Hi All,

I was able to connect my linux box to a windows shared printer last night. Dizzy from my technical prowess, and having a 72GB SCSI disk sitting on my little Suse 10.0 PC315 server with nothing on it, I decided to fire up samba and make it available for use from my Window XP machine.

All went well, I can see the share from windows - but when I try to connect, I am asked for a userid and password? I have tried entering root and my root password but no luck.

I have enabled Samba server in firewall for internal and external.

I clicked on the drive icon and made it 'anyone can read and write to this device'.

I have had a trawl about the net and the forums but cannot find anything obvious.

Am I missing an additional configuration step?

Kind Regards
Joe
 
Old 04-23-2007, 01:00 PM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,233

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
I believe you need to run 'smbpasswd -a newuser' as root on the server to add the users you want to allow to connect from the windoze machines. There is a man page if you need more information.

I installed Swat on the server. It provides a nice interface for many samba functions, and shows the doc. ( Not required, but a nice touch for administration ).

smbpasswd will prompt you for a new password. The user can use the same command to change the password after the admin gives the user the first password.

Hope this helps.
 
Old 04-26-2007, 03:54 AM   #3
mcmorj
Member
 
Registered: Oct 2004
Location: Buckingham
Distribution: Suse 10 11 and kubuntu
Posts: 73

Original Poster
Rep: Reputation: 15
Thanks Cliff,

I did as you suggested but still no luck.
I think it is linux user permissions / security that is the sticking point.
I have found a whole section on samba in my old Suse 9.2 Admin manual and will read up on it.

As access from Linux to windows shares was such a breeze, I did not expect it to be more complicated (and probably more secure) the other way around.

Regards
Joe
 
  


Reply



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
samba and windows server shares baznz Linux - Software 2 10-20-2005 05:51 PM
Samba can't connect to Windows shares soren625 Linux - Software 2 01-22-2005 08:25 AM
Can't connect to Windows shares w/ Samba everythingand2 Slackware 7 01-15-2005 10:13 PM
Windows 98 client won't connect to Samba shares ehedman Linux - Software 1 02-26-2004 07:41 PM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 05:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:41 PM.

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
Open Source Consulting | Domain Registration