diff --git a/codepot/DEBIAN/Makefile.am b/codepot/DEBIAN/Makefile.am index d0fdb862..aae8392a 100644 --- a/codepot/DEBIAN/Makefile.am +++ b/codepot/DEBIAN/Makefile.am @@ -5,7 +5,7 @@ doc_DATA = copyright changelog debdir=/DEBIAN deb_DATA = control conffiles -deb_SCRIPTS = postinst postrm +deb_SCRIPTS = postinst postrm install-data-hook: gzip -9 -f $(DESTDIR)$(DOCDIR)/changelog diff --git a/codepot/DEBIAN/Makefile.in b/codepot/DEBIAN/Makefile.in index da879cad..58ff9855 100644 --- a/codepot/DEBIAN/Makefile.in +++ b/codepot/DEBIAN/Makefile.in @@ -173,7 +173,7 @@ EXTRA_DIST = conffiles copyright changelog doc_DATA = copyright changelog debdir = /DEBIAN deb_DATA = control conffiles -deb_SCRIPTS = postinst postrm +deb_SCRIPTS = postinst postrm all: all-am .SUFFIXES: diff --git a/codepot/src/codepot/models/ldaploginmodel.php b/codepot/src/codepot/models/ldaploginmodel.php index 2bf28c3f..47a07d3c 100644 --- a/codepot/src/codepot/models/ldaploginmodel.php +++ b/codepot/src/codepot/models/ldaploginmodel.php @@ -52,7 +52,7 @@ class LdapLoginModel extends LoginModel } - @ldap_unbind ($bind); + //@ldap_unbind ($ldap); @ldap_close ($ldap); return parent::authenticate ($userid, $password, $email); @@ -100,7 +100,7 @@ class LdapLoginModel extends LoginModel } - @ldap_unbind ($bind); + //@ldap_unbind ($ldap); @ldap_close ($ldap); $user['id'] = $userid;