I submitted a patch that would supress the display of computer objects
in the customer search list, but realized that the search list also
displays group objects. So I revised the patch to exclude both
computers and groups. This patch affects a different pm file
(Kernel/System/CustomerUser/LDAP.pm), and handles both computers and
groups. Please completely disregard the previous patch submitted.
Thanks,
Tyler Hepworth
Index: Kernel/System/CustomerUser/LDAP.pm
===================================================================
--- Kernel/System/CustomerUser/LDAP.pm (revision 15)
+++ Kernel/System/CustomerUser/LDAP.pm (working copy)
@@ -184,6 +184,7 @@
}
my %Users = ();
foreach my $entry ($Result->all_entries) {
+ next unless $entry->get_value('objectcategory') =~ /cn=person/i;
my $CustomerString = '';
foreach (@{$Self->{CustomerUserMap}->{CustomerUserListFields}}) {
my $Value = $Self->_Convert($entry->get_value($_));
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev