L.P.H. van Belle
2015-Dec-04 08:58 UTC
[Samba] After joining domain, Samba uses the workgroup name, not the FQDN when running the net ads command
And last thing i forgot. Is this server having multiple interfaces ? Yes, set in smb.conf interfaces = 127.0.0.1 bind interfaces only = No and can you post the complete krb5.conf again. I did not see in libdefaults. dns_lookup_kdc = true dns_lookup_realm = false Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Rowland penny > Verzonden: donderdag 3 december 2015 23:08 > Aan: sambalist > Onderwerp: Re: [Samba] After joining domain, Samba uses the workgroup > name, not the FQDN when running the net ads command > > On 03/12/15 21:55, Jonathan S. Fisher wrote: > > It doesn't work, even with the DNS set as such: > > > > root at freeradius:~# sudo net rpc info -UWINDOWS\\Administrator > > Unable to find a suitable server for domain WINDOWS > > > > Our registered domain is XXX.com. corp.XXX.com <http://corp.XXX.com> > > and windows.corp.XXX.com <http://windows.corp.XXX.com> are internal > > and not resolvable on any public DNS server. > > > > I was curious if anyone else had any comments on these two questions I > > had: > > > > * What is this lmhosts thing it's looking for? > > lmhosts is the windows version of /etc/hosts, if you have a line in > smb.conf that references this, I would suggest you remove it unless it > matches the default one: name resolve order = lmhosts wins host bcast > > > * Is this what went wrong? > internal_resolve_name: looking up > > WINDOWS#1b (sitename (null)) > > Possibly, but your client should find everything via DNS. > Does your smb.conf match the one that can be found on the Samba wiki > (with changes for your NETBios name & realm)? This is known to work. > > Rowland > > > > > What is lmhosts? > > What does it think our sitename is null? > > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Rowland penny
2015-Dec-04 09:11 UTC
[Samba] After joining domain, Samba uses the workgroup name, not the FQDN when running the net ads command
On 04/12/15 08:58, L.P.H. van Belle wrote:> And last thing i forgot. > > Is this server having multiple interfaces ? > Yes, set in smb.conf > interfaces = 127.0.0.1 > bind interfaces only = No > > and can you post the complete krb5.conf again. > I did not see in libdefaults. > dns_lookup_kdc = true > dns_lookup_realm = false > >You don't actually need those lines, they are the defaults, but it wouldn't hurt if they were there :-) I still think it is his weird dns setup, were he has a dnsmasq server replicating what the DCs know (or is supposed to). I think the sheer fact that he didn't know what lmhosts is, says a lot. Rowland
Sven Schwedas
2015-Dec-04 09:21 UTC
[Samba] After joining domain, Samba uses the workgroup name, not the FQDN when running the net ads command
On 2015-12-04 10:11, Rowland penny wrote:> I still think it is his weird dns setup, were he has a dnsmasq server > replicating what the DCs know (or is supposed to). I think the sheer > fact that he didn't know what lmhosts is, says a lot.We're using such a setup in production without any problems. How about less wild blind guessing and user shaming, and more actual help? -- Mit freundlichen Grüßen, / Best Regards, Sven Schwedas Systemadministrator TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz Mail/XMPP: sven.schwedas at tao.at | +43 (0)680 301 7167 http://software.tao.at -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 648 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20151204/bc2d41f4/signature.sig>
L.P.H. van Belle
2015-Dec-04 09:25 UTC
[Samba] After joining domain, Samba uses the workgroup name, not the FQDN when running the net ads command
Im guessing, since he has multiple domains there, im thinking the "resolv" order is wrong, something in that direction An option is also to set multiple searches. And in the order so the "samba dns domain" comes first. Like search windows.corp.XXX.com corp.XXX.com etc.XXX.com but i need his result of my last question first. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Rowland penny > Verzonden: vrijdag 4 december 2015 10:11 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] After joining domain, Samba uses the workgroup > name, not the FQDN when running the net ads command > > On 04/12/15 08:58, L.P.H. van Belle wrote: > > And last thing i forgot. > > > > Is this server having multiple interfaces ? > > Yes, set in smb.conf > > interfaces = 127.0.0.1 > > bind interfaces only = No > > > > and can you post the complete krb5.conf again. > > I did not see in libdefaults. > > dns_lookup_kdc = true > > dns_lookup_realm = false > > > > > > You don't actually need those lines, they are the defaults, but it > wouldn't hurt if they were there :-) > > I still think it is his weird dns setup, were he has a dnsmasq server > replicating what the DCs know (or is supposed to). I think the sheer > fact that he didn't know what lmhosts is, says a lot. > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Possibly Parallel Threads
- After joining domain, Samba uses the workgroup name, not the FQDN when running the net ads command
- After joining domain, Samba uses the workgroup name, not the FQDN when running the net ads command
- After joining domain, Samba uses the workgroup name, not the FQDN when running the net ads command
- After joining domain, Samba uses the workgroup name, not the FQDN when running the net ads command
- After joining domain, Samba uses the workgroup name, not the FQDN when running the net ads command