/[A3C]/bin/import-ldap.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/import-ldap.pl

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

revision 22 by dpavlin, Sun Mar 16 21:32:39 2008 UTC revision 25 by dpavlin, Mon Mar 17 13:06:40 2008 UTC
# Line 55  foreach my $entry ( $mesg->entries ) { Line 55  foreach my $entry ( $mesg->entries ) {
55          foreach my $attr ( $entry->attributes ) {          foreach my $attr ( $entry->attributes ) {
56                  if ( grep(/^\Q$attr\E$/, @columns ) ) {                  if ( grep(/^\Q$attr\E$/, @columns ) ) {
57                          $data->{$attr} = $entry->get_value( $attr );                          $data->{$attr} = $entry->get_value( $attr );
58                  } else {                  } elsif ( $attr !~ m/^(objectClass)$/i ) {
59                          Jifty->log->error(ref($user)," doesn't have $attr");                          Jifty->log->error(ref($user)," doesn't have $attr");
60                  }                  }
61          }          }

Legend:
Removed from v.22  
changed lines
  Added in v.25

  ViewVC Help
Powered by ViewVC 1.1.26