]> git.sur5r.net Git - openldap/commitdiff
objectclass=* -> (objectclass=*)
authorKurt Zeilenga <kurt@openldap.org>
Wed, 12 Apr 2000 08:38:01 +0000 (08:38 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 12 Apr 2000 08:38:01 +0000 (08:38 +0000)
contrib/ldaptcl/neoXldap.c
contrib/saucer/main.c

index 45e0f09330f75e5a1465525b2e8c794ee078a8cc..8e0fe6f1ad77c9820fc1f34203bf20cd839a2b53 100644 (file)
@@ -755,7 +755,7 @@ NeoX_LdapTargetObjCmd (clientData, interp, objc, objv)
                                           "filter",
                                           0);
        if (filterPatternString == (char *)NULL) {
-           filterPatternString = "objectclass=*";
+           filterPatternString = "(objectclass=*)";
        }
 
        /* Fetch scope setting from control array.
index a49a3bf896a84cdb3b7f6132807550603e26f586..f736a70a21e413ba224a7fd558cd1ddc7db3ef02 100644 (file)
@@ -67,7 +67,7 @@ extern int    optind;
 int                    option;
 int                    portnum = LDAP_PORT;
 char           *progname;
-char           true_filter[] = "objectClass=*";        /* Always succeeds */
+char           true_filter[] = "(objectClass=*)";      /* Always succeeds */
 char           *username;
 
 int                    cmd_help(char **cmdargv, int cmdargc);