RE: [Samba] SAMBA + OPENLDAP - Getent - Please help :)

2005-01-23 Thread Tony Earnshaw
Choudary Mumtaz:

 Yes. I have followed the instructions from the book, and I have also
 tried to use authconfig as it is RedHat AS 3. Thank you.


 Jeff Saxton [EMAIL PROTECTED] wrote:


 Have you configured pam and nss?

I'm a newbie to Samba (RHAS3, RH Samba samba-3.0.7-1.3E), but an old hand
with Openldap. Just configured a working Samba PDC for XP/2000 clients and
I'm pleased as punch :) Openldap 2.2.20. It wasn't easy, i didn't know
what to expect at each turn and there's masses of new stuff to learn,
though the Samba native utilities are phantastik, IDEALX's Perl scripts
don't work for me - I write my own (shell, awk) scripts that call the
Samba utilities. Anyway:

My own experience with RHAS3 is, that any other nss_ldap solution than Red
Hat's own rpm does not work (though one RHAS3 user on the Padl nss_ldap
mailing list has got the latest nss_ldap source to work). Why are you
using IDEALX source and not Padl anyway?

1: Red Hat's authconfig for Red Hat's Openldap deprecated standard version
(2.0.27) is poison: it ruins /etc/pam.conf and nsswitch.conf is poison -
it ruins both. You have to knuckle down and get used to configuring both
pam_ldap and nss_ldap by hand; this can take time;

2: pam_ldap should not be necessary for Samba - it seems to use 100% nss
for authentication.

My advice is, to go back to Red Hat's nss_ldap rpm, learn to configure
/etc/ldap.conf and nsswitch.conf by hand and get off the Red Hat Openldap
versions (including 2.1.22). The only stable OL versions are 2.2.17 and
upward, though configuring them with the requisite, patched BDB 4.2.52
will cost you both time and sweat .(

--Tonni

--
mail: [EMAIL PROTECTED]
http://www.billy.demon.nl


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] SAMBA + OPENLDAP - Getent - Please help :)

2005-01-21 Thread Jeff Saxton
 
Have you configured pam and nss?

Jeff Saxton
Sr. Support Engineer
SenSage, Inc. ( Formerly Addamark Technologies, Inc. )
http://www.sensage.com
mailto:[EMAIL PROTECTED]
OFFICE: +1 415-281-1900x128
CELL: +1 415-640-6392

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Choudary Mumtaz
Sent: Friday, January 21, 2005 2:48 PM
To: samba@lists.samba.org
Subject: [Samba] SAMBA + OPENLDAP - Getent - Please help :)

I have setup a SAMBA + OPENLDAP server following Samba-3 By Example, but I
have run into several problems. All the tests described in the Chapter 6
such as pdbedit -Lv, slapcat, and ldapsearch -x -b give the desired results.
But, getent can't read passwd or group information from ldap backend. I have
done my best to solve the problem, but it just doesn't work. I have compiled
the nss_ldap from Idealx and configured the /etc/ldap.conf as well as
nsswitch.conf according to the instructions, but without any success. 
May someone please point me, how to troubleshoot this issue?
Thank you.


-
Do you Yahoo!?
 Yahoo! Search presents - Jib Jab's 'Second Term'
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] SAMBA + OPENLDAP - Getent - Please help :)

2005-01-21 Thread Choudary Mumtaz
Yes. I have followed the instructions from the book, and I have also tried to 
use authconfig as it is RedHat AS 3.
Thank you.

Jeff Saxton [EMAIL PROTECTED] wrote:

Have you configured pam and nss?

Jeff Saxton
Sr. Support Engineer
SenSage, Inc. ( Formerly Addamark Technologies, Inc. )
http://www.sensage.com
mailto:[EMAIL PROTECTED]
OFFICE: +1 415-281-1900x128
CELL: +1 415-640-6392

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Choudary Mumtaz
Sent: Friday, January 21, 2005 2:48 PM
To: samba@lists.samba.org
Subject: [Samba] SAMBA + OPENLDAP - Getent - Please help :)

I have setup a SAMBA + OPENLDAP server following Samba-3 By Example, but I
have run into several problems. All the tests described in the Chapter 6
such as pdbedit -Lv, slapcat, and ldapsearch -x -b give the desired results.
But, getent can't read passwd or group information from ldap backend. I have
done my best to solve the problem, but it just doesn't work. I have compiled
the nss_ldap from Idealx and configured the /etc/ldap.conf as well as
nsswitch.conf according to the instructions, but without any success. 
May someone please point me, how to troubleshoot this issue?
Thank you.


-
Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba



-
Do you Yahoo!?
 Yahoo! Mail - 250MB free storage. Do more. Manage less.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba