LDAP - Windows Server 2008 R2 - AD Object 2003

hi, and thanks fot the second help of the day i have to integrate otrs 3.1 (windows version) with the domain active directory, based on 2003 object, but installed on a windows 2008 r2 server... but i have always the same error: [Fri Jul 6 14:41:39 2012][Error][Kernel::System::Auth::LDAP::Auth][187] First bind failed! 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db0 [Fri Jul 6 14:41:39 2012][Error][Kernel::System::User::UserLookup][797] No UserID found for 'adone\agente1'! the network configuration is that: domain controller: dcad101 domain name: adone.lan ad configuration is that: Groups: - OTRSAgents - OTRSCustomers Agent Users: - agente1 - agente2 - otrs (i use to sync otrs with ldap) Customer Users: - cliente1 - cliente2 all objects are in the root of active directory in the login form i use as name: domain\username (adone\agente1) this is the part of load function related to login: # Enable LDAP lookups for Agent logins. User must be a member of OTRS Agents group. $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP'; $Self->{'AuthModule::LDAP::Host'} = 'dcad101.adone.lan'; $Self->{'AuthModule::LDAP::BaseDN'} = 'dc=adone,dc=lan'; $Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName'; $Self->{'AuthModule::LDAP::SearchUserDN'} = 'cn=otrs,cn=Users,dc=adone,dc=lan'; $Self->{'AuthModule::LDAP::SearchUserPw'} = 'a12345++'; $Self->{'AuthModule::LDAP::AlwaysFilter'} = ''; $Self->{'AuthModule::LDAP::GroupDN'} = 'cn=OTRSAgents,cn=Users,dc=adone,dc=lan'; $Self->{'AuthModule::LDAP::AccessAttr'} = 'memberUid'; $Self->{'AuthModule::LDAP::UserAttr'} = 'UID'; # Enable LDAP lookups of Agent account informations and default roles. $Self->{'AuthSyncModule'} = 'Kernel::System::Auth::Sync::LDAP'; $Self->{'AuthSyncModule::LDAP::Host'} = 'dcad101.adone.lan'; $Self->{'AuthSyncModule::LDAP::BaseDN'} = 'dc=adone,dc=lan'; $Self->{'AuthSyncModule::LDAP::UID'} = 'sAMAccountName'; $Self->{'AuthSyncModule::LDAP::SearchUserDN'} = 'cn=otrs,cn=OTRSAgents,dc=adone,dc=lan'; $Self->{'AuthSyncModule::LDAP::SearchUserPw'} = 'a12345++'; $Self->{'AuthSyncModule::LDAP::AlwaysFilter'} = ''; $Self->{'AuthSyncModule::LDAP::GroupDN'} = 'cn=OTRSAgents,cn=Users,dc=adone,dc=lan'; $Self->{'AuthSyncModule::LDAP::AccessAttr'} = 'memberUid'; $Self->{'AuthSyncModule::LDAP::UserAttr'} = 'UID'; $Self->{'AuthSyncModule::LDAP::UserSyncMap'} = { UserFirstname => 'givenName', UserLastname => 'sn', UserEmail => 'mail', }; $Self->{'AuthSyncModule::LDAP::UserSyncRolesDefinition'} = { 'cn=OTRSAgents,cn=Users,dc=adone,dc=lan' => { 'Company Agents' => 1, }, 'cn=Domain Admins,cn=Users,dc=adone,dc=lan' => { 'Tech Support Agents' => 1, } }; # Enable LDAP lookups for Customer logins. $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP'; $Self->{'Customer::AuthModule::LDAP::Host'} = 'dcad101.adone.lan'; $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=adone,dc=lan'; $Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName'; $Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'cn=otrs,cn=OTRSCustomers,dc=adone,dc=lan'; $Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'a12345++'; $Self->{'Customer::AuthModule::LDAP::AlwaysFilter'} = ''; $Self->{'Customer::AuthModule::LDAP::GroupDN'} = 'cn=OTRSCustomers,dc=adone,dc=lan'; $Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'memberUid'; $Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'UID'; # Enable LDAP lookups for Customer account information. $Self->{CustomerUser} = { Module => 'Kernel::System::CustomerUser::LDAP', Params => { Host => 'dcad101.adone.lan', BaseDN => 'dc=adone,dc=lan', SSCOPE => 'sub', UserDN => 'cn=otrs,cn=Users,dc=adone,dc=lan', UserPw => 'a12345++', #AlwaysFilter => '(objectclass=user)', AlwaysFilter => '', GroupDN => 'cn=OTRSCustomers,dc=adone,dc=lan', AccessAttr => 'memberUid', UserAttr => 'UID', }, CustomerKey => 'sAMAccountName', CustomerID => '[customer_id]', CustomerUserListFields => ['sAMAccountName', 'sn', 'givenname', 'company', 'mail'], CustomerUserSearchFields => ['sAMAccountName', 'sn', 'givenname', 'company', 'mail'], CustomerUserPostMasterSearchFields => ['mail'], CustomerUserNameFields => ['givenname', 'sn'], CustomerUserValidFilter => '(company=*)', Map => [ [ 'UserSalutation', 'Title', 'title', 1, 0, 'var' ], [ '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', 'company', 0, 1, 'var' ], [ 'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var' ], [ 'UserAddress', 'Address', 'postaladdress', 1, 0, 'var' ], [ 'UserComment', 'Comment', 'description', 1, 0, 'var' ], ], };

now i solve the error 187... but i have this response
[Fri Jul 6 18:18:45 2012][Notice][Kernel::System::Auth::LDAP::Auth] User:
adone\agente1 authentication failed, no LDAP entry
found!BaseDN='dc=adone,dc=lan', Filter='(sAMAccountName=adone\\agente1)',
(REMOTE_ADDR: xxxx).
[Fri Jul 6 18:18:45 2012][Error][Kernel::System::User::UserLookup][797] No
UserID found for 'adone\agente1'!
On 6 July 2012 18:15, Stefano Ricci
hi, and thanks fot the second help of the day
i have to integrate otrs 3.1 (windows version) with the domain active directory, based on 2003 object, but installed on a windows 2008 r2 server...
but i have always the same error:
[Fri Jul 6 14:41:39 2012][Error][Kernel::System::Auth::LDAP::Auth][187] First bind failed! 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db0 [Fri Jul 6 14:41:39 2012][Error][Kernel::System::User::UserLookup][797] No UserID found for 'adone\agente1'!
the network configuration is that:
domain controller: dcad101 domain name: adone.lan
ad configuration is that:
Groups:
- OTRSAgents - OTRSCustomers
Agent Users:
- agente1 - agente2 - otrs (i use to sync otrs with ldap)
Customer Users:
- cliente1 - cliente2
all objects are in the root of active directory
in the login form i use as name: domain\username (adone\agente1)
this is the part of load function related to login:
# Enable LDAP lookups for Agent logins. User must be a member of OTRS Agents group. $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP'; $Self->{'AuthModule::LDAP::Host'} = 'dcad101.adone.lan'; $Self->{'AuthModule::LDAP::BaseDN'} = 'dc=adone,dc=lan'; $Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName'; $Self->{'AuthModule::LDAP::SearchUserDN'} = 'cn=otrs,cn=Users,dc=adone,dc=lan'; $Self->{'AuthModule::LDAP::SearchUserPw'} = 'a12345++'; $Self->{'AuthModule::LDAP::AlwaysFilter'} = ''; $Self->{'AuthModule::LDAP::GroupDN'} = 'cn=OTRSAgents,cn=Users,dc=adone,dc=lan'; $Self->{'AuthModule::LDAP::AccessAttr'} = 'memberUid'; $Self->{'AuthModule::LDAP::UserAttr'} = 'UID';
# Enable LDAP lookups of Agent account informations and default roles. $Self->{'AuthSyncModule'} = 'Kernel::System::Auth::Sync::LDAP'; $Self->{'AuthSyncModule::LDAP::Host'} = 'dcad101.adone.lan'; $Self->{'AuthSyncModule::LDAP::BaseDN'} = 'dc=adone,dc=lan'; $Self->{'AuthSyncModule::LDAP::UID'} = 'sAMAccountName'; $Self->{'AuthSyncModule::LDAP::SearchUserDN'} = 'cn=otrs,cn=OTRSAgents,dc=adone,dc=lan'; $Self->{'AuthSyncModule::LDAP::SearchUserPw'} = 'a12345++'; $Self->{'AuthSyncModule::LDAP::AlwaysFilter'} = ''; $Self->{'AuthSyncModule::LDAP::GroupDN'} = 'cn=OTRSAgents,cn=Users,dc=adone,dc=lan'; $Self->{'AuthSyncModule::LDAP::AccessAttr'} = 'memberUid'; $Self->{'AuthSyncModule::LDAP::UserAttr'} = 'UID'; $Self->{'AuthSyncModule::LDAP::UserSyncMap'} = { UserFirstname => 'givenName', UserLastname => 'sn', UserEmail => 'mail', }; $Self->{'AuthSyncModule::LDAP::UserSyncRolesDefinition'} = { 'cn=OTRSAgents,cn=Users,dc=adone,dc=lan' => { 'Company Agents' => 1, }, 'cn=Domain Admins,cn=Users,dc=adone,dc=lan' => { 'Tech Support Agents' => 1, } };
# Enable LDAP lookups for Customer logins. $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP'; $Self->{'Customer::AuthModule::LDAP::Host'} = 'dcad101.adone.lan'; $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=adone,dc=lan'; $Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName'; $Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'cn=otrs,cn=OTRSCustomers,dc=adone,dc=lan'; $Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'a12345++'; $Self->{'Customer::AuthModule::LDAP::AlwaysFilter'} = ''; $Self->{'Customer::AuthModule::LDAP::GroupDN'} = 'cn=OTRSCustomers,dc=adone,dc=lan'; $Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'memberUid'; $Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'UID';
# Enable LDAP lookups for Customer account information. $Self->{CustomerUser} = { Module => 'Kernel::System::CustomerUser::LDAP', Params => { Host => 'dcad101.adone.lan', BaseDN => 'dc=adone,dc=lan', SSCOPE => 'sub', UserDN => 'cn=otrs,cn=Users,dc=adone,dc=lan', UserPw => 'a12345++', #AlwaysFilter => '(objectclass=user)', AlwaysFilter => '', GroupDN => 'cn=OTRSCustomers,dc=adone,dc=lan', AccessAttr => 'memberUid', UserAttr => 'UID', }, CustomerKey => 'sAMAccountName', CustomerID => '[customer_id]', CustomerUserListFields => ['sAMAccountName', 'sn', 'givenname', 'company', 'mail'], CustomerUserSearchFields => ['sAMAccountName', 'sn', 'givenname', 'company', 'mail'], CustomerUserPostMasterSearchFields => ['mail'], CustomerUserNameFields => ['givenname', 'sn'], CustomerUserValidFilter => '(company=*)', Map => [ [ 'UserSalutation', 'Title', 'title', 1, 0, 'var' ], [ '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', 'company', 0, 1, 'var' ], [ 'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var' ], [ 'UserAddress', 'Address', 'postaladdress', 1, 0, 'var' ], [ 'UserComment', 'Comment', 'description', 1, 0, 'var' ], ], };

