Hi, I'm facing a samba internal dns problem. Every command which starts with "samba-tool dns" throughs the following exception: ERROR(runtime): uncaught exception - (-1073741801, 'Memory allocation error') File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/dns.py", line 706, in run dns_conn = dns_connect(server, self.lp, self.creds) File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/dns.py", line 40, in dns_connect dns_conn = dnsserver.dnsserver(binding_str, lp, creds) There is no difference if I'm using 127.0.0.1, localhost, hostname or hostname.domain All windows clients telling me something about "endpoint format is invalid" Can someone help me? Andreas
On 28/02/15 12:58, Andreas Hauffe wrote:> Hi, > > I'm facing a samba internal dns problem. Every command which starts > with "samba-tool dns" throughs the following exception: > > ERROR(runtime): uncaught exception - (-1073741801, 'Memory allocation > error') > File > "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", > line 175, in _run > return self.run(*args, **kwargs) > File > "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/dns.py", > line 706, in run > dns_conn = dns_connect(server, self.lp, self.creds) > File > "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/dns.py", > line 40, in dns_connect > dns_conn = dnsserver.dnsserver(binding_str, lp, creds) > > There is no difference if I'm using 127.0.0.1, localhost, hostname or > hostname.domain > > All windows clients telling me something about "endpoint format is > invalid" > > Can someone help me? > > Andreas >A bit more info might help, what OS, what samba version, what is in smb.conf etc etc Rowland
Hello Andreas, please check for undeleted dns objects ... Assuming you have possibly more pbjects then possible have in memory :-) while use samba-tool.. assuming >250.000 objects... other thread for the same/equal issue : http://permalink.gmane.org/gmane.network.samba.internals/58830 -- Mit freundlichen Gr??en / Best Regards Horst Venzke ; PGP NET : 1024G/082F2E6D ; http://www.remsnet.de Legal Notice: This transmittal and/or attachments may be privileged or confidential. It is intended solely for the addressee named above. Any review, dissemination, or copying is strictly prohibited. If you received this transmittal in error, please notify us immediately by reply and immediately delete this message and all its attachments. Thank you.> Gesendet: Samstag, 28. Februar 2015 um 13:58 Uhr > Von: "Andreas Hauffe" <Andreas.Hauffe at tu-dresden.de> > An: samba at lists.samba.org > Betreff: [Samba] Samba internal DNS Problem > > Hi, > > I'm facing a samba internal dns problem. Every command which starts > with "samba-tool dns" throughs the following exception: > > ERROR(runtime): uncaught exception - (-1073741801, 'Memory allocation error') > File > "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line > 175, in _run > return self.run(*args, **kwargs) > File > "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/dns.py", > line 706, in run > dns_conn = dns_connect(server, self.lp, self.creds) > File > "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/dns.py", > line 40, in dns_connect > dns_conn = dnsserver.dnsserver(binding_str, lp, creds) > > There is no difference if I'm using 127.0.0.1, localhost, hostname or > hostname.domain > > All windows clients telling me something about "endpoint format is invalid" > > Can someone help me? > > Andreas > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Hi, I found the problem. I removed the "interfaces" part from my smb.conf due to another problem. In this case samba tried to use the IPV6 interfaces which were not configured. After setting the interfaces again everything works fine. Thanks for your help. Andreas Am Sonntag, 1. M?rz 2015, 21:32:50 schrieb support at remsnet.de:> Hello Andreas, > > please check for undeleted dns objects ... > Assuming you have possibly more pbjects then possible have in memory :-) > while use samba-tool.. assuming >250.000 objects... > > other thread for the same/equal issue : > http://permalink.gmane.org/gmane.network.samba.internals/58830 > > -- > Mit freundlichen Gr??en / Best Regards > > Horst Venzke ; PGP NET : 1024G/082F2E6D ; http://www.remsnet.de > > Legal Notice: This transmittal and/or attachments may be privileged or > confidential. It is intended solely for the addressee named above. Any > review, dissemination, or copying is strictly prohibited. If you received > this transmittal in error, please notify us immediately by reply and > immediately delete this message and all its attachments. Thank you. > > Gesendet: Samstag, 28. Februar 2015 um 13:58 Uhr > > Von: "Andreas Hauffe" <Andreas.Hauffe at tu-dresden.de> > > An: samba at lists.samba.org > > Betreff: [Samba] Samba internal DNS Problem > > > > Hi, > > > > I'm facing a samba internal dns problem. Every command which starts > > with "samba-tool dns" throughs the following exception: > > > > ERROR(runtime): uncaught exception - (-1073741801, 'Memory allocation > > error')> > > File > > > > "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", > > line 175, in _run > > > > return self.run(*args, **kwargs) > > > > File > > > > "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/dns.py", > > line 706, in run > > > > dns_conn = dns_connect(server, self.lp, self.creds) > > > > File > > > > "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/dns.py", > > line 40, in dns_connect > > > > dns_conn = dnsserver.dnsserver(binding_str, lp, creds) > > > > There is no difference if I'm using 127.0.0.1, localhost, hostname or > > hostname.domain > > > > All windows clients telling me something about "endpoint format is > > invalid" > > > > Can someone help me? > > > > Andreas-- Viele Gr??e Andreas Hauffe Leiter der Arbeitsgruppe "Auslegungsmethoden f?r Luftfahrzeuge" ---------------------------------------------------------------------------------------------------- Technische Universit?t Dresden Institut f?r Luft- und Raumfahrttechnik / Institute of Aerospace Engineering Lehrstuhl f?r Luftfahrzeugtechnik / Chair of Aircraft Engineering D-01062 Dresden Germany phone : +49 (351) 463 38496 fax : +49 (351) 463 37263 mail : andreas.hauffe at tu-dresden.de Website : http://tu-dresden.de/mw/ilr/lft ----------------------------------------------------------------------------------------------------
Hai, Just thinking.. Did you use the "interfaces part" with : ethx lo ... etc.. try changing that to the ipadresses and not the interface name. for an example ubuntu had/has a problem with the interface names. Greetz, Louis>-----Oorspronkelijk bericht----- >Van: andreas.hauffe at tu-dresden.de >[mailto:samba-bounces at lists.samba.org] Namens Andreas Hauffe >Verzonden: maandag 2 maart 2015 9:12 >Aan: samba at lists.samba.org >Onderwerp: Re: [Samba] Samba internal DNS Problem > >Hi, > >I found the problem. I removed the "interfaces" part from my >smb.conf due to >another problem. In this case samba tried to use the IPV6 >interfaces which >were not configured. After setting the interfaces again >everything works fine. > >Thanks for your help. > >Andreas > >Am Sonntag, 1. M?rz 2015, 21:32:50 schrieb support at remsnet.de: >> Hello Andreas, >> >> please check for undeleted dns objects ... >> Assuming you have possibly more pbjects then possible have >in memory :-) >> while use samba-tool.. assuming >250.000 objects... >> >> other thread for the same/equal issue : >> http://permalink.gmane.org/gmane.network.samba.internals/58830 >> >> -- >> Mit freundlichen Gr??en / Best Regards >> >> Horst Venzke ; PGP NET : 1024G/082F2E6D ; http://www.remsnet.de >> >> Legal Notice: This transmittal and/or attachments may be >privileged or >> confidential. It is intended solely for the addressee named >above. Any >> review, dissemination, or copying is strictly prohibited. If >you received >> this transmittal in error, please notify us immediately by reply and >> immediately delete this message and all its attachments. Thank you. >> > Gesendet: Samstag, 28. Februar 2015 um 13:58 Uhr >> > Von: "Andreas Hauffe" <Andreas.Hauffe at tu-dresden.de> >> > An: samba at lists.samba.org >> > Betreff: [Samba] Samba internal DNS Problem >> > >> > Hi, >> > >> > I'm facing a samba internal dns problem. Every command which starts >> > with "samba-tool dns" throughs the following exception: >> > >> > ERROR(runtime): uncaught exception - (-1073741801, 'Memory >allocation >> > error')> >> > File >> > >> > >"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__in >it__.py", >> > line 175, in _run >> > >> > return self.run(*args, **kwargs) >> > >> > File >> > >> > "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/dns.py", >> > line 706, in run >> > >> > dns_conn = dns_connect(server, self.lp, self.creds) >> > >> > File >> > >> > "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/dns.py", >> > line 40, in dns_connect >> > >> > dns_conn = dnsserver.dnsserver(binding_str, lp, creds) >> > >> > There is no difference if I'm using 127.0.0.1, localhost, >hostname or >> > hostname.domain >> > >> > All windows clients telling me something about "endpoint format is >> > invalid" >> > >> > Can someone help me? >> > >> > Andreas > >-- >Viele Gr??e >Andreas Hauffe >Leiter der Arbeitsgruppe "Auslegungsmethoden f?r Luftfahrzeuge" > >--------------------------------------------------------------- >------------------------------------- >Technische Universit?t Dresden >Institut f?r Luft- und Raumfahrttechnik / Institute of >Aerospace Engineering >Lehrstuhl f?r Luftfahrzeugtechnik / Chair of Aircraft Engineering > >D-01062 Dresden >Germany > >phone : +49 (351) 463 38496 >fax : +49 (351) 463 37263 >mail : andreas.hauffe at tu-dresden.de >Website : http://tu-dresden.de/mw/ilr/lft >--------------------------------------------------------------- >------------------------------------- >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >