[OpenBSD-BR] OpenLDAP + nsswitch + pam.d

Giancarlo Rubio gianrubio em gmail.com
Quarta Abril 30 21:22:26 BRT 2008


o ldap.h esta no pacote do openldap

de uma olhada na plist dele aqui

@comment $OpenBSD: PLIST-main,v 1.2 2007/01/13 13:37:33 mbalmer Exp $
@pkgpath ${BASE_PKGPATH}
bin/ldapadd
bin/ldapcompare
bin/ldapdelete
bin/ldapmodify
bin/ldapmodrdn
bin/ldappasswd
bin/ldapsearch
bin/ldapwhoami
include/lber.h
include/lber_types.h
include/ldap.h



2008/4/30 eduwutzl em gmail.com <eduwutzl em gmail.com>:
> Opa Murilo...
>
> faço o seguinte
>
> #wget http://www.padl.com/download/nss_ldap.tgz
> #cp nss_ldap.tgz /usrc/src
> #cd /usr/src
> #tar -zxvf nss_ldap.tgz
>  #cd nss_ldap-260/
> # ./configure
> checking build system type... i386-unknown-openbsd4.0
> checking host system type... i386-unknown-openbsd4.0
> checking target system type... i386-unknown-openbsd4.0
> checking for a BSD-compatible install... /usr/bin/install -c
>  checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking whether make sets $(MAKE)... yes
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
>  checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
>  checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking how to run the C preprocessor... gcc -E
>  checking for a BSD-compatible install... /usr/bin/install -c
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
>  checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking lber.h usability... no
>  checking lber.h presence... no
> checking for lber.h... no
> checking ldap.h usability... no
> checking ldap.h presence... no
> checking for ldap.h... no
> configure: error: could not locate <ldap.h>
> #
>
>
>
>
> Ai para nessa parte.
> Não tenho certeza, mas me parece que está faltando alguma coisa.
> Pois no ports, não encontrei o openldap-client. Preciso instalar ele antes?
> Qual devo ultilizar, já que no ports não o encontro
>
> Fico no aguardo.
> Grato
>
>
> 2008/4/30 Murilo da Silva Ijanc <murilo em dotbsd.org>:
>
>
> > se você mostrar os erros na compilação é melhor!
> >
> >
> > 2008/4/30 eduwutzl em gmail.com <eduwutzl em gmail.com>:
> >
> > >
> > >
> > >
> > > Bom noite Lista.
> > >
> > > Gostaria de saber, se alguem já passou por implementar login local + ssh
> com base LDAP.
> > >
> > > Estou vendo pelo ports, e não consigo encontrar os pacotes
> > >
> > > nss_ldap
> > > pam_ldap
> > >
> > >
> > > Baixei no site do desenvolvedor, e mas não consigo compilar.
> > >
> > >
> > > # uname -a -m -n -p
> > > OpenBSD wtxgw.my.domain 4.0 GENERIC#1107 i386 Intel(R) Pentium(R) 4 CPU
> 1.50GHz ("GenuineIntel" 686-class)
> > >
> > >
> > > Fico no aguardo
> > >
> > > --
> > > Eduardo Wutzl
> > > Security Engineer - Network Services, Brazil
> > > +55 (11) 8468-4508 cellular
> > > eduwutzl em gmail.com
> > >
> > >
> > > Visit us on the web at
> > > www.eduardowutzl.com.br
> > > _______________________________________________
> > > OpenBSD mailing list
> > > OpenBSD em openbsd-br.org
> > > http://listas.openbsd-br.org/mailman/listinfo/openbsd
> > >
> > >
> >
> >
> >
> > --
> > ---------------------------------------------------------
> > Murilo da Silva Ijanc' (MuriloBSD)
> > SILC: silc.br.dotbsd.org Canal: dotbsd
> > E-mail: murilo em dotbsd.org
> > End.: http://murilo.dotbsd.org
> > _______________________________________________
> > OpenBSD mailing list
> > OpenBSD em openbsd-br.org
> > http://listas.openbsd-br.org/mailman/listinfo/openbsd
> >
> >
>
>
>
>
> --
> Eduardo Wutzl
> Security Engineer - Network Services, Brazil
> +55 (11) 8468-4508 cellular
> eduwutzl em gmail.com
>
>
>  Visit us on the web at
> www.eduardowutzl.com.br
> _______________________________________________
>  OpenBSD mailing list
>  OpenBSD em openbsd-br.org
>  http://listas.openbsd-br.org/mailman/listinfo/openbsd
>
>



-- 
Giancarlo Rubio


Mais detalhes sobre a lista de discussão OpenBSD