[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.4

Samba 3 + W2K Active Directory

Asked by xterminator in Linux Networking

Tags: pam_winbind

I have a problem with authentication of users on my Linux box.
I'm running a W2K Active Directory where all users are configured.
I also have a Fedora Core 1 linux box running, with samba 3, winbindd & kerberos installed and configured.

Samba is talking niceley to the Active Directory, when i use the "wbinfo -u" command a list of domain users is returned.
But when I use the getent passwd command the list only displays the local users configured on the linux box.
I also have nsswitch in the /etc directory configured.
When I edit my /etc/pam.d/login file to communicate via winbind with Acitve Directory, the login doesn't work. Not a single user is recognized.

Network Setup:
Domain: GOLDENEYE_THUIS
Active Directory Controller: Goldeneye (10.0.0.2)
Unix Box: Icarus (10.0.0.1)
DNS & AD configured on Goldeneye

My config files are the following:

*** /etc/nsswitch.conf ***
passwd:     files winbind
shadow:     files
group:      files winbind
********************

**** /etc/samba/smb.conf ****
[global]
workgroup = GOLDENEYE_THUIS
netbios name = ICARUS
server string = Icarus Internet Gateway

interfaces = 10.0.0.1/255.0.0.0
localmaster = no

winbind separator = +
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
template homedir = /home/%D/%U
template shell = /bin/bash
*****************************

********* /etc/krb5.conf *********
[logging]
 default = FILE:/var/log/krb5libs.log
 kdc = FILE:/var/log/krb5kdc.log
 admin_server = FILE:/var/log/kadmind.log

[libdefaults]
 ticket_lifetime = 24000
 default_realm = GOLDENEYE.BE
 default_tgs_enctypes = des-cbc-crc des-cbc-md5
 default_tkt_enctypes = des-cbc-crc des-cbc-md5
 forwardable = true
 proxiable= true
 dns_lookup_realm = true
 dns_lookup_kdc = true

[realms]
 GOLDENEYE.BE = {
  kdc = goldeneye.goldeneye.be:88
  default_domain = goldeneye.be
  admin_server = goldeneye.goldeneye.be
 }

[domain_realm]
 .goldeneye.be = GOLDENEYE.BE
 goldeneye.be = GOLDENEYE.BE

[kdc]
 profile = /var/kerberos/krb5kdc/kdc.conf

[appdefaults]
 pam = {
   debug = false
   ticket_lifetime = 36000
   renew_lifetime = 36000
   forwardable = true
   krb4_convert = false
 }
***********************************

************ /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_stack.so service=system-auth
  auth        required     pam_nologin.so
  account     sufficient   pam_winbind.so
  account     required     pam_stack.so service=system-auth
  password    required     pam_stack.so service=system-auth
  session     required     pam_stack.so service=system-auth
  session     optional     pam_console.so
********************************************


Generally logging on at the system with pam.d/login configured like this does not work.
Also the getent passwd command does not display the domain users, only the local ones.

Any help ?

Tnx in advance.
[+][-]03/01/04 08:35 PM, ID: 10492361Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/02/04 03:53 PM, ID: 10500477Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/02/04 04:25 PM, ID: 10500684Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/02/04 04:34 PM, ID: 10500747Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/02/04 04:55 PM, ID: 10500910Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/03/04 09:10 AM, ID: 10506298Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/03/04 09:43 PM, ID: 10511508Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/12/04 11:15 AM, ID: 11786656Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/09/04 09:03 PM, ID: 12023622Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/22/04 02:08 PM, ID: 12649476Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/22/04 03:07 PM, ID: 12650021Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/03/05 10:17 PM, ID: 14360001Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]07/08/05 01:07 AM, ID: 14394725Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Linux Networking
Tags: pam_winbind
Sign Up Now!
Solution Provided By: modulo
Participating Experts: 4
Solution Grade: A
 
 
Loading Advertisement...
20091021-EE-VQP-81