LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-12-2002, 12:11 PM   #1
bselzler
LQ Newbie
 
Registered: May 2001
Location: San Jose, CA
Distribution: Fedora, Ubuntu
Posts: 23

Rep: Reputation: 15
Unhappy Using Samba Help


Hello Team,

I'm using Red Hat 7.1 and I'm trying to configure Samba so that Windows users can access their home volumes. I'm using WebMin to configure Samba and it appears that its set correctly, yet when I try to log in from a windows machine, via the run command, it gives me an incorrect password error.

What surprises me about this is that

a) It doesn't ask for a user-name.

b) It seems pretty straightforward, and I'm not seeing why its not working.

However this is the first time I've tried to run Samba, so perhaps I'm skipping something really basic.

Essentially I want Windows users, and eventually Mac users, to be able to use this server for file storage and sharing.

Any help on this would be greatly appreciated.

Thanks.

- Sez
 
Old 07-12-2002, 02:11 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
Windows sends login you have in Windows as a user name. If you'd like to allow all users to share files in one directory, make it public and be sure if permissions of this dir are allow user to do this (read, write and execute for all).
 
Old 07-12-2002, 03:18 PM   #3
bselzler
LQ Newbie
 
Registered: May 2001
Location: San Jose, CA
Distribution: Fedora, Ubuntu
Posts: 23

Original Poster
Rep: Reputation: 15
Mara,

Thanks for the quick reply.

All of our users have NT accounts on our network. What I would like for them to be able to do is log into the LinuxServer and store files in thier home directory.

I've tested the setup by creating an account on the Linux server that is the same name as my NT account. When I try to log on to the the linux server it asks me for a password, I enter the password for the account, and then it tells me access denied.

Both Webmin and Swat seem to indicate that the home directories are being shared. Unless I'm totally misreading everything.

Thanks in advance for your help.

- Sez
 
Old 07-12-2002, 03:52 PM   #4
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
Please post smb.conf
Also check log.smbd and log.nmbd and post any errors.
Did you use smbpasswd to create samba user accounts?
 
Old 07-13-2002, 04:39 AM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
pickledbeans is right. You should assign your users passwords using smbpasswd (and use the same passwords your users use to log into NT, to make it easier).
 
Old 07-13-2002, 07:58 PM   #6
bselzler
LQ Newbie
 
Registered: May 2001
Location: San Jose, CA
Distribution: Fedora, Ubuntu
Posts: 23

Original Poster
Rep: Reputation: 15
Samba Problems

Hello Team,

Again, thanks for the quick reply.

I created the Samba accounts with the Webmin Samba module. And the test account I created for myself did use the same account name and password I use for NT.

As I said, I'm new to Samba so I'm not sure if smbpasswd is used in the command line as a Linux command or a Samba configuration program. Sorry for being so dense.

I'll give it a look on Monday when I'm back at work.

Thanks again.

- Sez
 
Old 07-14-2002, 06:13 AM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
It's used from command line.
Good luck.
 
Old 07-16-2002, 09:07 AM   #8
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
with the samba package comes a MS-Windows registry patch to enable plain text passwords.

You need to update the registry on every windows client that wants to connect to this 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
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 02:33 AM
Samba - Connecting from WinXP Pro to Samba running on Debian critical Linux - Networking 1 02-03-2005 10:36 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 06:54 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 02:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 06:54 AM


All times are GMT -5. The time now is 09:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration