Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-1173

Onboard script does not provide reseller password

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.0.2
    • Component/s: None
    • Labels:
      None
    • Environment:

      UI - 2.0.2 Build 28
      SAPI Master Build 455
      Core Trunk Build 770
      BidMgr Trunk Build 793

    • Sprint:
      Sprint 3 - 2.0.2

      Description

      When running the onboard script, a realm is created with an admin reseller user. The script creates a user in the db, with a password, and sets the user to active. However, the system generated password is not provided

      Actual result: User cannot log into the new realm as they don't have a password. The expected work around is to use the 'forgot my password' link to set a new password, does not work.

      Expected result: I was expecting a password to be printed out in the script output, or be emailed to the user.

      Output from running the script:
      [jelliott@aq-qa-tomcat1 groovy]$ groovy onboard.groovy -h http://aq-qa-tomcat1 -u admin+tsa@thesearchagency.com -p admin -re jclarke@thesearchagency.com -rm .3 -rmin 3.50 -rn "Reseller2" -rp 9787897899 -rr reseller2 -ru http://www.reseller2.com -l 8080 -r thesearchagency
      Feb 14, 2013 1:59:06 PM groovyx.net.http.ParserRegistry getAt
      WARNING: Cannot find parser for content-type: application/json, text/plain – using default parser.
      INFO - Successfully created reseller[c305bdf9-d5f6-491c-b355-46b6e82f07f8]

      User created in the db, with a system generated password and active:

      mysql> select * from users where realm_id= 'com.reseller2' limit 2 \G

                                                          • 1. row ***************************
                                                            id: 1b0e812f-3a8a-416f-9049-721acb8509bf
                                                            realm_id: com.reseller2
                                                            type: P
                                                            first_name:
                                                            last_name:
                                                            display: Reseller2
                                                            description: Reseller user for Reseller2
                                                            created_on: 2013-02-14 13:59:06
                                                            created_by: c7542d20-f6ba-4784-842b-9202a92190e2
                                                            modified_on: 2013-02-14 13:59:06
                                                            modified_by: c7542d20-f6ba-4784-842b-9202a92190e2
                                                            active: T
                                                            password: 75bb2f360e75cb8bd91160f45232d0e1e5efcf629121a0c035489102499214bf4251e21f6b920323cbcf9b1d98c3b3c0f46e5eb974402c9d9572ec5e45edf607
                                                            salt: 496620796f75206265636f6d6520746f6f20736572696f75732c20796f752077696c6c206c6f736520796f7572207761792e
                                                            organization:
                                                            language:
                                                            country:
                                                            timezone:
                                                            gender: M
                                                            birthday: NULL
                                                            login: 1970-01-01 00:00:00
                                                            email: jclarke@thesearchagency.com
                                                            homepage:
                                                            home_phone:
                                                            work_phone: 9787897899
                                                            mobile_phone:
                                                            1 row in set (0.00 sec)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                todd.orr Todd Orr (Inactive)
                Reporter:
                jelliott Jen Clarke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: