From 93083e24cc1ef218676f3e8d0d48840008c1a1ca Mon Sep 17 00:00:00 2001 From: helge Date: Mon, 30 Jan 2006 16:36:11 +0000 Subject: [PATCH] added support for LDAPPort git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1207 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- sope-ldap/samples/ChangeLog | 4 ++++ sope-ldap/samples/ldapchkpwd.m | 2 +- sope-ldap/samples/ldapls.m | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sope-ldap/samples/ChangeLog b/sope-ldap/samples/ChangeLog index 34b5d95d..94ea488c 100644 --- a/sope-ldap/samples/ChangeLog +++ b/sope-ldap/samples/ChangeLog @@ -1,3 +1,7 @@ +2006-01-30 Helge Hess + + * ldapchkpwd.m, ldapls.m: added support for LDAPPort default + 2005-08-16 Helge Hess * GNUmakefile, GNUmakefile.preamble: added OSX framework compilation diff --git a/sope-ldap/samples/ldapchkpwd.m b/sope-ldap/samples/ldapchkpwd.m index 41304704..1363cfd0 100644 --- a/sope-ldap/samples/ldapchkpwd.m +++ b/sope-ldap/samples/ldapchkpwd.m @@ -47,7 +47,7 @@ int main(int argc, char **argv, char **env) { ofLogin:[args objectAtIndex:1] atBaseDN:[ud stringForKey:@"LDAPRootDN"] onHost:[ud stringForKey:@"LDAPHost"] - port:0]; + port:[ud integerForKey:@"LDAPPort"]]; if (ok) printf("authenticated successfully.\n"); else diff --git a/sope-ldap/samples/ldapls.m b/sope-ldap/samples/ldapls.m index e2c446c3..b505d3d6 100644 --- a/sope-ldap/samples/ldapls.m +++ b/sope-ldap/samples/ldapls.m @@ -48,7 +48,7 @@ int main(int argc, char **argv, char **env) { fm = [[NGLdapFileManager alloc] initWithHostName:[ud stringForKey:@"LDAPHost"] - port:0 + port:[ud integerForKey:@"LDAPPort"] bindDN:[ud stringForKey:@"LDAPBindDN"] credentials:[ud stringForKey:@"LDAPPassword"] rootDN:[ud stringForKey:@"LDAPRootDN"]]; -- 2.39.5