]> git.sur5r.net Git - openldap/blobdiff - contrib/gtk-tool/README
Add AC_CANONICAL_SYSTEM to generate $target
[openldap] / contrib / gtk-tool / README
index fd9a625cb3b5ae26f789e6f7e227300dfc34a3b5..51e197787120294f577da38de732560edeeaa362 100644 (file)
@@ -1,29 +1,34 @@
-README for gtk-tool v0.6
+README for gtk-tool v0.6a
 
 This package has been tested and run with the latest Gtk+/Gtk--
-OpenLDAP 1.1-devel. This thing doesn't run as it should, please
+OpenLDAP 2.0-devel. It should also compile (i.e. it is backward-compatible) with
+the U-MICH (old) API but it has not been tested (read compiled) - however the siplicity of the "problem" and a few ifdefs lead me to believe everything should
+be allright with gtk-tool now. This thing doesn't run as it should, please
 read TODO!
 
 Just type 'make' to compile and if you have all the necessary stuff it'll do so.
 You do need the latest version of Gtk+ and Gtk-- (which may be tricky to build).
+You can also edit the Makefile and under "OPTS=-g" add " -DDEBUG" (line should
+read "OPTS=-g -DDEBUG") to get a trace of what the gtk-tool is doing (getting
+entries, traversing trees etc...)
 After that, hopefully all goes well, you start the thing by doing:
-./main
-
-It will default to base of o=University of Michigan, c=US", localhost, and 
-LDAP_PORT (389). This is because OpenLDAP comes with the UMICH ldif and the 
-assumption is that many of you have actually created a test db with that data 
-(to see that people don't lie when they say OpenLDAP actually works or 
-something). If you want to change any of these do ./main -h and it will give 
-you a list of supported parameters. 
-
-In short this is what you can do:
-
-./main -h ldap-server.somewhere.net -p 28345 -b "o=OpenLDAP Foundation, c=US"
-
-I really couldn't think of anything else to put here (at the moment
-that is). But please feel free to add whatever else you consider
-neccessary to understanding how this thing works. Enjoy, and I hope
-this can be useful to you in some miniscule way.
+./main -s localhost
+
+It no longer has a default base, instead it reads cn=config off your slapd
+and accordignly inserts all available databases under "localhost". If you are
+not running slapd on your local machine, then supply it with a "-s hostname"
+i.e.:
+       ./main -s server02.nowhere.net
+
+or if you feel like having an adventure try multiple servers
+i.e.:
+       ./main -s server02.nowhere.net -s server03.nowhere.com:322
+
+etc...
+It does not accept -b switch as it no longer needs it to aquire databases.
+But please feel free to add whatever else you consider neccessary to 
+understanding how this thing works. Enjoy, and I hope this can be useful to 
+you in some miniscule way.
 
 All emails to -devel list, and plase make sure you put "GTK-TOOL"
 in the subject line, so other people who are not interested don't