Antes de todo, comentar que tras varios intentos por utilizar el demonio LDAP de Isode, no consigo ver las imágenes (los pasos seguidos con la pasarela empleando LDAP de Isode los tienes aquí), por eso empleo la distribución LDAP disponible en RedIRIS. Tras esta aclaración, una vez compilada la librería ldap-3.3, pasamos a la pasarela:
# cd /opt
# tar xvf ruta/web500gw-2.1b3.tar
# chown -R dsa web500gw-2.1b3
$ cd /opt/web500gw-2.1b3/etc
$ gzip -dc web500gw-2.1b3-cfg.tar.gz | tar xf -
$ cp web500gw.attr web500gw.attr.fr
cambiado
INSTDIR = /usr/local/etc
por
INSTDIR = /opt/web500gw
cambiado
MANDIR = /usr/local/man/man8
por
MANDIR = /opt/web500gw/man/man8/web500gw.8
cambiado
SUFFIX = "" de es fr
por
SUFFIX = es "" de fr
las líneas siguientes
## If you use OpenLDAP 1.0 or U-Mich LDAP 3.3 package (recommended) # If the LDAP include files and libraries installed in standard places # (/usr/lib, /usr/include) use this: LDAPINCL = LDAPLIBS = -lldap -llber # set LDAPVERSION (32 for ldap-3.2, 33 for 3.3 etc) LDAPVERSION = 33 VERSION = 3.3 # To use LDAP include files and libraries from the LDAP source directory # use this: ## Tailor this: directory of openldap-1.0 or ldap-3.3 distribution # LDAPDIR = ../ldap-3.3 # LDAPINCL = -I$(LDAPDIR)/include # LDAPLIBS = -L$(LDAPDIR)/libraries -lldap -llber # LDAPVERSION = `sed -e 's/\.//' $(LDAPDIR)/build/version` # VERSION = `cat $(LDAPDIR)/build/version` # T.61 <-> ISO-8859-1 translation: This is built in from LDAP 3.2. # If you didn't define this translation there comment out the following line: STR_TRANSLATION = -DSTR_TRANSLATION # If you defined LDAP_DEBUG there and want to enable LDAP debugging # uncomment the following line: LDAP_DEBUG = -DLDAP_DEBUGse cambian por
## If you use OpenLDAP 1.0 or U-Mich LDAP 3.3 package (recommended) # If the LDAP include files and libraries installed in standard places # (/usr/lib, /usr/include) use this: # LDAPINCL = # LDAPLIBS = -lldap -llber # set LDAPVERSION (32 for ldap-3.2, 33 for 3.3 etc) LDAPVERSION = 33 VERSION = 3.3 # To use LDAP include files and libraries from the LDAP source directory # use this: ## Tailor this: directory of openldap-1.0 or ldap-3.3 distribution LDAPDIR = ../ldap-3.3 LDAPINCL = -I$(LDAPDIR)/include LDAPLIBS = -L$(LDAPDIR)/libraries -lldap -llber LDAPVERSION = `sed -e 's/\.//' $(LDAPDIR)/build/version` VERSION = `cat $(LDAPDIR)/build/version` # T.61 <-> ISO-8859-1 translation: This is built in from LDAP 3.2. # If you didn't define this translation there comment out the following line: STR_TRANSLATION = -DSTR_TRANSLATION # If you defined LDAP_DEBUG there and want to enable LDAP debugging # uncomment the following line: # LDAP_DEBUG = -DLDAP_DEBUGcomo viene para Linux, debemos comentar la línea referente a Linux y descomentar las dos relacionadas son Solaris 2, por lo que tendremos
# Linux # PLATFORMCFLAGS= -Dlinux -DSYSV # Solaris 2 PLATFORMCFLAGS= -Dsunos5 PLATFORMLDFLAGS= -lsocket -lnsl
$ make
# cd /opt/web500gw-2.1b3
# mkdir /opt/web500gw
# mkdir /opt/web500gw/man
# mkdir /opt/web500gw/man/man8
# make -n install
# make install
# mkdir /opt/web500gw/util
# cp -p /opt/web500gw-2.1b3/util/* /opt/web500gw/util
# /opt/web500gw/web500gw -d 1 -t /c=ES
# ln -s /etc/init.d/web500gw /etc/rc2.d/S83web500gw
# Para la pasarela web/ldap local3.info /opt/Isode/tmp/web500gw.log
Servicio de Informática de la Universidad de Murcia - http://www.um.es/si
Última actualización: 22/06/99 |