Hello Everyone,
Some body has any idea how to solve the issue which i asked in previous
mail.Authentication with LDAP is working fine for me.I want Customer
Authentication with "HTTPBasicAuth" only.

following is my config.pm

# This is an example configuration for an apache ($ENV{REMOTE_USER})
    # auth. backend. Use it if you want to have a singe login through
    # apache http-basic-auth.
   $Self->{'AuthModule'} = 'Kernel::System::Auth::HTTPBasicAuth';
    # In case there is a leading domain in the REMOTE_USER, you can
    # replace it by the next config option.
   $Self->{'AuthModule::HTTPBasicAuth::Replace'} = 'vcs\\';
    # In case you need to replace some part of the REMOTE_USER, you can
    # use the following RegExp ($1 will be new login).
#    $Self->{'AuthModule::HTTPBasicAuth::ReplaceRegExp'} = '^(.+?)@.+?$';


#Customer User
#(customer user database backend and settings)
    $Self-> {CustomerUser} = {
        Name=> 'Database',
        Module=> 'Kernel::System::CustomerUser::DB',
        Params=> {Table => 'customer_user',
    },

#customer uniq id
    CustomerKey => 'login',
    CustomerID => 'customer_id',
    CustomerValid => 'valid_id',
    CustomerUserListFields => ['first_name', 'last_name', 'email'],
    CustomerUserSearchFields => ['login', 'last_name', 'customer_id'],
    CustomerUserSearchPrefix => '',
    CustomerUserSearchSuffix => '*',
    CustomerUserSearchListLimit => 250,
    CustomerUserPostMasterSearchFields => ['email'],
    CustomerUserNameFields => ['salutation', 'first_name', 'last_name'],
    Map => [
        ['UserSalutation', 'Salutation', 'salutation', 1, 0, 'var'],
        ['UserFirstname', 'Firstname', 'first_name', 1, 1, 'var'],
        ['UserLastname', 'Lastname', 'last_name', 1, 1, 'var'],
        ['UserLogin', 'Login', 'login', 1, 1, 'var'],
        ['UserPassword', 'Password', 'pw', 0, 1, 'var'],
        ['UserEmail', 'Email', 'email', 0, 1, 'var'],
        ['UserCustomerID', 'CustomerID', 'customer_id', 0, 1, 'var'],
        ['UserComment', 'Comment', 'comments', 1, 0, 'var'],
        ['ValidID', 'Valid', 'valid_id', 0, 1, 'int'],
      ],
    };

#Customer User 1
#customer user ldap backend and settings
    $Self->{CustomerUser1} = {
Name => 'LDAP Backend',
        Module => 'Kernel::System::CustomerUser::LDAP',
        Params => {
            Host => 'X.X.X.X',
            BaseDN => 'OU=XX,DC=XX,DC=XX,DC=XX
            SSCOPE => 'sub',
            UserDN => 'CN=otrs,OU=Service
Accounts,OU=XX,DC=XX,DC=XX,DC=XX',
            UserPw => 'XX',
            AlwaysFilter => '',
            SourceCharset => 'utf-8',
            DestCharset => 'iso-8859-1',
        },
#customer uniq id
    CustomerKey => 'sAMAccountName',
    CustomerID => 'mail',
    CustomerUserListFields => ['sAMAccountName', 'cn', 'mail'],
    CustomerUserSearchFields => ['sAMAccountName', 'cn', 'mail'],
    CustomerUserSearchPrefix => '',
    CustomerUserSearchSuffix => '*',
    CustomerUserSearchListLimit => 250,
    CustomerUserPostMasterSearchFields => ['mail'],
    CustomerUserNameFields => ['name', 'sn'],
    Map => [
        ['UserFirstname', 'Firstname', 'givenName', 1, 1, 'var'],
        ['UserLastname', 'Lastname', 'sn', 1, 1, 'var'],
        ['UserLogin', 'Login', 'sAMAccountName', 1, 1, 'var'],
        ['UserEmail', 'Email', 'mail', 1, 1, 'var'],
        ['UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var'],
        ['UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var'],
      ],
    };




Arpit Gupta
ESM Sub Focus Area, TEG Open Source Platform
Tata Consultancy Services
Ph:- +91-22-67782544
Mailto: arpit...@tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                  Business Solutions
                  Outsourcing
____________________________________________


                                                                                
                                       
  From:       Arpit2 G <arpit...@tcs.com>                                       
                                       
                                                                                
                                       
  To:         otrs@otrs.org                                                     
                                       
                                                                                
                                       
  Date:       12/18/2009 11:26 AM                                               
                                       
                                                                                
                                       
  Subject:    [otrs] HTTPBasicAuth + Panic! No UserData                         
                                       
                                                                                
                                       
  Sent by:    otrs-boun...@otrs.org                                             
                                       
                                                                                
                                       






Hello Everyone,
I am done with LDAP authentication of customers. But now i am trying to do
it by HTTPBasicAuth and i am getting this "Panic! No user data". Is there
any way by which i can Sync the user data with with OTRS DB.

Thanks & Regards
Arpit Gupta
ESM Sub Focus Area, TEG Open Source Platform
Tata Consultancy Services
Mailto: arpit...@tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                  Business Solutions
                  Outsourcing
____________________________________________

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you



---------------------------------------------------------------------
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/



=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



---------------------------------------------------------------------
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Reply via email to