]> git.ipfire.org Git - ipfire-2.x.git/blame - html/cgi-bin/samba.cgi
Erste Teile der neuen Netzwerkscripte.
[ipfire-2.x.git] / html / cgi-bin / samba.cgi
Content-type: text/html ]> git.ipfire.org Git - ipfire-2.x.git/blame - html/cgi-bin/samba.cgi


500 - Internal Server Error

Malformed UTF-8 character (fatal) at (eval 6) line 1, <$fd> line 126.
CommitLineData
5e773594
MT
1#!/usr/bin/perl
2#
3# IPFire CGIs
4#
5# This code is distributed under the terms of the GPL
6#
7# (c) The IPFire Team
5e773594
MT
8
9use strict;
10# enable only the following on debugging purpose
11use warnings;
12use CGI::Carp 'fatalsToBrowser';
13
14require '/var/ipfire/general-functions.pl';
15require "${General::swroot}/lang.pl";
16require "${General::swroot}/header.pl";
17
18my %sambasettings = ();
44254afd 19my %cgisettings = ();
5e773594
MT
20my %checked = ();
21my %netsettings = ();
97de2cae 22my %ovpnsettings = ();
5e773594
MT
23my $message = "";
24my $errormessage = "";
14cc7eac 25my $defaultoption= "[Share]\npath = /shares/share1\ncomment = Share - Public Access\nbrowseable = yes\nwriteable = yes\ncreate mask = 0777\ndirectory mask = 0777\nguest ok = yes\npublic = yes\nforce user = samba";
1ee8bf5d
MT
26my $userentry = "";
27my @user = ();
28my @userline = ();
5e773594
MT
29my @proto = ();
30my %selected= () ;
1ee8bf5d 31my $userfile = "/var/ipfire/samba/private/smbpasswd";
5e773594 32&General::readhash("${General::swroot}/ethernet/settings", \%netsettings);
97de2cae 33&General::readhash("${General::swroot}/ovpn/settings", \%ovpnsettings);
5e773594 34
14cc7eac
MT
35############################################################################################################################
36