On 11/4/2015 4:13 PM, John Gardeniers wrote:> Nobody? Surely somebody knows where Samba 4 logs its DNS queries, or > was this was a huge oversight and the internal DNS doesn't get logged > at all, as appears to be suggested by my utter failure to locate such > logs. > > On 28/10/15 14:28, John Gardeniers wrote: >> We're using the Sernet Samba v4.2.4 with internal DNS and I can't >> find the DNS logs. Where does the Samba 4 internal DNS log queries? >> Thanks. >> >> regards, >> John >> >> > >I've found increasing the log level of samba to 9 or 10 will usually give me the DNS logs I require. Depending on how you configured your server. You may find them in '/usr/local/samba/var/log.samba' This along with Wireshark has been enough to debug. I found out why secure dynamic updates no longer work with this method. -- -James
On 05/11/15 15:18, James wrote:> On 11/4/2015 4:13 PM, John Gardeniers wrote: >> Nobody? Surely somebody knows where Samba 4 logs its DNS queries, or >> was this was a huge oversight and the internal DNS doesn't get logged >> at all, as appears to be suggested by my utter failure to locate such >> logs. >> >> On 28/10/15 14:28, John Gardeniers wrote: >>> We're using the Sernet Samba v4.2.4 with internal DNS and I can't >>> find the DNS logs. Where does the Samba 4 internal DNS log queries? >>> Thanks. >>> >>> regards, >>> John >>> >>> >> >> > I've found increasing the log level of samba to 9 or 10 will usually > give me the DNS logs I require. Depending on how you configured your > server. You may find them in > > '/usr/local/samba/var/log.samba' > > This along with Wireshark has been enough to debug. I found out why > secure dynamic updates no longer work with this method. >OK, I'll ask, why don't they work now and what method?? Rowland
On 11/5/2015 10:30 AM, Rowland Penny wrote:> On 05/11/15 15:18, James wrote: >> On 11/4/2015 4:13 PM, John Gardeniers wrote: >>> Nobody? Surely somebody knows where Samba 4 logs its DNS queries, or >>> was this was a huge oversight and the internal DNS doesn't get >>> logged at all, as appears to be suggested by my utter failure to >>> locate such logs. >>> >>> On 28/10/15 14:28, John Gardeniers wrote: >>>> We're using the Sernet Samba v4.2.4 with internal DNS and I can't >>>> find the DNS logs. Where does the Samba 4 internal DNS log queries? >>>> Thanks. >>>> >>>> regards, >>>> John >>>> >>>> >>> >>> >> I've found increasing the log level of samba to 9 or 10 will usually >> give me the DNS logs I require. Depending on how you configured your >> server. You may find them in >> >> '/usr/local/samba/var/log.samba' >> >> This along with Wireshark has been enough to debug. I found out why >> secure dynamic updates no longer work with this method. >> > > OK, I'll ask, why don't they work now and what method?? > > Rowland > >Method = increasing the log level of samba and using Wireshark to debug. I had to use a log level of 10 to get the information I was looking for. I only mentioned my issue in case OP was debugging the same thing. I'm going to update the thread I already have open as to keep everything centralized. Don't want to derail this thread. -- -James
Thanks James, I'll give that a try. Although we are already rolling Samba 4 out to our users I find I'm getting ever more frustrated by it's shortcomings and incomplete features, especially around DNS. The lack of any DNS specific logging must be considered an incredible oversight, to put it mildly. regards, John On 06/11/15 02:18, James wrote:> On 11/4/2015 4:13 PM, John Gardeniers wrote: >> Nobody? Surely somebody knows where Samba 4 logs its DNS queries, or >> was this was a huge oversight and the internal DNS doesn't get logged >> at all, as appears to be suggested by my utter failure to locate such >> logs. >> >> On 28/10/15 14:28, John Gardeniers wrote: >>> We're using the Sernet Samba v4.2.4 with internal DNS and I can't >>> find the DNS logs. Where does the Samba 4 internal DNS log queries? >>> Thanks. >>> >>> regards, >>> John >>> >>> >> >> > I've found increasing the log level of samba to 9 or 10 will usually > give me the DNS logs I require. Depending on how you configured your > server. You may find them in > > '/usr/local/samba/var/log.samba' > > This along with Wireshark has been enough to debug. I found out why > secure dynamic updates no longer work with this method. >