Bug 130707 - yast2-users: Incompatibility of the hash attribute "config".
Summary: yast2-users: Incompatibility of the hash attribute "config".
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Jiří Suchomel
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-26 08:42 UTC by Peter Varkoly
Modified: 2005-10-27 14:09 UTC (History)
0 users

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
patch for /usr/share/YaST2/include/users/dialogs.ycp (877 bytes, patch)
2005-10-26 09:22 UTC, Jiří Suchomel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Varkoly 2005-10-26 08:42:59 UTC
Corresponding the statement in UsersPluginLDAPAll.pm the hash config has to have following structure:

# in 'config' map there is a info of this type:
# "what"                => "user" / "group"
# "modified"            => "added"/"edited"/"deleted"
# "enabled"             => 1/ key not present
# "disabled"            => 1/ key not present
# "plugins_to_remove"   => list of plugins which has to be removed 


But users/dialogs.ycp calls the GUI funktions with an other hash structure:
Calling YaST client users_plugin_ldap_all (arguments: ["Summary", $["what":"edit_user"]]) 

:-(
Comment 1 Jiří Suchomel 2005-10-26 09:22:44 UTC
Created attachment 55507 [details]
patch for /usr/share/YaST2/include/users/dialogs.ycp

First shot.
Comment 2 Peter Varkoly 2005-10-26 09:32:25 UTC
Thanks it works fine:-)
Comment 3 Jiří Suchomel 2005-10-27 08:52:32 UTC
note: that "type" parameter is not necessary
Comment 4 Jiří Suchomel 2005-10-27 14:09:49 UTC
fixed