Hello,

I've configured otrs to use ldap to query AD for
customer data.  If I login to otrs as an agent and
click on the Customer link at the top of the page it
takes me to the customer section but I don't see any
customers listed.  If I simply add an asterisk '*' in
the "Search for" field and search on that it returns
all entries from the base DN that I specified.

So my question is; Is that the way it works?  Or
should it query AD when I click on the Customer page
automatically and show me everything without having to
perform a wildcard search?

Please see below for the customer data portion of my
Config.pm:

# Customer Data settings
    #
---------------------------------------------------- #
    $Self->{CustomerUser} = {
      Name => 'LDAP Backend',
      Module => 'Kernel::System::CustomerUser::LDAP',
      Params => {
        Host => 'test.domain.com',
        BaseDN => 'ou=Users,ou=Test,dc=test,dc=com',
        SSCOPE => 'sub',
        UserDN =>
'cn=otrs,ou=Users,ou=Test,dc=test,dc=com',
        UserPw => 'pass',
        AlwaysFilter => '',
        Params => {
                port => 389, timeout => 120,
                async => 0, version => 3,
        },
    },
    CustomerKey => 'sAMAccountName',
    CustomerID => 'mail',
    CustomerUserListFields => ['sAMAccountName', 'cn',
'mail'],
    CustomerUserSearchFields => ['sAMAccountName',
'cn', 'mail'],
    CustomerUserSearchPrefix => '',
    CustomerUserSearchSuffix => '*',
    CustomerUserSearchListLimit => 250,
     Map => [
        ['UserFirstName', 'Firstname', 'givenname', 1,
1, 'var'],
        ['UserLastname', 'Lastname', 'sn', 1, 1, 'var'
],
        ['UserLogin', 'Login', 'sAMAccountName', 1, 1,
'var' ],
        ['UserEmail', 'Email', 'mail', 1, 1, 'var' ],
        ['UserCustomerID', 'CustomerID', 'mail', 0, 1,
'var' ],
        ],
    };


Thanks!!


      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to