
Hi,
Which version of OTRS you use ?
I had the same problem with a custom version of OTRS 1.2 with CVS
backport (to have LDAP feature) and if my memory still good, I have
added this to my Kernel/Config.pm:
# CustomerDefaultState
# (default state of new customer tickets)
$Self->{CustomerDefaultState} = 'new';
This already exist in the Kernel/Config/Default.pm in OTRS 1.3.
Regards,
Yann Richard.
On Tue, 19 Oct 2004 11:28:37 +0300, Erol YILDIZ
Hi,
I have the configuration below for cutomers to authenticate via ldap and I get "Error: Need CustomerID". Any ideas?
Thanks
# This is an example configuration for an LDAP auth. backend. # (take care that Net::LDAP is installed!) $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP'; $Self->{'AuthModule::LDAP::Host'} = '10.0.0.1'; $Self->{'AuthModule::LDAP::BaseDN'} = 'dc=kemerkoy,dc=k12,dc=tr'; $Self->{'AuthModule::LDAP::UID'} = 'uid';
# Check if the user is allowed to auth in a posixGroup # (e. g. user needs to be in a group xyz to use otrs) # $Self->{'AuthModule::LDAP::GroupDN'} = 'cn=otrsallow,ou=posixGroups,dc=example,dc=com'; # $Self->{'AuthModule::LDAP::AccessAttr'} = 'memberUid'; # for ldap posixGroups objectclass (just uid) $Self->{'AuthModule::LDAP::UserAttr'} = 'uid'; # for non ldap posixGroups objectclass (with full user dn) # $Self->{'AuthModule::LDAP::UserAttr'} = 'DN';
# The following is valid but would only be necessary if the # anonymous user do NOT have permission to read from the LDAP tree $Self->{'AuthModule::LDAP::SearchUserDN'} = 'cn=Administrator,dc=kemerkoy,dc=k12,dc=tr'; $Self->{'AuthModule::LDAP::SearchUserPw'} = 'w84megirl';
# in case you want to add always one filter to each ldap query, use # this option. e. g. AlwaysFilter => '(mail=*)' or AlwaysFilter => '(objectclass=user)' # $Self->{'AuthModule::LDAP::AlwaysFilter'} = '';
# Net::LDAP new params (if needed - for more info see perldoc Net::LDAP) $Self->{'AuthModule::LDAP::Params'} = { port => 389, timeout => 120, async => 0, version => 3, };
# UserSyncLDAPMap # (map if agent should create/synced from LDAP to DB after login) $Self->{UserSyncLDAPMap} = { # DB -> LDAP Firstname => 'givenName', Lastname => 'sn', Email => 'suseMailAcceptAddress', CustomerID => 'suseMailAcceptAddress', };
-- Erol YILDIZ HEV Okulları Kemerköy IT Departmanı http://www.kemerkoy.k12.tr _______________________________________________ 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 oder Consulting f�r Ihr OTRS System?
-- M. Yann Richard yann.richard on gmail.com