Web lists-archives.com

Re: [Samba] Online Backup fails




Hai, 

I think, your DNS reqeust are going to the internet as far i can tell. 

search domain.de
nameserver IP_OF_DC

Gr. 
Louis


> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces@xxxxxxxxxxxxxxx] Namens 
> admins aixtema via samba
> Verzonden: dinsdag 13 november 2018 12:15
> Aan: samba@xxxxxxxxxxxxxxx
> Onderwerp: Re: [Samba] Online Backup fails
> 
> Hi,
> 
> no kinit cause it ask me for a password promt where i enter 
> the password
> 
> samba-tool  domain backup online --server=localhost 
> --targetdir=/mnt/backupsamba/ -U Administrator
> Password for [AIXTEMA\Administrator]:
> 
> 
> 
> > What is in /etc/resolv.conf
> > Im expecting something like this.
> > search aixtema.de
> > Nameserver IP_OF_DC
> 
> search hostname.domain.de
> domain hostname.domain.de
> nameserver 127.0.0.1
> nameserver IP_OF_DC
> 
> i dont have a ldap.conf with entrys, not 1 example for samba 
> ad/dc said 
> do it :) .
> 
> telnet works on booth ports
> 
> all my external programms can auth smoothly vs the ad only the backup 
> function is not working and that would be the only reason to 
> update to 
> 4.9 at moment.
> 
> 
> 
> 
> 
> Am 13.11.18 um 11:56 schrieb L.P.H. van Belle via samba:
> >> 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
> > 
> > 
> > Greetz,
> > 
> > Louis
> > 
> > 
> >> -----Oorspronkelijk bericht-----
> >> Van: samba [mailto:samba-bounces@xxxxxxxxxxxxxxx] Namens
> >> admins aixtema via samba
> >> Verzonden: dinsdag 13 november 2018 11:46
> >> Aan: samba@xxxxxxxxxxxxxxx
> >> Onderwerp: Re: [Samba] Online Backup fails
> >>
> >> Hi,
> >>
> >>   > I think your problem is that '/mnt/backupsamba/' just
> >> isn't big enough.
> >>
> >> 47G Free
> >>
> >> 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
> >> "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
> >> line 177, in _run
> >>       return self.run(*args, **kwargs)
> >>     File
> >> "/usr/lib64/python2.7/site-packages/samba/netcmd/domain_backup
> >> .py", line
> >> 228, in run
> >>       dns_backend='SAMBA_INTERNAL', targetdir=tmpdir)
> >>     File "/usr/lib64/python2.7/site-packages/samba/join.py",
> >> line 1509,
> >> in join_clone
> >>       include_secrets=include_secrets)
> >>     File "/usr/lib64/python2.7/site-packages/samba/join.py",
> >> line 1584,
> >> in __init__
> >>       dns_backend=dns_backend)
> >>     File "/usr/lib64/python2.7/site-packages/samba/join.py",
> >> line 98, in
> >> __init__
> >>       credentials=ctx.creds, lp=ctx.lp)
> >>     File "/usr/lib64/python2.7/site-packages/samba/samdb.py",
> >> line 64, in
> >> __init__
> >>       options=options)
> >>     File 
> "/usr/lib64/python2.7/site-packages/samba/__init__.py", line
> >> 115, in __init__
> >>       self.connect(url, flags, options)
> >>     File "/usr/lib64/python2.7/site-packages/samba/samdb.py",
> >> line 79, in
> >> connect
> >>       options=options)
> >>
> >>
> >> phoenix /mnt/backupsamba # samba-tool  domain backup online
> >> --server=phoenix.aixtema.de --targetdir=/mnt/backupsamba/ -U
> >> Administrator
> >> Failed to connect to ldap URL 'ldap://phoenix.aixtema.de' -
> >> LDAP client
> >> internal error: NT_STATUS_CONNECTION_REFUSED
> >> Failed to connect to 'ldap://phoenix.aixtema.de' with 
> backend 'ldap':
> >> LDAP client internal error: NT_STATUS_CONNECTION_REFUSED
> >> ERROR(ldb): uncaught exception - LDAP client internal error:
> >> NT_STATUS_CONNECTION_REFUSED
> >>     File
> >> "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
> >> line 177, in _run
> >>       return self.run(*args, **kwargs)
> >>     File
> >> "/usr/lib64/python2.7/site-packages/samba/netcmd/domain_backup
> >> .py", line
> >> 228, in run
> >>       dns_backend='SAMBA_INTERNAL', targetdir=tmpdir)
> >>     File "/usr/lib64/python2.7/site-packages/samba/join.py",
> >> line 1509,
> >> in join_clone
> >>       include_secrets=include_secrets)
> >>     File "/usr/lib64/python2.7/site-packages/samba/join.py",
> >> line 1584,
> >> in __init__
> >>       dns_backend=dns_backend)
> >>     File "/usr/lib64/python2.7/site-packages/samba/join.py",
> >> line 98, in
> >> __init__
> >>       credentials=ctx.creds, lp=ctx.lp)
> >>     File "/usr/lib64/python2.7/site-packages/samba/samdb.py",
> >> line 64, in
> >> __init__
> >>       options=options)
> >>     File 
> "/usr/lib64/python2.7/site-packages/samba/__init__.py", line
> >> 115, in __init__
> >>       self.connect(url, flags, options)
> >>     File "/usr/lib64/python2.7/site-packages/samba/samdb.py",
> >> line 79, in
> >> connect
> >>       options=options)
> >>
> >>
> >>
> >> Am 13.11.18 um 11:34 schrieb L.P.H. van Belle via samba:
> >>> Hai,
> >>>
> >>> First thing i would do is try the real hostname of the
> >> server and not localhost.
> >>> Your ad domain controler hostname is not localhost.
> >>>
> >>> I cannt test it yet, im not yet on 4.9.2 with the DC's.
> >>>
> >>> But I would try it like this:
> >>>
> >>> samba-tool domain backup online --server=$(hostname -s)
> >> --targetdir=/mnt/backupsamba/ -U Administrator
> >>>
> >>> Greetz,
> >>>
> >>> Louis
> >>>
> >>>
> >>>> -----Oorspronkelijk bericht-----
> >>>> Van: samba [mailto:samba-bounces@xxxxxxxxxxxxxxx] Namens
> >>>> Rowland Penny via samba
> >>>> Verzonden: dinsdag 13 november 2018 10:52
> >>>> Aan: samba@xxxxxxxxxxxxxxx
> >>>> Onderwerp: Re: [Samba] Online Backup fails
> >>>>
> >>>> On Tue, 13 Nov 2018 10:36:08 +0100
> >>>> admins aixtema via samba <samba@xxxxxxxxxxxxxxx> wrote:
> >>>>
> >>>>> Hi,
> >>>>> when i try to create a online backup via samba 4.9.2 at
> >>>> gentoo (in my
> >>>>> test envoirment) i get the following errors:
> >>>>>
> >>>>> samba-tool  domain backup online --server=localhost
> >>>>> --targetdir=/mnt/backupsamba/ -U Administrator
> >>>>
> >>>> Where is '/mnt/backupsamba/' mounted from ?
> >>>> Could it by any chance be a Windows machine ?
> >>>>
> >>>>> Using DS_BIND_GUID_W2K3
> >>>>> ERROR(runtime): uncaught exception - (3221225495, '{Not
> >>>> Enough Quota}
> >>>>> Not enough virtual memory or paging file quota is available to
> >>>>> complete the specified operation.')
> >>>>
> >>>> That appears to be a Windows error message.
> >>>>
> >>>> Try running the backup to a local directory.
> >>>>
> >>>> Rowland
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> -- 
> >>>> To unsubscribe from this list go to the following URL 
> and read the
> >>>> instructions:  https://lists.samba.org/mailman/options/samba
> >>>>
> >>>
> >>>
> >>
> >> Mit freundlichen Grüßen,
> >> René Fuchs
> >>
> >>
> >> -- 
> >> ***********************************************
> >> aixtema GmbH
> >> René Fuchs
> >> Philipsstr. 8, 52068 Aachen, Germany
> >> Tel.: +49 241 70515-1323, Fax: +49 241 70515-15
> >> mailto:r.fuchs@xxxxxxxxxx
> >>
> >> WWW: http://www.aixtema.de
> >> Shop: http://shop.aixtema.de
> >>
> >> Geschaeftsfuehrer: Oliver Rossbruch
> >> HRB 8201, Amtsgericht Aachen
> >> USt.-Id-Nr. DE 210 906 744
> >> St.-Nr. 201/5942/3737, Finanzamt Aachen Stadt
> >> ***********************************************
> >>
> >>
> >> -- 
> >> To unsubscribe from this list go to the following URL and read the
> >> instructions:  https://lists.samba.org/mailman/options/samba
> >>
> > 
> > 
> 
> Mit freundlichen Grüßen,
> René Fuchs
> 
> 
> -- 
> ***********************************************
> aixtema GmbH
> René Fuchs
> Philipsstr. 8, 52068 Aachen, Germany
> Tel.: +49 241 70515-1323, Fax: +49 241 70515-15
> mailto:r.fuchs@xxxxxxxxxx
> 
> WWW: http://www.aixtema.de
> Shop: http://shop.aixtema.de
> 
> Geschaeftsfuehrer: Oliver Rossbruch
> HRB 8201, Amtsgericht Aachen
> USt.-Id-Nr. DE 210 906 744
> St.-Nr. 201/5942/3737, Finanzamt Aachen Stadt
> ***********************************************
> 
> 
> Mit freundlichen Grüßen,
> René Fuchs
> 
> 
> -- 
> ***********************************************
> aixtema GmbH
> René Fuchs
> Philipsstr. 8, 52068 Aachen, Germany
> Tel.: +49 241 70515-1323, Fax: +49 241 70515-15
> mailto:r.fuchs@xxxxxxxxxx
> 
> WWW: http://www.aixtema.de
> Shop: http://shop.aixtema.de
> 
> Geschaeftsfuehrer: Oliver Rossbruch
> HRB 8201, Amtsgericht Aachen
> USt.-Id-Nr. DE 210 906 744
> St.-Nr. 201/5942/3737, Finanzamt Aachen Stadt
> ***********************************************
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba