[OpenBSD-BR] OpenLDAP + nsswitch + pam.d
Murilo da Silva Ijanc
murilo em dotbsd.org
Quarta Abril 30 20:59:46 BRT 2008
Olá Eduardo,
Você instalo o openldap-servidor? Tente dar uma olhada nesse ports:
login_ldap esta no sysutils eu acho que tem o que você quer nele.. quando
você instala o ldap do ports por default ele instala o client para conferir:
ls /var/db/pkg/openldap* se for isso, tem que setar no ports para instalar a
versão servidor do openldap. Tem que também já escolher qual servidor de
dados você instalará.
Atenciosamente MuriloBSD
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
>
>
--
---------------------------------------------------------
Murilo da Silva Ijanc' (MuriloBSD)
SILC: silc.br.dotbsd.org Canal: dotbsd
E-mail: murilo em dotbsd.org
End.: http://murilo.dotbsd.org
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.openbsd-br.org/pipermail/openbsd/attachments/20080430/7de9f668/attachment-0001.html
Mais detalhes sobre a lista de discussão OpenBSD