1 |
--- e-smith-base+ldap-5.0.0/root/etc/e-smith/templates/etc/dhcpd.conf/25NetbiosNodeType.sambaRole 2005-11-20 21:28:06.000000000 -0700 |
2 |
+++ e-smith-base+ldap-5.0.0/root/etc/e-smith/templates/etc/dhcpd.conf/25NetbiosNodeType 2008-10-13 11:54:04.000000000 -0600 |
3 |
@@ -1,7 +1,7 @@ |
4 |
{ |
5 |
- my $domain_master = $smb{DomainMaster} || 'no'; |
6 |
+ my $server_role = $smb{ServerRole} || 'WS'; |
7 |
|
8 |
- return "" unless $domain_master eq 'yes'; |
9 |
+ return "" unless $server_role =~ m{^(PDC|ADS)$}; |
10 |
|
11 |
return " option netbios-node-type 8;"; |
12 |
} |