?
Solved

Only root can log into Samba from NT 4 ws

Posted on 2000-02-18
5
Medium Priority
?
271 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 800 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month12 days, 3 hours left to enroll

752 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