Howard Chu wrote:
This change requires an update to the tests/defines.sh, since slapadd/slapindex are invoked using slapd -T (to accomodate Windows, where symlinks are not viable).
I totally missed that; I had a further improvement in mind: in case one provides only a bit of the tool name (e.g. "a" for "add") and in case of no match, start again trying a strncmp to the length of the bit; if we leave the slapauth (and any new entries) at the end of the list, the tools, in order of introduction in the suite, would be intercepted appropriately preserving backward compatibility.
I'll try right now.
Ando.
-- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support
-----Original Message----- From: owner-openldap-commit@OpenLDAP.org [mailto:owner-openldap-commit@OpenLDAP.org]On Behalf Of ando@OpenLDAP.org Sent: Friday, April 16, 2004 9:54 AM To: OpenLDAP Commit Subject: commit: ldap/servers/slapd main.c
Update of /repo/OpenLDAP/pkg/ldap/servers/slapd
Modified Files: main.c 1.174 -> 1.175
Log Message: improve tool mode selection by slapd switch
CVS Web URLs: http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/ http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/main.c
Changes are generally available on cvs.openldap.org (and CVSweb) within 30 minutes of being committed.
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497