CED Ing. Damiano Bolla
2025-Jul-03  08:55 UTC
[Samba] WERR_DNS_ERROR_DS_UNAVAILABLE when asking for local dns server info
there is no firewall, as I have written I can "manage" users of the domain from RSAT coming from another windows machine Do you have any idea on where it is written what rpc servers is "registered" to work ? I had to use samba_upgradedns to go from a "no dns" to internal dns and the final message is ----------------------- You have switched to using SAMBA_INTERNAL as your dns backend, but you still have samba starting looking for a BIND backend. Please remove the -dns from your server services line. ------------------------ and, as advised, there is NO -dns in the samba config, that I can find and the internal DNS works (as DNS server, with all the required info) BUT the rps manager part is not started.... do you have any idea on what could be a string to search in the log for eg: root at vdce:/var/log/samba# grep DNS * | grep -v DRS log.samba.old:? Calling DNS name update script log.samba.old:? Completed DNS update check OK log.samba.old:? dns_process_send: OPCODE[0x2000]: WERR_DNS_ERROR_RCODE_NOT_IMPLEMENTED log.samba.old:? Calling DNS name update script log.samba.old:? Completed DNS update check OK log.samba.old:? dns_process_send: OPCODE[0x2000]: WERR_DNS_ERROR_RCODE_NOT_IMPLEMENTED log.samba.old:? dns_process_send: OPCODE[0x2000]: WERR_DNS_ERROR_RCODE_NOT_IMPLEMENTED log.samba.old:? Calling DNS name update script log.samba.old:? Completed DNS update check OK Il 2025-07-03 10:35 AM, Rowland Penny via samba ha scritto:> On Thu, 3 Jul 2025 10:19:36 +0200 > "CED Ing. Damiano Bolla via samba" <samba at lists.samba.org> wrote: > >> root at vdce:/home/damiano/work# ps ax | grep 'samba' | grep 'rpc' >> ?4580 ???????? S????? 0:00 samba: task[rpc] pre-fork master >> ?4586 ???????? S????? 1:35 samba: task[rpc] pre-forked worker(0) >> ?4590 ???????? S????? 0:00 samba: task[rpc] pre-forked worker(1) >> ?4594 ???????? S????? 0:00 samba: task[rpc] pre-forked worker(2) >> ?4600 ???????? S????? 0:00 samba: task[rpc] pre-forked worker(3) >> >> >> there are three rpc workers, good, where is written what is that they >> are serving ? > I have no idea, knowing Samba, you probably will have to dig into the > code. > >> >> root at vdce:/home/damiano/work# rpcclient? -U "" -N -I 192.168.999.40 >> -c srvinfo vdce >> ??????? VDCE?????????? Wk Sv PrQ Unx NT SNT Samba >> 4.22.2-Debian-4.22.2+dfsg-1~bpo12+1 >> ??????? platform_id???? :?????? 500 >> ??????? os version????? :?????? 6.1 >> ??????? server type???? :?????? 0x809a03 >> > What I can say is, everything you have posted matches my running > domain, so, do you have all the required Samba packages installed ? Is > there a firewall or similar getting in the way ? > > Rowland >
Rowland Penny
2025-Jul-03  09:12 UTC
[Samba] WERR_DNS_ERROR_DS_UNAVAILABLE when asking for local dns server info
On Thu, 3 Jul 2025 10:55:32 +0200 "CED Ing. Damiano Bolla via samba" <samba at lists.samba.org> wrote:> there is no firewall, as I have written I can "manage" users of the > domain from RSAT coming from another windows machine > > Do you have any idea on where it is written what rpc servers is > "registered" to work ? > > I had to use samba_upgradedns to go from a "no dns" to internal dnsWhy did you do that ? Where did your domain come from ? Did you provision it as a new domain, or did it come from an earlier Windows domain ? Rowland