Hi Stefano, On 7/6/12 18:24 , Stefano Ricci wrote:
now i solve the error 187... but i have this response
[Fri Jul 6 18:18:45 2012][Notice][Kernel::System::Auth::LDAP::Auth] User: adone\agente1 authentication failed, no LDAP entry found!BaseDN='dc=adone,dc=lan', Filter='(sAMAccountName=adone\\agente1)', (REMOTE_ADDR: xxxx). [Fri Jul 6 18:18:45 2012][Error][Kernel::System::User::UserLookup][797] No UserID found for 'adone\agente1'!
You do not have an agent with username "adone\agente1" in OTRS. You need to create this agent via admin interface first. mike -- Mike Eduard Enterprise Services for OTRS Znuny GmbH // Marienstraße 11 // 10117 Berlin // Germany P: +49 (0) 30 60 98 54 18-0 F: +49 (0) 30 60 98 54 18-8 W: http://znuny.com Location: Berlin - HRB 139852 B Amtsgericht Berlin-Charlottenburg Managing Director: Martin Edenhofer

ok...
but the problem is that.... i have to add the login through ldap, because i
have al lot of agents and a lot of customer.... to understand, one of the
customer company have 300 customer that have to login/send mail to open the
support tickets...
i have to create manualy all of these profiles and after active the active
directory interface?
On 6 July 2012 18:29, Mike Eduard
Hi Stefano,
On 7/6/12 18:24 , Stefano Ricci wrote:
now i solve the error 187... but i have this response
[Fri Jul 6 18:18:45 2012][Notice][Kernel::System::**Auth::LDAP::Auth] User: adone\agente1 authentication failed, no LDAP entry found!BaseDN='dc=adone,dc=lan'**, Filter='(sAMAccountName=adone\**\agente1)', (REMOTE_ADDR: xxxx). [Fri Jul 6 18:18:45 2012][Error][Kernel::System::**User::UserLookup][797] No UserID found for 'adone\agente1'!
You do not have an agent with username "adone\agente1" in OTRS.
You need to create this agent via admin interface first.
mike
-- Mike Eduard Enterprise Services for OTRS
Znuny GmbH // Marienstraße 11 // 10117 Berlin // Germany
P: +49 (0) 30 60 98 54 18-0 F: +49 (0) 30 60 98 54 18-8 W: http://znuny.com
Location: Berlin - HRB 139852 B Amtsgericht Berlin-Charlottenburg Managing Director: Martin Edenhofer
------------------------------**------------------------------**--------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/**pipermail/otrshttp://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/**listinfo/otrshttp://lists.otrs.org/cgi-bin/listinfo/otrs

Hello Stefano, Actually you can configure the system to automatically
create the agents when they loging for the first time, you just need
to configure the sync part and have the correct maping table.
When authenticating customers via AD, they don't get created into the
local database nor syncronized, but you can configure múltiple
customer sources so they can loging.
Check the manual in chapter 11.
http://doc.otrs.org/3.1/en/html/external-backends.html
http://doc.otrs.org/3.1/en/html/customer-user-backend.html#multiple-customer...
If not usign LDAP you can allow customer self registration.
Regards.
On Fri, Jul 6, 2012 at 11:49 AM, Stefano Ricci
ok...
but the problem is that.... i have to add the login through ldap, because i have al lot of agents and a lot of customer.... to understand, one of the customer company have 300 customer that have to login/send mail to open the support tickets...
i have to create manualy all of these profiles and after active the active directory interface?
On 6 July 2012 18:29, Mike Eduard
wrote: Hi Stefano,
On 7/6/12 18:24 , Stefano Ricci wrote:
now i solve the error 187... but i have this response
[Fri Jul 6 18:18:45 2012][Notice][Kernel::System::Auth::LDAP::Auth] User: adone\agente1 authentication failed, no LDAP entry found!BaseDN='dc=adone,dc=lan', Filter='(sAMAccountName=adone\\agente1)', (REMOTE_ADDR: xxxx). [Fri Jul 6 18:18:45 2012][Error][Kernel::System::User::UserLookup][797] No UserID found for 'adone\agente1'!
You do not have an agent with username "adone\agente1" in OTRS.
You need to create this agent via admin interface first.
mike
-- Mike Eduard Enterprise Services for OTRS
Znuny GmbH // Marienstraße 11 // 10117 Berlin // Germany
P: +49 (0) 30 60 98 54 18-0 F: +49 (0) 30 60 98 54 18-8 W: http://znuny.com
Location: Berlin - HRB 139852 B Amtsgericht Berlin-Charlottenburg Managing Director: Martin Edenhofer
--------------------------------------------------------------------- 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
--------------------------------------------------------------------- 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
-- ___________________________ Alvaro Cordero Retana Consultor de Tecnologias Gridshield Monitoreo de Redes e Infraestructura. 2258-5757 ext 123 alvaro@gridshield.net www.gridshield.net

This means that there is no sAMAccountName that matches adone\agent1 in
Active Directory. That's highly likely as most sAMAccountName are simple
usernames.
On Fri, Jul 6, 2012 at 12:29 PM, Mike Eduard
Hi Stefano,
On 7/6/12 18:24 , Stefano Ricci wrote:
now i solve the error 187... but i have this response
[Fri Jul 6 18:18:45 2012][Notice][Kernel::System::**Auth::LDAP::Auth] User: adone\agente1 authentication failed, no LDAP entry found!BaseDN='dc=adone,dc=lan'**, Filter='(*sAMAccountName=adone\\agente1 *)', (REMOTE_ADDR: xxxx). [Fri Jul 6 18:18:45 2012][Error][Kernel::System::**User::UserLookup][797] No UserID found for 'adone\agente1'!
You do not have an agent with username "adone\agente1" in OTRS.
You need to create this agent via admin interface first.
mike
-- Mike Eduard Enterprise Services for OTRS
Znuny GmbH // Marienstraße 11 // 10117 Berlin // Germany
P: +49 (0) 30 60 98 54 18-0 F: +49 (0) 30 60 98 54 18-8 W: http://znuny.com
Location: Berlin - HRB 139852 B Amtsgericht Berlin-Charlottenburg Managing Director: Martin Edenhofer
------------------------------**------------------------------**--------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/**pipermail/otrshttp://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/**listinfo/otrshttp://lists.otrs.org/cgi-bin/listinfo/otrs

now i put on the login via ad of agents and client... but i have these open
questions:
- for the agents i assign with *
$Self->{'AuthSyncModule::LDAP::UserSyncRolesDefinition'}* the correct
roles, and with *$Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'}* i
assign the inital group... How i can do the same with the customers?.... i
have more queue, and a have to activate them in function of the user...
fore example... if a customer are in particular group in ad, have to write
only in queue1/group1....
- otrs fileter the email if you aren't a customer in database, but with
ad login, no data are in database... how i can: remove the filter, or put
the customer data in otrs database and sync (the agent mode)
- if i have to login customers form others Ad, how i have to do in the
script? i have to logon whit this name "domain\user"... i have to split the
login name by my self or there is ant attibute similar to
sAMAccountName that have the complete name?
thanks fot the help
On 7 July 2012 13:38, Gerald Young
This means that there is no sAMAccountName that matches adone\agent1 in Active Directory. That's highly likely as most sAMAccountName are simple usernames.
On Fri, Jul 6, 2012 at 12:29 PM, Mike Eduard
wrote: Hi Stefano,
On 7/6/12 18:24 , Stefano Ricci wrote:
now i solve the error 187... but i have this response
[Fri Jul 6 18:18:45 2012][Notice][Kernel::System::**Auth::LDAP::Auth] User: adone\agente1 authentication failed, no LDAP entry found!BaseDN='dc=adone,dc=lan'**, Filter='(* sAMAccountName=adone\\agente1*)', (REMOTE_ADDR: xxxx). [Fri Jul 6 18:18:45 2012][Error][Kernel::System::**User::UserLookup][797] No UserID found for 'adone\agente1'!
You do not have an agent with username "adone\agente1" in OTRS.
You need to create this agent via admin interface first.
mike
-- Mike Eduard Enterprise Services for OTRS
Znuny GmbH // Marienstraße 11 // 10117 Berlin // Germany
P: +49 (0) 30 60 98 54 18-0 F: +49 (0) 30 60 98 54 18-8 W: http://znuny.com
Location: Berlin - HRB 139852 B Amtsgericht Berlin-Charlottenburg Managing Director: Martin Edenhofer
------------------------------**------------------------------**--------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/**pipermail/otrshttp://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/**listinfo/otrshttp://lists.otrs.org/cgi-bin/listinfo/otrs
--------------------------------------------------------------------- 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

What is your purpose of using Customer Groups? If they are to assign
queues, you may want to rethink this, unless they're for instance, location
based, or only certain agents are allowed to handle certain customers.
Don't forget that Customer needs Auth and Membership (CustomerUser). If
you're using ldap, use it for both. It won't sync customers to database,
only pull from ldap.
"if i have to login customers form others Ad" ... you'd add additional back
ends (up to 10?) for each AD.
On Tue, Jul 10, 2012 at 3:45 AM, Stefano Ricci wrote: now i put on the login via ad of agents and client... but i have these
open questions: - for the agents i assign with *
$Self->{'AuthSyncModule::LDAP::UserSyncRolesDefinition'}* the correct
roles, and with *$Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'}
* i assign the inital group... How i can do the same with the
customers?.... i have more queue, and a have to activate them in function
of the user... fore example... if a customer are in particular group in ad,
have to write only in queue1/group1....
- otrs fileter the email if you aren't a customer in database, but
with ad login, no data are in database... how i can: remove the filter, or
put the customer data in otrs database and sync (the agent mode)
- if i have to login customers form others Ad, how i have to do in the
script? i have to logon whit this name "domain\user"... i have to split the
login name by my self or there is ant attibute similar to
sAMAccountName that have the complete name? thanks fot the help On 7 July 2012 13:38, Gerald Young This means that there is no sAMAccountName that matches adone\agent1 in
Active Directory. That's highly likely as most sAMAccountName are simple
usernames. On Fri, Jul 6, 2012 at 12:29 PM, Mike Eduard Hi Stefano, On 7/6/12 18:24 , Stefano Ricci wrote: now i solve the error 187... but i have this response [Fri Jul 6 18:18:45 2012][Notice][Kernel::System::**Auth::LDAP::Auth]
User: adone\agente1 authentication failed, no LDAP entry
found!BaseDN='dc=adone,dc=lan'**, Filter='(*
sAMAccountName=adone\\agente1*)', (REMOTE_ADDR: xxxx).
[Fri Jul 6 18:18:45 2012][Error][Kernel::System::**User::UserLookup][797]
No UserID found for 'adone\agente1'! You do not have an agent with username "adone\agente1" in OTRS. You need to create this agent via admin interface first. mike --
Mike Eduard
Enterprise Services for OTRS Znuny GmbH // Marienstraße 11 // 10117 Berlin // Germany P: +49 (0) 30 60 98 54 18-0
F: +49 (0) 30 60 98 54 18-8
W: http://znuny.com Location: Berlin - HRB 139852 B Amtsgericht Berlin-Charlottenburg
Managing Director: Martin Edenhofer ------------------------------**------------------------------**
---------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/**pipermail/otrshttp://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/**listinfo/otrshttp://lists.otrs.org/cgi-bin/listinfo/otrs ---------------------------------------------------------------------
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 ---------------------------------------------------------------------
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

i talk for Customer... when you use only OTRS database, and remove the
register form, you have to add manualy the Customer (and if is the case,
use the Customer Company ID to aggregate the ticket of same company)...
afte you have to set the persmission of this customer on the differen
groups...
in my case i assign to a queue a group.... always the reference is 1 to
1.... now i assign the permission of sustomer for the group..
example:
- queue1 -> group1
- queue2 -> group2
- queue3 .> group3
now i associate the customer to a group and set the permission..
- group1 -> not associated
- group2 -> read and wite
- group3 -> not associated...
now if the customer login to the web interface or send email, can
only read/open tickets on queue2...
and if is included in a customer company can se the ticket of all company...
when i use Active directory to login i want to replicate the same idea.....
for example with agents is possible to map group in active directory with
roles in OTRS, and manage the permission in the admin console...
it's possible to do the same for customers?
now in the *CONFIG.PM* i have that:
# Enable LDAP lookups for Customer logins.
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'dcad101';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=adone,dc=lan';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} =
'cn=otrs,cn=Users,dc=adone,dc=lan';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'a12345++';
$Self->{'Customer::AuthModule::LDAP::AlwaysFilter'} = '';
$Self->{'Customer::AuthModule::LDAP::GroupDN'} =
'cn=OTRSCustomers,cn=Users,dc=adone,dc=lan';
$Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'member';
$Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'DN';
# Enable LDAP lookups for Customer account information.
$Self->{CustomerUser} = {
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
Host => 'dcad101',
BaseDN => 'dc=adone,dc=lan',
SSCOPE => 'sub',
UserDN => 'cn=otrs,cn=Users,dc=adone,dc=lan',
UserPw => 'a12345++',
AlwaysFilter => '',
GroupDN => 'cn=OTRSCustomers,cn=Users,dc=adone,dc=lan',
AccessAttr => 'memberUid',
UserAttr => 'UID',
},
CustomerKey => 'sAMAccountName',
#CustomerID => '[customer_id]',
CustomerID => 'sAMAccountName',
CustomerUserListFields => ['sAMAccountName', 'sn', 'givenname',
'company', 'mail'],
CustomerUserSearchFields => ['sAMAccountName', 'sn', 'givenname',
'company', 'mail'],
CustomerUserPostMasterSearchFields => ['mail'],
CustomerUserNameFields => ['givenname', 'sn'],
CustomerUserValidFilter => '(company=*)',
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', 'company', 0, 1, 'var' ],
],
};
i can login the customer, but it can not write any ticket.... i think that
the default group for customer is user... but i disable all permission on
this group... because i want to have more group in function of
persimssion...
the second ask is related to incoming email filter.... if an email are not
in customer list, otrs ignore this... whit active directori, is the same?
the third ask is related to the use of more Active directory's.... and a
way do realize that....
for example if i have 3 customer company, i have to login user from
different domain..
a good idea is to support the login int this format "domain\user"...
because is possible that different company have equals user name...
now for single company i use how ID the user name (in active
directory sAMAccountName)... there is a variable of active directory that
store in the same string the full name "domain\user"?
thanks for the help
On 10 July 2012 14:46, Gerald Young
What is your purpose of using Customer Groups? If they are to assign queues, you may want to rethink this, unless they're for instance, location based, or only certain agents are allowed to handle certain customers.
Don't forget that Customer needs Auth and Membership (CustomerUser). If you're using ldap, use it for both. It won't sync customers to database, only pull from ldap.
"if i have to login customers form others Ad" ... you'd add additional back ends (up to 10?) for each AD.
On Tue, Jul 10, 2012 at 3:45 AM, Stefano Ricci < stefano.ricci@riccimatic.com> wrote:
now i put on the login via ad of agents and client... but i have these open questions:
- for the agents i assign with * $Self->{'AuthSyncModule::LDAP::UserSyncRolesDefinition'}* the correct roles, and with * $Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'}* i assign the inital group... How i can do the same with the customers?.... i have more queue, and a have to activate them in function of the user... fore example... if a customer are in particular group in ad, have to write only in queue1/group1.... - otrs fileter the email if you aren't a customer in database, but with ad login, no data are in database... how i can: remove the filter, or put the customer data in otrs database and sync (the agent mode) - if i have to login customers form others Ad, how i have to do in the script? i have to logon whit this name "domain\user"... i have to split the login name by my self or there is ant attibute similar to sAMAccountName that have the complete name?
thanks fot the help
On 7 July 2012 13:38, Gerald Young
wrote: This means that there is no sAMAccountName that matches adone\agent1 in Active Directory. That's highly likely as most sAMAccountName are simple usernames.
On Fri, Jul 6, 2012 at 12:29 PM, Mike Eduard
wrote: Hi Stefano,
On 7/6/12 18:24 , Stefano Ricci wrote:
now i solve the error 187... but i have this response
[Fri Jul 6 18:18:45 2012][Notice][Kernel::System::**Auth::LDAP::Auth] User: adone\agente1 authentication failed, no LDAP entry found!BaseDN='dc=adone,dc=lan'**, Filter='(* sAMAccountName=adone\\agente1*)', (REMOTE_ADDR: xxxx). [Fri Jul 6 18:18:45 2012][Error][Kernel::System::**User::UserLookup][797] No UserID found for 'adone\agente1'!
You do not have an agent with username "adone\agente1" in OTRS.
You need to create this agent via admin interface first.
mike
-- Mike Eduard Enterprise Services for OTRS
Znuny GmbH // Marienstraße 11 // 10117 Berlin // Germany
P: +49 (0) 30 60 98 54 18-0 F: +49 (0) 30 60 98 54 18-8 W: http://znuny.com
Location: Berlin - HRB 139852 B Amtsgericht Berlin-Charlottenburg Managing Director: Martin Edenhofer
------------------------------**------------------------------** --------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/**pipermail/otrshttp://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/**listinfo/otrshttp://lists.otrs.org/cgi-bin/listinfo/otrs
--------------------------------------------------------------------- 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
--------------------------------------------------------------------- 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
--------------------------------------------------------------------- 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

Hi Esteffano,
I share my setting lines with you, I have no problem with them and I work
for this environment. I have little experience with ldap but the error says
userid
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'user@domain';
$Self->{'AuthModule::LDAP::SearchUserPw'} = passwd';
the rest of my changes are like yours. I do only login with the userid,
without domain.
Regards.
De: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] En nombre de
Stefano Ricci
Enviado el: martes, 10 de julio de 2012 08:29 a.m.
Para: User questions and discussions about OTRS.
Asunto: Re: [otrs] LDAP - Windows Server 2008 R2 - AD Object 2003
i talk for Customer... when you use only OTRS database, and remove the
register form, you have to add manualy the Customer (and if is the case, use
the Customer Company ID to aggregate the ticket of same company)...
afte you have to set the persmission of this customer on the differen
groups...
in my case i assign to a queue a group.... always the reference is 1 to
1.... now i assign the permission of sustomer for the group..
example:
* queue1 -> group1
* queue2 -> group2
* queue3 .> group3
now i associate the customer to a group and set the permission..
* group1 -> not associated
* group2 -> read and wite
* group3 -> not associated...
now if the customer login to the web interface or send email, can only
read/open tickets on queue2...
and if is included in a customer company can se the ticket of all company...
when i use Active directory to login i want to replicate the same idea.....
for example with agents is possible to map group in active directory with
roles in OTRS, and manage the permission in the admin console...
it's possible to do the same for customers?
now in the CONFIG.PM i have that:
# Enable LDAP lookups for Customer logins.
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'dcad101';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=adone,dc=lan';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} =
'cn=otrs,cn=Users,dc=adone,dc=lan';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'a12345++';
$Self->{'Customer::AuthModule::LDAP::AlwaysFilter'} = '';
$Self->{'Customer::AuthModule::LDAP::GroupDN'} =
'cn=OTRSCustomers,cn=Users,dc=adone,dc=lan';
$Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'member';
$Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'DN';
# Enable LDAP lookups for Customer account information.
$Self->{CustomerUser} = {
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
Host => 'dcad101',
BaseDN => 'dc=adone,dc=lan',
SSCOPE => 'sub',
UserDN => 'cn=otrs,cn=Users,dc=adone,dc=lan',
UserPw => 'a12345++',
AlwaysFilter => '',
GroupDN => 'cn=OTRSCustomers,cn=Users,dc=adone,dc=lan',
AccessAttr => 'memberUid',
UserAttr => 'UID',
},
CustomerKey => 'sAMAccountName',
#CustomerID => '[customer_id]',
CustomerID => 'sAMAccountName',
CustomerUserListFields => ['sAMAccountName', 'sn', 'givenname',
'company', 'mail'],
CustomerUserSearchFields => ['sAMAccountName', 'sn', 'givenname',
'company', 'mail'],
CustomerUserPostMasterSearchFields => ['mail'],
CustomerUserNameFields => ['givenname', 'sn'],
CustomerUserValidFilter => '(company=*)',
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', 'company', 0, 1, 'var' ],
],
};
i can login the customer, but it can not write any ticket.... i think that
the default group for customer is user... but i disable all permission on
this group... because i want to have more group in function of
persimssion...
the second ask is related to incoming email filter.... if an email are not
in customer list, otrs ignore this... whit active directori, is the same?
the third ask is related to the use of more Active directory's.... and a way
do realize that....
for example if i have 3 customer company, i have to login user from
different domain..
a good idea is to support the login int this format "domain\user"... because
is possible that different company have equals user name...
now for single company i use how ID the user name (in active directory
sAMAccountName)... there is a variable of active directory that store in the
same string the full name "domain\user"?
thanks for the help
On 10 July 2012 14:46, Gerald Young

"You have to manually add the customer". This is true, but if you're
authenticating with ldap, you should (could) use ldap as a backend for
customer source as well, so you don't have this problem.
" afte you have to set the persmission of this customer on the differen
groups... " Yes, but what is the purpose of your group settings? Why
bother? Just set all the customers to "users".
Why are you segregating queues from your customers? If you are creating
queues *specifically* for the customer, you are causing a big headache for
yourself.
"now if the customer login to the web interface or send email, can
only read/open tickets on queue2...
and if is included in a customer company can se the ticket of all
company..." yes, where customer_id are the same.
"for example with agents is possible to map group in active directory with
roles in OTRS, and manage the permission in the admin console...
it's possible to do the same for customers?"
No.
"Edit Customer Default Groups" (CustomerGroupsAlwaysGroups).
"i can login the customer, but it can not write any ticket.... i think that
the default group for customer is user... but i disable all permission on
this group... because i want to have more group in function of
persimssion..."
Your choices: remove the queues from the users group or remove the
customers from the users group. You choose to remove the customers, but
don't set a default group they can create tickets in. Queues should be
things you provide, not who you provide service to.
"the second ask is related to incoming email filter.... if an email are not
in customer list, otrs ignore this... whit active directori, is the same?"
There should be no difference in how OTRS handles an email ticket. It goes
through all back ends that are enabled and checks those backends for
customers.
"the third ask is related to the use of more Active directory's.... and a
way do realize that....
for example if i have 3 customer company, i have to login user from
different domain..
a good idea is to support the login int this format "domain\user"...
because is possible that different company have equals user name...
now for single company i use how ID the user name (in active
directory sAMAccountName)... there is a variable of active directory that
store in the same string the full name "domain\user"?
"
No, but instead of matching sAMAccountName, you may choose to use "mail" (
username@domain.com) or "userPrincipalName" (username@DOMAIN)
On Tue, Jul 10, 2012 at 9:29 AM, Stefano Ricci wrote: i talk for Customer... when you use only OTRS database, and remove the
register form, you have to add manualy the Customer (and if is the case,
use the Customer Company ID to aggregate the ticket of same company)... afte you have to set the persmission of this customer on the differen
groups... in my case i assign to a queue a group.... always the reference is 1 to
1.... now i assign the permission of sustomer for the group.. example: - queue1 -> group1
- queue2 -> group2
- queue3 .> group3 now i associate the customer to a group and set the permission.. - group1 -> not associated
- group2 -> read and wite
- group3 -> not associated... now if the customer login to the web interface or send email, can
only read/open tickets on queue2...
and if is included in a customer company can se the ticket of all
company... when i use Active directory to login i want to replicate the same idea..... for example with agents is possible to map group in active directory with
roles in OTRS, and manage the permission in the admin console...
it's possible to do the same for customers? now in the *CONFIG.PM* i have that: # Enable LDAP lookups for Customer logins.
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'dcad101';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=adone,dc=lan';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} =
'cn=otrs,cn=Users,dc=adone,dc=lan';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'a12345++';
$Self->{'Customer::AuthModule::LDAP::AlwaysFilter'} = '';
$Self->{'Customer::AuthModule::LDAP::GroupDN'} =
'cn=OTRSCustomers,cn=Users,dc=adone,dc=lan';
$Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'member';
$Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'DN'; # Enable LDAP lookups for Customer account information.
$Self->{CustomerUser} = {
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
Host => 'dcad101',
BaseDN => 'dc=adone,dc=lan',
SSCOPE => 'sub',
UserDN => 'cn=otrs,cn=Users,dc=adone,dc=lan',
UserPw => 'a12345++',
AlwaysFilter => '',
GroupDN => 'cn=OTRSCustomers,cn=Users,dc=adone,dc=lan',
AccessAttr => 'memberUid',
UserAttr => 'UID',
},
CustomerKey => 'sAMAccountName',
#CustomerID => '[customer_id]',
CustomerID => 'sAMAccountName',
CustomerUserListFields => ['sAMAccountName', 'sn', 'givenname',
'company', 'mail'],
CustomerUserSearchFields => ['sAMAccountName', 'sn', 'givenname',
'company', 'mail'],
CustomerUserPostMasterSearchFields => ['mail'],
CustomerUserNameFields => ['givenname', 'sn'],
CustomerUserValidFilter => '(company=*)',
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', 'company', 0, 1, 'var' ],
],
}; i can login the customer, but it can not write any ticket.... i think that
the default group for customer is user... but i disable all permission on
this group... because i want to have more group in function of
persimssion... the second ask is related to incoming email filter.... if an email are not
in customer list, otrs ignore this... whit active directori, is the same? the third ask is related to the use of more Active directory's.... and a
way do realize that....
for example if i have 3 customer company, i have to login user from
different domain.. a good idea is to support the login int this format "domain\user"...
because is possible that different company have equals user name... now for single company i use how ID the user name (in active
directory sAMAccountName)... there is a variable of active directory that
store in the same string the full name "domain\user"? thanks for the help On 10 July 2012 14:46, Gerald Young What is your purpose of using Customer Groups? If they are to assign
queues, you may want to rethink this, unless they're for instance, location
based, or only certain agents are allowed to handle certain customers. Don't forget that Customer needs Auth and Membership (CustomerUser). If
you're using ldap, use it for both. It won't sync customers to database,
only pull from ldap. "if i have to login customers form others Ad" ... you'd add additional
back ends (up to 10?) for each AD. On Tue, Jul 10, 2012 at 3:45 AM, Stefano Ricci <
stefano.ricci@riccimatic.com> wrote: now i put on the login via ad of agents and client... but i have these
open questions: - for the agents i assign with *
$Self->{'AuthSyncModule::LDAP::UserSyncRolesDefinition'}* the
correct roles, and with *
$Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'}* i assign the
inital group... How i can do the same with the customers?.... i have more
queue, and a have to activate them in function of the user... fore
example... if a customer are in particular group in ad, have to write only
in queue1/group1....
- otrs fileter the email if you aren't a customer in database, but
with ad login, no data are in database... how i can: remove the filter, or
put the customer data in otrs database and sync (the agent mode)
- if i have to login customers form others Ad, how i have to do in
the script? i have to logon whit this name "domain\user"... i have to split
the login name by my self or there is ant attibute similar to
sAMAccountName that have the complete name? thanks fot the help On 7 July 2012 13:38, Gerald Young This means that there is no sAMAccountName that matches adone\agent1 in
Active Directory. That's highly likely as most sAMAccountName are simple
usernames. On Fri, Jul 6, 2012 at 12:29 PM, Mike Eduard Hi Stefano, On 7/6/12 18:24 , Stefano Ricci wrote: now i solve the error 187... but i have this response [Fri Jul 6 18:18:45 2012][Notice][Kernel::System::**Auth::LDAP::Auth]
User: adone\agente1 authentication failed, no LDAP entry
found!BaseDN='dc=adone,dc=lan'**, Filter='(*
sAMAccountName=adone\\agente1*)', (REMOTE_ADDR: xxxx).
[Fri Jul 6 18:18:45 2012][Error][Kernel::System::**User::UserLookup][797]
No UserID found for 'adone\agente1'! You do not have an agent with username "adone\agente1" in OTRS. You need to create this agent via admin interface first. mike --
Mike Eduard
Enterprise Services for OTRS Znuny GmbH // Marienstraße 11 // 10117 Berlin // Germany P: +49 (0) 30 60 98 54 18-0
F: +49 (0) 30 60 98 54 18-8
W: http://znuny.com Location: Berlin - HRB 139852 B Amtsgericht Berlin-Charlottenburg
Managing Director: Martin Edenhofer ------------------------------**------------------------------**
---------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/**pipermail/otrshttp://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/**listinfo/otrshttp://lists.otrs.org/cgi-bin/listinfo/otrs ---------------------------------------------------------------------
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 ---------------------------------------------------------------------
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 ---------------------------------------------------------------------
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 ---------------------------------------------------------------------
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

is the main problem is to segregate customer users in different queue, in
funcion of particular filter...
for example, i have these active directories:
- ad01
- ad02
- ad03
i have these queue:
- q1
- q2
- q3
- q4
- q5
- q6
ad01 can read and write only ad01 and ad02
ad02 can read and write only ad03 and ad04
ad03 can read and write only ad05 and ad06
the reason is simple... the active directory is related to a company....
and you can't make this data public for an other...
for agents i solve with the mapping "ad groups / otrs roles" (agents login
from same active directory, but work form more company, and must to have
permission to read and write only a part of queues)..
but the problem remain on customer....
i think is impossible that anyone don't do the same work...
if isn't impossible in native mode, there are any plugin?
On 10 July 2012 20:05, Gerald Young
"You have to manually add the customer". This is true, but if you're authenticating with ldap, you should (could) use ldap as a backend for customer source as well, so you don't have this problem.
" afte you have to set the persmission of this customer on the differen groups... " Yes, but what is the purpose of your group settings? Why bother? Just set all the customers to "users".
Why are you segregating queues from your customers? If you are creating queues *specifically* for the customer, you are causing a big headache for yourself.
"now if the customer login to the web interface or send email, can only read/open tickets on queue2... and if is included in a customer company can se the ticket of all company..." yes, where customer_id are the same.
"for example with agents is possible to map group in active directory with roles in OTRS, and manage the permission in the admin console... it's possible to do the same for customers?"
No.
"Edit Customer Default Groups" (CustomerGroupsAlwaysGroups).
"i can login the customer, but it can not write any ticket.... i think that the default group for customer is user... but i disable all permission on this group... because i want to have more group in function of persimssion..."
Your choices: remove the queues from the users group or remove the customers from the users group. You choose to remove the customers, but don't set a default group they can create tickets in. Queues should be things you provide, not who you provide service to.
"the second ask is related to incoming email filter.... if an email are not in customer list, otrs ignore this... whit active directori, is the same?" There should be no difference in how OTRS handles an email ticket. It goes through all back ends that are enabled and checks those backends for customers.
"the third ask is related to the use of more Active directory's.... and a way do realize that.... for example if i have 3 customer company, i have to login user from different domain..
a good idea is to support the login int this format "domain\user"... because is possible that different company have equals user name...
now for single company i use how ID the user name (in active directory sAMAccountName)... there is a variable of active directory that store in the same string the full name "domain\user"? " No, but instead of matching sAMAccountName, you may choose to use "mail" ( username@domain.com) or "userPrincipalName" (username@DOMAIN)
On Tue, Jul 10, 2012 at 9:29 AM, Stefano Ricci < stefano.ricci@riccimatic.com> wrote:
i talk for Customer... when you use only OTRS database, and remove the register form, you have to add manualy the Customer (and if is the case, use the Customer Company ID to aggregate the ticket of same company)...
afte you have to set the persmission of this customer on the differen groups...
in my case i assign to a queue a group.... always the reference is 1 to 1.... now i assign the permission of sustomer for the group..
example:
- queue1 -> group1 - queue2 -> group2 - queue3 .> group3
now i associate the customer to a group and set the permission..
- group1 -> not associated - group2 -> read and wite - group3 -> not associated...
now if the customer login to the web interface or send email, can only read/open tickets on queue2... and if is included in a customer company can se the ticket of all company...
when i use Active directory to login i want to replicate the same idea.....
for example with agents is possible to map group in active directory with roles in OTRS, and manage the permission in the admin console... it's possible to do the same for customers?
now in the *CONFIG.PM* i have that:
# Enable LDAP lookups for Customer logins. $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP'; $Self->{'Customer::AuthModule::LDAP::Host'} = 'dcad101'; $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=adone,dc=lan'; $Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName'; $Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'cn=otrs,cn=Users,dc=adone,dc=lan'; $Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'a12345++'; $Self->{'Customer::AuthModule::LDAP::AlwaysFilter'} = ''; $Self->{'Customer::AuthModule::LDAP::GroupDN'} = 'cn=OTRSCustomers,cn=Users,dc=adone,dc=lan'; $Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'member'; $Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'DN';
# Enable LDAP lookups for Customer account information. $Self->{CustomerUser} = { Module => 'Kernel::System::CustomerUser::LDAP', Params => { Host => 'dcad101', BaseDN => 'dc=adone,dc=lan', SSCOPE => 'sub', UserDN => 'cn=otrs,cn=Users,dc=adone,dc=lan', UserPw => 'a12345++', AlwaysFilter => '', GroupDN => 'cn=OTRSCustomers,cn=Users,dc=adone,dc=lan', AccessAttr => 'memberUid', UserAttr => 'UID', }, CustomerKey => 'sAMAccountName', #CustomerID => '[customer_id]', CustomerID => 'sAMAccountName', CustomerUserListFields => ['sAMAccountName', 'sn', 'givenname', 'company', 'mail'], CustomerUserSearchFields => ['sAMAccountName', 'sn', 'givenname', 'company', 'mail'], CustomerUserPostMasterSearchFields => ['mail'], CustomerUserNameFields => ['givenname', 'sn'], CustomerUserValidFilter => '(company=*)', 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', 'company', 0, 1, 'var' ], ], };
i can login the customer, but it can not write any ticket.... i think that the default group for customer is user... but i disable all permission on this group... because i want to have more group in function of persimssion...
the second ask is related to incoming email filter.... if an email are not in customer list, otrs ignore this... whit active directori, is the same?
the third ask is related to the use of more Active directory's.... and a way do realize that.... for example if i have 3 customer company, i have to login user from different domain..
a good idea is to support the login int this format "domain\user"... because is possible that different company have equals user name...
now for single company i use how ID the user name (in active directory sAMAccountName)... there is a variable of active directory that store in the same string the full name "domain\user"?
thanks for the help
On 10 July 2012 14:46, Gerald Young
wrote: What is your purpose of using Customer Groups? If they are to assign queues, you may want to rethink this, unless they're for instance, location based, or only certain agents are allowed to handle certain customers.
Don't forget that Customer needs Auth and Membership (CustomerUser). If you're using ldap, use it for both. It won't sync customers to database, only pull from ldap.
"if i have to login customers form others Ad" ... you'd add additional back ends (up to 10?) for each AD.
On Tue, Jul 10, 2012 at 3:45 AM, Stefano Ricci < stefano.ricci@riccimatic.com> wrote:
now i put on the login via ad of agents and client... but i have these open questions:
- for the agents i assign with * $Self->{'AuthSyncModule::LDAP::UserSyncRolesDefinition'}* the correct roles, and with * $Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'}* i assign the inital group... How i can do the same with the customers?.... i have more queue, and a have to activate them in function of the user... fore example... if a customer are in particular group in ad, have to write only in queue1/group1.... - otrs fileter the email if you aren't a customer in database, but with ad login, no data are in database... how i can: remove the filter, or put the customer data in otrs database and sync (the agent mode) - if i have to login customers form others Ad, how i have to do in the script? i have to logon whit this name "domain\user"... i have to split the login name by my self or there is ant attibute similar to sAMAccountName that have the complete name?
thanks fot the help
On 7 July 2012 13:38, Gerald Young
wrote: This means that there is no sAMAccountName that matches adone\agent1 in Active Directory. That's highly likely as most sAMAccountName are simple usernames.
On Fri, Jul 6, 2012 at 12:29 PM, Mike Eduard
wrote: Hi Stefano,
On 7/6/12 18:24 , Stefano Ricci wrote:
> now i solve the error 187... but i have this response > > [Fri Jul 6 18:18:45 2012][Notice][Kernel::System::**Auth::LDAP::Auth] > User: adone\agente1 authentication failed, no LDAP entry > found!BaseDN='dc=adone,dc=lan'**, Filter='(* > sAMAccountName=adone\\agente1*)', (REMOTE_ADDR: xxxx). > [Fri Jul 6 18:18:45 2012][Error][Kernel::System::**User::UserLookup][797] > No UserID found for 'adone\agente1'! >
You do not have an agent with username "adone\agente1" in OTRS.
You need to create this agent via admin interface first.
mike
-- Mike Eduard Enterprise Services for OTRS
Znuny GmbH // Marienstraße 11 // 10117 Berlin // Germany
P: +49 (0) 30 60 98 54 18-0 F: +49 (0) 30 60 98 54 18-8 W: http://znuny.com
Location: Berlin - HRB 139852 B Amtsgericht Berlin-Charlottenburg Managing Director: Martin Edenhofer
------------------------------**------------------------------** --------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/**pipermail/otrshttp://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/**listinfo/otrshttp://lists.otrs.org/cgi-bin/listinfo/otrs
--------------------------------------------------------------------- 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
--------------------------------------------------------------------- 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
--------------------------------------------------------------------- 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
--------------------------------------------------------------------- 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
--------------------------------------------------------------------- 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

There's generally no real need to segregate customers into queues, unless
you are preventing a customer from talking to a specific agent, or
customers need to talk to a specific zone/location.
It doesn't matter to OTRS the source of the customer (active directory,
database, external database) .. once authenticated, the customer is a
customer. Customers can't see tickets that don't belong to them.
If you are hosting OTRS so company A with active directory Customers can
only talk to company A with active directory Agents, you may just want to
create a spin-off OTRS just for Company A.
If you are hosting OTRS so Company A, B, and C talk to *your* agents, your
queues should reflect the types of services you provide. The customer just
wants to select the type of thing he wants to have done: Your queues would
be like hardware, software, plumbing, maintenance. And no, Company B won't
know, care, or be aware that he's submitting to the same "hardware" queue
as Company A. Company B will never see tickets from Company A unless
Company A and Company B have Agents in your single OTRS implementation.
You want to know how to segregate them? Best way: create separate OTRS
instances.
It doesn't matter how many backends you use for customers. Customers only
see their own tickets (My tickets) and tickets with the same customer_id
(Company tickets).
On Tue, Jul 10, 2012 at 2:52 PM, Stefano Ricci wrote: is the main problem is to segregate customer users in different queue, in
funcion of particular filter... for example, i have these active directories: - ad01
- ad02
- ad03 i have these queue: - q1
- q2
- q3
- q4
- q5
- q6 ad01 can read and write only ad01 and ad02
ad02 can read and write only ad03 and ad04
ad03 can read and write only ad05 and ad06 the reason is simple... the active directory is related to a company....
and you can't make this data public for an other... for agents i solve with the mapping "ad groups / otrs roles" (agents login
from same active directory, but work form more company, and must to have
permission to read and write only a part of queues).. but the problem remain on customer.... i think is impossible that anyone don't do the same work... if isn't impossible in native mode, there are any plugin? On 10 July 2012 20:05, Gerald Young "You have to manually add the customer". This is true, but if you're
authenticating with ldap, you should (could) use ldap as a backend for
customer source as well, so you don't have this problem. " afte you have to set the persmission of this customer on the differen
groups... " Yes, but what is the purpose of your group settings? Why
bother? Just set all the customers to "users". Why are you segregating queues from your customers? If you are creating
queues *specifically* for the customer, you are causing a big headache for
yourself. "now if the customer login to the web interface or send email, can
only read/open tickets on queue2...
and if is included in a customer company can se the ticket of all
company..." yes, where customer_id are the same. "for example with agents is possible to map group in active directory
with roles in OTRS, and manage the permission in the admin console...
it's possible to do the same for customers?" No. "Edit Customer Default Groups" (CustomerGroupsAlwaysGroups). "i can login the customer, but it can not write any ticket.... i think
that the default group for customer is user... but i disable all permission
on this group... because i want to have more group in function of
persimssion..." Your choices: remove the queues from the users group or remove the
customers from the users group. You choose to remove the customers, but
don't set a default group they can create tickets in. Queues should be
things you provide, not who you provide service to. "the second ask is related to incoming email filter.... if an email are
not in customer list, otrs ignore this... whit active directori, is the
same?"
There should be no difference in how OTRS handles an email ticket. It
goes through all back ends that are enabled and checks those backends for
customers. "the third ask is related to the use of more Active directory's.... and a
way do realize that....
for example if i have 3 customer company, i have to login user from
different domain.. a good idea is to support the login int this format "domain\user"...
because is possible that different company have equals user name... now for single company i use how ID the user name (in active
directory sAMAccountName)... there is a variable of active directory that
store in the same string the full name "domain\user"?
"
No, but instead of matching sAMAccountName, you may choose to use "mail" (
username@domain.com) or "userPrincipalName" (username@DOMAIN) On Tue, Jul 10, 2012 at 9:29 AM, Stefano Ricci <
stefano.ricci@riccimatic.com> wrote: i talk for Customer... when you use only OTRS database, and remove the
register form, you have to add manualy the Customer (and if is the case,
use the Customer Company ID to aggregate the ticket of same company)... afte you have to set the persmission of this customer on the differen
groups... in my case i assign to a queue a group.... always the reference is 1 to
1.... now i assign the permission of sustomer for the group.. example: - queue1 -> group1
- queue2 -> group2
- queue3 .> group3 now i associate the customer to a group and set the permission.. - group1 -> not associated
- group2 -> read and wite
- group3 -> not associated... now if the customer login to the web interface or send email, can
only read/open tickets on queue2...
and if is included in a customer company can se the ticket of all
company... when i use Active directory to login i want to replicate the same
idea..... for example with agents is possible to map group in active directory
with roles in OTRS, and manage the permission in the admin console...
it's possible to do the same for customers? now in the *CONFIG.PM* i have that: # Enable LDAP lookups for Customer logins.
$Self->{'Customer::AuthModule'} =
'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'dcad101';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=adone,dc=lan';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} =
'cn=otrs,cn=Users,dc=adone,dc=lan';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'a12345++';
$Self->{'Customer::AuthModule::LDAP::AlwaysFilter'} = '';
$Self->{'Customer::AuthModule::LDAP::GroupDN'} =
'cn=OTRSCustomers,cn=Users,dc=adone,dc=lan';
$Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'member';
$Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'DN'; # Enable LDAP lookups for Customer account information.
$Self->{CustomerUser} = {
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
Host => 'dcad101',
BaseDN => 'dc=adone,dc=lan',
SSCOPE => 'sub',
UserDN => 'cn=otrs,cn=Users,dc=adone,dc=lan',
UserPw => 'a12345++',
AlwaysFilter => '',
GroupDN => 'cn=OTRSCustomers,cn=Users,dc=adone,dc=lan',
AccessAttr => 'memberUid',
UserAttr => 'UID',
},
CustomerKey => 'sAMAccountName',
#CustomerID => '[customer_id]',
CustomerID => 'sAMAccountName',
CustomerUserListFields => ['sAMAccountName', 'sn', 'givenname',
'company', 'mail'],
CustomerUserSearchFields => ['sAMAccountName', 'sn', 'givenname',
'company', 'mail'],
CustomerUserPostMasterSearchFields => ['mail'],
CustomerUserNameFields => ['givenname', 'sn'],
CustomerUserValidFilter => '(company=*)',
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', 'company', 0, 1, 'var' ],
],
}; i can login the customer, but it can not write any ticket.... i think
that the default group for customer is user... but i disable all permission
on this group... because i want to have more group in function of
persimssion... the second ask is related to incoming email filter.... if an email are
not in customer list, otrs ignore this... whit active directori, is the
same? the third ask is related to the use of more Active directory's.... and a
way do realize that....
for example if i have 3 customer company, i have to login user from
different domain.. a good idea is to support the login int this format "domain\user"...
because is possible that different company have equals user name... now for single company i use how ID the user name (in active
directory sAMAccountName)... there is a variable of active directory that
store in the same string the full name "domain\user"? thanks for the help On 10 July 2012 14:46, Gerald Young What is your purpose of using Customer Groups? If they are to assign
queues, you may want to rethink this, unless they're for instance, location
based, or only certain agents are allowed to handle certain customers. Don't forget that Customer needs Auth and Membership (CustomerUser). If
you're using ldap, use it for both. It won't sync customers to database,
only pull from ldap. "if i have to login customers form others Ad" ... you'd add additional
back ends (up to 10?) for each AD. On Tue, Jul 10, 2012 at 3:45 AM, Stefano Ricci <
stefano.ricci@riccimatic.com> wrote: now i put on the login via ad of agents and client... but i have these
open questions: - for the agents i assign with *
$Self->{'AuthSyncModule::LDAP::UserSyncRolesDefinition'}* the
correct roles, and with *
$Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'}* i assign
the inital group... How i can do the same with the customers?.... i have
more queue, and a have to activate them in function of the user... fore
example... if a customer are in particular group in ad, have to write only
in queue1/group1....
- otrs fileter the email if you aren't a customer in database, but
with ad login, no data are in database... how i can: remove the filter, or
put the customer data in otrs database and sync (the agent mode)
- if i have to login customers form others Ad, how i have to do in
the script? i have to logon whit this name "domain\user"... i have to split
the login name by my self or there is ant attibute similar to
sAMAccountName that have the complete name? thanks fot the help On 7 July 2012 13:38, Gerald Young This means that there is no sAMAccountName that matches adone\agent1
in Active Directory. That's highly likely as most sAMAccountName are simple
usernames. On Fri, Jul 6, 2012 at 12:29 PM, Mike Eduard > Hi Stefano,
>
>
> On 7/6/12 18:24 , Stefano Ricci wrote:
>
>> now i solve the error 187... but i have this response
>>
>> [Fri Jul 6 18:18:45 2012][Notice][Kernel::System::**Auth::LDAP::Auth]
>> User: adone\agente1 authentication failed, no LDAP entry
>> found!BaseDN='dc=adone,dc=lan'**, Filter='(*
>> sAMAccountName=adone\\agente1*)', (REMOTE_ADDR: xxxx).
>> [Fri Jul 6 18:18:45 2012][Error][Kernel::System::**User::UserLookup][797]
>> No UserID found for 'adone\agente1'!
>>
>
> You do not have an agent with username "adone\agente1" in OTRS.
>
> You need to create this agent via admin interface first.
>
>
> mike
>
> --
> Mike Eduard
> Enterprise Services for OTRS
>
> Znuny GmbH // Marienstraße 11 // 10117 Berlin // Germany
>
> P: +49 (0) 30 60 98 54 18-0
> F: +49 (0) 30 60 98 54 18-8
> W: http://znuny.com
>
> Location: Berlin - HRB 139852 B Amtsgericht Berlin-Charlottenburg
> Managing Director: Martin Edenhofer
>
> ------------------------------**------------------------------**
> ---------
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/**pipermail/otrshttp://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/**listinfo/otrshttp://lists.otrs.org/cgi-bin/listinfo/otrs
> ---------------------------------------------------------------------
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 ---------------------------------------------------------------------
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 ---------------------------------------------------------------------
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 ---------------------------------------------------------------------
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 ---------------------------------------------------------------------
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 ---------------------------------------------------------------------
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

ok, but if i do all with OTRS database (manualy inseret of customers) i can
segregate without any problems customers to a partucular queues...
i cant't underand why, using ldap as backend, i loss this possibility...
i realize the configuration discussed in this topic on OTRS database
firstly, after i start the implementation of ldap authentication...
int this case i need to segregate customer, and i need to have only one
instance of otrs, because a part of agents have to work on all queues (have
a lot of instances create a lot of problems when they have to check the
tickets)..
i know that the customer can see only this tickets, or the company tickets
if is enabled the configuration...
On 10 July 2012 21:31, Gerald Young
There's generally no real need to segregate customers into queues, unless you are preventing a customer from talking to a specific agent, or customers need to talk to a specific zone/location.
It doesn't matter to OTRS the source of the customer (active directory, database, external database) .. once authenticated, the customer is a customer. Customers can't see tickets that don't belong to them.
If you are hosting OTRS so company A with active directory Customers can only talk to company A with active directory Agents, you may just want to create a spin-off OTRS just for Company A.
If you are hosting OTRS so Company A, B, and C talk to *your* agents, your queues should reflect the types of services you provide. The customer just wants to select the type of thing he wants to have done: Your queues would be like hardware, software, plumbing, maintenance. And no, Company B won't know, care, or be aware that he's submitting to the same "hardware" queue as Company A. Company B will never see tickets from Company A unless Company A and Company B have Agents in your single OTRS implementation.
You want to know how to segregate them? Best way: create separate OTRS instances.
It doesn't matter how many backends you use for customers. Customers only see their own tickets (My tickets) and tickets with the same customer_id (Company tickets).
On Tue, Jul 10, 2012 at 2:52 PM, Stefano Ricci < stefano.ricci@riccimatic.com> wrote:
is the main problem is to segregate customer users in different queue, in funcion of particular filter...
for example, i have these active directories:
- ad01 - ad02 - ad03
i have these queue:
- q1 - q2 - q3 - q4 - q5 - q6
ad01 can read and write only ad01 and ad02 ad02 can read and write only ad03 and ad04 ad03 can read and write only ad05 and ad06
the reason is simple... the active directory is related to a company.... and you can't make this data public for an other...
for agents i solve with the mapping "ad groups / otrs roles" (agents login from same active directory, but work form more company, and must to have permission to read and write only a part of queues)..
but the problem remain on customer....
i think is impossible that anyone don't do the same work...
if isn't impossible in native mode, there are any plugin?
On 10 July 2012 20:05, Gerald Young
wrote: "You have to manually add the customer". This is true, but if you're authenticating with ldap, you should (could) use ldap as a backend for customer source as well, so you don't have this problem.
" afte you have to set the persmission of this customer on the differen groups... " Yes, but what is the purpose of your group settings? Why bother? Just set all the customers to "users".
Why are you segregating queues from your customers? If you are creating queues *specifically* for the customer, you are causing a big headache for yourself.
"now if the customer login to the web interface or send email, can only read/open tickets on queue2... and if is included in a customer company can se the ticket of all company..." yes, where customer_id are the same.
"for example with agents is possible to map group in active directory with roles in OTRS, and manage the permission in the admin console... it's possible to do the same for customers?"
No.
"Edit Customer Default Groups" (CustomerGroupsAlwaysGroups).
"i can login the customer, but it can not write any ticket.... i think that the default group for customer is user... but i disable all permission on this group... because i want to have more group in function of persimssion..."
Your choices: remove the queues from the users group or remove the customers from the users group. You choose to remove the customers, but don't set a default group they can create tickets in. Queues should be things you provide, not who you provide service to.
"the second ask is related to incoming email filter.... if an email are not in customer list, otrs ignore this... whit active directori, is the same?" There should be no difference in how OTRS handles an email ticket. It goes through all back ends that are enabled and checks those backends for customers.
"the third ask is related to the use of more Active directory's.... and a way do realize that.... for example if i have 3 customer company, i have to login user from different domain..
a good idea is to support the login int this format "domain\user"... because is possible that different company have equals user name...
now for single company i use how ID the user name (in active directory sAMAccountName)... there is a variable of active directory that store in the same string the full name "domain\user"? " No, but instead of matching sAMAccountName, you may choose to use "mail" (username@domain.com) or "userPrincipalName" (username@DOMAIN)
On Tue, Jul 10, 2012 at 9:29 AM, Stefano Ricci < stefano.ricci@riccimatic.com> wrote:
i talk for Customer... when you use only OTRS database, and remove the register form, you have to add manualy the Customer (and if is the case, use the Customer Company ID to aggregate the ticket of same company)...
afte you have to set the persmission of this customer on the differen groups...
in my case i assign to a queue a group.... always the reference is 1 to 1.... now i assign the permission of sustomer for the group..
example:
- queue1 -> group1 - queue2 -> group2 - queue3 .> group3
now i associate the customer to a group and set the permission..
- group1 -> not associated - group2 -> read and wite - group3 -> not associated...
now if the customer login to the web interface or send email, can only read/open tickets on queue2... and if is included in a customer company can se the ticket of all company...
when i use Active directory to login i want to replicate the same idea.....
for example with agents is possible to map group in active directory with roles in OTRS, and manage the permission in the admin console... it's possible to do the same for customers?
now in the *CONFIG.PM* i have that:
# Enable LDAP lookups for Customer logins. $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP'; $Self->{'Customer::AuthModule::LDAP::Host'} = 'dcad101'; $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=adone,dc=lan'; $Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName'; $Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'cn=otrs,cn=Users,dc=adone,dc=lan'; $Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'a12345++'; $Self->{'Customer::AuthModule::LDAP::AlwaysFilter'} = ''; $Self->{'Customer::AuthModule::LDAP::GroupDN'} = 'cn=OTRSCustomers,cn=Users,dc=adone,dc=lan'; $Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'member'; $Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'DN';
# Enable LDAP lookups for Customer account information. $Self->{CustomerUser} = { Module => 'Kernel::System::CustomerUser::LDAP', Params => { Host => 'dcad101', BaseDN => 'dc=adone,dc=lan', SSCOPE => 'sub', UserDN => 'cn=otrs,cn=Users,dc=adone,dc=lan', UserPw => 'a12345++', AlwaysFilter => '', GroupDN => 'cn=OTRSCustomers,cn=Users,dc=adone,dc=lan', AccessAttr => 'memberUid', UserAttr => 'UID', }, CustomerKey => 'sAMAccountName', #CustomerID => '[customer_id]', CustomerID => 'sAMAccountName', CustomerUserListFields => ['sAMAccountName', 'sn', 'givenname', 'company', 'mail'], CustomerUserSearchFields => ['sAMAccountName', 'sn', 'givenname', 'company', 'mail'], CustomerUserPostMasterSearchFields => ['mail'], CustomerUserNameFields => ['givenname', 'sn'], CustomerUserValidFilter => '(company=*)', 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', 'company', 0, 1, 'var' ], ], };
i can login the customer, but it can not write any ticket.... i think that the default group for customer is user... but i disable all permission on this group... because i want to have more group in function of persimssion...
the second ask is related to incoming email filter.... if an email are not in customer list, otrs ignore this... whit active directori, is the same?
the third ask is related to the use of more Active directory's.... and a way do realize that.... for example if i have 3 customer company, i have to login user from different domain..
a good idea is to support the login int this format "domain\user"... because is possible that different company have equals user name...
now for single company i use how ID the user name (in active directory sAMAccountName)... there is a variable of active directory that store in the same string the full name "domain\user"?
thanks for the help
On 10 July 2012 14:46, Gerald Young
wrote: What is your purpose of using Customer Groups? If they are to assign queues, you may want to rethink this, unless they're for instance, location based, or only certain agents are allowed to handle certain customers.
Don't forget that Customer needs Auth and Membership (CustomerUser). If you're using ldap, use it for both. It won't sync customers to database, only pull from ldap.
"if i have to login customers form others Ad" ... you'd add additional back ends (up to 10?) for each AD.
On Tue, Jul 10, 2012 at 3:45 AM, Stefano Ricci < stefano.ricci@riccimatic.com> wrote:
now i put on the login via ad of agents and client... but i have these open questions:
- for the agents i assign with * $Self->{'AuthSyncModule::LDAP::UserSyncRolesDefinition'}* the correct roles, and with * $Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'}* i assign the inital group... How i can do the same with the customers?.... i have more queue, and a have to activate them in function of the user... fore example... if a customer are in particular group in ad, have to write only in queue1/group1.... - otrs fileter the email if you aren't a customer in database, but with ad login, no data are in database... how i can: remove the filter, or put the customer data in otrs database and sync (the agent mode) - if i have to login customers form others Ad, how i have to do in the script? i have to logon whit this name "domain\user"... i have to split the login name by my self or there is ant attibute similar to sAMAccountName that have the complete name?
thanks fot the help
On 7 July 2012 13:38, Gerald Young
wrote: > This means that there is no sAMAccountName that matches adone\agent1 > in Active Directory. That's highly likely as most sAMAccountName are simple > usernames. > > > On Fri, Jul 6, 2012 at 12:29 PM, Mike Eduard
wrote: > >> Hi Stefano, >> >> >> On 7/6/12 18:24 , Stefano Ricci wrote: >> >>> now i solve the error 187... but i have this response >>> >>> [Fri Jul 6 18:18:45 2012][Notice][Kernel::System::**Auth::LDAP::Auth] >>> User: adone\agente1 authentication failed, no LDAP entry >>> found!BaseDN='dc=adone,dc=lan'**, Filter='(* >>> sAMAccountName=adone\\agente1*)', (REMOTE_ADDR: xxxx). >>> [Fri Jul 6 18:18:45 2012][Error][Kernel::System::**User::UserLookup][797] >>> No UserID found for 'adone\agente1'! >>> >> >> You do not have an agent with username "adone\agente1" in OTRS. >> >> You need to create this agent via admin interface first. >> >> >> mike >> >> -- >> Mike Eduard >> Enterprise Services for OTRS >> >> Znuny GmbH // Marienstraße 11 // 10117 Berlin // Germany >> >> P: +49 (0) 30 60 98 54 18-0 >> F: +49 (0) 30 60 98 54 18-8 >> W: http://znuny.com >> >> Location: Berlin - HRB 139852 B Amtsgericht Berlin-Charlottenburg >> Managing Director: Martin Edenhofer >> >> ------------------------------**------------------------------** >> --------- >> OTRS mailing list: otrs - Webpage: http://otrs.org/ >> Archive: http://lists.otrs.org/**pipermail/otrshttp://lists.otrs.org/pipermail/otrs >> To unsubscribe: http://lists.otrs.org/cgi-bin/**listinfo/otrshttp://lists.otrs.org/cgi-bin/listinfo/otrs >> > > > --------------------------------------------------------------------- > 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 > --------------------------------------------------------------------- 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
--------------------------------------------------------------------- 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
--------------------------------------------------------------------- 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
--------------------------------------------------------------------- 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
--------------------------------------------------------------------- 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
--------------------------------------------------------------------- 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

Hi Stefano, On 7/6/12 18:15 , Stefano Ricci wrote:
but i have always the same error:
[Fri Jul 6 14:41:39 2012][Error][Kernel::System::Auth::LDAP::Auth][187] First bind failed! 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db0 [Fri Jul 6 14:41:39 2012][Error][Kernel::System::User::UserLookup][797] No UserID found for 'adone\agente1'! "52e" means your SearchUserPw is wrong.
See also: http://social.technet.microsoft.com/Forums/en-US/winserverDS/thread/70031da4... mike -- Mike Eduard Enterprise Services for OTRS Znuny GmbH // Marienstraße 11 // 10117 Berlin // Germany P: +49 (0) 30 60 98 54 18-0 F: +49 (0) 30 60 98 54 18-8 W: http://znuny.com Location: Berlin - HRB 139852 B Amtsgericht Berlin-Charlottenburg Managing Director: Martin Edenhofer
participants (5)
-
Alvaro Cordero
-
Gerald Young
-
Mike Eduard
-
Soporte Informatica PGJE
-
Stefano Ricci