Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: kajan on September 26, 2012, 07:58:55 pm

Title: FATAL: Couldn't connect to samba LDAP server
Post by: kajan on September 26, 2012, 07:58:55 pm
Hi,

any idea how to fix this problem? I installed fresh ISO and updated to latest. And still cannot make Samba working

This I have installed:

File Sharing and Domain Services - 3.0.2
Users and Groups - 3.0.2
Core Version - 3.0.2

Thanks!
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: Sam Graf on September 26, 2012, 09:40:03 pm
Hi, and welcome!

Just to be clear, is this an upgrade of an earlier installation to 3.0.2? If I'm reading ian's comments (http://forum.zentyal.org/index.php/topic,12024.msg49938.html#msg49938) right, it's going to be best/necessary to do a fresh install, where the system version will be 3.0.2 upon completion of the installation.
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: kajan on September 28, 2012, 01:53:52 pm
Just downloaded the latest ISO and did a fresh install. Selected only File Sharing modules + their dependencies.
The error occured again, so I don't think that it is properly fixed.

K.
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: FarquahrWindsor on September 28, 2012, 04:18:14 pm
Hi,

any idea how to fix this problem? I installed fresh ISO and updated to latest. And still cannot make Samba working

This I have installed:

File Sharing and Domain Services - 3.0.2
Users and Groups - 3.0.2
Core Version - 3.0.2

Thanks!

Dunno as my way is to just get the ubuntu iso

Zentyal 3.0 packages

For Ubuntu 12.04 (Precise). You should install the server edition.

Add to your /etc/apt/sources.list:

deb http://ppa.launchpad.net/zentyal/3.0/ubuntu precise main
deb http://archive.zentyal.org/zentyal 3.0 main extra

In order to authenticate the packages in the PPA and Zentyal repository you can import its public key with the following command:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 10E239FF
wget -q http://keys.zentyal.org/zentyal-3.0-archive.asc -O- | sudo apt-key add -

apt-get install zentyal-common
apt-get install zentyal-software

ifconfig and get the dynamic ip

make sure apt-get update works before installing to make all repos and keys are in order
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: christian on September 28, 2012, 04:24:29 pm
Dunno as my way is to just get the ubuntu iso
Zentyal 3.0 packages
For Ubuntu 12.04 (Precise). You should install the server edition.
Add to your /etc/apt/sources.list:
deb http://ppa.launchpad.net/zentyal/3.0/ubuntu precise main
deb http://archive.zentyal.org/zentyal 3.0 main extra

 ::) why not but Zentyal ISO is supposed to work isn't it  ???
Why should installation based on Ubuntu 12.04 + apt-get install work better ?  I'm a bit confused here  :-[
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: FarquahrWindsor on September 28, 2012, 04:27:52 pm
Don't know why he is having a prob to be honest as haven't had a problem.

Last bit really make sure apt-get update works before installing to make all repos and keys are in order

If it doesn't try it another way and report results as said dunno, it works for me.
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: peter_b on September 28, 2012, 05:34:21 pm
Hi all,

See also ticket http://trac.zentyal.org/ticket/5112 (http://trac.zentyal.org/ticket/5112)
The original ticket is reopened again.

Peter
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: FarquahrWindsor on September 28, 2012, 06:17:54 pm
Quote
and try to install infrastructure and office modules

sounds like it might be if a couple of you have the same.

I have a habit of installing bit by bit but the way you described should work.

Might be a clash of all that stuff going on at once maybe.

I have been evaluting 3.0 and have done a raft of installs over the last two weeks.

I usually pick just the networking.

Set those up and set the domain and in general and just have a look at the networking.

Next is usually firewall and proxy.

enabling as I go.

then through on to samba at the end.

Samba4 RC1 has just been released and the devs are working on that at the moment.

So try just an incremental install for now as I haven't had a problem that way.

Or do a ubuntu clean install as I said earlier and see if that does the same.

I have been using VM quite a lot and bare metal and incremental works.
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: kajan on September 28, 2012, 08:55:52 pm
Hi,

so I tried what FarquahrWindsor proposed.

Downloaded ubuntu-12.04.1-server-i386.iso 32bit, installed zentyal via apt.

Clicked on infrastructure and office and this how it ends. With the same problem.


 Saving changes

Saving changes in modules
Current operation: Saving samba module
84%

36 of 43 operations performed

Some modules reported error when saving changes . More information on the logs in /var/log/zentyal/

FATAL: Couldn't connect to samba LDAP server
Click here to go to the Dashboard

I really wonder how others made it running.
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: FarquahrWindsor on September 29, 2012, 10:38:45 am
Hi,

I just wanted someone to check that it wasn't something astray with the iso.

http://forum.zentyal.org/index.php/topic,12244.msg50170/topicseen.html#msg50170

I couple of people have had the same prob and I guess its been all this rush and samba changes have made us over look things.

The Iso and ubuntu way still work.
http://forum.zentyal.org/index.php/topic,12244.msg50170/topicseen.html#msg50170
But unfortunately things are geeting a bit confused if you try and install in one go.

Do it my way and install just software and common

then the network and set your adapters

bring each element in and have a tendency to do samba last.

apols for sending you down the garden path its just that I have been evaluating zentyal and have done over 20 installs in the last couple of months and never installed both infrastructure and office at the same.
I have been evaluating so its allways been networking and the module of cohoice.


Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: kajan on September 29, 2012, 03:25:03 pm
Hi again,

so I did the same again .. samba at last ... same issue.

Do somebody know on which port it should be listening or how to start samba LDAP server manually or the way how to zentyal tries to connect to it? If via some DNS or it goes via localhost?

Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: FarquahrWindsor on September 29, 2012, 03:44:18 pm
Zentyal due to Samba has moved to 390 as 389 is the norm just check your services to make sure its included.
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: kajan on September 29, 2012, 04:34:24 pm
In samba logs, I can find that it is unable to bind to port 389, but nothing is listening on this port.
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: FarquahrWindsor on September 29, 2012, 05:19:10 pm
Ad default is 389 thats why zentyal have moved openldap to 390
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: kajan on September 29, 2012, 05:35:41 pm
Also I found out, that when I restart the module with /etc/init.d/zentyal samba restart, it would not start correctly.

when I do /etc/init.d/bind9 restart and /etc/init.d/samba restart, the samba starts, but users are not copied from zentyal.
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: FarquahrWindsor on September 29, 2012, 05:47:01 pm
I am just going to do a fresh install and see.

Did you set your interfaces paste you logs and setup to pastebin and zentyal.log and syslog last lines are the most important.

I am going to do it this way and see. http://forum.zentyal.org/index.php/topic,12176.msg50210.html#msg50210


Apols Houston, We Have a Problem

http://pastebin.com/gWLatWBs
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: kajan on September 29, 2012, 06:03:56 pm
Did exactly this:

- installed ubuntu-server from iso
- added to apt zentyal repositories
- imported keys
- apt-get update, upgrade
- installed both zentyal packages
- via web installed network configuration
- set the static ip, let the hostname and domain on default
- installed dns, ntp
- installed users
- installed file sharing

root@ubuntu:~# cat /etc/network/interfaces
auto lo eth0

iface lo inet loopback
iface eth0 inet static
        address 192.168.1.150
        netmask 255.255.255.0
        broadcast 192.168.1.255

test@ubuntu:~$ sudo /etc/init.d/zentyal samba restart
[sudo] password for test:
 * Restarting Zentyal module: samba                                      [fail]

