/[smeserver]/rpms/e-smith-base/sme7/e-smith-base-5.0.0-sambaRole.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme7/e-smith-base-5.0.0-sambaRole.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Oct 13 21:47:34 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: e-smith-base-5_0_0-16_el4_sme, e-smith-base-5_0_0-5_el4_sme, e-smith-base-5_0_0-10_el4_sme, e-smith-base-5_0_0-15_el4_sme, e-smith-base-5_0_0-13_el4_sme, e-smith-base-5_0_0-14_el4_sme, e-smith-base-5_0_0-12_el4_sme, e-smith-base-5_0_0-17_el4_sme, e-smith-base-5_0_0-6_el4_sme, e-smith-base-5_0_0-3_el4_sme, e-smith-base-5_0_0-7_el4_sme, e-smith-base-5_0_0-11_el4_sme, e-smith-base-5_0_0-4_el4_sme, e-smith-base-5_0_0-8_el4_sme, e-smith-base-5_0_0-2_el4_sme, e-smith-base-5_0_0-9_el4_sme, HEAD
Add samba roles patch

1 --- e-smith-base-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-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 }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed