[debian-edu-commits] debian-edu/ 01/01: d-e-c/tools/gosa-sync: Support password changes for DNs containing blanks.

Mike Gabriel sunweaver at debian.org
Mon Jan 8 21:52:07 UTC 2018


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository debian-edu-config.

commit a69395a109510662bcef508b0e6e8a382b7ca695
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Jan 8 22:51:56 2018 +0100

    d-e-c/tools/gosa-sync: Support password changes for DNs containing blanks.
---
 debian/changelog                        | 6 ++++++
 share/debian-edu-config/tools/gosa-sync | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 0013833..8bc2894 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+debian-edu-config (1.945) UNRELEASED; urgency=medium
+
+  * d-e-c/tools/gosa-sync: Support password changes for DNs containing blanks.
+
+ -- Mike Gabriel <sunweaver at debian.org>  Mon, 08 Jan 2018 22:51:16 +0100
+
 debian-edu-config (1.944) unstable; urgency=medium
 
   [ Wolfgang Schweer ]
diff --git a/share/debian-edu-config/tools/gosa-sync b/share/debian-edu-config/tools/gosa-sync
index 4f6f2b2..f6654f8 100755
--- a/share/debian-edu-config/tools/gosa-sync
+++ b/share/debian-edu-config/tools/gosa-sync
@@ -14,7 +14,7 @@ set -e
 ## A caller not knowing the correct ldap password cannot change the
 ## principal's one.
 
-USERDN="$1"
+USERDN="$@"
 USERID=`echo "$USERDN" | sed "s/^uid=\([^,]*\),.*$/\1/"`
 
 # check if the given user account has the Kerberos principal objectClass set...

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-config.git



More information about the debian-edu-commits mailing list