Yeah, I was asking how to set it for Windows machines. There's a box you can check in the Computer Name tab in the control panel that says "Change primary DNS suffix when domain changes". This leads me to believe that somewhere in the samba configuration is the setting for the primary DNS suffix because samba is acting as a Windows domain server. However, I would normally think it's configured via DHCP (like it is in linux). On the other hand, I don't think there is anything wrong with my DHCP config. It works for linux machines. If my linux machines didn't know what domain they were in, I would know it. That would be a huge problem. PS: Microsoft should be flogged for using the word "domain" to mean something other than internet domain. Why couldn't they have called it "realm" or something? Anything but domain! From: "Andrew Hodgson" <Andrew.Hodgson@allpay.net> To: "blind-sysadmins" <blind-sysadmins@lists.hodgsonfamily.org> Sent: Tuesday, September 16, 2008 10:45 AM Subject: Re: [Blind-sysadmins] setting Primary Dns Suffix via samba
Hi,
DNS suffix (or search list) is obtained via DHCP, in Linux, the place to hard code it in is in /etc/resolv.conf.
Thanks. Andrew.
-----Original Message----- From: John G. Heim [mailto:jheim@math.wisc.edu] Sent: 16 September 2008 16:42 To: Blind sysadmins list Subject: Re: [Blind-sysadmins] setting Primary Dns Suffix via samba
Doh!
I don't know where I got the idea this is a samba It occurs to me that this may not be a samba problem. There is a setting for the primary DNS suffix in the Windows computer name settings. You can either hard-code it in or let it change with the Windows domain. That's why I thought it would be set via
samba. But on a linux machine, it's set via DHCP. So this is probably a DHCP problem.
From: "John G. Heim" <jheim@math.wisc.edu> To: "Blind sysadmins list" <blind-sysadmins@lists.hodgsonfamily.org> Sent: Tuesday, September 16, 2008 10:00 AM Subject: [Blind-sysadmins] setting Primary Dns Suffix via samba
There is something wrong with my samba domain. The main symptom is that after a DHCP lease expires, I get an invalid DNS suffix search list. It should be "math.wisc.edu" but it gets set to another department like "junk.wisc.edu".
If I renew the lease, 'ipconfig /renew', it's right. However, the Primary Dns Suffix is always empty. I'm not finding anything on samba.org on how to set that. I know it can be hard coded in via the Windows control panel. But I don't want to have to fix that on all 200 computers that we have in our department. Most of them are booted into linux most of the time anyway.
So how to I configure samba to set the Primary Dns Suffix for Windows and how do I stop it from changing the DNS suffix search list?
_______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/mailman/listinfo/blind-sysadmins
_______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/mailman/listinfo/blind-sysadmins
-- allpay.net Limited, Fortis et Fides, Whitestone Business Park, Whitestone, Hereford, HR1 3SE. Registered in England No. 02933191. UK VAT Reg. No. 666 9148 88.
Telephone: 0870 243 3434, Fax: 0870 243 6041. Website: www.allpay.net Email: enquiries@allpay.net
This email, and any files transmitted with it, is confidential and intended solely for the use of the individual or entity to whom it is addressed. If you have received this email in error please notify the allpay.net Information Security Manager at the number above.
_______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/mailman/listinfo/blind-sysadmins