1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/tests/ulib/ldap.test
2015-01-23 17:24:36 +01:00

21 lines
515 B
Bash
Executable File

#!/bin/sh
. ../.function
## ldap.test -- Test ldap feature
start_msg ldap
#UTRACE="0 5M 0"
#UOBJDUMP="-1 100k 10"
#USIMERR="error.sim"
export UTRACE UOBJDUMP USIMERR
# ldapsearch -LLL -x -h billsjail.unirel.intranet -D 'dc=unirel,dc=it' -s sub "(objectclass=*)"
# ldapsearch -LLL -x -h www.unirel.com -w caciucco -D 'cn=admin,o=mail' -b 'o=mail'
start_prg ldap "ldap://www.unirel.com:389/cn=admin,o=mail??sub?o=mail" "cn=admin,o=mail" caciucco "o=mail"
# Test against expected output
test_output_diff ldap