some examples
This commit is contained in:
parent
4ab9274132
commit
5ceffe5e91
|
@ -1,5 +1,38 @@
|
|||
-*- outline -*-
|
||||
|
||||
* test environment
|
||||
|
||||
** Building OpenLDAP 2.2.4 on FreeBSD
|
||||
|
||||
setenv LIBS "-ldb-4.2"
|
||||
|
||||
setenv CPPFLAGS "-I/afs/wsi/i386_fbsd46/berkeley-db-4.2.52/include -I/afs/wsi/i386_fbsd46/include"
|
||||
|
||||
./configure \
|
||||
--prefix=/afs/informatik.uni-tuebingen.de/i386_fbsd46/openldap-2.2.4 \
|
||||
--with-cyrus-sasl --with-threads --enable-dynamic \
|
||||
--with-tls=openssl --enable-bdb --enable-shell
|
||||
|
||||
** Run scsh ldap remote 1
|
||||
M-x run-scheme RET
|
||||
ssh galibier cd /afs/wsi/home/knauel/cool-stuff/scsh-ldap && /afs/wsi/pu/src/knauel/i386_fbsd46/scsh-r6/bin/scsh -lm ffi-tools/ffi-tools-package.scm -lm ffi-tools/ffi-tools-rts.scm -lm /afs/wsi/home/knauel/cool-stuff/sunterlib/sunterlib.scm -lm ffi-tools/ffi-tools-package.scm -lm ffi-tools/ffi-tools-rts.scm
|
||||
|
||||
** Run scsh ldap remote 2
|
||||
M-x run-scheme RET
|
||||
ssh galibier cd /afs/wsi/home/knauel/cool-stuff/scsh-ldap && gdb /afs/wsi/pu/src/knauel/i386_fbsd46/scsh-r6/bin/scsh
|
||||
|
||||
** Run scsh ldap remote 3
|
||||
M-x run-scheme RET
|
||||
ssh galibier cd /afs/wsi/home/knauel/cool-stuff/scsh-ldap && gdb /afs/wsi/pu/src/knauel/i386_fbsd46/scsh-r6/lib/scsh/scshvm
|
||||
|
||||
set args -i /afs/wsi/pu/src/knauel/i386_fbsd46/scsh-r6/lib/scsh/scsh.image -lm /afs/wsi/home/knauel/cool-stuff/sunterlib/sunterlib.scm -le /afs/wsi/pu/src/knauel/scsh-modules/ldap/load.scm
|
||||
|
||||
set args -lm /afs/wsi/home/knauel/cool-stuff/sunterlib/sunterlib.scm -lm /afs/wsi/home/knauel/cool-stuff/scsh-ldap/ffi-tools/ffi-tools-rts.scm -lm /afs/wsi/home/knauel/cool-stuff/scsh-ldap/scheme/interfaces.scm -lm /afs/wsi/home/knauel/cool-stuff/scsh-ldap/scheme/packages.scm -o ldap-low -o ldap-types
|
||||
|
||||
ssh galibier /afs/wsi/home/knauel/cool-stuff/scsh-ldap/scsh-ldap -lm /afs/wsi/home/knauel/cool-stuff/sunterlib/sunterlib.scm -lm /afs/wsi/home/knauel/cool-stuff/scsh-ldap/ffi-tools/ffi-tools-rts.scm -lm /afs/wsi/home/knauel/cool-stuff/scsh-ldap/scheme/interfaces.scm -lm /afs/wsi/home/knauel/cool-stuff/scsh-ldap/scheme/packages.scm
|
||||
|
||||
|
||||
|
||||
* LDAP server
|
||||
|
||||
** Starting slapd
|
||||
|
@ -11,4 +44,4 @@
|
|||
cn=Manager,dc=informatik,dc=uni-tuebingen,dc=de -f file.ldif
|
||||
|
||||
** Querying an LDAP server
|
||||
ldapsearch -b "dc=informatik,dc=uni-tuebingen,dc=de"
|
||||
ldapsearch -x -b "dc=informatik,dc=uni-tuebingen,dc=de" "(objectclass=*)"
|
||||
|
|
Loading…
Reference in New Issue