root@ubuntu:~# tail -f /var/log/zentyal/zentyal.log
2012/09/29 17:53:24 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: samba
2012/09/29 17:54:16 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: dns
2012/09/29 17:54:29 INFO> LDB.pm:379 EBox::LDB::ldapUsersToLdb - Loading Zentyal users into samba database
2012/09/29 17:54:29 INFO> LDB.pm:406 EBox::LDB::ldapGroupsToLdb - Loading Zentyal groups into samba database
2012/09/29 17:54:29 INFO> LDB.pm:444 EBox::LDB::ldapServicePrincipalsToLdb - Loading Zentyal service principals into samba database
2012/09/29 17:56:28 DEBUG> LDB.pm:156 EBox::LDB::safeConnect - FATAL: Couldn't connect to samba LDAP server
2012/09/29 17:56:28 ERROR> Service.pm:721 EBox::Module::Service::__ANON__ - Error restarting service: FATAL: Couldn't connect to samba LDAP server

tail -f /var/log/samba/samba.log

  Registered ZENTYAL-DOMAIN<1c> with 127.0.1.1 on interface 127.255.255.255
[2012/09/29 17:59:51,  3] ../source4/nbt_server/register.c:154(nbtd_register_name_handler)
  Registered ZENTYAL-DOMAIN<1c> with 127.0.0.1 on interface 127.255.255.255
[2012/09/29 17:59:51,  3] ../source4/nbt_server/register.c:154(nbtd_register_name_handler)
  Registered ZENTYAL-DOMAIN<00> with 192.168.1.150 on interface 192.168.1.255
[2012/09/29 17:59:51,  3] ../source4/nbt_server/register.c:154(nbtd_register_name_handler)
  Registered ZENTYAL-DOMAIN<00> with 127.0.1.1 on interface 127.255.255.255
[2012/09/29 17:59:51,  3] ../source4/nbt_server/register.c:154(nbtd_register_name_handler)
  Registered ZENTYAL-DOMAIN<00> with 127.0.0.1 on interface 127.255.255.255
[2012/09/29 17:59:51.264839,  3] ../lib/ldb-samba/ldb_wrap.c:318(ldb_wrap_connect)
  ldb_wrap open of idmap.ldb
[2012/09/29 17:59:51,  0] ../source4/smbd/server.c:120(sig_term)
[2012/09/29 17:59:51,  0] ../source4/smbd/server.c:120(sig_term)
[2012/09/29 17:59:51,  0] ../source4/smbd/server.c:120(sig_term)
[2012/09/29 17:59:51,  0] ../source4/smbd/server.c:120(sig_term)
[2012/09/29 17:59:51,  0] ../source4/smbd/server.c:120(sig_term)
[2012/09/29 17:59:51,  0] ../source4/smbd/server.c:120(sig_term)
[2012/09/29 17:59:51,  0] ../source4/smbd/server.c:120(sig_term)
[2012/09/29 17:59:51,  0] ../source4/smbd/server.c:120(sig_term)
[2012/09/29 17:59:51,  0] ../source4/smbd/server.c:115(sig_term)
  SIGTERM: killing children
  Exiting pid 1274 on SIGTERM
  Exiting pid 1267 on SIGTERM
  Exiting pid 1276 on SIGTERM
  Exiting pid 1265 on SIGTERM
  Exiting pid 1266 on SIGTERM
[2012/09/29 17:59:51,  0] ../source4/smbd/server.c:120(sig_term)
  Exiting pid 1271 on SIGTERM
[2012/09/29 17:59:51,  0] ../source4/smbd/server.c:120(sig_term)
  Exiting pid 1270 on SIGTERM
  Exiting pid 1277 on SIGTERM
[2012/09/29 17:59:51,  0] ../source4/smbd/server.c:120(sig_term)
  Exiting pid 1272 on SIGTERM
[2012/09/29 17:59:51,  0] ../source4/smbd/server.c:120(sig_term)
[2012/09/29 17:59:51,  0] ../source4/smbd/server.c:120(sig_term)
  Exiting pid 1268 on SIGTERM
  Exiting pid 1253 on SIGTERM
  Exiting pid 1275 on SIGTERM
  Exiting pid 1269 on SIGTERM

