Re: [webmin-devel] RPC webmin

hahmed <[email protected]> Wed, 29 Apr 2009 16:30:47 +0200
Newsgroups gmane.comp.web.webmin.devel
Message-ID <[email protected]>
ok, Thx :)
I tried the following to get the config of a remote webmin server
(already configured in the webmin servers index and I tried the
remote_foreign_check to check if everything is all right) :

%remote_config=&remote_foreign_config($in{'server'},"firewall");
but when I try to print the elements of the hash, like following :

print "$remote_config{'direct'}";
foreach $remote_config (values %remote_config)
{
        print "Some config is $remote_config\n";
}
I got an empty string, although 'direct' exists in the remote host
config and its value is 0.
Any help please.
regards
h.ahmed

-- 
Ahmed Hamouda

http://www.fedora-tunisia.org/
http://forums.fedora-fr.org/

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
-
Forwarded by the Webmin development list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel