> 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 > FileThis 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 at lists.samba.org] Namens > admins aixtema via samba > Verzonden: dinsdag 13 november 2018 11:46 > Aan: samba at lists.samba.org > 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 at lists.samba.org] Namens > >> Rowland Penny via samba > >> Verzonden: dinsdag 13 november 2018 10:52 > >> Aan: samba at lists.samba.org > >> Onderwerp: Re: [Samba] Online Backup fails > >> > >> On Tue, 13 Nov 2018 10:36:08 +0100 > >> admins aixtema via samba <samba at lists.samba.org> 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 at aixtema.de > > 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 >
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_DCsearch 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 at lists.samba.org] Namens >> admins aixtema via samba >> Verzonden: dinsdag 13 november 2018 11:46 >> Aan: samba at lists.samba.org >> 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 at lists.samba.org] Namens >>>> Rowland Penny via samba >>>> Verzonden: dinsdag 13 november 2018 10:52 >>>> Aan: samba at lists.samba.org >>>> Onderwerp: Re: [Samba] Online Backup fails >>>> >>>> On Tue, 13 Nov 2018 10:36:08 +0100 >>>> admins aixtema via samba <samba at lists.samba.org> 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 at aixtema.de >> >> 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 at aixtema.de 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 at aixtema.de 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 ***********************************************
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
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 at lists.samba.org] Namens > admins aixtema via samba > Verzonden: dinsdag 13 november 2018 12:15 > Aan: samba at lists.samba.org > 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 at lists.samba.org] Namens > >> admins aixtema via samba > >> Verzonden: dinsdag 13 november 2018 11:46 > >> Aan: samba at lists.samba.org > >> 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 at lists.samba.org] Namens > >>>> Rowland Penny via samba > >>>> Verzonden: dinsdag 13 november 2018 10:52 > >>>> Aan: samba at lists.samba.org > >>>> Onderwerp: Re: [Samba] Online Backup fails > >>>> > >>>> On Tue, 13 Nov 2018 10:36:08 +0100 > >>>> admins aixtema via samba <samba at lists.samba.org> 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 at aixtema.de > >> > >> 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 at aixtema.de > > 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 at aixtema.de > > 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 >
On Tue, 13 Nov 2018 12:14:50 +0100 admins aixtema via samba <samba at lists.samba.org> wrote:> 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'search' and 'domain' in resolv.conf are mutually exclusive, you shouldn't have both, but if you do, the last one wins, in your case incorrectly, I would sugest you remove the 'domain' line.> nameserver 127.0.0.1 > nameserver IP_OF_DCI would remove the '127.0.0.1' line. What is in /etc/hosts ?> > i dont have a ldap.conf with entrys, not 1 example for samba ad/dc > said do it :) .You don't need it. Rowland
On 11/13/2018 3:17 AM, L.P.H. van Belle via samba wrote:> 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 >would his setup use /etc/nsswitch.conf? if so, for something like hosts, my distro default is: hosts: files mdns4_minimal [NOTFOUND=return] dns wins but for my setup, I use: hosts: files dns wins I have a bind dns server on the same machine that I prefer over wins, but if you don't have a local dns server, you might want it last since that will likely go out on the internet, so like hosts: files wins dns
Put it in this order, this prevents possible mdns problems. hosts: files dns mdns4_minimal [NOTFOUND=return]> I prefer over wins,Hmm, why preffer and old wins setup, and .. It wil not work.. ... which wont work because nmbd is not running and wont run, on the ADDC servers. So update your config and move away from wins. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens L A > Walsh via samba > Verzonden: donderdag 29 november 2018 20:44 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Online Backup fails > > On 11/13/2018 3:17 AM, L.P.H. van Belle via samba wrote: > > 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 > > > would his setup use /etc/nsswitch.conf? > > if so, for something like hosts, my distro default is: > > > > but for my setup, I use: > hosts: files dns wins > > I have a bind dns server on the same machine that I prefer over wins, > but if you don't have a local dns server, you might want it > last since that will likely go out on the internet, so like > > hosts: files wins dns > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >