Solved

Only root can log into Samba from NT 4 ws

Posted on 2000-02-18
5
263 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now