Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authentication #3

Open
peterromfeldhk opened this issue Apr 2, 2014 · 5 comments
Open

authentication #3

peterromfeldhk opened this issue Apr 2, 2014 · 5 comments

Comments

@peterromfeldhk
Copy link
Contributor

Hi,

I can't use authentication like:

uri = 'mongodb://user:password@host/dbname'
MongoClient(uri)

my python knowledge is far too bad to implement it myself :(

@peterromfeldhk
Copy link
Contributor Author

ok found solution:

in module.py i added:
username and password
self.db.authenticate(self.username, self.password)

in /etc/module i added also username and password

@naparuba
Copy link
Member

naparuba commented Apr 2, 2014

Please keep it open so we can think about adding it, or even better, provide a patch :p

@peterromfeldhk
Copy link
Contributor Author

first time making github patch, hope it worked

On Wed, Apr 2, 2014 at 3:52 PM, Gabès Jean [email protected] wrote:

Please keep it open so we can think about adding it, or even better,
provide a patch :p

Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-39297619
.

@DessaiImrane
Copy link
Member

To submit a patch :

  1. Fork this project on your github account
  2. Clone your forked project to your local computer
  3. Make modifications on your local project (commit properly with correct message)
  4. Push from your local repo to your git hub repo
  5. Go to your github repo and make a "pull request"
  6. It will automaticcaly diff your modifications with the original project
  7. Then Mainteners of the original projet can discuss and merge the pull request

If some fix should be done on your pull request go back to 2 and 3 and github will update your pull request automatically.

I hope this helps.

@peterromfeldhk
Copy link
Contributor Author

cool thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants