LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-07-2002, 07:32 AM   #1
cmyrvold
LQ Newbie
 
Registered: Jan 2002
Posts: 2

Rep: Reputation: 0
Question winbind in samba wont adduser


Hi,

I'm trying to get my Mandrake 8.2 to authenticate against a win2000 domain controller. I'm doing this using winbind and samba.

I've edited smb.conf, nsswitch.conf and /etc/pam.d/login, started winbind and smb.

The problem is when i telnet to the linux-box and try to login using domain+username, I do get authenticated, but when a new account (homedirectory etc) is created, I get a "permision denied" and get thrown out. As far as I know the winbind deamon runs as root, so I'm kinda stuck here. And when I use a /etc/pam.d/login file with winbind only for "auth", then it works fine, but then I don't get homedir, bash etc for new users. Any ideas?

I'm pretty much a newbie to Linux and haven't quite gotten how the pam.d works... I've attached my login file that I've tried with no success.

Thanks for all help!

- Christian


/etc/pam.d/login
--------------------------
#%PAM-1.0
auth required /lib/security/pam_securetty.so
auth required /lib/security/pam_stack.so service=system-auth-winbind
auth required /lib/security/pam_nologin.so
account required /lib/security/pam_stack.so service=system-auth-winbind
password required /lib/security/pam_stack.so service=system-auth-winbind
session required /lib/security/pam_stack.so service=system-auth-winbind
session optional /lib/security/pam_console.so
---------------------------
 
  


Reply



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
Samba + Winbind + AD Thakowbbery Linux - Networking 6 06-28-2007 01:49 AM
Samba and Winbind bkesting Linux - Networking 0 11-18-2004 03:12 PM
samba with winbind kaasi Linux - Networking 0 10-24-2003 07:27 PM
Winbind, Samba, NT acb67 Linux - Networking 2 07-22-2003 03:45 PM
Samba adduser? X-Ray5 Linux - Software 5 09-04-2002 07:10 PM

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

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