/[smeserver]/rpms/e-smith-base+ldap/sme8/e-smith-base+ldap-5.2.0-sambaRole.patch
ViewVC logotype

Contents of /rpms/e-smith-base+ldap/sme8/e-smith-base+ldap-5.2.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:54 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: e-smith-base+ldap-5_2_0-11_el5_sme, e-smith-base+ldap-5_2_0-6_el5_sme, e-smith-base+ldap-5_2_0-13_el5_sme, e-smith-base+ldap-5_2_0-10_el5_sme, e-smith-base+ldap-5_2_0-15_el5_sme, e-smith-base+ldap-5_2_0-12_el5_sme, e-smith-base+ldap-5_2_0-16_el5_sme, e-smith-base+ldap-5_2_0-18_el5_sme, e-smith-base+ldap-5_2_0-5_el5_sme, e-smith-base+ldap-5_2_0-9_el5_sme, e-smith-base+ldap-5_2_0-8_el5_sme, e-smith-base+ldap-5_2_0-7_el5_sme, e-smith-base+ldap-5_2_0-17_el5_sme, e-smith-base+ldap-5_2_0-14_el5_sme, e-smith-base+ldap-5_2_0-4_el5_sme, e-smith-base+ldap-5_2_0-3_el5_sme, HEAD
Error occurred while calculating annotation data.
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