LAT stands for LDAP Administration Tool. The tool allows you to browse LDAP-based directories and add/edit/delete entries contained within. It can store profiles for quick access to different servers. There are also different views available such as Users, Groups and Hosts which allow you to easily manage objects without having to deal with the intricacies of LDAP. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 54584 [details] lat-0.5.ebuild
bug-wranglers/dragonheart: sorry, I'm not taking on new LDAP-admin tools at this time. I'm spending time developing my own ldap-admin tool instead, usable from a command-line (diradm), and tailored to my needs at work.
seemant: did you read my message on this bug?
i'm interesting in have this app in gentoo :) so first i need to test it. I'm trying the ebuild in Loren's web, so i have this errors building (mono 1.1.8.3): supercoco lat # USE="debug" emerge lat Calculating dependencies ...done! >>> emerge (1 of 1) net-dns/lat-0.7 to / >>> md5 files ;-) lat-0.5.ebuild >>> md5 files ;-) lat-0.7.ebuild >>> md5 files ;-) files/digest-lat-0.5 >>> md5 files ;-) files/digest-lat-0.7 >>> md5 src_uri ;-) lat-0.7.tar.gz >>> Unpacking source... >>> Unpacking lat-0.7.tar.gz to /var/tmp/portage/lat-0.7/work /usr/share/aclocal/pilot-link.m4:1: warning: underquoted definition of AC_PILOT_LINK_HOOK run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO >>> Source unpacked. * Running elibtoolize in: lat-0.7 * Applying sed-1.5.6.patch ... QA Notice: USE Flag 'doc' not in IUSE for net-dns/lat-0.7 * econf: updating lat-0.7/config.guess with /usr/share/gnuconfig/config.guess * econf: updating lat-0.7/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --enable-debug=yes --disable-gtk-doc checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /bin/install -c checking for style of include used by make... GNU checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking dependency style of i686-pc-linux-gnu-gcc... none checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking dependency style of i686-pc-linux-gnu-g++... none checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether i686-pc-linux-gnu-g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from i686-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for correct ltmain.sh version... yes checking if i686-pc-linux-gnu-gcc static flag works... yes checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for i686-pc-linux-gnu-g77 option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g77 PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g77 supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g77 linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for i686-pc-linux-gnu-g++... (cached) i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether i686-pc-linux-gnu-g++ accepts -g... (cached) yes checking dependency style of i686-pc-linux-gnu-g++... (cached) none checking for intltool >= 0.21... 0.34.1 found checking for perl... /usr/bin/perl checking for XML::Parser... ok checking for iconv... /usr/bin/iconv checking for msgfmt... /usr/bin/msgfmt checking for msgmerge... /usr/bin/msgmerge checking for xgettext... /usr/bin/xgettext checking for pkg-config... /usr/bin/pkg-config checking for mono... /usr/bin/mono checking for mcs... /usr/bin/mcs checking for mono.pc... found checking for i686-pc-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for MONO_CFLAGS... -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checking for MONO_LIBS... -Wl,--export-dynamic -pthread -lmono -lpthread -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 checking for GTKSHARP_CFLAGS... -I:/usr/share/gapi-2.0/pango-api.xml -I:/usr/share/gapi-2.0/atk-api.xml -I:/usr/share/gapi-2.0/gdk-api.xml -I:/usr/share/gapi-2.0/gtk-api.xml -I:/usr/share/gapi-2.0/gnome-api.xml -I:/usr/share/gapi-2.0/art-api.xml -I:/usr/share/gapi-2.0/gnome-vfs-api.xml -I:/usr/share/gapi-2.0/glade-api.xml checking for GTKSHARP_LIBS... -r:/usr/lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/gnome-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/art-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/gnome-vfs-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/glade-sharp.dll checking for mcs... (cached) /usr/bin/mcs checking for mono... (cached) /usr/bin/mono checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... fr_FR pt_BR configure: creating ./config.status config.status: creating Makefile config.status: creating lat.spec config.status: creating debian/Makefile config.status: creating desktop/Makefile config.status: creating lat/AssemblyInfo.cs config.status: creating lat/Defines.cs config.status: creating lat/Makefile config.status: creating lat/lat config.status: creating libs/Makefile config.status: creating po/Makefile.in config.status: creating help/Makefile config.status: creating help/C/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing intltool commands config.status: executing default-1 commands make all-recursive make[1]: Entering directory `/var/tmp/portage/lat-0.7/work/lat-0.7' Making all in debian make[2]: Entering directory `/var/tmp/portage/lat-0.7/work/lat-0.7/debian' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/lat-0.7/work/lat-0.7/debian' Making all in lat make[2]: Entering directory `/var/tmp/portage/lat-0.7/work/lat-0.7/lat' /usr/bin/mcs -codepage:utf8 -out:lat.exe ./adUserViewDialog.cs ./AboutDialog.cs ./AssemblyInfo.cs ./AddAttributeDialog.cs ./AddEntryDialog.cs ./CertificateDialog.cs ./CertMgr.cs ./ConnectDialog.cs ./Connection.cs ./ConnectionProfile.cs ./ContactsView.cs ./CustomView.cs ./CustomViewDialog.cs ./CustomViewManager.cs ./Defines.cs ./DynamicView.cs ./DynamicViewDialog.cs ./EditAdComputerViewDialog.cs ./EditContactsViewDialog.cs ./EditUserViewDialog.cs ./GroupsView.cs ./GroupsViewDialog.cs ./HostsView.cs ./HostsViewDialog.cs ./LDIF.cs ./LdapSearch.cs ./LdapTreeView.cs ./Logger.cs ./LoginDialog.cs ./Main.cs ./MassEditDialog.cs ./NewAdComputerViewDialog.cs ./NewContactsViewDialog.cs ./NewUserViewDialog.cs ./PasswordDialog.cs ./ProfileDialog.cs ./ProfileManager.cs ./RenameEntryDialog.cs ./SMBPassword.cs ./SambaPopulateDialog.cs ./SchemaTreeView.cs ./SearchBuilderDialog.cs ./SelectContainerDialog.cs ./UsersView.cs ./Util.cs ./View.cs ./ViewDialog.cs ./ViewDialogFactory.cs ./ViewFactory.cs ./Window.cs -r:../libs/Novell.Directory.Ldap.dll -r:../libs/gnome-keyring-sharp.dll -r:Mono.Posix -r:Mono.Security /resource:./lat.glade,lat.glade -r:/usr/lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/gnome-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/art-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/gnome-vfs-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/glade-sharp.dll ./AboutDialog.cs(52) warning CS0612: 'Gnome.About' is obsolete ./AboutDialog.cs(52) warning CS0612: 'Gnome.About' is obsolete ./View.cs(115) warning CS0618: 'Gtk.Menu.Popup(Gtk.Widget, Gtk.Widget, Gtk.MenuPositionFunc, System.IntPtr, uint, uint)' is obsolete: 'Replaced by overload without IntPtr argument' ./LdapTreeView.cs(458) warning CS0618: 'Gtk.Menu.Popup(Gtk.Widget, Gtk.Widget, Gtk.MenuPositionFunc, System.IntPtr, uint, uint)' is obsolete: 'Replaced by overload without IntPtr argument' ** (/usr/lib/mono/1.0/mcs.exe:10140): WARNING **: The following assembly referenced from /var/tmp/portage/lat-0.7/work/lat-0.7/libs/gnome-keyring-sharp.dll could not be loaded: Assembly: glib-sharp (assemblyref_index=1) Version: 2.0.0.0 Public Key: 35e10195dab3c99f The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/var/tmp/portage/lat-0.7/work/lat-0.7/libs/). ** (/usr/lib/mono/1.0/mcs.exe:10140): WARNING **: The class GLib.DestroyNotify could not be loaded, used in /var/tmp/portage/lat-0.7/work/lat-0.7/libs/gnome-keyring-sharp.dll (token 0x0100000a) ** (/usr/lib/mono/1.0/mcs.exe:10140): WARNING **: The class GLib.DestroyNotify could not be loaded, used in /var/tmp/portage/lat-0.7/work/lat-0.7/libs/gnome-keyring-sharp.dll (token 0x0100000a) ** (/usr/lib/mono/1.0/mcs.exe:10140): WARNING **: The class GLib.DestroyNotify could not be loaded, used in /var/tmp/portage/lat-0.7/work/lat-0.7/libs/gnome-keyring-sharp.dll (token 0x0100000a) ** (/usr/lib/mono/1.0/mcs.exe:10140): WARNING **: The class GLib.List could not be loaded, used in /var/tmp/portage/lat-0.7/work/lat-0.7/libs/gnome-keyring-sharp.dll (token 0x0100000c) ** (/usr/lib/mono/1.0/mcs.exe:10140): WARNING **: The class GLib.List could not be loaded, used in /var/tmp/portage/lat-0.7/work/lat-0.7/libs/gnome-keyring-sharp.dll (token 0x0100000c) ** (/usr/lib/mono/1.0/mcs.exe:10140): WARNING **: The class GLib.GType could not be loaded, used in /var/tmp/portage/lat-0.7/work/lat-0.7/libs/gnome-keyring-sharp.dll (token 0x01000005) Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object in <0x00000> <unknown method> in (wrapper managed-to-native) System.Reflection.MonoMethodInfo:get_method_info (intptr,System.Reflection.MonoMethodInfo&) in <0x00025> System.Reflection.MonoMethod:get_Attributes () in <0x0000c> System.Reflection.MethodBase:get_IsVirtual () in <0x00192> Mono.CSharp.MemberCache:AddMethods (BindingFlags bf, System.Type type) in <0x00027> Mono.CSharp.MemberCache:AddMethods (System.Type type) in <0x00154> Mono.CSharp.MemberCache:.ctor (IMemberContainer container) in <0x000b9> Mono.CSharp.TypeHandle:.ctor (System.Type type) in <0x00051> Mono.CSharp.TypeHandle:GetTypeHandle (System.Type t) in <0x0000b> Mono.CSharp.TypeHandle:GetMemberCache (System.Type t) in <0x0014c> Mono.CSharp.TypeManager:MemberLookup_FindMembers (System.Type t, MemberTypes mt, BindingFlags bf, System.String name, System.Boolean used_cache) in <0x00234> Mono.CSharp.TypeManager:RealMemberLookup (System.Type invocation_type, System.Type qualifier_type, System.Type queried_type, MemberTypes mt, BindingFlags original_bf, System.String name, IList almost_match) in <0x0001f> Mono.CSharp.TypeManager:MemberLookup (System.Type invocation_type, System.Type qualifier_type, System.Type queried_type, MemberTypes mt, BindingFlags original_bf, System.String name, IList almost_match) in <0x00035> Mono.CSharp.Expression:MemberLookup (Mono.CSharp.EmitContext ec, System.Type container_type, System.Type qualifier_type, System.Type queried_type, System.String name, MemberTypes mt, BindingFlags bf, Location loc) in <0x0002f> Mono.CSharp.Expression:MemberLookupFinal (Mono.CSharp.EmitContext ec, System.Type qualifier_type, System.Type queried_type, System.String name, MemberTypes mt, BindingFlags bf, Location loc) in <0x0001d> Mono.CSharp.Expression:MemberLookupFinal (Mono.CSharp.EmitContext ec, System.Type qualifier_type, System.Type queried_type, System.String name, Location loc) in <0x0044a> Mono.CSharp.MemberAccess:DoResolve (Mono.CSharp.EmitContext ec, Mono.CSharp.Expression right_side) in <0x00012> Mono.CSharp.MemberAccess:DoResolve (Mono.CSharp.EmitContext ec) in <0x000c2> Mono.CSharp.Expression:Resolve (Mono.CSharp.EmitContext ec, ResolveFlags flags) in <0x00015> Mono.CSharp.Expression:Resolve (Mono.CSharp.EmitContext ec) in <0x00115> Mono.CSharp.Argument:Resolve (Mono.CSharp.EmitContext ec, Location loc) in <0x00199> Mono.CSharp.Invocation:DoResolve (Mono.CSharp.EmitContext ec) in <0x000c2> Mono.CSharp.Expression:Resolve (Mono.CSharp.EmitContext ec, ResolveFlags flags) in <0x00015> Mono.CSharp.Expression:Resolve (Mono.CSharp.EmitContext ec) in <0x00016> Mono.CSharp.ExpressionStatement:ResolveStatement (Mono.CSharp.EmitContext ec) in <0x0001f> Mono.CSharp.StatementExpression:Resolve (Mono.CSharp.EmitContext ec) in <0x0014b> Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext ec) in <0x002e7> Mono.CSharp.Foreach+ArrayForeach:Resolve (Mono.CSharp.EmitContext ec) in <0x001d2> Mono.CSharp.Foreach:Resolve (Mono.CSharp.EmitContext ec) in <0x0014b> Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext ec) in <0x0014b> Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext ec) in <0x0014b> Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext ec) in <0x001db> Mono.CSharp.If:Resolve (Mono.CSharp.EmitContext ec) in <0x0014b> Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext ec) in <0x000fc> Mono.CSharp.While:Resolve (Mono.CSharp.EmitContext ec) in <0x0014b> Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext ec) in <0x0007d> Mono.CSharp.Try:Resolve (Mono.CSharp.EmitContext ec) in <0x0014b> Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext ec) in <0x000e2> Mono.CSharp.EmitContext:ResolveTopBlock (Mono.CSharp.EmitContext anonymous_method_host, Mono.CSharp.ToplevelBlock block, Mono.CSharp.InternalParameters ip, Location loc, System.Boolean unreachable) in <0x00030> Mono.CSharp.EmitContext:EmitTopBlock (Mono.CSharp.ToplevelBlock block, Mono.CSharp.InternalParameters ip, Location loc) in <0x00335> Mono.CSharp.MethodData:Emit (Mono.CSharp.TypeContainer container, Mono.CSharp.Attributable kind) in <0x00022> Mono.CSharp.Method:Emit () in <0x0068d> Mono.CSharp.TypeContainer:EmitType () in <0x00249> Mono.CSharp.RootContext:EmitCode () in <0x00c0c> Mono.CSharp.Driver:MainDriver (System.String[] args) in <0x0000f> Mono.CSharp.Driver:Main (System.String[] args) make[2]: *** [lat.exe] Error 1 make[2]: Leaving directory `/var/tmp/portage/lat-0.7/work/lat-0.7/lat' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/lat-0.7/work/lat-0.7' make: *** [all] Error 2 the same problem with svn code. Any clue Loren?
Yeah I know what the problem is, it's you are using Gtk# 2.5. I checked my ebuild and I see I had put the depends for gtk-sharp, glade-sharp, and gnome-sharp at 2.5. I was just testing some stuff out with 2.5 and I shouldn't have left that in my ebuild. My mistake (D'oh!). For LAT 0.7, you have to use Gtk# 1.9.5. In my Subversion tree you have to use Gtk# 2.3. The reason that the error comes up is because LAT has two pre-built assemblies: * gnome-keyring-sharp.dll - The only distro I know that has a package for this is Debian. * Novell.Directory.Ldap.dll - In order to make SSL work, I needed to make a one line change to this .dll. I've been trying to get the Novell guys to change their code so I don't need to do this: http://lists.ximian.com/pipermail/mono-list/2005-September/028413.html http://forge.novell.com/modules/xfmod/tracker/index.php?func=detail&aid=1233&group_id=1318&atid=1362 You can tell LAT to not use these assemblies with the following ./configure switches: --enable-system-gnome-keyring Uses pkg-config to find the system installed copy of the gnome-keyring-sharp.dll. --enable-system-ldap Uses the standard Novell.Directory.Ldap.dll distributed with Mono. Be aware that using this option will break SSL support in LAT! I trying to get rid of both pre-built assemblies before the next release. It's become a pain to have them around.
I've released LAT 0.7.1 and removed all the prebuilt assemblies. Unfortunately this means I've had to disable SSL support and remove Gnome Keyring support entirely. It should be buildable though with Gtk# 2.3 or 2.5 (I recommend 2.3). Hopefully I'll be able to re-add the functionality in the near future.
Created attachment 67685 [details] lat-0.7.1.ebuild
great. Now it builds so i found a few bugs: * I cannot select several groups to add to an user (for example ctrl+clik) * I must add a group each time if not just one group is saved * i think that if a profile exist the "profiles" tab must be the default tab, not the "quick connect" tab. regards
some time i have this crash when i double-click in a user: bass@supercoco ~ $ lat Unhandled Exception: System.ArgumentException: Key duplication when adding: nut in <0x001d4> System.Collections.Hashtable:PutImpl (System.Object key, System.Object value, Boolean overwrite) in <0x00015> System.Collections.Hashtable:Add (System.Object key, System.Object value) in <0x002e2> lat.EditUserViewDialog:getGroups (Novell.Directory.Ldap.LdapEntry le) in <0x000ae> lat.EditUserViewDialog:.ctor (lat.Connection conn, Novell.Directory.Ldap.LdapEntry le) in <0x000c4> lat.ViewDialogFactory:Create (System.String name, lat.Connection cn, Novell.Directory.Ldap.LdapEntry le) in <0x0003b> lat.View:OnRowActivated (System.Object o, Gtk.RowActivatedArgs args) in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_RowActivatedArgs (object,Gtk.RowActivatedArgs) in <0x001a7> Gtk.TreeView:RowActivatedSignalCallback (IntPtr arg0, IntPtr arg1, IntPtr arg2, IntPtr gch) in (wrapper native-to-managed) Gtk.TreeView:RowActivatedSignalCallback (intptr,intptr,intptr,intptr) in <0x00000> <unknown method> in (wrapper managed-to-native) Gtk.Application:gtk_main () in <0x00007> Gtk.Application:Run () in <0x00007> Gnome.Program:Run () in <0x0019f> LdapAdministrationTool:Main (System.String[] args) In other hand, the windows don't remember the last position.
1. i think that if a profile exist the "profiles" tab must be the default tab, not the "quick connect" tab. I've changed this and updated the Subversion tree. 2. I cannot select several groups to add to an user (for example ctrl+clik) 3. I must add a group each time if not just one group is saved I'll take a look at these two later on, I've got to run to work right now. Shouldn't be a problem to fix those. 4. Crashing when double clicking a user I've checked in a fix for this to Subversion tree. Try it out and let me know it works for you.
I've fixed the other bugs when adding/removing groups for a user. This should resolve all your issues now. Code is available in my Subversion tree: $ mkdir lat $ cd lat $ svn co http://svn.mmgsecurity.com/svn/lat/trunk $ cd trunk $ ./autogen.sh $ ./configure $ make Let me know if these fixes work for you.
i want this great tool in portage :) i will check the new svn code tomorrow in the office. Great work
I want it in portage too :) That's cool let me know if it works out for you. Also I forgot to mention in my last entry, I also updated the code so you can add/remove multiple users when editing a group.
Hey I guess you haven't had a chance to test the new code yet. I'd like to release LAT 0.7.2 but I'd like to make sure your issues were solved first. Let me know as soon as you can if my fixes worked for you. Thanks.
sorry, i'm just back from USA i will test the new stuff tomorrow thanks for you good job
supercoco trunk # make install Making install in debian make[1]: Entering directory `/usr/src/lat/trunk/debian' make[2]: Entering directory `/usr/src/lat/trunk/debian' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/usr/src/lat/trunk/debian' make[1]: Leaving directory `/usr/src/lat/trunk/debian' Making install in gnome-keyring-glue make[1]: Entering directory `/usr/src/lat/trunk/gnome-keyring-glue' make[2]: Entering directory `/usr/src/lat/trunk/gnome-keyring-glue' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/local/lib/lat" || mkdir -p -- . "/usr/local/lib/lat" /usr/bin/install -c -m 644 'gnome-keyring-glue.dll' '/usr/local/lib/lat/gnome-keyring-glue.dll' make[2]: Leaving directory `/usr/src/lat/trunk/gnome-keyring-glue' make[1]: Leaving directory `/usr/src/lat/trunk/gnome-keyring-glue' Making install in lat make[1]: Entering directory `/usr/src/lat/trunk/lat' make[2]: Entering directory `/usr/src/lat/trunk/lat' test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin" /usr/bin/install -c 'lat' '/usr/local/bin/lat' test -z "/usr/local/lib/lat" || mkdir -p -- . "/usr/local/lib/lat" /usr/bin/install -c -m 644 'lat.exe' '/usr/local/lib/lat/lat.exe' test -z "/usr/local/man/man1" || mkdir -p -- . "/usr/local/man/man1" /usr/bin/install -c -m 644 './lat.1' '/usr/local/man/man1/lat.1' make[2]: Leaving directory `/usr/src/lat/trunk/lat' make[1]: Leaving directory `/usr/src/lat/trunk/lat' I have problems in make install Making install in po make[1]: Entering directory `/usr/src/lat/trunk/po' if test -n ""; then \ /usr/local/share; \ else \ /bin/sh ../mkinstalldirs /usr/local/share; \ fi /bin/sh: ../mkinstalldirs: No such file or directory make[1]: *** [install-data-yes] Error 127 make[1]: Leaving directory `/usr/src/lat/trunk/po' make: *** [install-recursive] Error 1
Looks like one of the autotools forgot to copy it in. I've had that problem fixed before. Looks like I need to fiddle with autogen.sh or something. Try the 0.7.3 release tarball, that will for work sure: http://people.mmgsecurity.com/~lorenb/lat/releases/lat-0.7.3.tar.gz
Running automake --add-missing --gnu (which the autogen.sh does) should copy the mkinstalldirs script. Don't know why it's not working so I just added it to the trunk (the solution other projects seem to use). So if you want to use the release tarball or the trunk both should compile and install without issues now.
This is going nowhere. Please close this bug or at least remove me from any future updates. Thanks.
*** Bug 145704 has been marked as a duplicate of this bug. ***
I've committed a cleaned-up version of the ebuild provided on the projects page to the gentoo-sunrise overlay. It will be available here in a couple of hours: http://gentoo-sunrise.org/svn/reviewed/net-nds/lat. Or via the overlay (for example using layman).
Created attachment 95553 [details] lat-1.0.6.ebuild The cleaned-up ebuild.
I had no idea this bug was still open. Anyway, I looked at the cleaned-up ebuild and I noticed that you removed ~amd64 from the keywords. For the record, I use Gentoo (~amd64), and that is what LAT is developed on. I've never tested it under ~x86, I just assumed it would work given my experiences with 32-bit Fedora and Ubuntu. I'd recommend re-adding ~amd64 to the keywords.
Well, I'm working on x86 only and I can't add arch's for which I can't assure that the package works. But I'll of course add ~amd64 as well since you can assure compatibility. I've updated the ebuild to v1.1.6 a couple of hours ago. The file ServiceFinder.cs was missing and I had to patch it in. It will probably take some hours until the new ebuild and the one with ~amd64 added get reviewed. Nice app btw!
Cool. Yeah I had a logic error in the lat/Makefile.am. I fixed the issue and released 1.1.6.1 which includes the missing file. You can download it from http://dev.mmgsecurity.com/downloads/lat/1.1/lat-1.1.6.1.tar.gz Thanks.
FYI I released 1.0.7 today. It's available at the usual spot: http://dev.mmgsecurity.com/downloads/lat/lat-1.0.7.tar.gz
now im portage