LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-12-2003, 09:49 AM   #1
skober19
LQ Newbie
 
Registered: Jan 2003
Posts: 2

Rep: Reputation: 0
Login in a NT-Dom over PAM/Winbindd


Hello!
i have a little problem with my linux box:


i want to login with user-accounts from an NT-Dom.


I use winbindd from samba3.0beta3. "wbinfo -u" and "wbinfo -g"
works fine, also "getent passwd" works fine.
When i want to login with a domain-user the login cames again (local users can login).
At the syslog you can see this:
Aug 11 11:25:47 seb-test pam_winbind[17766]: user 'seb1' granted acces
Aug 11 11:25:47 seb-test login[17766]: Permission denied


Now the confs:


#######smb.conf#########
[global]
workgroup = DOM1
os level = 2
time server = no
unix extensions = Yes
encrypt passwords = Yes
map to guest = Bad User
printing = CUPS
printcap name = CUPS
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
wins support = No
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
SECURITY = DOMAIN
password server = pdc


winbind separator = +
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
template homedir = /home/winnt/%D/%U
template shell = /bin/bash
##### smb.conf - Ende ######


##### /etc/pam.d/login ######
#%PAM-1.0
auth required pam_securetty.so
auth sufficient pam_winbind.so
auth sufficient pam_unix.so use_first_pass
auth required pam_nologin.so
account sufficient pam_winbind.so
account sufficient pam_unix2.so
##### /etc/pam.d/login - Ende ######

HELP!!!
 
Old 11-09-2005, 11:55 PM   #2
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 33
anybody ?

I've checked with 'Samba-3 by example' but somehow it doesn't work.

when trying to login with ssh all is fine at first, but after authentification the connection is terminated instantly.
logfiles of samba/sshd/warn/messages do NOT show any errors, just

pam_winbind[10626]: user 'XXX+tester' granted access
Nov 10 06:41:30 sshd[10624]: Accepted keyboard-interactive/pam for XXX+tester from ::ffff:xxx.xxx.xxx.xxx port yyyyy


in the beginning it was complaining about a missing home-dir, that is it was actually trying to log in.
after creation of that dir that error was gone too.
 
  


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
Login/PAM errors PsypherPunk SUSE / openSUSE 3 09-09-2005 10:53 AM
PAM update and now no login! simonsez711 Linux - Networking 0 07-21-2005 01:22 AM
PAM set a no user login policy varoquau Linux - Security 2 10-28-2003 06:37 AM
Apply login restriction via PAM elduder12345 Linux - Security 1 09-28-2003 08:26 AM
PAM and LDAP, can't login locally Staceman Linux - Networking 0 07-02-2003 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:34 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