LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Using Samba Help (https://www.linuxquestions.org/questions/linux-software-2/using-samba-help-25626/)

bselzler 07-12-2002 11:11 AM

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

Mara 07-12-2002 01:11 PM

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).

bselzler 07-12-2002 02:18 PM

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

pickledbeans 07-12-2002 02:52 PM

Please post smb.conf
Also check log.smbd and log.nmbd and post any errors.
Did you use smbpasswd to create samba user accounts?

Mara 07-13-2002 03:39 AM

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).

bselzler 07-13-2002 06:58 PM

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

Mara 07-14-2002 05:13 AM

It's used from command line.
Good luck.

fatgod 07-16-2002 08:07 AM

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.


All times are GMT -5. The time now is 07:35 PM.