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.


Messages - rondomzorg

Pages: [1] 2 3
1
Installation and Upgrades / Can't call method "get_value"
« on: December 27, 2011, 10:11:04 am »
Hello everyone,

First of all, merry christmas and a happy new year!

I'm getting the error stated below in the groups section on the slave when i click on "Edit"
Can't call method "get_value" on an undefined value at /usr/share/perl5/EBox/SambaLdapUser.pm line 741.

Logfiles do not show any errors.
Please advice.

2
Hello everyone,

I just made a successful master/slave connection. Working perfectly.
But what riddles me is that when i make a group share on the master... should it automatically be created on the slave as well?

Like when i make a (pdc) TESTDOMAIN with 2 servers RUTH (master) and RACHEL (slave)

I made a group named "Support" with a share named "Support". Under Rachel and Ruth both are appearing like expected. But when i want to access rachel (slave) it doesn't give me access. I checked wheter my user is deployed under the group "Support" and it was so no errors from there.

When i press change, it will create the folder and i have access. But it should've done that automatically, right?
Does zentyal sync these folders too?

3
Installation and Upgrades / Disaster Recovery
« on: November 23, 2011, 11:15:31 am »
Hi everyone,

Let's say you made a stupid mistake (believe me i did a couple of times) did a 'rm -rf /*' and you lost all your data. What's the easiest way to get zentyal completely up and running.

What do you need to backup to minimize the downtime?
I am really curious in what people, who work with zentyal, do to protect their data.

Thanx!

4
Hello zentyal users,

I've come across a strange little thing. Internet went offline yesterday morning. When i tried to login it jammed on everything. But it should not matter because it's an internal connection you make to your LDAP server or am i wrong?

Thanx

5
Installation and Upgrades / Re: VPN tunnel to tunnel problem
« on: November 02, 2011, 11:53:29 am »
Ok thanx guys, will try this later today.
I will post the results here too.

The help is much apreciated.

6
Installation and Upgrades / VPN tunnel to tunnel problem
« on: October 30, 2011, 02:47:04 pm »
Hello zentyal users,

10.0.0.11 Zentyal server in the branch office
10.1.0.100 Zentyal main server in the central office

What am i trying to do? I'm trying to connect the 2 different networks with eachother
What works? I can connect to 10.1.0.100 on 10.0.0.11
What doesn't work After i've done the VPN connection, my clients on 10.0.0.x aren't able to connect to zentyal.

I put 10.0.0.0 and 10.1.0.0. in the advertised network sections.
On 10.0.0.11 a tap0 adapter is created with the ip 192.168.160.2 which allows a connection from 10.0.0.11 to 10.1.0.100
From let's say 10.0.0.209 (a desktop computer) can't reach anything anymore.

Does anyone know what's wrong with this?
Thanx in advance.

7
Hey everyone,

In a couple of months we will have a branch office and a central office.
It needs the following things

  • A couple of shares that should be accessible from both locations
  • A central user administration (this should be possible with the master/slave setup)
  • Access all clients in the network

I have a couple of ideas... one of them is using a VPN which connects the two locations.
Another idea is make the two locations accessible from the internet by adding some firewall rules.

What's the best way to do this?

8
Yeah i know now why it is. I just did the setup wrong.
But anyway maybe i explained it in a bit crappy way but the setup is exactly as you stated above.

Will now move on to the next challenge and try to setup my satelite location. I will use a master/slave setup and try to connect the two by using VPN (I already have a working VPN not trough zentyal but my router supports that).

Will post the progess in another subject.

Thanx again for the help everyone!

9
Ok it seems to be working now!
I will keep you guys updated on the progress cause i will be doing some master/slave configurations soon!

Thanx for now :)

10
Ok i've been playing around with the options but i can't get it to work.
I have the following setup:

I have  Zentyal Server with IP 192.168.0.1
My router has IP 192.168.0.11
I have set the gateway to 192.168.0.11
I have set the dns to 127.0.0.1

I want my DHCP clients to get fixed adresses (desktop01 = 192.168.0.101, desktop02 = 192.168.0.102 etc..) the reason i do this is because i do not have to maintain a lot of workstatiosn and this way only the laptops will get a non fixed dhcp ip.
I want an alias of my zentyal server named lasvegas (just because i can)
I want to be able to ping all workstations from all clients. So when i do ping desktop02 on desktop01 it should work and reply with 192.168.0.102.

How do i set this up correctly?

Edit: Hmm i seem to got it working by using domain.ext instead of sub.domain.ext.

11
Oké thanx for all the replies. Let's say i have the following setup
DHCP with searchdomain lasvegas.mydomain.com
DHCP lease range 192.168.0.200 192.168.0.225 and a fixed adress for desktop01 192.168.0.101

Now to setup de dynamic dns. i also add lasvegas.mydomain.com as a dynamic host.
When desktop01 connect it will get 192.168.0.101 and be pingable from the server lasvegas?

Is this the correct way?

12
Hello,

I have a problem with my dns records. Basically when i ping my client "desktop01" it cannot be found.
My main server is: server01.domain.com. (I want an alias with lasvegas) with IP 192.168.0.1
My client (desktop01) has IP 192.168.0.101 trough fixed DHCP adress works fine.

But when i do ping lasvegas or ping desktop01 on the server as well as on the client it can´t resolve anything.
Does anyone have a clue about what's going on here?

BTW search domains are specified in network settings aswell as in the clients dhcp config.

Thanx!

13
Ok this is what i've come up with.
It's my first perl program but it works!

Code: [Select]
#!/usr/bin/perl

use EBox;
use EBox::Global;

my $num_args = $#ARGV + 1;
if ($num_args != 4) {
  print "\n Usage: useradd.pl <username> <password> <firstname> <lastname>\n\n";
  exit;
}

EBox::init();
my $usersModule = EBox::Global->modInstance('users');
my $user = {"user" => $ARGV[0],"fullname" => $ARGV[2].' '.$ARGV[3],"password" => $ARGV[1],"givenname" => $ARGV[2],"surname" => $ARGV[3],"comment" => ""};

if(!$usersModule->addUser($user,0))
{
  print "User $ARGV[2] $ARGV[3] created succesfully\n";
} else {
  print "Error while creating user for: $ARGV[2] $ARGV[3]\n";
}

Usage: useradd.pl <username> <password> <firstname> "<lastname>"
I use the "" in lastname to escape spaces so van der Vaart will be "van der Vaart".

Example: perl useradd.pl vaart.rvd mypass123 Rafael "van der Vaart"

14
Wow this is really helpfull!
Actually i can run perl scripts from php using the system() command.

I will keep you updated with the status.

15
Read subject.

Further info:
I'm developing new software for my company and i need a basic understanding of how zentyal adds users to the LDAP database so i can program something that can carry out those actions. Are there any shell commands to add a LDAP user?

Thanx!

Pages: [1] 2 3