summaryrefslogtreecommitdiff
path: root/source4/torture/ldap
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-17 11:04:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:02 -0500
commita4b2f077e05469f76b8fe4a7f1e097c9e3495871 (patch)
tree85254bad775392b032d438c04f9224542ac946eb /source4/torture/ldap
parent69d643535837bc23d8f7274ce476cf803b45969b (diff)
downloadsamba-a4b2f077e05469f76b8fe4a7f1e097c9e3495871.tar.gz
samba-a4b2f077e05469f76b8fe4a7f1e097c9e3495871.tar.bz2
samba-a4b2f077e05469f76b8fe4a7f1e097c9e3495871.zip
r1855: fix compiler warning and output fromatting
metze (This used to be commit 59f3d417449f55d247604966b6e9fa2fa97c5124)
Diffstat (limited to 'source4/torture/ldap')
-rw-r--r--source4/torture/ldap/basic.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/torture/ldap/basic.c b/source4/torture/ldap/basic.c
index 0e6eb64d4c..468cacc032 100644
--- a/source4/torture/ldap/basic.c
+++ b/source4/torture/ldap/basic.c
@@ -41,6 +41,8 @@ BOOL test_bind_sasl(struct ldap_connection *conn, const char *username, const ch
NTSTATUS status;
BOOL ret = True;
+ printf("Testing sasl bind as user\n");
+
status = torture_ldap_bind_sasl(conn, username, domain, password);
if (!NT_STATUS_IS_OK(status)) {
ret = False;
@@ -53,7 +55,7 @@ BOOL test_multibind(struct ldap_connection *conn, const char *userdn, const char
{
BOOL ret = True;
- printf("\nTesting multiple binds on a single connnection as anonymous and user\n");
+ printf("Testing multiple binds on a single connnection as anonymous and user\n");
ret = test_bind_simple(conn, NULL, NULL);
if (!ret) {
@@ -80,7 +82,7 @@ BOOL torture_ldap_basic(int dummy)
const char *domain = lp_workgroup();
const char *password = lp_parm_string(-1, "torture", "password");
const char *userdn = lp_parm_string(-1, "torture", "ldap_userdn");
- const char *basedn = lp_parm_string(-1, "torture", "ldap_basedn");
+ /*const char *basedn = lp_parm_string(-1, "torture", "ldap_basedn");*/
const char *secret = lp_parm_string(-1, "torture", "ldap_secret");
char *url;