|
Bugzilla – Full Text Bug Listing |
| Summary: | ldap-client: add standard Write() function | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.3 | Reporter: | Michael Calmer <mc> |
| Component: | YaST2 | Assignee: | Jiří Suchomel <jsuchome> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Alpha 1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
I can do it, but from which part of code do you want to call this? If it is from UI, you actually should give the function the abort block as parameter (and UI parts should not be written in Perl, of course). It is not the UI part. It is the module from kerberos-server. See Ldap::WriteNow in yast2-ldap-client-2.15.4. |
Ldap.ycp has a Write function which requires block<boolean> as parameter. This is not supported to access from perl. Please add an additional function like: global define boolean Write() ``{ block<boolean> abort_block = ``{ return false; }; symbol ret = Ldap::Write(abort_block); if(ret == `abort) { return false; } return true; }