Subject: | Line noise when testing |
During testing with active_directory set I see a lot of these ...
Use of uninitialized value $gid in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.10.0/Net/LDAP/Server/Test.pm line 539
For our testing we cannot use attribute primaryGroupID.
Attached patch just eliminates testing line noise.
Subject: | Net-LDAP-Server-Test.patch |
diff -Naur Net-LDAP-Server-Test-0.09.orig/lib/Net/LDAP/Server/Test.pm Net-LDAP-Server-Test-0.09/lib/Net/LDAP/Server/Test.pm
--- Net-LDAP-Server-Test-0.09.orig/lib/Net/LDAP/Server/Test.pm 2010-02-13 11:25:59.000000000 -0600
+++ Net-LDAP-Server-Test-0.09/lib/Net/LDAP/Server/Test.pm 2010-06-11 09:54:27.141126356 -0500
@@ -536,6 +536,7 @@
# users
my $gid = $entry->get_value('primaryGroupID');
+ $gid = '1234' unless ( defined $gid );
( my $user_sid_str = _get_server_sid_string() )
=~ s/-1234$/-$gid/;