Solved

Only root can log into Samba from NT 4 ws

Posted on 2000-02-18
5
267 Views
Last Modified: 2013-12-15
Running Red Hat 6.1 default server install.
I set up samba with swat and enabled encryption, created the smbpasswd file and entered all passwords.

I can log into the samba server and shares from a nt 4.0 ws sp5 as long as I enter root into the pop up name/password box. If I enter any other valid linux account it just keeps asking for the name / password. The accounts I am trying are able to log into the linux box locally.
0
Comment
Question by:mikeu
5 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 200 total points
ID: 2536864
I'm fishing a bit here, bear with me.

Are your linux users using normal unix usernames (all lower case, 8 char or less)? Have you got something like:

[homes]
      read only = No
      browseable = Yes

In your smb.conf file?
0
 
LVL 15

Expert Comment

by:samri
ID: 2537557
mikeu,

   Do you have any other users created in your system.  If not try creating one account (plus home directory for that user), ann then try conecting from you NT.  I think it should work.


Samri
0
 
LVL 3

Expert Comment

by:freesource
ID: 2538417
You can get a clearer picture of what is going on by looking at the log files which samba keeps in Linux.  On my machine these logs are found as smb and nmb in /var/log.  

Another good way to find out what is happening is to use the "net use" command to logon with.  If you don't know what the output means, post it here.

Take a look at this link which shows you an example of using net use:

http://www.oreilly.com/catalog/samba/chapter/book/ch09_02.html#ch09-97081
0
 

Author Comment

by:mikeu
ID: 2546486
It was the case of the usernames !!!!
The linux usernames contained upper case and lower case as did the windows login names. I changed the linux usernames to all lower case and it worked !!!. It appears that windows did not transmit the upper case chars ?!?!
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2546776
Right, windows is case insensitve and doesn't distinguish between Upper/Lower case names. I sorta think I looked at what it did once and saw that it made it all lower or upper, i foget whcih. Samba knows what the windows behaviour is and if you follow standard Unix practice (all lower case usernames) it's able to deal with it.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Steps to follow for Maintenance of Servers 4 72
SMB share across internet 15 64
php56-php-mcrypt for rhel7 php56 1 43
Trying to install php56 on CentOS 7 get GPG error 5 27
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question