Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Mittelerde

Pages: [1] 2
1
Other modules / Zentyal Labs
« on: June 02, 2016, 11:25:11 am »
Hello


Zentyal Labs is down(broken)

Stay Tuned -> Zentyal Labs

2
Directory and Authentication / Only 1st page in this forum available ?
« on: January 18, 2016, 10:16:56 am »
Hello

i see only the first page in this forum !??!!

4
Installation and Upgrades / Ebury detected ?
« on: February 27, 2014, 02:35:16 pm »
   Hi Zentyal community

I wanted to ask if anyone have a problem with the Ebury Rootkit

What it is
English: https://www.cert-bund.de/ebury-faq
German: https://www.bsi.bund.de/DE/Presse/Kurzmitteilungen/Kurzmit2014/Ebury_Rootkit_130214.html

My version: 2.2.9 no infection
and runs smoothly with no problems ....

5
Today I have downloaded the stable Zentyal-2.2-2 (64-bit) ISO

and installed in VirtualBox 4.2.12 with bridged network a few times

after the installation i do a

Code: [Select]
sudo  -s
apt-get update && apt-get upgrade

in the browser configuration

Select packages to install Zentyal
installation skipped

The proposed software updates I have installed

Save changes -error- that must not be 0 hook ?

Then install the following modules
Users and Groups           2.2.8
Usercorner                      2.8
Firewall                            2.2.1
Network configuration     2.2.9
Network objects              2.2
Network services             2.2

Static network configuration

ip 192.168.0.200
gateway 192.168.0.1

(VM in a teminal i can ping machines outside)

Server type
Advanced settings ... master slave / ad synchronization

all modules in the module status set to on

now my problem
The firewall seems broken
Firewall -> packet filter -> advanced control of zentyal services
No visible control
No possibility to set rules

Ping the machine works off and on or off !! after rebooting
If i set the firewall off - ping always works

Doing on a other computer with 2 Terminals opened
do a ping - I restart the VM - Terminal 1 gets response
on Terminal 2 i do a ping while booting the vm up - no answer - Terminal 1 gets further answer ... ..?


Sorry, I don`t have a glue. It seems the firewall configuration is damaged?

any help is welcome

6
German / Zentyal 3.0.20 Master/Slave
« on: May 17, 2013, 11:22:50 am »
guten Tag ;)

folgendes Szenario

Ich will 2 Zentyal VM`s (KVM) als Master/Slave konfigurieren
in der hosts Datei der jeweiligen VM ist der Name & IP des anderen eingetragen
Certification Authority erstellt und gültig
Gegenseitiges Ping funktioniert
Ports (umgestellt) sind offen
alle Module laufen

Wenn ich beim gewünschten Slave unter
Benutzer -> Synchronization
Zentyal Master IP (oder Masterhostname) + Port + Slave connection password eingebe bekomme ich das mit der Meldung
Quote
Couldn`t configure Zentyal as slave: Invalid Password
Quittiert
Das Passwort stimmt !...?!??
Master-Server -> Benutzer und Gruppen -> Synchronization -> Slave connection passwort (leerzeichen bei copy&paste gelöscht)

auf dem Master
Quote
/var/log/zentyal/error.log
[Fri May 17 11:00:25 2013] [error] [client 192.168.30.210] user slave: authentication failure for "/master": Password Mismatch

Ich bekomme den sync nicht hin ?

bei meinen anderen Servern Zentyal 2.2.9
1x Master 4x Slave  - funktioniert die Benutzerreplikation
hat jemand einen Tip für mich ?

7
Installation and Upgrades / User List / Machine accouts 2.2 & 3
« on: March 11, 2013, 01:11:34 pm »
Hello,
today im doing my first steps with Zentyal 3

My Zentyal domainserver is up & running - easy ....

i create some users and log in with different machines and os

join / disconnect from the domain

now i try to remove some machine accounts from the server
in zentyal 2.2 it was

Code: [Select]
smbldap-userlist
smbldap-userdel maschinenname$

How can I delete the machine accounts in zentyal 3
(cli preference)
regards

8
German / Zentyal 2.2.7 - Zarafa 7.0.10-37482 - Termin Chaos
« on: January 15, 2013, 02:11:03 pm »
Ich habe seit heute das Problem das ich keine Termine wie vorher anlegen kann

Vorher hab ich 1x im Kalender geklickt, irgendwas geschrieben, dann mit einem Doppelklick die Details / Wiederholungen eingestellt.
Das geht nun nicht mehr.....?!!??
Der Termin merkt sich nicht mehr seine "usprünglich angelegte Uhrzeit" beim anlegen von wiederholen, aus 12:00 - 12:30 wird beim klicken auf wiederholungen Uhrzeit 9:00 - 9:00 - das ist sehr hinderlich da ich auf diese weise viele Termine mit wiederholungen anlege

Webaccess "defekt"
Wabapp "ok"

hat jemand ähnliches beobachtet ?

9
Installation and Upgrades / Zentyal + PhpVirtualBox
« on: August 24, 2012, 10:53:36 am »
Hello,
heres a manual to add PHPVirtualbox to Zentyal Server
then you are able to manage your VirtualBox VM`s in a browser ;)


