/[smeserver]/rpms/e-smith-lib/sme8/e-smith-lib-2.2.0-sambaRole.patch
ViewVC logotype

Contents of /rpms/e-smith-lib/sme8/e-smith-lib-2.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:48:13 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: e-smith-lib-2_2_0-3_el5_sme, e-smith-lib-2_2_0-5_el5_sme, e-smith-lib-2_2_0-7_el5_sme, e-smith-lib-2_2_0-9_el5_sme, e-smith-lib-2_2_0-4_el5_sme, e-smith-lib-2_2_0-10_el5_sme, e-smith-lib-2_2_0-2_el5_sme, e-smith-lib-2_2_0-8_el5_sme, e-smith-lib-2_2_0-6_el5_sme, HEAD
Error occurred while calculating annotation data.
Add samba roles patch

1 --- e-smith-lib-2.0.0/root/usr/lib/perl5/site_perl/esmith/ConfigDB.pm.sambaRole 2005-07-19 11:13:46.000000000 -0600
2 +++ e-smith-lib-2.0.0/root/usr/lib/perl5/site_perl/esmith/ConfigDB.pm 2008-10-13 11:49:27.000000000 -0600
3 @@ -278,10 +278,10 @@
4
5 return $wins_server if $wins_server;
6
7 - my $domain_master = $self->get_prop( 'smb', 'DomainMaster' ) || 'no';
8 + my $server_role = $self->get_prop( 'smb', 'ServerRole' ) || 'WS';
9
10 return $self->get_prop( 'InternalInterface', 'IPAddress' )
11 - if ( $domain_master eq 'yes' );
12 + if $server_role =~ m{^(PDC|ADS)$};
13
14 return undef;
15 }

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