LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-07-2004, 02:56 AM   #1
Cybercool
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian kernel 2.4.xx
Posts: 36

Rep: Reputation: 15
Root login but no user login on samba


I got a weard problem with logging in with a win2k machine to a Debian samba server.
I can login as root, but I can't loggin as other users.
When I log in as a other user, it go's by the login field.
Then it loads a little bit, and then it stops.
And I got the blue (background) screen from windows, and now startmenu and now icons on the desktop, notting!!!

Does anyone know this problem??

My samba config:
Code:
[global]
 #null passwords = yes
 log file = /var/log/samba/log.%m
 loglevel = 2
 #debug timestamp = yes
 #bind interfaces only = yes
 #max log size = 250
 domain master = yes
 local master = yes
 locking = yes
 domain logons = yes
 preferred master = yes
 encrypt passwords = true
 #automatische computer account
 add user script = /usr/sbin/useradd -g machines -c NTMachine -d /dev/null -s /bin/false %m$
 delete user script = /usr/sbin/userdel %m$
 logon path = \\microcartero\profile\%U
 serverstring = Samba on %L
 #socket address = 192.168.
 hosts allow = 192.168. localhost
 workgroup = cattie
 smb passwd file = /etc/samba/smbpasswd
 logonscript = login.bat
 #socket options = TCP_NODELEY IPTOS_LOWDELEY SO_SNDBUF=8192 SO_RCVBUF=8192
 read raw = yes
 write raw = yes
 netbios name = microcartero
 load printers = no
 security = domain
 os level = 99
 #oplocks = True
 #deadtime = 1
 #lock directory = /tmp/samba

[netlogon]
 allow hosts = 192.168.
 comment = The microcartero login service
 path = /samba/scripts
 browseable = no
 
[profile]
 comment = User profile
 path = /samba/profile
 read only = no
 create mode = 0600
 force create mode = 0600
 directory mask = 0777
 force directory mode = 0777

[Data]
 comment = Data share
 path = /share/data
 create mode = 0775
 writeable = yes
 public = yes
 directory mode = 0775
 

[Programs]
 comment = Programs share
 path = /share/programs
 create mode = 0775
 writeable = yes
 public = yes
 directory mode = 0775

[Home]
 comment = Home %U
 path = /home/%U
 create mode = 0775
 directory mode = 0775
 writeable = yes
 directory mode = 0775

[Rootdir]
 comment = Root directory
 path = /
 writable = yes
 valid users = root
 admin users = root
 create mode = 0774
 directory mode = 0775
 public = no
 write list = root
 force user = root

I hope someone can help!!!

Cybercool
 
Old 04-07-2004, 03:35 AM   #2
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 748

Rep: Reputation: 31
I don't know about the screen color problem, but have you set up your samba users? (Different from your Linux users, you need to use 'smbpasswd' to set them up.)
 
Old 04-07-2004, 03:41 AM   #3
Cybercool
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian kernel 2.4.xx
Posts: 36

Original Poster
Rep: Reputation: 15
Let me explain it better:

I don't have a screen collor problem.

This is the story:

I have a debian/samba file server with the config file showed in the first post.

When I log in as root on the windows client (that belong to the domain) nothing is wrong.
I can login and see my drives.


But when I want to login with an other normal user, the computer (windows client) doesn't startup.
It just stops with starting. And I can do notting.

Do you understand??

The user is in smbpasswd and enabled!!!

So, does anyone know what can be wrong??


p.s. I hope I explained it better this way???

Last edited by Cybercool; 04-13-2004 at 01:55 AM.
 
Old 07-13-2011, 05:36 AM   #4
figure002
Member
 
Registered: Nov 2008
Distribution: Ubuntu Maverick
Posts: 31

Rep: Reputation: 16
I was having the same problem. I have some samba shares on an Ubuntu 10.10 system. When I try to access a share from a Windows XP client, it asks for a username and password. I could login as user "root" or "guest", but not with my own user name, though I *did* create a samba password for myself (with `smbpasswd') in the past.

But I decided to create a samba password again, just to be sure,

Code:
sudo smbpasswd -a USERNAME
I entered the same password like I did before. And voilą, I was able to login with my own username again. Apparently my samba password somehow got deleted, but how this happened is a mystery; I never upgraded or anything.
 
  


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
unable to login as user; can login as root. rksanders Debian 24 02-09-2011 08:01 AM
can not login as root or user samprabhu Linux - Security 3 07-30-2005 10:28 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 11:39 AM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-05-2004 11:40 PM
how do i login as the root user Robin01 Linux - Newbie 6 08-29-2003 05:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:08 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
Open Source Consulting | Domain Registration