Hi Sandeep,
I'm not a OTRS programmer nor I know the api, but you may have a syntax error , look at UserSyncLDAPGroupsDefination, perhaps you must change last 'a' for an 'i'.

Just a guess.

regards,

--
Ernesto Silva.
Coordinador de Desarrollo Web y Sistemas Abiertos
Centro de Procesamiento de Datos
Universidad ORT Uruguay.
E-mail: [EMAIL PROTECTED]
Tel: (+598-2) 902-1505 ext. 206
Fax: (+598-2) 900-2952



Sandeep A.S wrote:
Hi,
            I have implemented Agent Authentication with LDAP Backend.
But I am facing problem in syncing LDAP Groups to otrs Groups My intention is to sync cn=infra users to admin group of the otrs Below is the ldif for mat of cn=infra group from ldap: dn: cn=infra,ou=Groups,dc=mycompany,dc=net
gidNumber: 602
objectClass: posixGroup
objectClass: top
cn: infra
memberUid: sandeep
memberUid: abinav
description: All Infrastructure members are here

              And following is my Config.pm entries:
$Self->{'UserSyncLDAPGroupsDefination'} = {
       # ldap group
       'cn=infra,ou=Groups,dc=mycompany,dc=net' => {
           # otrs group
           'admin' => {
              # permission
               rw => 1,
               ro => 1,
           },
           'faq' => {
               rw => 0,
             ro => 1,
           },
       },
      };

Here user is getting authenticated but.User is not coming to the admin group in the otrs.
         Or user is not getting admin privilages.
  I am getting following error:
[Fri Aug 10 15:07:07 2007][Notice][Kernel::System::Auth::LDAP::Auth] User: sandeep (uid=sandeep,ou=People,dc=mycompany,dc=net) authentication ok (REMOTE_ADDR: 61.95.200.12). [Fri Aug 10 15:07:07 2007][Notice][Kernel::System::User::UserUpdate] User: 'sandeep' updated successfully (1)! [Fri Aug 10 15:07:07 2007][Notice][Kernel::System::User::SetPassword] User: 'sandeep' changed password successfully! [Fri Aug 10 15:07:07 2007][Notice][Kernel::System::Auth::LDAP::Auth] User: 'sandeep' sync ldap groups cn=infra,ou=Groups,dc=mycompany,dc=net to groups! [Fri Aug 10 15:07:07 2007][Notice][Kernel::System::Auth::LDAP::Auth] User: sandeep not in GroupDN='cn=infra,ou=Groups,dc=mycompany,dc=net', Filter='(memberUid=uid=sandeep,ou=People,dc=mycompany,dc=net)'! (REMOTE_ADDR: 61.95.200.12). But cn=sandeep,ou=People,dc=mycompany,dc=net is in the cn=infra,ou=Groups,dc=mycompany,dc=net group. This you can see from the above ldif output.
      Also  ldif entry for the sandeep is as below(only relevent part)

dn: uid=sandeep,ou=People,dc=mycompany,dc=net
uid: sandeep
sn: Sandeep A.S
mail: [EMAIL PROTECTED]

     So  what will be the problem for this  error ?
     Filetering is not proper ?
      Thanks
   Sandeep






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

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

Reply via email to