[Samba] Online Backup fails
Rowland Penny
rpenny at samba.org
Tue Nov 13 11:16:38 UTC 2018
On Tue, 13 Nov 2018 11:56:32 +0100
"L.P.H. van Belle via samba" <samba at lists.samba.org> wrote:
> > when i dont use localhost its not working:
> >
> >
> > phoenix /mnt/backupsamba # samba-tool domain backup online
> > --server=$(hostname -s) --targetdir=/mnt/backupsamba/ -U
> > Administrator Failed to connect to ldap URL 'ldap://phoenix' - LDAP
> > client internal error: NT_STATUS_CONNECTION_REFUSED
> > Failed to connect to 'ldap://phoenix' with backend 'ldap':
> > LDAP client
> > internal error: NT_STATUS_CONNECTION_REFUSED
> > ERROR(ldb): uncaught exception - LDAP client internal error:
> > NT_STATUS_CONNECTION_REFUSED
> > File
>
> This tells us much more then wrongly using localhost.
>
> Did you kinit Administrator first before you run the command?
>
>
> What is in /etc/resolv.conf
> Im expecting something like this.
> search aixtema.de
> Nameserver IP_OF_DC
>
> And
> What is in /etc/ldap/ldap.conf ?
>
> Im expecting something like this.
> # Company Base.
> BASE dc=phoenix,dc=aixtema,dc=de
> URI ldap://phoenix.aixtema.de
> #URI ldaps://phoenix.aixtema.de # if you use ldap ssl.
> TLS_REQCERT allow
>
>
> Any firewall things running?
> Are you able to telnet to port 389 and/or 636
>
There definitely seems to be something wrong with OP's setup, I just
ran the backup command on Ubuntu 18.04 with 4.9.1 and it worked
flawlessly.
Rowland
More information about the samba
mailing list