https://bugzilla.novell.com/show_bug.cgi?id=660492 https://bugzilla.novell.com/show_bug.cgi?id=660492#c0 Summary: error when adding a new ldap-database and restarting the ldap-server Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: griesacc1@gmx.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.53 Safari/534.3 After adding a new ldap-database definition to: /etc/openldap/slapd/cn=config/ and restarting the server via. #>/etc/init.d/ldap restart I received the following error: find: paths must precede expression: olcDatabase={0}config.ldif Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression] Reproducible: Always Steps to Reproduce: 1. create a new database folder like: /var/lib/ldap 2. create a new database definition in ldif 3. restart the ldap server Actual Results: ldap server doesnt start throwing an error message Expected Results: ldap server start having a new database. The bug is located in /etc/init.d/ldap on line 112: ldapdir=$(grep -i olcdbdirectory `find $1 -name olcDatabase*` | awk '{print $2}') it can be fixed using quotationmarks: ldapdir=$(grep -i olcdbdirectory `find $1 -name "olcDatabase*"` | awk '{print $2}') -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.