First we add the Virtualbox repository & key
see (https://www.virtualbox.org/wiki/Linux_Downloads)

open a terminal and do:

Code: [Select]
sudo -s
echo "deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free" >> /etc/apt/sources.list
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | apt-key add -
apt-get update && apt-get upgrade



Virtualbox
I use the version 4.1 - found there https://www.virtualbox.org/wiki/Downloads

Code: [Select]
apt-get install virtualbox-4.1 && apt-get install dkms
optional (remove old Packages)
Code: [Select]
apt-get autoremove
exit
   

Now install the VirtualBox extension pack https://www.virtualbox.org/wiki/Downloads

Code: [Select]
cd ~/Downloads (Points you in your Username/Downloads Folder)
Code: [Select]
wget http://download.virtualbox.org/virtualbox/4.1.20/Oracle_VM_VirtualBox_Extension_Pack-4.1.20-80170.vbox-extpack
sudo VBoxManage extpack install ./Oracle_VM_VirtualBox_Extension_Pack-4.1.20-80170.vbox-extpack

Now install PHPVirtualBox http://code.google.com/p/phpvirtualbox/downloads/list

Code: [Select]
wget http://phpvirtualbox.googlecode.com/files/phpvirtualbox-4.1-8.zip
sudo unzip -q phpvirtualbox-4.1-8.zip -d /var/www/
sudo mv /var/www/phpvirtualbox-4.1-8/ /var/www/phpvirtualbox

Now,  copy & edit the PHPVirtualBox config file
Code: [Select]
sudo cp /var/www/phpvirtualbox/config.php-example /var/www/phpvirtualbox/config.php
My Username: Gandalf
My Password: gollum

Remember: My Username have the permissions to run the VirtualBox VM - Normally its your Zentyal login & password

Code: [Select]
sudo nano /var/www/phpvirtualbox/config.php
search following lines and replace with your username & password

        /* Username / Password for system user that runs VirtualBox */
        var $username = 'Gandalf';
        var $password = 'gollum';

Optional:
       /* Console tab keyboard layout. Currently Oracle's RDP client only supports EN $
      var $consoleKeyboardLayout = 'DE';

and replace with your needs, default is EN

save & exit with strg&x + y

now  configure the vboxwebsrv autostart with a initscript
download it
Code: [Select]
wget http://phpvirtualbox.googlecode.com/files/vboxwebsrv
now edit the downloaded for vboxwebsrv and replace the username with yours
for me it looks like this
Code: [Select]
nano vboxwebsrv       
       
        NAME=vboxwebsrv
        SCRIPTNAME=/etc/init.d/$NAME
        USER=Gandalf

save & exit with strg&x + y

now move the script to the right place and give the permissions

Code: [Select]
sudo mv ./vboxwebsrv /etc/init.d/
sudo chown root:root /etc/init.d/vboxwebsrv
sudo chmod +x /etc/init.d/vboxwebsrv

update init (autostart)
Code: [Select]
sudo update-rc.d vboxwebsrv defaults
now you can access PHPVirtualBox in your browser

    http://yourserver/phpvirtualbox

username: admin
password: admin

Change it after first login
File - change passwort

now you can enable the remote display

i connect with linux with rdesktop

Code: [Select]
sudo apt-get install rdesktop
simple connect on a shell with

Code: [Select]
rdesktop yourserverip:remotedesktopport
dont forget to open the rdp port in the zentyal firewall settings

Programm versions:
Zentyal Core version 2.2.7
virtualbox-4.1-8-
Oracle_VM_VirtualBox_Extension_Pack-4.1.20-80170.vbox-extpack
phpvirtualbox-4.1-8.zip


References:
http://www.heise.de/open/artikel/Toolbox-Virtualbox-im-Browser-mit-phpVirtualbox-1668019.html
https://www.virtualbox.org/wiki/Linux_Downloads
http://code.google.com/p/phpvirtualbox/downloads/list
https://www.virtualbox.org/wiki/Licensing_FAQ


that's it, thanks for the attention ;)

10
Installation and Upgrades / User corner on slaves
« on: March 01, 2012, 07:02:20 am »
Hello,
I want to receive mails from external accounts
I installed the user corner on my slave(s) and get the message - Failed to enable: User corner is only available in master or standalone servers

master version - 2.2.5
slave(s) version - 2.2.5

Which is used to set external mail received from slaves?
 I imagine looking in the wrong?

11
Installation and Upgrades / Samba access on a Server WebPage
« on: February 18, 2012, 08:06:08 pm »
Hallo,

i`ve taken some snippets from there and build/modify this script to build a website that shows the current connected users and the locked files with samba access connected users

to keep it simple i give read permission to the group www-data

copy smbstatus.php your server
do a
sudo -s
mv smbstatus.php /var/www
chown www-data\: /var/www/smbstatus.php
chmod ug+r-w-x /var/www/smbstatus.php

smbstatus.php
Code: [Select]
<meta http-equiv="Refresh" content="30;url=smbstatus.php">
<p>Site refresh every 30 Seconds</p>
<?

error_reporting(0);

     
    exec("smbstatus -S",$log);
    exec("smbstatus -L",$lock);
     
    $pid_us = array();
    for($i=3;$i<sizeof($log);$i++)
        if(!trim($log[$i])=="") {
            $users[] = split("[ ]+",$log[$i],4);
            $pid_us[$users[sizeof($users)-1][1]] = $users[sizeof($users)-1][2];
            }
    for($i=3;$i<sizeof($lock);$i++)
        if(!trim($lock[$i])=="") {         
                $line = split("[ ]+",$lock[$i],7);
                $usr = $pid_us[$line[0]];
                if(trim($usr)=="") $usr = $line[0];                               
                $locks[$line[0]][] = array($line[0],$usr,substr_replace($line[6],"",-25));  //Remove date (25 chars from the right
            }
         
    //die("");
     
    echo "<br />";
    echo "Connected users :\n";
    echo "<br /><br />";
    echo "<table>\n";
    foreach($users as $user){
        list($service,$pid,$mach,$date) = $user;
        echo "<tr\n>";
        echo "<td class=\"user\">".$mach."</td>\n";
        echo "<td class=\"pid\">".$pid."</td>\n";
        echo "<td>".$service."</td>\n";
        echo "<td>".$date."</td>\n";
        echo "</tr>\n";
    }
    echo "</table>\n\n";
     
    echo "<br /><br />";
    echo "Locked files :\n";
    echo "<br /><br />";
    echo "<table>\n";
     
    $cuser = "";
    $first = true;
    foreach($locks as $l){
        foreach($l as $lck){
            list($pid, $user,$file) = $lck;
            if($user != $cuser){       
                if(!$first){
                    echo "<tr>\n";
                    echo "<td>&nbsp;</td>\n";
                    echo "<td>&nbsp;</td>\n";
                    echo "<td>&nbsp;</td>\n";
                    echo "</tr>\n";             
                    }
                echo "<tr>\n";           
                echo "<td class=\"user\">".$user."</td>\n";
                echo "<td>".$file."</td>\n";
                echo "</tr>\n";
                $cuser = $user;
                }
            else {
                echo "<tr>\n";
                echo "<td>&nbsp;</td>\n";
                echo "<td>&nbsp;</td>\n";
                echo "<td>".$file."</td>\n";   
                echo "</tr>\n";             
                }
            $first = false;
            }
    }
    echo "</table>\n";
    ?>

Have fun ;)

12
German / Smbstatus - als PHP Script auf dem WebServer
« on: February 18, 2012, 11:56:57 am »
Hallo,

Ein PHP Script das ich HIER abgekupfert habe.

Es zeigt auf einer Webseite auf dem Server die verbundenen Benutzer und welche Pfade/Dateien geöffnet sind.
Der einfachheit halber gebe ich der Gruppe www-data Lesezugriff

sudo
mv smbstatus.php /var/www
chown www-data\: /var/www/smbstatus.php
chmod ug+r-w-x /var/www/smbstatus.php

smbstatus.php
Code: [Select]
<meta http-equiv="Refresh" content="30;url=smbstatus.php">
<p>Diese Seite akualisiert sich alle 30 Sekunden automatisch</p>
<?

error_reporting(0);

     
    exec("smbstatus -S",$log);
    exec("smbstatus -L",$lock);
     
    $pid_us = array();
    for($i=3;$i<sizeof($log);$i++)
        if(!trim($log[$i])=="") {
            $users[] = split("[ ]+",$log[$i],4);
            $pid_us[$users[sizeof($users)-1][1]] = $users[sizeof($users)-1][2];
            }
    for($i=3;$i<sizeof($lock);$i++)
        if(!trim($lock[$i])=="") {         
                $line = split("[ ]+",$lock[$i],7);
                $usr = $pid_us[$line[0]];
                if(trim($usr)=="") $usr = $line[0];                               
                $locks[$line[0]][] = array($line[0],$usr,substr_replace($line[6],"",-25));  //Remove date (25 chars from the right
            }
         
    //die("");
     
    echo "<br />";
    echo "Verbundene Rechner/Benutzer :\n";
    echo "<br /><br />";
    echo "<table>\n";
    foreach($users as $user){
        list($service,$pid,$mach,$date) = $user;
        echo "<tr\n>";
        echo "<td class=\"user\">".$mach."</td>\n";
        echo "<td class=\"pid\">".$pid."</td>\n";
        echo "<td>".$service."</td>\n";
        echo "<td>".$date."</td>\n";
        echo "</tr>\n";
    }
    echo "</table>\n\n";
     
    echo "<br /><br />";
    echo "Gesperrte Dateien/Verzeichnisse :\n";
    echo "<br /><br />";
    echo "<table>\n";
     
    $cuser = "";
    $first = true;
    foreach($locks as $l){
        foreach($l as $lck){
            list($pid, $user,$file) = $lck;
            if($user != $cuser){       
                if(!$first){
                    echo "<tr>\n";
                    echo "<td>&nbsp;</td>\n";
                    echo "<td>&nbsp;</td>\n";
                    echo "<td>&nbsp;</td>\n";
                    echo "</tr>\n";             
                    }
                echo "<tr>\n";           
                echo "<td class=\"user\">".$user."</td>\n";
                echo "<td>".$file."</td>\n";
                echo "</tr>\n";
                $cuser = $user;
                }
            else {
                echo "<tr>\n";
                echo "<td>&nbsp;</td>\n";
                echo "<td>&nbsp;</td>\n";
                echo "<td>".$file."</td>\n";   
                echo "</tr>\n";             
                }
            $first = false;
            }
    }
    echo "</table>\n";
    ?>

Viel Spaß ;)

13
German / Hallo - Users/Admins
« on: January 20, 2012, 09:08:11 am »
Hallo Leute, wo wohnt ihr denn in Deutschland ?

Ich arbeite und wohne in der Nähe von Ulm, genauergesagt Laupheim.
Karlsruhe/Stuttgart/Radolfzell - dort bin ich auch öfter

vielleicht könnte man ja mal ein Treffen organisieren.

Bekannte Orte

Berlin
Dortmund
Laufenburg am Hochrhein
Laupheim
Lübeck

14
Guten Tag,
Master/Slave v2.2

unter Benutzer & Gruppen ->  Satellitenrechnerstatus (slave status)
habe Ich jede Menge geplante Operationen stehen - Zombie einträge, wo kann ich die löschen ?

in
/var/lib/ebox/conf/userjournal/{hostname}
habe ich nichts gefunden.

Edit:
Die geplanten Aktionen stehen in
/var/lib/zentyal/conf/userjournal/{hostname}

15
Installation and Upgrades / [SOLVED] 2.0 - 2.2 - Master/Slave error
« on: December 16, 2011, 07:03:33 pm »
Hello,
I updated my Ldap master - script runs without error.
1 Master - 4 Slaves

But now the replication to the slaves dont work anymore  :'(

the operations on the master are still pending..........
i can ping the slaves(hostnames)

I found some strange errors in my log files

Zentyal.log

Code: [Select]
ERROR> Lock.pm:31 EBox::Util::Lock::lock - Could not get lock for service: zentyal-slave-sync
ERROR> SOAPClient.pm:181 EBox::SOAPClient::AUTOLOAD - Server side: Can't call method "get_value" on an undefined value at /usr/share/perl5/EBox/UsersAndGroups.pm line 749, <GEN1> line 1530.

Error.log
Code: [Select]
Use of uninitialized value $current in string eq at /usr/share/perl5/EBox/Menu/Folder.pm line 87.
Use of uninitialized value $dir_path in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Tools.pm line 114.
Use of uninitialized value $class in string ne at /usr/share/zentyal/templates/msg.mas line 18.
Use of uninitialized value $id in concatenation (.) or string at /usr/share/zentyal/templates/ajax/customActions.mas line 9.

Pages: [1] 2