Package: directoryassistant Version: 1.4-1 Severity: normal Tags: patch
the dialog which pops up if ~/.cirectoryassistant doesn't exist is too with. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.8-2-686 Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages directoryassistant depends on: ii python 2.3.4-6 An interactive high-level object-o ii python-gtk2 2.4.1-2 Python bindings for the GTK+ widge ii python-ldap 2.0.4-1 A LDAP interface module for Python -- no debconf information
diff -rub directoryassistant-1.4.orig/directoryassistant directoryassistant-1.4/directoryassistant --- directoryassistant-1.4.orig/directoryassistant 2004-11-13 10:39:00.000000000 +0100 +++ directoryassistant-1.4/directoryassistant 2005-02-09 10:37:10.000000000 +0100 @@ -462,7 +462,7 @@ if (os.path.exists(filename)): message = 'Your configfile '+filename+' does not contain\nboth the required fields ldapurl and basedn.' else: - message = 'Your configfile '+filename+' did not yet exist, an empty config file is created, but you have to set the correct values.' + message = 'Your configfile '+filename+' did not yet exist.\nAn empty config file is created, but you have to set the correct values.' fd = open(filename, 'w') fd.write("[main]\n#ldapurl = ldap://myserver/\n#bind_dn = cn=myaccount,o=myorg\n#bind_password = mysecret\n#base_dn = ou=Mydepartment,o=myorg\n#startup_search=myname") fd.close()