]> err.no Git - sope/commitdiff
added support for LDAPPort
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Mon, 30 Jan 2006 16:36:11 +0000 (16:36 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Mon, 30 Jan 2006 16:36:11 +0000 (16:36 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1207 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-ldap/samples/ChangeLog
sope-ldap/samples/ldapchkpwd.m
sope-ldap/samples/ldapls.m

index 34b5d95d134dc1cddc1aeadcf17225da5958d3e9..94ea488cdc5bd366c1c9b564bbb5610827cb04f1 100644 (file)
@@ -1,3 +1,7 @@
+2006-01-30  Helge Hess  <helge.hess@opengroupware.org>
+
+       * ldapchkpwd.m, ldapls.m: added support for LDAPPort default
+
 2005-08-16  Helge Hess  <helge.hess@opengroupware.org>
 
        * GNUmakefile, GNUmakefile.preamble: added OSX framework compilation
index 413047046373268d1bb535a4dc5176cad44d4551..1363cfd07af1864dfe5f43cf2a78446af1735df0 100644 (file)
@@ -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
index e2c446c34ac3606cf92197589913d30ea8018afc..b505d3d61fabf770639207fac2ba96a0616629eb 100644 (file)
@@ -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"]];