Linux commands

Monday, June 19, 2017

ProviderTest.exe example

C:\Program Files (x86)\CA\erpconn\siebel\bin>ProviderTest.exe
Enter username: sadmin (username should authenticate and Authorization in User directory given in policies)
Enter password: sadmin (username should validated in User directory given in policies)
Testing provider with username 'sadmin' and password 'sadmin'
Loading library... OK
Finding entry point... OK
Enter Config File: C:\Siebel\8.1.1.14.0\ses\siebsrvr\BIN\SmSiebelSSO.conf
Calling SecurityLogin()...OK
pUser is NULL
Provider test failed

ERR: SmAgentConnection::SetResource Agent API Error (No Connection)

Trouble shoot
restarted the policy server
corrected the config file C:\Siebel\8.1.1.14.0\ses\siebsrvr\BIN\SmSiebelSSO.conf

correct conf file as below.
#ClusterThreshold=50
AgentName=agent
SharedSecret=****
Resource=/SiebelConnector/

testprovider correct output


C:\Program Files (x86)\CA\erpconn\siebel\bin>ProviderTest75.exe
Loading Security Adapter
OK
Security Adapter API Version is correct
Enter username: user1   (This is ldap user, not the siebel admin user)
Enter password: ****  
Testing provider with username 'user1' and password '****'
Enter Config File: C:\Siebel\8.1.1.14.0\ses\siebsrvr\BIN\SmSiebelSSO.conf
Calling SecurityLogin()...Number of roles to save is 0OK
Return code is OK
Test 1: SecurityGetUsername8()
        Username: user1
Test 2: SecurityGetAccountStatus8()
        Account state: ACTIVE
Test 3: SecurityGetCredentials8()
        pCred->m_pType: Test1
        pCred->m_pUsername: sadmin
        pCred->m_pPassword: 6 characters long
Test 4: GetUserInfo:
        m_accountStatus: ACTIVE
        m_bPasswordSet: 0
        m_pCredentialsArray
                #:       Type |   Username |   Password
                --------------+------------+-----------
                0:            |     sadmin |    6 chars
        No further credentials
        m_pNewUsername: (None)
        m_pPassword: (None)
Test 5: GetRoles()
        SecurityGetRoles8 returned SecurityErrOK
        Total: 0 roles

No comments:

Post a Comment