... still repeating

tail /var/log/syslog

Sep 29 18:01:10 ubuntu smbd[1620]: [2012/09/29 18:01:10.157736,  0] ../source3/smbd/server.c:1260(main)
Sep 29 18:01:10 ubuntu smbd[1620]:   standard input is not a socket, assuming -D option
Sep 29 18:01:14 ubuntu smbd[1659]: [2012/09/29 18:01:14.476259,  0] ../source3/printing/print_standard.c:68(std_pcap_cache_reload)
Sep 29 18:01:14 ubuntu smbd[1659]:   Unable to open printcap file /etc/printcap for read!
Sep 29 18:01:20 ubuntu kernel: [ 7195.003990] init: samba4 main process (1602) killed by KILL signal
Sep 29 18:01:22 ubuntu kernel: [ 7197.670879] init: zentyal.s4sync main process (1671) killed by TERM signal
Sep 29 18:01:26 ubuntu smbd[1687]: [2012/09/29 18:01:26.972715,  0] ../source3/smbd/server.c:1260(main)
Sep 29 18:01:26 ubuntu smbd[1687]:   standard input is not a socket, assuming -D option
Sep 29 18:01:30 ubuntu smbd[1701]: [2012/09/29 18:01:30.529481,  0] ../source3/printing/print_standard.c:68(std_pcap_cache_reload)
Sep 29 18:01:30 ubuntu smbd[1701]:   Unable to open printcap file /etc/printcap for read!

when zentyal samba restart fails, then dns update on bind is done and looks that samba4 starts to listen on 389.

