/[virtual-ldap]/bin/ldap-rewrite.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /bin/ldap-rewrite.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 99 by dpavlin, Tue Jul 13 14:50:58 2010 UTC revision 100 by dpavlin, Thu Sep 2 12:36:37 2010 UTC
# Line 147  sub log_response { Line 147  sub log_response {
147                                          my ( $n, $v ) = split(/\s*:\s*/, $val );                                          my ( $n, $v ) = split(/\s*:\s*/, $val );
148                                          push @attrs, { type => $attr->{type} . '_' . $n, vals => [ $v ] };                                          push @attrs, { type => $attr->{type} . '_' . $n, vals => [ $v ] };
149                                  }                                  }
150                            } elsif ( $attr->{type} eq 'hrEduPersonGroupMember' ) {
151                                    foreach my $i ( 0 .. $#{ $attr->{vals} } ) {
152                                            $attr->{vals}->[$i] =~ s/^u2010/p2010/gs && warn "FIXME group";
153                                    }
154                          }                          }
155                  }                  }
156    

Legend:
Removed from v.99  
changed lines
  Added in v.100

  ViewVC Help
Powered by ViewVC 1.1.26