/[smeserver]/rpms/e-smith-lib/sme7/e-smith-lib-2.0.0-sambaRole.patch
ViewVC logotype

Annotation of /rpms/e-smith-lib/sme7/e-smith-lib-2.0.0-sambaRole.patch

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


Revision 1.1 - (hide annotations) (download)
Mon Oct 13 21:48:13 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: e-smith-lib-2_0_0-4_el4_sme, e-smith-lib-2_0_0-2_el4_sme, e-smith-lib-2_0_0-3_el4_sme, HEAD
Add samba roles patch

1 slords 1.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