You are not logged in.

#1 2003-12-26 23:08:28

Comete
Member
From: France
Registered: 2003-08-03
Posts: 46

pam_ldap and nss_ldap

hello !

i made and put two packages in incoming: pam_ldap and nss_ldap

LDAP authentication is now possible with Arch !



Comete smile

# Contributor: Comete <la_comete@tiscali.fr>
pkgname=pam_ldap
pkgver=167
pkgrel=1
pkgdesc="The pam_ldap module provides the means for Solaris and Linux workstations to authenticate against LDAP directories, and to change
 their passwords in the directory."
url="http://www.padl.com/OSS/pam_ldap.html"
depends=('pam')
makedepends=('pam')
conflicts=()
replaces=()
backup=('/etc/pam_ldap.conf')
install=
source=(http://www.padl.com/download/$pkgname.tgz)
md5sums=()

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure 
         --libdir=/lib 
         --with-ldap-conf-file=/etc/pam_ldap.conf
  make || return 1
  make prefix=$startdir/pkg/usr install
}
md5sums=('05bc1ae27087583e20d948659c6b0d61')
# Contributor: Comete <la_comete@tiscali.fr>
pkgname=nss_ldap
pkgver=212
pkgrel=1
pkgdesc="The nss_ldap module provides the means for Linux and Solaris workstations to resolve the entities defined in RFC 2307 from LDAP d
irectories."
url="http://www.padl.com/OSS/nss_ldap.html"
depends=('pam')
makedepends=('pam')
conflicts=()
replaces=()
backup=('/etc/libnss-ldap.conf')
install=
source=(http://www.padl.com/download/$pkgname.tgz)
md5sums=()

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure 
       --with-ldap-conf-file=/etc/libnss-ldap.conf 
       --with-ldap=openldap 
       --libdir=/lib 
       --enable-schema-mapping 
       --enable-rfc2307bis 
  make || return 1
  make prefix=$startdir/pkg/usr install
}
md5sums=('707869f5bde25145d29f84f7ff591d9f')

Offline

#2 2003-12-27 09:18:05

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: pam_ldap and nss_ldap

Also make sure to start nscd on bootup. Otherwise your LDAP server will get many queries. A simple ls -la in your homedirectory will generate a query for each file in it.

Also, if you don't run nscd, pacman will segfault on synching packagelists, because it's statical linked to NSS.

Offline

Board footer

Powered by FluxBB