Skip to content

Commit

Permalink
- enable changing of cn value if LDAP user is not saved yet
Browse files Browse the repository at this point in the history
  (bnc#904645)
- 3.1.35
  • Loading branch information
jsuchome committed Nov 20, 2014
1 parent 9ebc15c commit cb149f7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions package/yast2-users.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Nov 20 10:44:41 CET 2014 - jsuchome@suse.cz

- enable changing of cn value if LDAP user is not saved yet
(bnc#904645)
- 3.1.35

-------------------------------------------------------------------
Thu Oct 16 12:31:21 CEST 2014 - jsuchome@suse.cz

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-users.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-users
Version: 3.1.34
Version: 3.1.35
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
3 changes: 2 additions & 1 deletion src/include/users/dialogs.rb
Expand Up @@ -1145,7 +1145,8 @@ def EditUserDialog(what)
givenname = ""
end
end
if cn == "" &&
# enable changing of cn value only if LDAP user is not saved yet (bnc#904645)
if (cn == "" || action == "added") &&
# no substitution when editing: TODO bug 238282
(what == "edit_user" ||
!# cn should not be substitued:
Expand Down

0 comments on commit cb149f7

Please sign in to comment.