Marco Rebsamen | 7 Mar 14:48 2004
Picon

[webmin-devel] acl_security.pl


Hi allsome

I got some troubles with acl_security.pl. If i want to edit the rights for 
some user, i always get this error

gamecom::acl_security_form failed : Undefined subroutine 
&gamecom::acl_security_form called at (eval 20) line 2. 

Webmin: 1.121

Here's my code:

#!/usr/bin/perl -w

do '../web-lib.pl';
&init_config();

sub acl_security_form
{
 <at> servers = split (/,/$access{ed_srvrs});
 <at> srv_actions = split (/\//,$access{srv_actions});
 <at> pl_actions = split (/\//,$access{pl_actions});

print "<tr>
	<td colspan=2>Serverzugriff</td>
	</tr>";

foreach $server ( <at> servers)
    {
(Continue reading)

Jamie Cameron | 8 Mar 07:42 2004

Re: [webmin-devel] acl_security.pl

I see the bug - the line

 <at> servers = split (/,/$access{ed_srvrs});

should read

 <at> servers = split (/,/, $access{ed_srvrs});

This is also a bug in Webmin, as the user ACL page should display some
kind of error in cases like this.

Also, since %access won't be set in this context, you need to put this
line at the top of the function :

%access = %{$_[0]};

 - Jamie

On Mon, 2004-03-08 at 00:48, Marco Rebsamen wrote:
> Hi allsome
> 
> I got some troubles with acl_security.pl. If i want to edit the rights for 
> some user, i always get this error
> 
> gamecom::acl_security_form failed : Undefined subroutine 
> &gamecom::acl_security_form called at (eval 20) line 2. 
> 
> Webmin: 1.121
> 
> Here's my code:
(Continue reading)

Marco Rebsamen | 8 Mar 12:30 2004
Picon

Re: [webmin-devel] acl_security.pl

Thanks, it works :)

Am Montag, 8. März 2004 07:42 schrieb Jamie Cameron:
> I see the bug - the line
>
>  <at> servers = split (/,/$access{ed_srvrs});
>
> should read
>
>  <at> servers = split (/,/, $access{ed_srvrs});
>
> This is also a bug in Webmin, as the user ACL page should display some
> kind of error in cases like this.
>
> Also, since %access won't be set in this context, you need to put this
> line at the top of the function :
>
> %access = %{$_[0]};
>
>  - Jamie
>
> On Mon, 2004-03-08 at 00:48, Marco Rebsamen wrote:
> > Hi allsome
> >
> > I got some troubles with acl_security.pl. If i want to edit the rights
> > for some user, i always get this error
> >
> > gamecom::acl_security_form failed : Undefined subroutine
> > &gamecom::acl_security_form called at (eval 20) line 2.
> >
(Continue reading)

David Filion | 10 Mar 15:40 2004

[webmin-devel] Preventing re-execution of code

Hi there,

Does anyone know, or is able to suggest, how I can prevent a piece of 
code in my module from re-executing when the user refreshes the page in 
their browser? I've tried setting a value in %in but that doesn't seem 
to work.

Thanks

David

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
-
Forwarded by the Webmin development list at webmin-devel <at> webmin.com
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel

Martin Mewes | 15 Mar 17:06 2004
Picon

[FAQ] Webmin/Usermin/Virtualmin - On the fly updates

######################################################################

History:
--------

13.03.2004
Development Release Webmin-Version 1.136

23.02.2004
Development Release Usermin-Version 1.064

22.02.2004
Virtualmin-Version 1.81 released as stable

26.01.2003
Webmin-Version 1.130 released as stable
Usermin-Version 1.060 released as stable

######################################################################

Current Stable Release for Webmin is 1.130
http://prdownloads.sourceforge.net/sourceforge/webadmin/webmin-1.130.tar.gz
http://prdownloads.sourceforge.net/webadmin/webmin-1.130-1.noarch.rpm
http://webmin.mamemu.de/devel/tarballs/webmin-1.130-minimal.tar.gz

Current Development Release for Webmin is 1.136
http://webmin.mamemu.de/devel/rpm/webmin-1.136-1.src.rpm
http://webmin.mamemu.de/devel/rpm/webmin-1.136-1.noarch.rpm
http://webmin.mamemu.de/devel/tarballs/webmin-1.136.tar.gz

(Continue reading)

Martin Mewes | 19 Mar 10:46 2004
Picon

[FAQ] Webmin/Usermin/Virtualmin - On the fly updates

######################################################################

History:
--------

19.03.2004
Development Release Usermin-Version 1.066

13.03.2004
Development Release Webmin-Version 1.136

22.02.2004
Virtualmin-Version 1.81 released as stable

26.01.2003
Webmin-Version 1.130 released as stable
Usermin-Version 1.060 released as stable

######################################################################

Current Stable Release for Webmin is 1.130
http://prdownloads.sourceforge.net/sourceforge/webadmin/webmin-1.130.tar.gz
http://prdownloads.sourceforge.net/webadmin/webmin-1.130-1.noarch.rpm
http://webmin.mamemu.de/devel/tarballs/webmin-1.130-minimal.tar.gz

Current Development Release for Webmin is 1.136
http://webmin.mamemu.de/devel/rpm/webmin-1.136-1.src.rpm
http://webmin.mamemu.de/devel/rpm/webmin-1.136-1.noarch.rpm
http://webmin.mamemu.de/devel/tarballs/webmin-1.136.tar.gz

(Continue reading)

Bart Kalita | 24 Mar 02:02 2004
Picon

[webmin-devel] mount.cifs

How big is the chance that  a new version of webmin will support 
mounting cifs ?

-- 
____________________________________________________

Bart Kalita  MCP

Registered Linux user #347493   Fedora Core 2

www.bart-domain.com    www.astradine.no-ip.org

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
-
Forwarded by the Webmin development list at webmin-devel <at> webmin.com
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel

Jamie Cameron | 24 Mar 11:26 2004

Re: [webmin-devel] mount.cifs

Isn't CIFS just another name for SMBFS, which Webmin already supports
(at least on Linux). It is called the 'Windows Networking Filesystem'
type in the mount module ..

 - Jamie

On Wed, 2004-03-24 at 12:02, Bart Kalita wrote:
> How big is the chance that  a new version of webmin will support 
> mounting cifs ?

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
-
Forwarded by the Webmin development list at webmin-devel <at> webmin.com
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel

Bart Kalita | 24 Mar 11:58 2004
Picon

Re: [webmin-devel] mount.cifs

No, its not.

When nounting via smbfs in webmin:

"Error: smbfs filesystem not supported by kernel...."

Kernel version is 2.6.4-1.286 form Fedora Core 2 Test 1

apparently `support for smbmnt is out and support for cifs is in.

Once mounted  via cifs U can see them  in webmin in Disk and Network 
Filesystems  but  shares can't be made permanent nor can be edited.

It might be only Fedora/Red Hat idea during testing, and they will 
revert to using smbmnt in release Kernels.

Still If they decide to stay with cifs.....

curently I mount my shares via shell with following command:

mount -t cifs -o username=administrator //Nexus/Downs 
/home/bart/nexus_downs/

Jamie Cameron wrote:

>Isn't CIFS just another name for SMBFS, which Webmin already supports
>(at least on Linux). It is called the 'Windows Networking Filesystem'
>type in the mount module ..
>
> - Jamie
(Continue reading)

Peter Astrand | 24 Mar 13:58 2004
Picon

Re: [webmin-devel] mount.cifs

> No, its not.
> 
> "Error: smbfs filesystem not supported by kernel...."
...
> >Isn't CIFS just another name for SMBFS, which Webmin already supports
> >(at least on Linux). It is called the 'Windows Networking Filesystem'
> >type in the mount module ..

CIFS is just another name for SMB, but "cifsfs" is not the same thing as
"smbfs". smbfs is the old Linux kernel implementation, while cifsfs is new
and better one. cifsfs is included in Linux 2.6. Perhaps they have removed
smbfs?

--

-- 
Peter Åstrand		www.thinlinc.com
Cendio			www.cendio.se
Teknikringen 3		Phone: +46-13-21 46 00
583 30 Linköping

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
-
Forwarded by the Webmin development list at webmin-devel <at> webmin.com
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel

(Continue reading)


Gmane