Can anyone please assist me with my config for agent ldap authentication
When attempting to login i receive the following messages in the log file;
[Fri Mar 18 11:51:42 2011][Notice][Kernel::System::Auth::LDAP::Auth] User: chrish@office.premiertech authentication failed, no LDAP entry found!BaseDN='dc=office,dc=premiertech', Filter='(sAMAccountName=chrish@office.premiertech)', (REMOTE_ADDR: 10.3.2.5).
[Fri Mar 18 11:51:42 2011][Error][Kernel::System::User::UserLookup][696] No UserID found for 'chrish@office.premiertech'!
[Fri Mar 18 11:59:27 2011][Error][Kernel::System::Auth::LDAP::Auth][276] Search failed! base='cn=OTRS_Agent,ou=OTRS,dc=office,dc=premiertech', filter='(member=CN=Phil koutsouris,OU=OU Operations,DC=office,DC=premiertech)', Success
[Fri Mar 18 11:59:39 2011][Error][Kernel::System::Auth::LDAP::Auth][276] Search failed! base='cn=OTRS_Agent,ou=OTRS,dc=office,dc=premiertech', filter='(member=CN=Chris Hindson,OU=OU Operations,DC=office,DC=premiertech)', Success
[Fri Mar 18 12:00:51 2011][Notice][Kernel::System::Auth::LDAP::Auth] User: chris hindson authentication failed, no LDAP entry found!BaseDN='dc=office,dc=premiertech', Filter='(sAMAccountName=chris hindson)', (REMOTE_ADDR: 10.3.2.5).
[Fri Mar 18 12:00:51 2011][Error][Kernel::System::User::UserLookup][696] No UserID found for 'chris hindson'!
Here is my config;
# Enable LDAP Authentication for Agent #
$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = '10.3.1.253';
$Self->{'AuthModule::LDAP::BaseDN'} = 'dc=office,dc=premiertech';
$Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthModule::LDAP::GroupDN'} = 'cn=OTRS_Agent,ou=OTRS,dc=office,dc=premiertech';
$Self->{'AuthModule::LDAP::AccessAttr'} = 'member';
$Self->{'AuthModule::LDAP::UserAttr'} = 'DN';
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'cn=otrs_ldap,ou=OTRS,dc=office,dc=premiertech';
$Self->{'AuthModule::LDAP::SearchUserPw'} = '####';
$Self->{'AuthModule::LDAP::AlwaysFilter'} = '';
#$Self->{'AuthModule::LDAP::UserSuffix'} = '';
$Self->{'AuthModule::LDAP::Params'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};
# Enable LDAP Authentication Sync for Agent #
$Self->{'AuthSyncModule'} = 'Kernel::System::Auth::Sync::LDAP';
$Self->{'AuthSyncModule::LDAP::Host'} = 'ldap://10.3.1.253:389';
$Self->{'AuthSyncModule::LDAP::BaseDN'} = 'dc=office,dc=premiertech';
$Self->{'AuthSyncModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'cn=otrs_ldap,ou=OTRS,dc=office,dc=premiertech';
$Self->{'AuthModule::LDAP::SearchUserPw'} = '####';
# Enable Agent Mapping from LDAP to DB #
$Self->{'AuthSyncModule::LDAP::UserSyncMap'} = {
# DB -> LDAP
UserFirstname => 'givenName',
UserLastname => 'sn',
UserEmail => 'mail',
};
# AuthSyncModule::LDAP::UserSyncInitialGroups
# (sync following group with rw permission after initial create of first agent
# login)
$Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'} = [
'users',
];
Agent LDAP not working
Moderator: crythias
-
- Znuny newbie
- Posts: 4
- Joined: 18 Mar 2011, 03:07
- Znuny Version: 2
Re: Agent LDAP not working
What is your windows login name?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 4
- Joined: 18 Mar 2011, 03:07
- Znuny Version: 2
Re: Agent LDAP not working
than try to log in with chrish
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 4
- Joined: 18 Mar 2011, 03:07
- Znuny Version: 2
Re: Agent LDAP not working
When i try with "chrish" i receive the following logs
[Mon Mar 21 07:36:04 2011][Error][Kernel::System::Auth::LDAP::Auth][276] Search failed! base='cn=OTRS_Agent,ou=OTRS,dc=office,dc=premiertech', filter='(member=CN=Chris Hindson,OU=OU Operations,DC=office,DC=premiertech)', Success
[Mon Mar 21 07:36:04 2011][Error][Kernel::System::User::UserLookup][696] No UserID found for 'chrish'!
[Mon Mar 21 07:36:04 2011][Error][Kernel::System::Auth::LDAP::Auth][276] Search failed! base='cn=OTRS_Agent,ou=OTRS,dc=office,dc=premiertech', filter='(member=CN=Chris Hindson,OU=OU Operations,DC=office,DC=premiertech)', Success
[Mon Mar 21 07:36:04 2011][Error][Kernel::System::User::UserLookup][696] No UserID found for 'chrish'!
-
- Znuny ninja
- Posts: 1029
- Joined: 13 Apr 2009, 12:26
- Znuny Version: 6.0.13
- Real Name: Wolfgang Fürtbauer
- Company: PBS Logitek GmbH
- Location: Pinsdorf
Re: Agent LDAP not working
did you create "chrish" also as user in OTRS?
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
-
- Znuny newbie
- Posts: 4
- Joined: 18 Mar 2011, 03:07
- Znuny Version: 2
Re: Agent LDAP not working
Yes it already existes,
Removing the additional config i can log in with "chrish" and its local 'OTRS' password.
My understanding of the additional config is to allow LDAP intergration to create an "OTRS" users based on if they are a user of a specified group, and sync their passowrd with AD.
Removing the additional config i can log in with "chrish" and its local 'OTRS' password.
My understanding of the additional config is to allow LDAP intergration to create an "OTRS" users based on if they are a user of a specified group, and sync their passowrd with AD.