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 - mkrell

Pages: [1]
1
you can also try the advice in; this thread. Wasn't working for me last time I rebooted the server, but I omitted the 'sleep' command so it probably restarted too early to be effective.

I can't help your problem but the advice you linked to worked. Thanks.

2
THAAAAAAAAAAAAANK YOOOOOOOOOOOOOOUUUUUUUUUU!!!!!!!!!!! That worked! I'm a total noob to this world and it is a massive relief to even get a reply on these forums!

So (correct me if I'm wrong) basically the big change to the Zentyal 4.* LDAP now is that

  • They put back the Users LDAP on port 389 like normal
  • You can access it via the Administrator user, which you need to configure yourself

... and hence that's why the forum post I linked to earlier doesn't work.

3
Installation and Upgrades / Re: Connecting to Zentyal 4.1 LDAP
« on: July 15, 2015, 05:24:13 pm »
Addendum: I know for a fact that I can connect to the machine because if I don't log in (so leave the credentials defualt) I get a guest access which is basically nothing.

I'm also running Zentyal on a virtual machine if that makes any difference. The Firewall module is also totally off so that wouldn't be the problem

4
Installation and Upgrades / Connecting to Zentyal 4.1 LDAP
« on: July 15, 2015, 04:39:34 pm »
I have a zentyal 4.1 installation and I am trying to connect to the LDAP via a LDAP manager.

I'm getting an invalid credentials error. I'm certain that they are correct but my LDAP client isn't working.

Zentyal 4.1

Base DN:DC=life,DC=lan

Default Users DN: CN=Users,DC=life,DC=lan

Default Groups DN: CN=Users,DC=life,DC=lan


The user name is Synology and the password is synology. It is also a part of the domain administrators group I'm currently using the Mac LDAP admin tool which is only asking for the hostname/ip, the base DN, port, and my user/password.

I know from reading this forum:

https://forum.zentyal.org/index.php?topic=17126.0

...that zentyal has an atypical port: 390. However, a friend of mine found somewhere that they put it back on port 389 (it may have had something to do with their switch from OpenLDAP to active directory). That looks right because when I try connecting to 390 instead of 389 I get a "connect error" instead of "Invalid credentials"

Still, I couldn't find anywhere in the Zentyal wiki that says what port you have to use. I'm guessing its just 389 like normal?

One thing I tried is using the zentyalro account. The problem is, I can't find the password!!!! I'm guessing its in /var/lib/zentyal/conf but I've tried the ebox password and the mysql password and none of those are right.

The whole reason I'm writing this is because every time I've googled my problems I keep getting results for zentyal 3.*, NOT 4.* .

If you're curious to know what started me on this path, it was actually the same reasons that Zippydan from the other forum post had: I want to connect my Synology Diskstation to my Zentyal LDAP. I solved that problem by just joining it to the domain instead of connecting its LDAP client (it ended up being practically the same thing) but I need to connect my Barracuda Webfilter's LDAP client now and if I can't figure this out my company will be stuck.

Regards,
Matt

5
As a follow up, we finally just decided that we'll have to manually add them. It's not ridiculously long; merely annoying that's all.

but seriously I've seen people with records to the tune of 500. How do you possibly preserve all of those in the scenario I'm in?

6
Hmm that didn't work for me. I'm running Zentyal 4.1 so maybe that has something to do with it.

After I cp'd the current config I copy/pasted your code into the new file. I'm running Zentyal on a virtual machine (KVM) so I did a
Code: [Select]
virsh destroy and then a
Code: [Select]
virsh start. Still nothing.

Can anyone enlighten me on how to get this to work?

7
Hello. My company is currently running a Zentyal 3.0 server actively and we are planning to move to Zentyal 4.1, installed on a different server entirely (the new 4.1 server is on a virtual machine if that helps). This 4.1 server I gave a different domain name and hostname from the 3.0 server so I could have both on the network at the same time and test the new 4.1 server, but we want to switch the 4.1 server to the hostname / domain / ip of the 3.0 server.

Now, I have already added the users and groups to the 4.1 server manually. But to my chagrin I noticed that Zentyal deletes all of that data when you change the hostname and/or the domain.

Is there any way to preserve this data?

The fact is, we want to have a seamless way to migrate from one server to the other. The way we want to do that is by bringing down the active one, configure the new one with the old one's ip/hostname/domain, and then turn it on. The 5 minute wait is fine in our situation, but an entire afternoon of re-adding our users and groups is not an option. Zentyal simply can't retain our Users Module data if we want to change the hostname or domain, and I'm uncomfortable having two machines with the same domain and hostname on the network.

So to sum up:

1.  Is is possible to retain the Users Module data and still change the hostname/domain?

2.  If this isn't possible, is there a better method for switching our server to 3.0 to 4.1?


I've looked at/theorized possible solutions:

Solution 1.: import users from .csv file
Ok, that makes sense; export the users manually, and then import them again....but how on earth to you export the data??? I have seen the perl scripts to bulk-import users but I haven't found the reverse. Granted, I could just make my own .csv file with that data all over again (and that would likely be a good idea just for backup reasons) but that solution also excludes the many groups that I have, and most of the users are in multiple groups.....

Solution 2.: edit a backup configuration file
Technically that isn't crazy, right? I took an extensive look through ebox's backup file; it looks like I just have to change the domain name / hostname manually in a few places and I can fix this problem. I just don't know what places those are...

Solution 3: manually edit Samba's database and pray it works
I'm all fine with trying this; yes, I don't know a lot about samba but we are running our soon-to-be-active server on KVM so I can destroy this virtual machine all I want provided I've got backup vms.


The ultimate solution would be to just use a 3.0 backup file on our 4.1 server. I don't know if that is possible since I know very little about Samba or ebox.

Any advice would be appreciated.

Many thanks,

Matt


8
Hello. I've seen a few people do this but I'd like to confirm that this is a good idea.

We are looking to upgrade our server infrastructure at my school. Right now we are running Zentyal 3.* on a regular PC desktop box as a server, also holding the user data. The main purpose is to do active directory stuff for legacy WinXP systems and a few Win7+ systems, in addition to having home directories, local intranet website, etc. So far everything has been great but we have been terribly afraid of upgrading to Zentyal 4.

We are working on a new infrastructure like such:

The user data is kept on a NAS (presumably Synologie) and mounted on the Server. The server host is a Mac Mini running Virtualbox. the virtualized server is Zentyal 4.1.

Right now this seems like a pretty good option, and this link, https://forum.zentyal.org/index.php/topic,16854.msg66882/topicseen.html#msg66882, proves to me that running VB isn't a crazy idea. the only difference is our proposed hardware, a Mac Mini.

Still, I was wondering what the community's opinion was. Is there a more powerful / simpler / cheaper system out there? We are really liking Zentyal right now and love Ubuntu, but we still want to keep our complexity to a minimum so we don't need a lot of technical knowledge to manage it (Our IT department is literally 3 people and it would be good if we could train non-IT people).

Regards,   
Matt

Pages: [1]