Web lists-archives.com

Re: [Samba] DNS failure




> Cannot upgrade as DNS is broken.  

sure you can, add google dns 8.8.8.8 as first resolver in /etc/resolv.conf
dns SERVER is broken not client.  ;-) 
 
i have to leave guys, trouble with my phone entries here. fix the first. 
 
Bob. a suggestion, let Rowland judge this. 
 
my suggestion, backup all samba data. 
install samba from my repo. 
stop samba put all data in the debian locations. 
 
samba -b| grep DIR show all location use now. 
 
should work. if its a vm snapshot it first. 
 
GOOD LUCK ! 
 
greetz, 
 
Louis
 
 
 
 
 
 

Van: Robert Wooden [mailto:bob@xxxxxxxxxxxxxxxxxx] 
Verzonden: woensdag 30 januari 2019 15:58
Aan: L.P.H. van Belle
Onderwerp: Re: [Samba] DNS failure



Apparmor has been removed.


Cannot upgrade as DNS is broken. 
 
 


Need to roll back to previous kernel!



On Wed, Jan 30, 2019 at 8:49 AM L.P.H. van Belle via samba <samba@xxxxxxxxxxxxxxx> wrote:

First try : 
sudo apt update && sudo apt full-upgrade" 
and reboot. 
 
if thats not working, revert the kernel upgrade. Lets try to get the server running again. 
 
I'm  reading into this upgrade now. 
https://news.softpedia.com/news/canonical-outs-major-linux-kernel-update-for-ubuntu-18-04-lts-to-patch-11-flaws-524740.shtml ;
This is not a nice one. 
 
can you check also this location. 
ls  /usr/local/samba/lib/ldb/ |grep *.so
check if the upgrade didnt do anything on the ext4 filesystem. 
 
Is apparmor enabled? yes, or disable it or check if the profile is correct the /usr/local/samba 
 
https://help.ubuntu.com/lts/serverguide/samba-fileprint-security.html.en ;
example below on that page. 
 
 
 
Greetz, 
 
Louis
 
 
 
 

Van: Robert Wooden [mailto:bob@xxxxxxxxxxxxxxxxxx] 
Verzonden: woensdag 30 januari 2019 15:37
Aan: L.P.H. van Belle
Onderwerp: Re: [Samba] DNS failure



Ubuntu 18.04LTS
Samba (from source) 4.9.4
Bind_DLZ


(Sorry, should have included in first email.)


On Wed, Jan 30, 2019 at 8:34 AM L.P.H. van Belle via samba <samba@xxxxxxxxxxxxxxx> wrote:

Hai Bob, 

Your using compile packages these days? 
The OS, Still debian? Version? 
Samba version? 
Bind DLZ used or not? 



Greetz, 

Louis


> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces@xxxxxxxxxxxxxxx] Namens 
> Robert Wooden via samba
> Verzonden: woensdag 30 januari 2019 15:03
> Aan: SAMBA MailList
> Onderwerp: [Samba] DNS failure
> 
> I came in this morning to a to a DNS failure.
> 
> I think (could be wrong) that a kernel upgrade overnight is 
> causing DNS to
> failure.
> 
> Running "systemctl status samba-ad-dc.service" gives this:
> samba-ad-dc.service - Samba AD DC
>    Loaded: loaded (/etc/systemd/system/samba-ad-dc.service; 
> enabled; vendor
> preset: enabled)
>    Active: failed (Result: exit-code) since Wed 2019-01-30 
> 07:30:44 CST;
> 26min ago
>      Docs: man:nmbd(8)
>            man:samba(7)
>            man:smb.conf(5)
>   Process: 7611 ExecStart=/usr/local/samba/sbin/samba -D
> --configfile=/etc/samba/smb.conf (code=exited, status=1/FAILURE)
>  Main PID: 7611 (code=exited, status=1/FAILURE)
>    Status: "daemon failed to start: Samba failed to prime database"
>     Error: 22 (Invalid argument)
> 
> Running samba dnsupgade:
> ldb: unable to dlopen /usr/local/samba/lib/ldb/password_hash.so :
> libgpgme.so.11: cannot open shared object file: No such file 
> or directory
> WARNING: Module [password_hash] not found - do you need to set
> LDB_MODULES_PATH?
> module samba_dsdb initialization failed : Operations error
> Unable to load modules for 
> tdb:///usr/local/samba/private/sam.ldb: (null)
> Traceback (most recent call last):
>   File "/usr/local/samba/sbin/samba_dnsupdate", line 748, in <module>
>     samdb = SamDB(url=lp.samdb_url(), 
> session_info=system_session(), lp=lp)
>   File 
> "/usr/local/samba/lib/python2.7/site-packages/samba/samdb.py", line
> 64, in __init__
>     options=options)
>   File 
> "/usr/local/samba/lib/python2.7/site-packages/samba/__init__.py",
> line 115, in __init__
>     self.connect(url, flags, options)
>   File 
> "/usr/local/samba/lib/python2.7/site-packages/samba/samdb.py", line
> 79, in connect
>     options=options)
> _ldb.LdbError: (1, None)
> 
> Suggestions??? (help!)
> 
> -- 
> Thank you.
> 
> Bob Wooden
> -- 
> 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


-- 
Thank you.

Bob Wooden

























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


-- 
Thank you.

Bob Wooden

























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