Sep 29 18:01:45 ubuntu smbd[1766]: [2012/09/29 18:01:45.689188,  0] ../source3/smbd/server.c:1260(main)
Sep 29 18:01:45 ubuntu smbd[1766]:   standard input is not a socket, assuming -D option
Sep 29 18:01:48 ubuntu smbd[1783]: [2012/09/29 18:01:48.551615,  0] ../source3/printing/print_standard.c:68(std_pcap_cache_reload)
Sep 29 18:01:48 ubuntu smbd[1783]:   Unable to open printcap file /etc/printcap for read!
Sep 29 18:01:54 ubuntu named[1588]: samba_dlz: starting transaction on zone zentyal-domain.lan
Sep 29 18:01:54 ubuntu named[1588]: samba_dlz: allowing update of signer=UBUNTU\$\@ZENTYAL-DOMAIN.LAN name=zentyal-domain.lan tcpaddr=127.0.0.1 type=AAAA key=1848729761.sig-ubuntu.zentyal-domain.lan/160/0
Sep 29 18:01:54 ubuntu named[1588]: client 127.0.0.1#44786: updating zone 'zentyal-domain.lan/NONE': adding an RR at 'zentyal-domain.lan' AAAA
Sep 29 18:01:55 ubuntu named[1588]: samba_dlz: added rdataset zentyal-domain.lan 'zentyal-domain.lan.#011900#011IN#011AAAA#011::1'
Sep 29 18:01:55 ubuntu named[1588]: samba_dlz: subtracted rdataset zentyal-domain.lan 'zentyal-domain.lan.#0113600#011IN#011SOA#011ubuntu.zentyal-domain.lan. hostmaster.zentyal-domain.lan. 1 900 600 86400 0'
Sep 29 18:01:55 ubuntu named[1588]: samba_dlz: added rdataset zentyal-domain.lan 'zentyal-domain.lan.#0113600#011IN#011SOA#011ubuntu.zentyal-domain.lan. hostmaster.zentyal-domain.lan. 2 900 600 86400 0'
Sep 29 18:01:55 ubuntu named[1588]: samba_dlz: committed transaction on zone zentyal-domain.lan
Sep 29 18:01:55 ubuntu named[1588]: samba_dlz: starting transaction on zone zentyal-domain.lan
Sep 29 18:01:55 ubuntu named[1588]: samba_dlz: allowing update of signer=UBUNTU\$\@ZENTYAL-DOMAIN.LAN name=ubuntu.zentyal-domain.lan tcpaddr=127.0.0.1 type=AAAA key=2509382245.sig-ubuntu.zentyal-domain.lan/160/0
Sep 29 18:01:55 ubuntu named[1588]: client 127.0.0.1#33877: updating zone 'zentyal-domain.lan/NONE': adding an RR at 'ubuntu.zentyal-domain.lan' AAAA
Sep 29 18:01:55 ubuntu named[1588]: samba_dlz: added rdataset ubuntu.zentyal-domain.lan 'ubuntu.zentyal-domain.lan.#011900#011IN#011AAAA#011::1'
Sep 29 18:01:55 ubuntu named[1588]: samba_dlz: subtracted rdataset zentyal-domain.lan 'zentyal-domain.lan.#0113600#011IN#011SOA#011ubuntu.zentyal-domain.lan. hostmaster.zentyal-domain.lan. 2 900 600 86400 0'
Sep 29 18:01:55 ubuntu named[1588]: samba_dlz: added rdataset zentyal-domain.lan 'zentyal-domain.lan.#0113600#011IN#011SOA#011ubuntu.zentyal-domain.lan. hostmaster.zentyal-domain.lan. 3 900 600 86400 0'
Sep 29 18:01:55 ubuntu named[1588]: samba_dlz: committed transaction on zone zentyal-domain.lan
Sep 29 18:01:55 ubuntu named[1588]: samba_dlz: starting transaction on zone _msdcs.zentyal-domain.lan
Sep 29 18:01:55 ubuntu named[1588]: samba_dlz: allowing update of signer=UBUNTU\$\@ZENTYAL-DOMAIN.LAN name=gc._msdcs.zentyal-domain.lan tcpaddr=127.0.0.1 type=AAAA key=796379678.sig-ubuntu.zentyal-domain.lan/160/0
Sep 29 18:01:55 ubuntu named[1588]: client 127.0.0.1#49800: updating zone '_msdcs.zentyal-domain.lan/NONE': adding an RR at 'gc._msdcs.zentyal-domain.lan' AAAA
Sep 29 18:01:55 ubuntu named[1588]: samba_dlz: added rdataset gc._msdcs.zentyal-domain.lan 'gc._msdcs.zentyal-domain.lan.#011900#011IN#011AAAA#011::1'
Sep 29 18:01:55 ubuntu named[1588]: samba_dlz: subtracted rdataset _msdcs.zentyal-domain.lan '_msdcs.zentyal-domain.lan.#0113600#011IN#011SOA#011ubuntu.zentyal-domain.lan. hostmaster.zentyal-domain.lan. 1 900 600 86400 0'
Sep 29 18:01:55 ubuntu named[1588]: samba_dlz: added rdataset _msdcs.zentyal-domain.lan '_msdcs.zentyal-domain.lan.#0113600#011IN#011SOA#011ubuntu.zentyal-domain.lan. hostmaster.zentyal-domain.lan. 2 900 600 86400 0'
Sep 29 18:01:55 ubuntu named[1588]: samba_dlz: committed transaction on zone _msdcs.zentyal-domain.lan
Sep 29 18:01:58 ubuntu ddclient[17083]: WARNING:  file /etc/ddclient.conf, line 8: Invalid Value for keyword 'login' = ''
Sep 29 18:02:48 ubuntu smbd[1783]: [2012/09/29 18:02:48.536989,  0] ../source3/printing/print_standard.c:68(std_pcap_cache_reload)
Sep 29 18:02:48 ubuntu smbd[1783]:   Unable to open printcap file /etc/printcap for read!

Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: FarquahrWindsor on September 29, 2012, 06:40:12 pm
I am just going to do a fresh install and see.

Did you set your interfaces paste you logs and setup to pastebin and zentyal.log and syslog last lines are the most important.

I am going to do it this way and see. http://forum.zentyal.org/index.php/topic,12176.msg50210.html#msg50210


Apols Houston, We Have a Problem

http://pastebin.com/gWLatWBs
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: christian on September 29, 2012, 06:46:37 pm
Stuart, why do you quote yourself, especially to show one post from this same thread, no more than one post above.
Except if there is something I really don't understand, what does it bring ?  ???
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: FarquahrWindsor on September 29, 2012, 06:53:54 pm
I edited the last bit and noticed the time frame between posts over-lapped.

new installs don't seem to be working chris

[EDIT]

It did work !

Quote
Don't know where
Don't know when
But I know we'll meet again

[EDIT]
Yeah sorry about doubting as this is new maybe today or yesterday

[EDIT]
Quote
Some sunny day
Keep smiling through
Just like you always do
'Till the blue skies
Drive the dark clouds far away

[EDIT]
Quote
So, will you please say hello
To the folks that I know
Tell them I won't be long
They'll be happy to know
That as you saw me go
I was singing this song

[EDIT]
Quote
We'll meet again
Don't know where
Don't know when
But I know we'll meet again
Some sunny day

Anyway enough of that.
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: kajan on September 29, 2012, 06:58:18 pm
good to hear, that you have the error too :-)
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: FarquahrWindsor on October 01, 2012, 06:37:14 pm
Just been doing the 32bit iso install again and there is still a bug if you choose office and infrastructure.

http://gbpaste.org/b7Qjt
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: peter_b on October 05, 2012, 07:57:12 pm
Even with version 3.0.3 the same error.

File Sharing and Domain Services - 3.0.3
Core Version - 3.0.3

Any progress??

Peter.
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: FarquahrWindsor on October 05, 2012, 08:28:31 pm
peter I missed the fault at first as for some reason I like to build up and reboot on incremental steps.

I am sure it will be fixed.

usually I set the network.
update and reboot
bring in dhcp, dns, ntp firewall, users groups and proxy punch holes in external for ssh and a service for https and accept external.
do my paranoid reboot thing
then bring in filesharing (samba) at the end
reboot :)

There should be no real reson to do this apart from some of the fstab options don't take place until a reboot.

humour me though as it works that way.

Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: kajan on October 06, 2012, 10:43:14 am
Hi,

I just bought a new server and installed 64bit version - here without any problem at all.
So the problem seems to be only on 32bit.

K.
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: peter_b on October 06, 2012, 10:52:06 am
Hi FarquahrWindsor,

No luck. I installed it twice. Ones with Zentyal iso and ones with Ubuntu iso. After bringing in each module I rebooted.
The same error both times.

So I just have to wait until it has been fixed.

Thanks anyway.
Peter.
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: peter_b on October 07, 2012, 01:58:39 pm
Very strange issue.
Installing both 32bit or 64bit on a physical disk, no problem with samba. But when I install in VBOX both 32bit or 64bit and up with error saying:
FATAL: Couldn't connect to samba LDAP server

I'am going to try VMWARE now.

Has anyone else this same problem.

Peter
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: FarquahrWindsor on October 07, 2012, 02:23:36 pm
Yeah 32bit haven't tried 64bit.

Same confusion as I have installed zentyal so many times but bare metal on 32 works. I think

Its a real pain as I could go and test on one of my sites to utilise infrastructure but VirtBox lets me evaluate in a much easier fashion. Looks like its a trip to the attic and dust off a few old boxes.
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: peter_b on October 07, 2012, 07:14:51 pm
Hi FarquahrWindsor,

I just downloaded VMWARE-player and installed Zentyal 32bit. I selected ALL available modules.
And guess what. It just runs like a charme, included samba. No more errors while saving the modules.
I think there's something wrong with virtualbox.

So for me the problem is solved.

Thanks for all the help.

Peter
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: FarquahrWindsor on October 07, 2012, 07:23:02 pm
Thanks Peter, looks like I am going to have to swap to vmware.

