Yes, this is exactly what I wanted to advise you :)
Create a new ycp client that just handles in/out and calls the ldap module inside:
See, e.g., this one /usr/share/YaST2/clients/inst_language.ycp made by Jiri Suchomel: { import "GetInstArgs";
map args = GetInstArgs::argmap();
if (args["first_run"]:"yes" != "no") args["first_run"] = "yes";
return WFM::CallFunction ("select_language", [args]); }
Very simple and works as expected. Patching an existent client works but could produce a lot of confusion when being tested and debugged.
L.
So I'll try this: { import "GetInstArgs"; map args = GetInstArgs::argmap(); if (args["first_run"]:"yes" != "no") args["first_run"] = "yes"; return WFM::CallFunction ("ldap", [args]); } is that what you meant? -- Jordi Massaguer i Pla openTrends Solucions i Sistemes, S.L. Torre Llacuna C/Llacuna 166, 10º 1ª A 08018 Barcelona Phone: (+34) 93 320 84 14 Fax: (+34) 93 300 35 27 -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org