gqclient-commit Mailing List for GQ LDAP client
Status: Beta
Brought to you by:
sur5r
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
(14) |
Jul
(38) |
Aug
(5) |
Sep
(29) |
Oct
(30) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(30) |
Oct
(217) |
Nov
(24) |
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
(53) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <he...@us...> - 2006-04-27 15:41:41
|
Update of /cvsroot/gqclient/gq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7867 Modified Files: ChangeLog NEWS configure.in Log Message: 2006-04-27 Sven Herzberg <he...@gn...> * NEWS, * configure.in: release 1.0.0 Index: ChangeLog =================================================================== RCS file: /cvsroot/gqclient/gq/ChangeLog,v retrieving revision 1.85 retrieving revision 1.86 diff -C2 -d -r1.85 -r1.86 *** ChangeLog 27 Apr 2006 15:25:26 -0000 1.85 --- ChangeLog 27 Apr 2006 15:41:36 -0000 1.86 *************** *** 1,2 **** --- 1,9 ---- + # 1.0.0 + + 2006-04-27 Sven Herzberg <he...@gn...> + + * NEWS, + * configure.in: release 1.0.0 + 2006-04-27 Sven Herzberg <he...@gn...> Index: NEWS =================================================================== RCS file: /cvsroot/gqclient/gq/NEWS,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** NEWS 9 Apr 2006 21:42:06 -0000 1.5 --- NEWS 27 Apr 2006 15:41:36 -0000 1.6 *************** *** 1,2 **** --- 1,9 ---- + GQ 1.0.0 + ======== + + * if there are no supplied base DNs, add the configured one to the tree + * sort DN nodes + * fix the about dialog + GQ 1.0 RC 1 =========== Index: configure.in =================================================================== RCS file: /cvsroot/gqclient/gq/configure.in,v retrieving revision 1.66 retrieving revision 1.67 diff -C2 -d -r1.66 -r1.67 *** configure.in 9 Apr 2006 21:42:06 -0000 1.66 --- configure.in 27 Apr 2006 15:41:36 -0000 1.67 *************** *** 30,34 **** AC_INIT(src/gq.c) ! AM_INIT_AUTOMAKE(gq, 1.0rc1) LANGPACK_VERSION=1 --- 30,34 ---- AC_INIT(src/gq.c) ! AM_INIT_AUTOMAKE(gq, 1.0.0) LANGPACK_VERSION=1 |
From: <he...@us...> - 2006-04-27 15:25:35
|
Update of /cvsroot/gqclient/gq/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25389/src Modified Files: util.c Log Message: 2006-04-27 Sven Herzberg <he...@gn...> * src/util.c: add the configured base dn if it's not in the list of supplied base dn's (but only in that case) Index: util.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/util.c,v retrieving revision 1.95 retrieving revision 1.96 diff -C2 -d -r1.95 -r1.96 *** util.c 18 Apr 2006 16:00:51 -0000 1.95 --- util.c 27 Apr 2006 15:25:26 -0000 1.96 *************** *** 1881,1888 **** len--; p[i + len] = '\0'; ! suffixes = g_list_append(suffixes, g_strdup(p + i)); ! /* add_suffix(entry, ctreeroot, node, p + i); */ num_suffixes++; } --- 1881,1888 ---- len--; p[i + len] = '\0'; ! suffixes = g_list_append(suffixes, g_strdup(p + i)); ! /* add_suffix(entry, ctreeroot, node, p + i); */ num_suffixes++; } *************** *** 1898,1915 **** } ! if (num_suffixes == 0) { ! ! /* last resort: add the configured base DN and hope something comes out */ ! if(strlen(server->basedn)) { ! suffixes = g_list_append(suffixes, ! g_strdup(server->basedn)); ! /* add_suffix(entry, ctreeroot, node, entry->server->basedn); */ ! num_suffixes++; ! } } ! set_normalcursor(); close_connection(server, FALSE); ! statusbar_msg(ngettext("One suffix found", "%d suffixes found", num_suffixes), --- 1898,1911 ---- } ! ! /* add the configured base DN if it's a different one */ ! if(strlen(server->basedn) && (g_list_find_custom(suffixes, server->basedn, (GCompareFunc) strcmp) == NULL)) { ! suffixes = g_list_append(suffixes, g_strdup(server->basedn)); ! num_suffixes++; } ! set_normalcursor(); close_connection(server, FALSE); ! statusbar_msg(ngettext("One suffix found", "%d suffixes found", num_suffixes), |
From: <he...@us...> - 2006-04-27 15:25:35
|
Update of /cvsroot/gqclient/gq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25389 Modified Files: ChangeLog Log Message: 2006-04-27 Sven Herzberg <he...@gn...> * src/util.c: add the configured base dn if it's not in the list of supplied base dn's (but only in that case) Index: ChangeLog =================================================================== RCS file: /cvsroot/gqclient/gq/ChangeLog,v retrieving revision 1.84 retrieving revision 1.85 diff -C2 -d -r1.84 -r1.85 *** ChangeLog 18 Apr 2006 16:00:51 -0000 1.84 --- ChangeLog 27 Apr 2006 15:25:26 -0000 1.85 *************** *** 1,2 **** --- 1,7 ---- + 2006-04-27 Sven Herzberg <he...@gn...> + + * src/util.c: add the configured base dn if it's not in the list + of supplied base dn's (but only in that case) + 2006-04-18 Sven Herzberg <he...@gn...> |
From: <he...@us...> - 2006-04-18 16:01:02
|
Update of /cvsroot/gqclient/gq/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2605/src Modified Files: util.c Log Message: 2006-04-18 Sven Herzberg <he...@gn...> * src/util.c: fix a compile warning introduced by the sasl patch Index: util.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/util.c,v retrieving revision 1.94 retrieving revision 1.95 diff -C2 -d -r1.94 -r1.95 *** util.c 9 Apr 2006 21:01:23 -0000 1.94 --- util.c 18 Apr 2006 16:00:51 -0000 1.95 *************** *** 99,104 **** #endif ! int do_ldap_auth(LDAP *ld, struct ldapserver *server, int open_context) ! { char *binddn = NULL; char *bindpw = NULL; --- 99,104 ---- #endif ! static int ! do_ldap_auth(LDAP *ld, struct ldapserver *server, int open_context) { char *binddn = NULL; char *bindpw = NULL; |
From: <he...@us...> - 2006-04-18 16:00:58
|
Update of /cvsroot/gqclient/gq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2605 Modified Files: ChangeLog Log Message: 2006-04-18 Sven Herzberg <he...@gn...> * src/util.c: fix a compile warning introduced by the sasl patch Index: ChangeLog =================================================================== RCS file: /cvsroot/gqclient/gq/ChangeLog,v retrieving revision 1.83 retrieving revision 1.84 diff -C2 -d -r1.83 -r1.84 *** ChangeLog 12 Apr 2006 14:50:48 -0000 1.83 --- ChangeLog 18 Apr 2006 16:00:51 -0000 1.84 *************** *** 1,2 **** --- 1,6 ---- + 2006-04-18 Sven Herzberg <he...@gn...> + + * src/util.c: fix a compile warning introduced by the sasl patch + 2006-04-12 Sven Herzberg <he...@gn...> |
From: <he...@us...> - 2006-04-12 14:51:07
|
Update of /cvsroot/gqclient/gq/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21324/src Modified Files: dn-browse.c Log Message: 2006-04-12 Sven Herzberg <he...@gn...> * src/dn-browse.c: sort DN nodes (fixes request 1277341) Index: dn-browse.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/dn-browse.c,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** dn-browse.c 27 Apr 2005 04:09:56 -0000 1.12 --- dn-browse.c 12 Apr 2006 14:50:48 -0000 1.13 *************** *** 479,482 **** --- 479,487 ---- ldap_msgfree(res); } + /* tree sorting */ + gtk_clist_set_sort_type((GtkCList *)ctree,GTK_SORT_ASCENDING); + gtk_clist_set_sort_column((GtkCList *)ctree,0); + gtk_clist_set_compare_func((GtkCList *)ctree,(GtkCListCompareFunc)NULL); + gtk_ctree_sort_node(ctree,node); entry->leaf = (num_children == 0); |
From: <he...@us...> - 2006-04-12 14:51:07
|
Update of /cvsroot/gqclient/gq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21324 Modified Files: ChangeLog Log Message: 2006-04-12 Sven Herzberg <he...@gn...> * src/dn-browse.c: sort DN nodes (fixes request 1277341) Index: ChangeLog =================================================================== RCS file: /cvsroot/gqclient/gq/ChangeLog,v retrieving revision 1.82 retrieving revision 1.83 diff -C2 -d -r1.82 -r1.83 *** ChangeLog 11 Apr 2006 11:34:42 -0000 1.82 --- ChangeLog 12 Apr 2006 14:50:48 -0000 1.83 *************** *** 1,2 **** --- 1,6 ---- + 2006-04-12 Sven Herzberg <he...@gn...> + + * src/dn-browse.c: sort DN nodes (fixes request 1277341) + 2006-04-11 Sven Herzberg <he...@gn...> |
From: <he...@us...> - 2006-04-11 11:34:56
|
Update of /cvsroot/gqclient/gq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14336 Modified Files: ChangeLog Makefile.am Log Message: 2006-04-11 Sven Herzberg <he...@gn...> * Makefile.am: include the intl directory to the distfiles * src/mainwin.c: fix the about dialog, error pointed out by Gergely Tamas Index: ChangeLog =================================================================== RCS file: /cvsroot/gqclient/gq/ChangeLog,v retrieving revision 1.81 retrieving revision 1.82 diff -C2 -d -r1.81 -r1.82 *** ChangeLog 9 Apr 2006 21:42:06 -0000 1.81 --- ChangeLog 11 Apr 2006 11:34:42 -0000 1.82 *************** *** 1,2 **** --- 1,8 ---- + 2006-04-11 Sven Herzberg <he...@gn...> + + * Makefile.am: include the intl directory to the distfiles + * src/mainwin.c: fix the about dialog, error pointed out by + Gergely Tamas + # 1.0 RC 1 Index: Makefile.am =================================================================== RCS file: /cvsroot/gqclient/gq/Makefile.am,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** Makefile.am 7 Apr 2006 20:33:36 -0000 1.14 --- Makefile.am 11 Apr 2006 11:34:42 -0000 1.15 *************** *** 3,7 **** SUBDIRS = m4 intl src icons po ! EXTRA_DIST = config.rpath mkinstalldirs gq.spec.in README.TLS README.NLS README.langpack RELNOTES dist-hook: gq.spec --- 3,7 ---- SUBDIRS = m4 intl src icons po ! EXTRA_DIST = config.rpath mkinstalldirs gq.spec.in README.TLS README.NLS README.langpack RELNOTES intl dist-hook: gq.spec |
From: <he...@us...> - 2006-04-11 11:34:56
|
Update of /cvsroot/gqclient/gq/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14336/src Modified Files: mainwin.c Log Message: 2006-04-11 Sven Herzberg <he...@gn...> * Makefile.am: include the intl directory to the distfiles * src/mainwin.c: fix the about dialog, error pointed out by Gergely Tamas Index: mainwin.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/mainwin.c,v retrieving revision 1.57 retrieving revision 1.58 diff -C2 -d -r1.57 -r1.58 *** mainwin.c 7 Apr 2006 21:37:09 -0000 1.57 --- mainwin.c 11 Apr 2006 11:34:42 -0000 1.58 *************** *** 1086,1093 **** about_text = g_string_sized_new(512); ! g_string_sprintf(about_text, "GQ %s\n\n\n%s\n\n%s\n%s\n%s\n\n%s\n\n%s\n\n" ! "GLib version %d.%d.%d\n", ! "GTK version %d.%d.%d\n" VERSION, _("The gentleman's LDAP client"), _("Copyright (C) 1998-2003 Bert Vermeulen <be...@bi...>"), --- 1086,1093 ---- about_text = g_string_sized_new(512); ! g_string_sprintf(about_text, "GQ %s\n\n\n%s\n\n%s\n%s\n%s\n\n%s\n\n%s\n\n" ! "GLib version %d.%d.%d\n" ! "GTK version %d.%d.%d\n", VERSION, _("The gentleman's LDAP client"), _("Copyright (C) 1998-2003 Bert Vermeulen <be...@bi...>"), |
From: <he...@us...> - 2006-04-09 21:42:14
|
Update of /cvsroot/gqclient/gq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19010 Modified Files: ChangeLog NEWS configure.in Log Message: # 1.0 RC 1 2006-04-09 Sven Herzberg <he...@gn...> * NEWS, * configure.in: release 1.0 RC 1 Index: ChangeLog =================================================================== RCS file: /cvsroot/gqclient/gq/ChangeLog,v retrieving revision 1.80 retrieving revision 1.81 diff -C2 -d -r1.80 -r1.81 *** ChangeLog 9 Apr 2006 21:01:23 -0000 1.80 --- ChangeLog 9 Apr 2006 21:42:06 -0000 1.81 *************** *** 1,2 **** --- 1,9 ---- + # 1.0 RC 1 + + 2006-04-09 Sven Herzberg <he...@gn...> + + * NEWS, + * configure.in: release 1.0 RC 1 + 2006-04-09 Sven Herzberg <he...@gn...> Index: NEWS =================================================================== RCS file: /cvsroot/gqclient/gq/NEWS,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** NEWS 5 Apr 2006 14:31:03 -0000 1.4 --- NEWS 9 Apr 2006 21:42:06 -0000 1.5 *************** *** 1,2 **** --- 1,11 ---- + GQ 1.0 RC 1 + =========== + + * fix the object class browser to open all attributes on double-click + * made about text configurable + * build correctly with OpenLDAP 2.1 and 2.2 + * SASL authentication fixed + * general code improvements (warnings, for loops, etc.) + GQ 1.0 Beta 2 ============= Index: configure.in =================================================================== RCS file: /cvsroot/gqclient/gq/configure.in,v retrieving revision 1.65 retrieving revision 1.66 diff -C2 -d -r1.65 -r1.66 *** configure.in 9 Apr 2006 20:34:32 -0000 1.65 --- configure.in 9 Apr 2006 21:42:06 -0000 1.66 *************** *** 30,34 **** AC_INIT(src/gq.c) ! AM_INIT_AUTOMAKE(gq, 1.0beta2) LANGPACK_VERSION=1 --- 30,34 ---- AC_INIT(src/gq.c) ! AM_INIT_AUTOMAKE(gq, 1.0rc1) LANGPACK_VERSION=1 |
From: <he...@us...> - 2006-04-09 21:01:34
|
Update of /cvsroot/gqclient/gq/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19871/src Modified Files: util.c Log Message: 2006-04-09 Sven Herzberg <he...@gn...> * src/util.c: fix the code for !SASL and !KERBEROS Index: util.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/util.c,v retrieving revision 1.93 retrieving revision 1.94 diff -C2 -d -r1.93 -r1.94 *** util.c 9 Apr 2006 20:48:41 -0000 1.93 --- util.c 9 Apr 2006 21:01:23 -0000 1.94 *************** *** 136,140 **** statusbar_msg_clear(); /* XXX - should merge kerberos into sasl (gssapi) */ ! rc = SASL_FAIL; #endif break; --- 136,140 ---- statusbar_msg_clear(); /* XXX - should merge kerberos into sasl (gssapi) */ ! rc = LDAP_AUTH_METHOD_NOT_SUPPORTED; #endif break; *************** *** 151,155 **** server->name); statusbar_msg_clear(); ! rc = SASL_FAIL; #endif break; --- 151,155 ---- server->name); statusbar_msg_clear(); ! rc = LDAP_AUTH_METHOD_NOT_SUPPORTED; #endif break; |
From: <he...@us...> - 2006-04-09 21:01:34
|
Update of /cvsroot/gqclient/gq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19871 Modified Files: ChangeLog Log Message: 2006-04-09 Sven Herzberg <he...@gn...> * src/util.c: fix the code for !SASL and !KERBEROS Index: ChangeLog =================================================================== RCS file: /cvsroot/gqclient/gq/ChangeLog,v retrieving revision 1.79 retrieving revision 1.80 diff -C2 -d -r1.79 -r1.80 *** ChangeLog 9 Apr 2006 20:48:41 -0000 1.79 --- ChangeLog 9 Apr 2006 21:01:23 -0000 1.80 *************** *** 1,4 **** --- 1,8 ---- 2006-04-09 Sven Herzberg <he...@gn...> + * src/util.c: fix the code for !SASL and !KERBEROS + + 2006-04-09 Sven Herzberg <he...@gn...> + * src/util.c: adding the patch to fix SASL authentication |
From: <he...@us...> - 2006-04-09 20:48:46
|
Update of /cvsroot/gqclient/gq/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11864/src Modified Files: util.c Log Message: 2006-04-09 Sven Herzberg <he...@gn...> * src/util.c: adding the patch to fix SASL authentication Index: util.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/util.c,v retrieving revision 1.92 retrieving revision 1.93 diff -C2 -d -r1.92 -r1.93 *** util.c 7 Apr 2006 21:48:15 -0000 1.92 --- util.c 9 Apr 2006 20:48:41 -0000 1.93 *************** *** 78,94 **** static int util_ldap_sasl_interact(LDAP *ld, unsigned flags, void *defaults, void *in) { ! sasl_interact_t *interact; ! for (interact = in; interact->id != SASL_CB_LIST_END; interact++) { ! if (interact->id == SASL_CB_USER) { ! interact->result = strdup(""); ! interact->len = 0; ! } else return LDAP_OTHER; } - return LDAP_SUCCESS; } #endif static int do_ldap_connect(LDAP **ld_out, struct ldapserver *server, int open_context, int flags) --- 78,168 ---- static int util_ldap_sasl_interact(LDAP *ld, unsigned flags, void *defaults, void *in) { ! sasl_interact_t *interact = in; ! struct ldapserver *def = defaults; ! for (; interact->id != SASL_CB_LIST_END; interact++) { ! ! switch (interact->id) { ! case SASL_CB_AUTHNAME: ! interact->result = def->binddn; ! interact->len = strlen(def->binddn); ! break; ! ! case SASL_CB_PASS: ! interact->result = def->bindpw; ! interact->len = strlen(def->bindpw); ! break; ! } } return LDAP_SUCCESS; } #endif + int do_ldap_auth(LDAP *ld, struct ldapserver *server, int open_context) + { + char *binddn = NULL; + char *bindpw = NULL; + int rc = LDAP_SUCCESS; + + if (server->binddn[0]) { + binddn = server->binddn; + } + + /* do not ever use the bindpw if we have turned on to ask + * for a password */ + /* Thanks to Tomas A. Maly <tom...@ya...> for + * indirectly causing me to check this area */ + if (server->ask_pw) { + if (server->enteredpw[0]) + bindpw = server->enteredpw; + } + else if (server->bindpw[0]) + bindpw = server->bindpw; + + /* take care of special characters... */ + if (binddn) binddn = encoded_string(binddn); + if (bindpw) bindpw = encoded_string(bindpw); + + switch (server->bindtype) { + case BINDTYPE_KERBEROS: + #ifdef HAVE_KERBEROS + rc = ldap_bind_s(ld, binddn, bindpw, LDAP_AUTH_KRBV4); + #else + error_push(open_context, + _("Cannot use Kerberos bind with '%s'.\n" + "GQ was compiled without Kerberos support.\n" + "Run 'configure --help' for more information\n"), + server->name); + statusbar_msg_clear(); + /* XXX - should merge kerberos into sasl (gssapi) */ + rc = SASL_FAIL; + #endif + break; + case BINDTYPE_SASL: + #ifdef HAVE_SASL + rc = ldap_sasl_interactive_bind_s(ld, NULL, NULL, NULL, NULL, LDAP_SASL_QUIET, util_ldap_sasl_interact, server); + if (rc == LDAP_SUCCESS) + break; + #else + error_push(open_context, + _("Cannot use SASL bind with '%s'.\n" + "GQ was compiled without SASL support.\n" + "Run 'configure --help' for more information\n"), + server->name); + statusbar_msg_clear(); + rc = SASL_FAIL; + #endif + break; + default: + rc = ldap_simple_bind_s(ld, binddn, bindpw); + break; + } + + if (binddn) free(binddn); + if (bindpw) free(bindpw); + + return rc; + } + static int do_ldap_connect(LDAP **ld_out, struct ldapserver *server, int open_context, int flags) *************** *** 205,272 **** } ! binddn = NULL; ! bindpw = NULL; ! ! if(server->binddn[0]) { ! binddn = server->binddn; ! } ! ! /* do not ever use the bindpw if we have turned on to ask ! for a password */ ! /* Thanks to Tomas A. Maly <tom...@ya...> for ! indirectly causing me to check this area */ ! if (server->ask_pw) { ! if (server->enteredpw[0]) { ! bindpw = server->enteredpw; ! } ! } else { ! if (server->bindpw[0]) { ! bindpw = server->bindpw; ! } ! } ! ! /* take care of special characters... */ ! ! if (binddn) binddn = encoded_string(binddn); ! if (bindpw) bindpw = encoded_string(bindpw); ! ! switch (server->bindtype) { ! case BINDTYPE_KERBEROS: ! # ifdef HAVE_KERBEROS ! rc = ldap_bind_s(ld, binddn, bindpw, LDAP_AUTH_KRBV4); ! # else ! error_push(open_context, ! _("Cannot use Kerberos bind with '%s'.\n" ! "GQ was compiled without Kerberos support.\n" ! "Run 'configure --help' for more information\n"), ! server->name); ! statusbar_msg_clear(); ! ldap_unbind(ld); ! ld = NULL; ! # endif ! break; ! case BINDTYPE_SASL: ! # ifdef HAVE_SASL ! rc = ldap_sasl_interactive_bind_s(ld, binddn, NULL, NULL, NULL, LDAP_SASL_QUIET, util_ldap_sasl_interact, NULL); ! # else ! error_push(open_context, ! _("Cannot use SASL bind with '%s'.\n" ! "GQ was compiled without SASL support.\n" ! "Run 'configure --help' for more information\n"), ! server->name); ! statusbar_msg_clear(); ! ldap_unbind(ld); ! ld = NULL; ! # endif ! break; ! default: ! rc = ldap_simple_bind_s(ld, binddn, bindpw); ! break; ! } ! ! if (binddn) free(binddn); ! if (bindpw) free(bindpw); ! ! binddn = bindpw = NULL; if (rc != LDAP_SUCCESS) { --- 279,284 ---- } ! /* perform the auth */ ! rc = do_ldap_auth(ld, server, open_context); if (rc != LDAP_SUCCESS) { |
From: <he...@us...> - 2006-04-09 20:48:45
|
Update of /cvsroot/gqclient/gq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11864 Modified Files: ChangeLog Log Message: 2006-04-09 Sven Herzberg <he...@gn...> * src/util.c: adding the patch to fix SASL authentication Index: ChangeLog =================================================================== RCS file: /cvsroot/gqclient/gq/ChangeLog,v retrieving revision 1.78 retrieving revision 1.79 diff -C2 -d -r1.78 -r1.79 *** ChangeLog 9 Apr 2006 20:34:32 -0000 1.78 --- ChangeLog 9 Apr 2006 20:48:41 -0000 1.79 *************** *** 1,4 **** --- 1,8 ---- 2006-04-09 Sven Herzberg <he...@gn...> + * src/util.c: adding the patch to fix SASL authentication + + 2006-04-09 Sven Herzberg <he...@gn...> + * configure.in: minor tweaks before the release candidate * src/input.c, |
From: <he...@us...> - 2006-04-09 20:34:44
|
Update of /cvsroot/gqclient/gq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3479 Modified Files: ChangeLog configure.in Log Message: 2006-04-09 Sven Herzberg <he...@gn...> * configure.in: minor tweaks before the release candidate * src/input.c, * src/tinput.c: replace some while loops with for loops (which they basically were before Index: ChangeLog =================================================================== RCS file: /cvsroot/gqclient/gq/ChangeLog,v retrieving revision 1.77 retrieving revision 1.78 diff -C2 -d -r1.77 -r1.78 *** ChangeLog 7 Apr 2006 21:48:15 -0000 1.77 --- ChangeLog 9 Apr 2006 20:34:32 -0000 1.78 *************** *** 1,2 **** --- 1,9 ---- + 2006-04-09 Sven Herzberg <he...@gn...> + + * configure.in: minor tweaks before the release candidate + * src/input.c, + * src/tinput.c: replace some while loops with for loops (which they + basically were before + 2006-04-08 Sven Herzberg <he...@gn...> Index: configure.in =================================================================== RCS file: /cvsroot/gqclient/gq/configure.in,v retrieving revision 1.64 retrieving revision 1.65 diff -C2 -d -r1.64 -r1.65 *** configure.in 7 Apr 2006 20:33:36 -0000 1.64 --- configure.in 9 Apr 2006 20:34:32 -0000 1.65 *************** *** 208,212 **** AC_CHECK_LIB(xml2, xmlCreateIOParserCtxt, ! [AC_DEFINE(HAVE_LIBXML2,,[Define if libxml2 is available on your system]) if test "x$PKG_CONFIG" = x then --- 208,212 ---- AC_CHECK_LIB(xml2, xmlCreateIOParserCtxt, ! [AC_DEFINE(HAVE_LIBXML2,1,[Define if libxml2 is available on your system]) if test "x$PKG_CONFIG" = x then *************** *** 225,229 **** if test "x$XML_OK" = "x" ; then AC_CHECK_LIB(xml, xmlSAXUserParseFile, ! [AC_DEFINE(HAVE_LIBXML,,[Define if libxml is available on your system]) if test "x$PKG_CONFIG" = x --- 225,229 ---- if test "x$XML_OK" = "x" ; then AC_CHECK_LIB(xml, xmlSAXUserParseFile, ! [AC_DEFINE(HAVE_LIBXML,1,[Define if libxml is available on your system]) if test "x$PKG_CONFIG" = x *************** *** 279,286 **** done ! AC_CHECK_HEADERS([ldap.h],, ! echo "The (Open)LDAP development environment could not be found" >&2 ! exit 1 ! ) AC_CHECK_LIB(lber, ber_alloc, --- 279,283 ---- done ! AC_CHECK_HEADERS([ldap.h],,AC_MSG_ERROR("The (Open)LDAP development environment could not be found")) AC_CHECK_LIB(lber, ber_alloc, *************** *** 328,332 **** AC_CHECK_LIB(ldap, ldap_start_tls_s, [ ! AC_DEFINE(HAVE_TLS,,[Define if you want TLS support in gq]) gq_have_tls=1 ] --- 325,329 ---- AC_CHECK_LIB(ldap, ldap_start_tls_s, [ ! AC_DEFINE(HAVE_TLS,1,[Define if you want TLS support in gq]) gq_have_tls=1 ] *************** *** 623,631 **** if test "$require_included_gettext" = "no" ; then AC_CHECK_FUNCS(ngettext, , ! echo No ngettext implementation available in system gettext implementation ! echo Try to use the --with-included-gettext configure option or ! echo disable national language support using --disable-nls ! exit 1; ! ) fi --- 620,626 ---- if test "$require_included_gettext" = "no" ; then AC_CHECK_FUNCS(ngettext, , ! AC_MSG_ERROR([No ngettext implementation available in system gettext implementation ! Try to use the --with-included-gettext configure option or ! disable national language support using --disable-nls])) fi |
From: <he...@us...> - 2006-04-09 20:34:38
|
Update of /cvsroot/gqclient/gq/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3479/src Modified Files: input.c tinput.c Log Message: 2006-04-09 Sven Herzberg <he...@gn...> * configure.in: minor tweaks before the release candidate * src/input.c, * src/tinput.c: replace some while loops with for loops (which they basically were before Index: input.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/input.c,v retrieving revision 1.89 retrieving revision 1.90 diff -C2 -d -r1.89 -r1.90 *** input.c 5 Apr 2006 00:53:55 -0000 1.89 --- input.c 9 Apr 2006 20:34:32 -0000 1.90 *************** *** 950,954 **** char *decode_buf = NULL; int decode_buf_allocated = 0; ! GByteArray *gb; gdk_colormap_alloc_color(gdk_colormap_get_system(), ¬col, FALSE, TRUE); --- 950,954 ---- char *decode_buf = NULL; int decode_buf_allocated = 0; ! GByteArray *gb; gdk_colormap_alloc_color(gdk_colormap_get_system(), ¬col, FALSE, TRUE); *************** *** 1018,1022 **** row = 1; ! while(formlist) { ff = (struct formfill *) formlist->data; --- 1018,1022 ---- row = 1; ! for(; formlist; formlist = formlist->next) { ff = (struct formfill *) formlist->data; *************** *** 1157,1169 **** row_arrow = row++; ! if ((build || ff->morebutton == NULL) && ((ff->flags & FLAG_SINGLE_VALUE) == 0)) { align = gtk_alignment_new(0.5, 1, 0, 0); gtk_widget_show(align); ! ff->morebutton = arrowbutton = gq_new_arrowbutton(iform); gtk_object_set_data(GTK_OBJECT(arrowbutton), "formfill", ff); gtk_container_add(GTK_CONTAINER(align), arrowbutton); ! gtk_table_attach(GTK_TABLE(iform->table), align, 2, 3, row_arrow, row_arrow + 1, --- 1157,1169 ---- row_arrow = row++; ! if ((build || ff->morebutton == NULL) && ((ff->flags & FLAG_SINGLE_VALUE) == 0)) { align = gtk_alignment_new(0.5, 1, 0, 0); gtk_widget_show(align); ! ff->morebutton = arrowbutton = gq_new_arrowbutton(iform); gtk_object_set_data(GTK_OBJECT(arrowbutton), "formfill", ff); gtk_container_add(GTK_CONTAINER(align), arrowbutton); ! gtk_table_attach(GTK_TABLE(iform->table), align, 2, 3, row_arrow, row_arrow + 1, *************** *** 1174,1178 **** } } - formlist = formlist->next; } g_free(decode_buf); --- 1174,1177 ---- Index: tinput.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/tinput.c,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** tinput.c 5 Apr 2006 00:53:55 -0000 1.46 --- tinput.c 9 Apr 2006 20:34:32 -0000 1.47 *************** *** 273,278 **** /* required attributes */ ! i = 0; ! while(oc->oc_at_oids_must && oc->oc_at_oids_must[i]) { /* if (strcasecmp(oc->oc_at_oids_must[i], "objectClass")) { */ if (lookup_attribute_using_schema(formlist, --- 273,277 ---- /* required attributes */ ! for(i=0; oc->oc_at_oids_must && oc->oc_at_oids_must[i]; i++) { /* if (strcasecmp(oc->oc_at_oids_must[i], "objectClass")) { */ if (lookup_attribute_using_schema(formlist, *************** *** 296,300 **** formlist = formlist_append(formlist, form); } - i++; } --- 295,298 ---- *************** *** 303,307 **** while(oc->oc_at_oids_may && oc->oc_at_oids_may[i]) { /* if (strcasecmp(oc->oc_at_oids_may[i], "objectClass")) { */ ! if (lookup_attribute_using_schema(formlist, oc->oc_at_oids_may[i], ss, &at) == NULL) { --- 301,305 ---- while(oc->oc_at_oids_may && oc->oc_at_oids_may[i]) { /* if (strcasecmp(oc->oc_at_oids_may[i], "objectClass")) { */ ! if (lookup_attribute_using_schema(formlist, oc->oc_at_oids_may[i], ss, &at) == NULL) { *************** *** 326,331 **** } - - /* oclist = oclist->next; */ } --- 324,327 ---- *************** *** 352,356 **** /* build temporary list of object classes from formfill list */ ! oclist = NULL; tmplist = form->values; --- 348,352 ---- /* build temporary list of object classes from formfill list */ ! oclist = NULL; tmplist = form->values; *************** *** 394,399 **** but not allowed according to the schema (schema_list) */ addendum = NULL; ! tmplist = value_list; ! while(tmplist) { form = (struct formfill *) tmplist->data; newform = lookup_attribute_using_schema(schema_list, form->attrname, --- 390,394 ---- but not allowed according to the schema (schema_list) */ addendum = NULL; ! for(tmplist=value_list; tmplist; tmplist = tmplist->next) { form = (struct formfill *) tmplist->data; newform = lookup_attribute_using_schema(schema_list, form->attrname, *************** *** 405,409 **** ldapserver_ref(server); ! strncpy(newform->attrname, form->attrname, sizeof(newform->attrname)); newform->num_inputfields = form->num_inputfields; --- 400,404 ---- ldapserver_ref(server); ! strncpy(newform->attrname, form->attrname, sizeof(newform->attrname)); newform->num_inputfields = form->num_inputfields; *************** *** 422,431 **** addendum = g_list_append(addendum, newform); } - tmplist = tmplist->next; } if(addendum) { ! while(addendum) { schema_list = g_list_append(schema_list, addendum->data); - addendum = addendum->next; } g_list_free(addendum); --- 417,424 ---- addendum = g_list_append(addendum, newform); } } if(addendum) { ! for(;addendum; addendum = addendum->next) { schema_list = g_list_append(schema_list, addendum->data); } g_list_free(addendum); |
From: <he...@us...> - 2006-04-07 21:48:21
|
Update of /cvsroot/gqclient/gq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24185 Modified Files: ChangeLog Log Message: 2006-04-08 Sven Herzberg <he...@gn...> * src/Makefile.am: allow deprecated functions for now * src/util.c: fix gq_ldap_explode_dn() for both OpenLDAP 2.1 and 2.2 Index: ChangeLog =================================================================== RCS file: /cvsroot/gqclient/gq/ChangeLog,v retrieving revision 1.76 retrieving revision 1.77 diff -C2 -d -r1.76 -r1.77 *** ChangeLog 7 Apr 2006 21:37:09 -0000 1.76 --- ChangeLog 7 Apr 2006 21:48:15 -0000 1.77 *************** *** 1,4 **** --- 1,9 ---- 2006-04-08 Sven Herzberg <he...@gn...> + * src/Makefile.am: allow deprecated functions for now + * src/util.c: fix gq_ldap_explode_dn() for both OpenLDAP 2.1 and 2.2 + + 2006-04-08 Sven Herzberg <he...@gn...> + * src/mainwin.c, * src/mainwin.h: removed big string constants, made the parts |
From: <he...@us...> - 2006-04-07 21:48:19
|
Update of /cvsroot/gqclient/gq/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24185/src Modified Files: Makefile.am util.c Log Message: 2006-04-08 Sven Herzberg <he...@gn...> * src/Makefile.am: allow deprecated functions for now * src/util.c: fix gq_ldap_explode_dn() for both OpenLDAP 2.1 and 2.2 Index: Makefile.am =================================================================== RCS file: /cvsroot/gqclient/gq/src/Makefile.am,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** Makefile.am 5 Apr 2006 00:05:55 -0000 1.34 --- Makefile.am 7 Apr 2006 21:48:15 -0000 1.35 *************** *** 29,32 **** --- 29,33 ---- AM_CPPFLAGS=\ $(WARN_CFLAGS) \ + -DLDAP_DEPRECATED \ $(NULL) bin_PROGRAMS = gq Index: util.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/util.c,v retrieving revision 1.91 retrieving revision 1.92 diff -C2 -d -r1.91 -r1.92 *** util.c 5 Apr 2006 00:18:04 -0000 1.91 --- util.c 7 Apr 2006 21:48:15 -0000 1.92 *************** *** 1919,1923 **** --- 1919,1927 ---- gq_ldap_explode_dn(gchar const* dn, int dummy) { int i, rc; + #if LDAP_API_VERSION > 2004 + LDAPDN parts; + #else LDAPDN *parts; + #endif GArray* array = NULL; gchar **retval = NULL; *************** *** 1932,1937 **** for(i = 0; parts[i]; i++) { gchar* part = NULL; ! ldap_rdn2str(parts[0][i], &part, ! LDAP_DN_FORMAT_LDAPV3 | LDAP_DN_PRETTY ); if(part && *part) { /* don't append the last (empty) part, to be compatible --- 1936,1946 ---- for(i = 0; parts[i]; i++) { gchar* part = NULL; ! ldap_rdn2str( ! #if LDAP_API_VERSION > 2004 ! parts[i], ! #else ! parts[0][i], ! #endif ! &part, LDAP_DN_FORMAT_LDAPV3 | LDAP_DN_PRETTY ); if(part && *part) { /* don't append the last (empty) part, to be compatible |
From: <he...@us...> - 2006-04-07 21:37:17
|
Update of /cvsroot/gqclient/gq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22766 Modified Files: ChangeLog Log Message: 2006-04-08 Sven Herzberg <he...@gn...> * src/mainwin.c, * src/mainwin.h: removed big string constants, made the parts translatable Index: ChangeLog =================================================================== RCS file: /cvsroot/gqclient/gq/ChangeLog,v retrieving revision 1.75 retrieving revision 1.76 diff -C2 -d -r1.75 -r1.76 *** ChangeLog 7 Apr 2006 20:33:36 -0000 1.75 --- ChangeLog 7 Apr 2006 21:37:09 -0000 1.76 *************** *** 1,4 **** --- 1,10 ---- 2006-04-08 Sven Herzberg <he...@gn...> + * src/mainwin.c, + * src/mainwin.h: removed big string constants, made the parts + translatable + + 2006-04-08 Sven Herzberg <he...@gn...> + * .cvsignore: silence * Makefile.am, |
From: <he...@us...> - 2006-04-07 21:37:16
|
Update of /cvsroot/gqclient/gq/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22766/src Modified Files: mainwin.c mainwin.h Log Message: 2006-04-08 Sven Herzberg <he...@gn...> * src/mainwin.c, * src/mainwin.h: removed big string constants, made the parts translatable Index: mainwin.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/mainwin.c,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** mainwin.c 4 Apr 2006 23:34:48 -0000 1.56 --- mainwin.c 7 Apr 2006 21:37:09 -0000 1.57 *************** *** 1087,1096 **** g_string_sprintf(about_text, ! "GQ %s\n\n\n%s\n\n" ! "GTK version %d.%d.%d\n" "GLib version %d.%d.%d\n", ! VERSION, about_blurb, ! gtk_major_version, gtk_minor_version, gtk_micro_version, ! glib_major_version, glib_minor_version, glib_micro_version); about_label = gtk_label_new(about_text->str); --- 1087,1101 ---- g_string_sprintf(about_text, ! "GQ %s\n\n\n%s\n\n%s\n%s\n%s\n\n%s\n\n%s\n\n" "GLib version %d.%d.%d\n", ! "GTK version %d.%d.%d\n" ! VERSION, _("The gentleman's LDAP client"), ! _("Copyright (C) 1998-2003 Bert Vermeulen <be...@bi...>"), ! _("Copyright (C) 2002-2003 Peter Stamfest <pe...@st...>"), ! _("Copyright (C) 2006 Sven Herzberg"), ! _("For license terms please see the license window"), ! _("http://biot.com/gq/"), ! glib_major_version, glib_minor_version, glib_micro_version, ! gtk_major_version, gtk_minor_version, gtk_micro_version); about_label = gtk_label_new(about_text->str); Index: mainwin.h =================================================================== RCS file: /cvsroot/gqclient/gq/src/mainwin.h,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** mainwin.h 3 Nov 2003 21:07:57 -0000 1.25 --- mainwin.h 7 Apr 2006 21:37:09 -0000 1.26 *************** *** 33,43 **** #include <gtk/gtk.h> - #define PACKAGEVERSION PACKAGE " " VERSION - #define about_blurb "The gentleman's LDAP client\n\n" \ - "(c) 1998-2003 Bert Vermeulen <be...@bi...>\n" \ - "(c) 2002-2003 Peter Stamfest <pe...@st...>\n\n" \ - "For license terms please see the license window\n\n" \ - "http://biot.com/gq/\n" - struct mainwin_data { GtkWidget *mainwin; --- 33,36 ---- |
From: <he...@us...> - 2006-04-07 20:34:19
|
Update of /cvsroot/gqclient/gq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11629 Modified Files: .cvsignore ChangeLog Makefile.am configure.in Log Message: 2006-04-08 Sven Herzberg <he...@gn...> * .cvsignore: silence * Makefile.am, * configure.in: updated from gettextize (hopefully it doesn't modify these files anymore after checkout) * src/dt_cert.c, * src/dt_crl.c, * src/dt_password.c: fixed compile warnings wrt signedness of numbers Index: .cvsignore =================================================================== RCS file: /cvsroot/gqclient/gq/.cvsignore,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** .cvsignore 4 Apr 2006 23:51:18 -0000 1.2 --- .cvsignore 7 Apr 2006 20:33:36 -0000 1.3 *************** *** 13,14 **** --- 13,15 ---- autom4te.cache config.rpath diff m4 stamp-h1 ABOUT-NLS intl mkinstalldirs + intl Index: ChangeLog =================================================================== RCS file: /cvsroot/gqclient/gq/ChangeLog,v retrieving revision 1.74 retrieving revision 1.75 diff -C2 -d -r1.74 -r1.75 *** ChangeLog 6 Apr 2006 02:15:45 -0000 1.74 --- ChangeLog 7 Apr 2006 20:33:36 -0000 1.75 *************** *** 1,2 **** --- 1,12 ---- + 2006-04-08 Sven Herzberg <he...@gn...> + + * .cvsignore: silence + * Makefile.am, + * configure.in: updated from gettextize (hopefully it doesn't modify + these files anymore after checkout) + * src/dt_cert.c, + * src/dt_crl.c, + * src/dt_password.c: fixed compile warnings wrt signedness of numbers + 2006-04-06 Sven Herzberg <he...@gn...> Index: Makefile.am =================================================================== RCS file: /cvsroot/gqclient/gq/Makefile.am,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** Makefile.am 4 Apr 2006 23:51:18 -0000 1.13 --- Makefile.am 7 Apr 2006 20:33:36 -0000 1.14 *************** *** 1,7 **** ## Process this file with automake to produce Makefile.in ! SUBDIRS = intl src icons po ! EXTRA_DIST = mkinstalldirs config.rpath gq.spec.in README.TLS README.NLS README.langpack RELNOTES dist-hook: gq.spec --- 1,7 ---- ## Process this file with automake to produce Makefile.in ! SUBDIRS = m4 intl src icons po ! EXTRA_DIST = config.rpath mkinstalldirs gq.spec.in README.TLS README.NLS README.langpack RELNOTES dist-hook: gq.spec Index: configure.in =================================================================== RCS file: /cvsroot/gqclient/gq/configure.in,v retrieving revision 1.63 retrieving revision 1.64 diff -C2 -d -r1.63 -r1.64 *** configure.in 5 Apr 2006 14:31:03 -0000 1.63 --- configure.in 7 Apr 2006 20:33:36 -0000 1.64 *************** *** 748,758 **** done ! AC_OUTPUT([ Makefile src/Makefile icons/Makefile gq.spec - intl/Makefile - po/Makefile.in ]) --- 748,756 ---- done ! AC_OUTPUT([ intl/Makefile po/Makefile.in m4/Makefile Makefile src/Makefile icons/Makefile gq.spec ]) |
From: <he...@us...> - 2006-04-07 20:33:59
|
Update of /cvsroot/gqclient/gq/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11629/src Modified Files: dt_cert.c dt_crl.c dt_password.c Log Message: 2006-04-08 Sven Herzberg <he...@gn...> * .cvsignore: silence * Makefile.am, * configure.in: updated from gettextize (hopefully it doesn't modify these files anymore after checkout) * src/dt_cert.c, * src/dt_crl.c, * src/dt_password.c: fixed compile warnings wrt signedness of numbers Index: dt_cert.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/dt_cert.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** dt_cert.c 12 Oct 2003 06:14:18 -0000 1.9 --- dt_cert.c 7 Apr 2006 20:33:41 -0000 1.10 *************** *** 160,164 **** gb = g_byte_array_new(); ! g_byte_array_append(gb, bm->data, bm->length); gtk_object_set_data_full(GTK_OBJECT(data_widget), "data", --- 160,164 ---- gb = g_byte_array_new(); ! g_byte_array_append(gb, (guchar*)bm->data, bm->length); gtk_object_set_data_full(GTK_OBJECT(data_widget), "data", Index: dt_crl.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/dt_crl.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** dt_crl.c 12 Oct 2003 06:14:18 -0000 1.6 --- dt_crl.c 7 Apr 2006 20:33:41 -0000 1.7 *************** *** 140,144 **** gb = g_byte_array_new(); ! g_byte_array_append(gb, bm->data, bm->length); gtk_object_set_data_full(GTK_OBJECT(data_widget), "data", --- 140,144 ---- gb = g_byte_array_new(); ! g_byte_array_append(gb, (guchar*)bm->data, bm->length); gtk_object_set_data_full(GTK_OBJECT(data_widget), "data", *************** *** 192,196 **** BIO_reset(bufbio); ! BIO_printf(bufbio, "%ld", sk_X509_REVOKED_num(rev)); BIO_get_mem_ptr(bufbio, &bm); cols[1] = bm->data; --- 192,196 ---- BIO_reset(bufbio); ! BIO_printf(bufbio, "%ld", (glong)sk_X509_REVOKED_num(rev)); BIO_get_mem_ptr(bufbio, &bm); cols[1] = bm->data; Index: dt_password.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/dt_password.c,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** dt_password.c 3 Nov 2003 21:07:57 -0000 1.22 --- dt_password.c 7 Apr 2006 20:33:41 -0000 1.23 *************** *** 140,144 **** unsigned char *password, rand[16], cryptbuf[32]; ! password = (char*) g_malloc((len + 1) * sizeof(char)); memcpy(password, data, len); password[len] = 0; --- 140,144 ---- unsigned char *password, rand[16], cryptbuf[32]; ! password = (guchar*) g_malloc((len + 1) * sizeof(guchar)); memcpy(password, data, len); password[len] = 0; *************** *** 146,150 **** salt = g_string_sized_new(32); RAND_pseudo_bytes(rand, 8); ! b64_encode(salt, rand, 8); /* crypt(3) says [a-zA-Z0-9./] while base64 has [a-zA-Z0-9+/] */ if(salt->str[0] == '+') salt->str[0] = '.'; --- 146,150 ---- salt = g_string_sized_new(32); RAND_pseudo_bytes(rand, 8); ! b64_encode(salt, (gchar*)rand, 8); /* crypt(3) says [a-zA-Z0-9./] while base64 has [a-zA-Z0-9+/] */ if(salt->str[0] == '+') salt->str[0] = '.'; *************** *** 152,159 **** salt->str[2] = 0; ! g_byte_array_append(gb, "{CRYPT}", 7); ! des_fcrypt(password, salt->str, cryptbuf); ! g_byte_array_append(gb, cryptbuf, strlen(cryptbuf)); g_string_free(salt, TRUE); --- 152,159 ---- salt->str[2] = 0; ! g_byte_array_append(gb, (guchar*)"{CRYPT}", 7); ! des_fcrypt((gchar*)password, salt->str, (gchar*)cryptbuf); ! g_byte_array_append(gb, cryptbuf, strlen((gchar*)cryptbuf)); g_string_free(salt, TRUE); *************** *** 171,179 **** GByteArray *gb = g_byte_array_new(); ! MD5(data, len, md5_out); b64_encode(b64, md5_out, MD5_DIGEST_LENGTH); ! g_byte_array_append(gb, "{MD5}", 5); ! g_byte_array_append(gb, b64->str, strlen(b64->str)); g_string_free(b64, TRUE); --- 171,179 ---- GByteArray *gb = g_byte_array_new(); ! MD5((guchar*)data, len, (guchar*)md5_out); b64_encode(b64, md5_out, MD5_DIGEST_LENGTH); ! g_byte_array_append(gb, (guchar*)"{MD5}", 5); ! g_byte_array_append(gb, (guchar*)b64->str, strlen(b64->str)); g_string_free(b64, TRUE); *************** *** 190,198 **** GByteArray *gb = g_byte_array_new(); ! SHA1(data, len, sha_out); b64_encode(b64, sha_out, SHA_DIGEST_LENGTH); ! g_byte_array_append(gb, "{SHA}", 5); ! g_byte_array_append(gb, b64->str, strlen(b64->str)); g_string_free(b64, TRUE); --- 190,198 ---- GByteArray *gb = g_byte_array_new(); ! SHA1((guchar*)data, len, (guchar*)sha_out); b64_encode(b64, sha_out, SHA_DIGEST_LENGTH); ! g_byte_array_append(gb, (guchar*)"{SHA}", 5); ! g_byte_array_append(gb, (guchar*)b64->str, strlen(b64->str)); g_string_free(b64, TRUE); *************** *** 220,227 **** memcpy(sha_out + SHA_DIGEST_LENGTH, rand, sizeof(rand)); ! b64_encode(b64, sha_out, sizeof(sha_out)); ! g_byte_array_append(gb, "{SSHA}", 6); ! g_byte_array_append(gb, b64->str, strlen(b64->str)); g_string_free(b64, TRUE); --- 220,227 ---- memcpy(sha_out + SHA_DIGEST_LENGTH, rand, sizeof(rand)); ! b64_encode(b64, (gchar*)sha_out, sizeof(sha_out)); ! g_byte_array_append(gb, (guchar*)"{SSHA}", 6); ! g_byte_array_append(gb, (guchar*)b64->str, strlen(b64->str)); g_string_free(b64, TRUE); *************** *** 248,255 **** memcpy(md5_out + MD5_DIGEST_LENGTH, rand, sizeof(rand)); ! b64_encode(b64, md5_out, sizeof(md5_out)); ! g_byte_array_append(gb, "{SMD5}", 6); ! g_byte_array_append(gb, b64->str, strlen(b64->str)); g_string_free(b64, TRUE); --- 248,255 ---- memcpy(md5_out + MD5_DIGEST_LENGTH, rand, sizeof(rand)); ! b64_encode(b64, (gchar*)md5_out, sizeof(md5_out)); ! g_byte_array_append(gb, (guchar*)"{SMD5}", 6); ! g_byte_array_append(gb, (guchar*)b64->str, strlen(b64->str)); g_string_free(b64, TRUE); *************** *** 280,284 **** outlen = len * 2 + 4; g_byte_array_set_size(unicode, outlen); ! out = unicode->data; while(inlen > 0 && outlen > 0) { --- 280,284 ---- outlen = len * 2 + 4; g_byte_array_set_size(unicode, outlen); ! out = (gchar*)unicode->data; while(inlen > 0 && outlen > 0) { *************** *** 289,293 **** } iconv_close(conv); ! out = unicode->data; /* strip leading endian marker (should be ff fe) */ --- 289,293 ---- } iconv_close(conv); ! out = (gchar*)unicode->data; /* strip leading endian marker (should be ff fe) */ *************** *** 299,304 **** } else { for (i = 0 ; i < len ; i++) { ! g_byte_array_append(unicode, data + i, 1); ! g_byte_array_append(unicode, "\0", 1); } } --- 299,304 ---- } else { for (i = 0 ; i < len ; i++) { ! g_byte_array_append(unicode, (guchar*)data + i, 1); ! g_byte_array_append(unicode, (guchar*)"\0", 1); } } *************** *** 318,322 **** hex[0] = hexdigit[md4_out[i] / 16]; hex[1] = hexdigit[md4_out[i] % 16]; ! g_byte_array_append(gb, hex, 2); } --- 318,322 ---- hex[0] = hexdigit[md4_out[i] / 16]; hex[1] = hexdigit[md4_out[i] % 16]; ! g_byte_array_append(gb, (guchar*)hex, 2); } *************** *** 373,382 **** hex[0] = hexdigit[bin1[i] / 16]; hex[1] = hexdigit[bin1[i] % 16]; ! g_byte_array_append(gb, hex, 2); } for(i = 0 ; i < sizeof(bin2) ; i++) { hex[0] = hexdigit[bin2[i] / 16]; hex[1] = hexdigit[bin2[i] % 16]; ! g_byte_array_append(gb, hex, 2); } return gb; --- 373,382 ---- hex[0] = hexdigit[bin1[i] / 16]; hex[1] = hexdigit[bin1[i] % 16]; ! g_byte_array_append(gb, (guchar*)hex, 2); } for(i = 0 ; i < sizeof(bin2) ; i++) { hex[0] = hexdigit[bin2[i] / 16]; hex[1] = hexdigit[bin2[i] % 16]; ! g_byte_array_append(gb, (guchar*)hex, 2); } return gb; *************** *** 504,508 **** CryptFunc *cryptfunc = detokenize_data(cryptmap, cryptflag); if (cryptfunc != NULL) { ! GByteArray *crypted = cryptfunc(data->data, data->len); /* overwrite plain-text */ memset(data->data, 0, data->len); --- 504,508 ---- CryptFunc *cryptfunc = detokenize_data(cryptmap, cryptflag); if (cryptfunc != NULL) { ! GByteArray *crypted = cryptfunc((gchar*)data->data, data->len); /* overwrite plain-text */ memset(data->data, 0, data->len); |
From: <he...@us...> - 2006-04-06 02:15:58
|
Update of /cvsroot/gqclient/gq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15930 Modified Files: ChangeLog Log Message: 2006-04-06 Sven Herzberg <he...@gn...> * src/prefs.c: added a missing cast * src/schemabrowse.c: (select_at_from_clist): fix a bug in the schema browser: if an attribute has got multiple names (domainComponent, dc) and the second name gets displayed in the objectClass browser, double-clicking did not pop up an attributeType browser window Index: ChangeLog =================================================================== RCS file: /cvsroot/gqclient/gq/ChangeLog,v retrieving revision 1.73 retrieving revision 1.74 diff -C2 -d -r1.73 -r1.74 *** ChangeLog 5 Apr 2006 14:31:03 -0000 1.73 --- ChangeLog 6 Apr 2006 02:15:45 -0000 1.74 *************** *** 1,2 **** --- 1,10 ---- + 2006-04-06 Sven Herzberg <he...@gn...> + + * src/prefs.c: added a missing cast + * src/schemabrowse.c: (select_at_from_clist): fix a bug in the schema + browser: if an attribute has got multiple names (domainComponent, dc) + and the second name gets displayed in the objectClass browser, + double-clicking did not pop up an attributeType browser window + # 1.0 Beta 2 |
From: <he...@us...> - 2006-04-06 02:15:58
|
Update of /cvsroot/gqclient/gq/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15930/src Modified Files: prefs.c schemabrowse.c Log Message: 2006-04-06 Sven Herzberg <he...@gn...> * src/prefs.c: added a missing cast * src/schemabrowse.c: (select_at_from_clist): fix a bug in the schema browser: if an attribute has got multiple names (domainComponent, dc) and the second name gets displayed in the objectClass browser, double-clicking did not pop up an attributeType browser window Index: prefs.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/prefs.c,v retrieving revision 1.60 retrieving revision 1.61 diff -C2 -d -r1.60 -r1.61 *** prefs.c 5 Apr 2006 14:28:17 -0000 1.60 --- prefs.c 6 Apr 2006 02:15:45 -0000 1.61 *************** *** 1391,1395 **** notebook = gtk_notebook_new(); ! gtk_notebook_set_scrollable(notebook, TRUE); gtk_widget_show(notebook); gtk_box_pack_start(GTK_BOX(vbox2), notebook, TRUE, TRUE, 0); --- 1391,1395 ---- notebook = gtk_notebook_new(); ! gtk_notebook_set_scrollable(GTK_NOTEBOOK(notebook), TRUE); gtk_widget_show(notebook); gtk_box_pack_start(GTK_BOX(vbox2), notebook, TRUE, TRUE, 0); Index: schemabrowse.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/schemabrowse.c,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** schemabrowse.c 27 Apr 2005 03:35:01 -0000 1.30 --- schemabrowse.c 6 Apr 2006 02:15:46 -0000 1.31 *************** *** 1854,1872 **** if( (event->type == GDK_BUTTON_RELEASE && event->button == 2) || (event->type == GDK_2BUTTON_PRESS && event->button == 1)) { ! if( (server = gtk_object_get_data(GTK_OBJECT(clist), "server")) == NULL) return; ! if(server->ss == NULL || server->ss->at == NULL) return; gtk_clist_get_text(GTK_CLIST(clist), row, column, &attrname); ! list = server->ss->at; ! while(list) { at = list->data; ! if(at && at->at_names && at->at_names[0] && ! !strcasecmp(at->at_names[0], attrname)) ! break; ! list = list->next; } --- 1854,1878 ---- if( (event->type == GDK_BUTTON_RELEASE && event->button == 2) || (event->type == GDK_2BUTTON_PRESS && event->button == 1)) { + gint i; ! if( (server = gtk_object_get_data(GTK_OBJECT(clist), "server")) == NULL) { return; + } ! if(server->ss == NULL || server->ss->at == NULL) { return; + } gtk_clist_get_text(GTK_CLIST(clist), row, column, &attrname); ! for(list = server->ss->at; list; list = list->next) { at = list->data; ! //g_return_val_if_fail(at && at->at_names); // FIXME: we should require this ! for(i=0; at && at->at_names && at->at_names[i]; i++) { ! if(!strcasecmp(at->at_names[i], attrname)) ! break; // the for loop ! } ! if(at && at->at_names && at->at_names[i]) { // at_names[i] == NULL after the for loop ! break; // the while loop ! } } |
From: <he...@us...> - 2006-04-05 14:31:11
|
Update of /cvsroot/gqclient/gq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3374 Modified Files: ChangeLog NEWS configure.in Log Message: # 1.0 Beta 2 2006-04-05 Sven Herzberg <he...@gn...> * NEWS, * configure.in: releasing version 1.0beta2 Index: ChangeLog =================================================================== RCS file: /cvsroot/gqclient/gq/ChangeLog,v retrieving revision 1.72 retrieving revision 1.73 diff -C2 -d -r1.72 -r1.73 *** ChangeLog 5 Apr 2006 14:28:15 -0000 1.72 --- ChangeLog 5 Apr 2006 14:31:03 -0000 1.73 *************** *** 1,2 **** --- 1,9 ---- + # 1.0 Beta 2 + + 2006-04-05 Sven Herzberg <he...@gn...> + + * NEWS, + * configure.in: releasing version 1.0beta2 + 2006-04-05 Sven Herzberg <he...@gn...> Index: NEWS =================================================================== RCS file: /cvsroot/gqclient/gq/NEWS,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** NEWS 29 Sep 2002 18:59:22 -0000 1.3 --- NEWS 5 Apr 2006 14:31:03 -0000 1.4 *************** *** 1,2 **** --- 1,14 ---- + GQ 1.0 Beta 2 + ============= + + * started tree abstraction to make the final GtkTreeView port easier + * updated build framework + * don't allow building with new GLib and old GTK+ + * add only compile flags which are understood + * install gq.desktop to the new right folder + * disable fatal warnings by default + * don't automatically select the DN entry field + * compile without warnings + 2002-09-29: Many new features: Index: configure.in =================================================================== RCS file: /cvsroot/gqclient/gq/configure.in,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -d -r1.62 -r1.63 *** configure.in 5 Apr 2006 00:09:25 -0000 1.62 --- configure.in 5 Apr 2006 14:31:03 -0000 1.63 *************** *** 30,34 **** AC_INIT(src/gq.c) ! AM_INIT_AUTOMAKE(gq, 1.0beta1) LANGPACK_VERSION=1 --- 30,34 ---- AC_INIT(src/gq.c) ! AM_INIT_AUTOMAKE(gq, 1.0beta2) LANGPACK_VERSION=1 |