Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: MongoDB Input Step - specify the authentication database

  1. #1
    Join Date
    Apr 2014
    Posts
    4

    Default MongoDB Input Step - specify the authentication database

    Hello,

    I am trying to create a MongoDB input step to extract data from a MongoDB instance, however I cannot get the step to authenticate me as a user (on mongo) because the step is not telling mongo whic database to use for authentication/

    To connect to the mongo instance I have a username (alan), password (*****) and the name of an authentication db (admin). Within the MongoDB Input step there is only a field for username and password. There is no field for specifying the authentication db.

    Has anyone any ideas on how I might overcome this problem... I don't really want to have to write a custom input step if I can avoid it.

    Thanks.

    [Using PDI 5.0.1 on Ubuntu 14.04]

  2. #2
    Join Date
    Jun 2012
    Posts
    5,534

    Default

    Looks like my MongoDB Input implements the mongoDB 2.2 security model.
    Challenge / Response authentication with delegated credentials (userSource) was introduced with mongoDB 2.4.
    A workaround could be to export from mongoDB using a shell script.
    So long, and thanks for all the fish.

  3. #3

    Default

    Hi alankonz,

    If this is still an issue for you, it's now described in PDI-12725. I'd recommend commenting on it, or if you're an EE customer, submit a support case asking for it.

    Cheers,

    Matt T

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.