Hi, samba-users, I am trying to setup a PDC for testing the first time (as you will see from my question, I think ;-) ). I am using the "The latest SAMBA-LDAP-PDC How-to" at http://www.vcs.u52.k12.me.us/LDAP/The_SAMBA-LDAP_How-to.html Everything went ok so far, but now I don?t get further. I am at the point "Configuring Linux" where the author tells me to uses authconfig. I am using Suse Linux 8.2 here and there simply is no authconfig. It is not installed and I cant?t find it on the CDs. Sure, I know of that thing called Internet... Should I download and install that tool? Is Suse somehow different in that way? Just because I am wondering about the fact that authconfig isn?t included ... Can I edit some file in /etc/pam.d to get the same results? I tried to find out what to edit how but I am not sure about that and I don?t want to screw everything up ... Can someone help me with explanations how to set pam_ldap up right? Thank you in advance, Stefan G. Weichinger mailto:monitor@oops.co.at
Hi ! On Wed, Sep 17, 2003 at 03:15:02PM +0200, Stefan G. Weichinger wrote:> I am using Suse Linux 8.2 here and there simply is no authconfig. It > is not installed and I cant?t find it on the CDs. Sure, I know of that > thing called Internet...This is redhat-specific :-) The goal is to make the ldap-users available to the system. This is normally done by the pam_ldap and the nss_switch-packages. Maybe Suse has another Tool for this - if not - you have to identify and install these packages. Look at the files /etc/nsswitch.conf and /etc/libnss-ldap.conf (that are the names on my debian-box :-)) Best regards Marc Schoechlin -- Gruss / Best regards | LF.net GmbH | fon +49 711 90074-413 Marc Schoechlin | Ruppmannstr. 27 | fax +49 711 90074-33 ms@LF.net | D-70565 Stuttgart | http://www.lf.net
-----Ursprungliche Nachricht----- Von: samba-bounces+axelma4=compuserve.de@lists.samba.org [mailto:samba-bounces+axelma4=compuserve.de@lists.samba.org]Im Auftrag von Marc Schoechlin Gesendet: Donnerstag, 18. September 2003 08:14 An: Stefan G. Weichinger Cc: samba@lists.samba.org Betreff: Re: [Samba] Samba-LDAP-PDC-Howto Hi ! On Wed, Sep 17, 2003 at 03:15:02PM +0200, Stefan G. Weichinger wrote:> I am using Suse Linux 8.2 here and there simply is no authconfig. It > is not installed and I cant?t find it on the CDs. Sure, I know of that > thing called Internet...This is redhat-specific :-) The goal is to make the ldap-users available to the system. This is normally done by the pam_ldap and the nss_switch-packages. Maybe Suse has another Tool for this - if not - you have to identify and install these packages. You need the package nss_ldap and pam_ldap for unix authentiction. look with yast for this rpm?s ! Axel
you wrote: a> The goal is to make the ldap-users available to the system. a> This is normally done by the pam_ldap and the nss_switch-packages. a> Maybe Suse has another Tool for this - if not - you have to identify a> and install these packages. a> You need the package nss_ldap and pam_ldap for unix authentiction. a> look with yast for this rpm?s ! I already had those packages installed, I edited /etc/pam.d/system-auth by hand, following the example in this document: http://www.linuxplusvalue.be/download/samba-ldap-howto.pdf There is nothing mentioned about nsswitch.conf and when I try to create a user via smbldap-useradd.pl it works, but I can?t login with that user. I understand that this can?t work as long as the login-program doesn?t use ldap. Can you point me to what I should change in my setup? thank you, Stefan mailto:monitor@oops.co.at
Hi ! On Thu, Sep 18, 2003 at 09:34:54AM +0200, axelma4 wrote:> Hi ! > > On Wed, Sep 17, 2003 at 03:15:02PM +0200, Stefan G. Weichinger wrote: > > > I am using Suse Linux 8.2 here and there simply is no authconfig. It > > is not installed and I cant?t find it on the CDs. Sure, I know of that > > thing called Internet... > > This is redhat-specific :-) > > The goal is to make the ldap-users available to the system. > > This is normally done by the pam_ldap and the nss_switch-packages. > > Maybe Suse has another Tool for this - if not - you have to identify > and install these packages. > You need the package nss_ldap and pam_ldap for unix authentiction.>> look with yast for this rpm?s !Sorry - your posting is badly quoted :-)) Please improve your style :-) Best regards Marc Schoechlin -- Gruss / Best regards | LF.net GmbH | fon +49 711 90074-413 Marc Schoechlin | Ruppmannstr. 27 | fax +49 711 90074-33 ms@LF.net | D-70565 Stuttgart | http://www.lf.net
There is no need to edit in pam.d directory. 1. /etc/security/pam_unix2.conf must contain: auth: use_ldap nullok account: use_ldap password: use_ldap nullok session: none 2. /etc/nsswitch.conf: passwd: files ldap group: files ldap shadow: files ldap But read for the serious problems we had with OpenLDAP 2.1.12 and nscd my posting from yesterday. ...> > I am using the "The latest SAMBA-LDAP-PDC How-to" at > http://www.vcs.u52.k12.me.us/LDAP/The_SAMBA-LDAP_How-to.html > > Everything went ok so far, but now I don?t get further. > I am at the point "Configuring Linux" where the author tells me to > uses authconfig. > > I am using Suse Linux 8.2 here and there simply is no authconfig. It > is not installed and I cant?t find it on the CDs. Sure, I know of that > thing called Internet... > > Should I download and install that tool? > > Is Suse somehow different in that way? Just because I am wondering > about the fact that authconfig isn?t included ... > > Can I edit some file in /etc/pam.d to get the same results? > I tried to find out what to edit how but I am not sure about that and > I don?t want to screw everything up ... > > Can someone help me with explanations how to set pam_ldap up right?...