I am not completely sure as there are several threads going at the moment.

I think its a combination of virtualised, 32 or 64 and hardware and choice of iso.

Somewhere along the line on a combination of people still seem to be having probs. Its a weird one and last weekend I hit it.

Then it went away ! Then again on subsequent installs I have hit it again and now I am totally confused.

Going with your recommendation though as for evaluation running a VM is so much easier. So VMware it is.

Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: FarquahrWindsor on October 08, 2012, 03:18:28 pm
I know its not all platforms and all iso's but 12.04.1 32 bit vmplayer all ok.
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: peter_b on October 08, 2012, 05:52:51 pm
Yes, works great.
I was struggling for weeks with this problem thinking it was Zentyal.
I'm happy now to finally setup my server.
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: pepechuga on October 09, 2012, 06:30:23 pm
I've installed the 32-bit iso on VirtualBox with success. Then I've installed (three times, varying the method) the same iso on a physical machine without success. The problem appears always that the File Sharing module is selected. Also I've installed the 64-bit iso on VirtualBox with no problems.
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: FarquahrWindsor on October 09, 2012, 06:49:06 pm
I think we might have to start listing exactly what hardware, iso and version an vm or not.

As this is one of those horrible errors that is sporadic and possibly a combination of  attributes.

If the community gets a good install it might be welcomed that you post hardware and iso and version.

Haven't a clue really apart from collating data about good and bad installs.

Me being paranoid I thought maybe the devs where shifting repo's or doing some spring cleaning but as I say haven't a clue.
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: benronlund on October 14, 2012, 11:37:50 pm
Yes I've been getting this same error for 3 days now... I've tried installs from the official and beta .iso, I've been installing the 32bit .iso on vmWare Workstation 9 and Virtualbox (latest). I have not tried installing from ubuntu 12.04 (although I checked the md5 on the official). If I'd read this earlier I would have tried installed on bare metal as well. Will get back to this later.
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: nicolasdiogo on October 24, 2012, 04:14:07 pm
could you tell if you have PROXY module installed and enabled?
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: benronlund on October 24, 2012, 11:08:47 pm
NO I've never played with PROXY. I did get this to work eventually by installing NTP DNS and Users and Groups first. Configuring as much as I could, promptly rebooting and installing SAMBA. NTP wasn't working for me until I changed my timezone to something official. DNS also wouldn't allow me to add the hostname until I restarted it.
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: blitzkin on February 19, 2013, 03:13:28 am
based on the last reply of this thread:  Reply #36 on: October 24, 2012, 11:08:47 pm

Is this issue already resolved? seems until now i encounter this problem..
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: TwinkE on March 08, 2013, 02:05:16 am
I had this issue yesterday with a fresh ISO install of 3.0.  I selected all the modules I wanted to install when I was initially configuring the server and ended up with that error(File sharing version 3.0.14).  I reinstalled from the ISO yesterday, installed network, ntp, users and dns without updating anything.  Selected use PAM under user and groups, rebooted and installed File Sharing(version 3.0.15).  I was able to make a test user, group and share today and it appears to work ok.
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: rcarney on November 10, 2013, 02:21:48 am
I just installed 3.2 to virtual box on windows 7 x64.  Seems to be working except for certificates.
Title: Re: FATAL: Couldn't connect to samba LDAP server
Post by: BrettonWoods on November 10, 2013, 04:23:43 am
Yeah its very strange as we have two threads going at the moment.

http://forum.zentyal.org/index.php/topic,18554.msg73087.html#msg73087

Some work some don't. Its virtual and virtual box is either the most popular or worst culprit.

There are various spurious posts on the internet and I thinks its Samba4 rather than anything Zentyal have introduced.

I did a search for smbd/server.c:115(sig_term) and quite often virtual machine is mentioned. But its such a weird combinational fault that it could even be the driver set or somethin.

People are being hit with it and then others are not. What are you running on?