AD Server authentication in Python

  • Status: Closed
  • Præmier: $60
  • Modtagne indlæg: 3
  • Vinder: developerstan

Konkurrence Instruktioner

Need to create a login page which will authenticate users based on the username and password from AD server. Also pull out the first name of the user based on username.

Anbefalede færdigheder

Arbejdsgiverfeedback

“Stan is a very professional and completes the work to the best of his ability. He responds immediately and solves any issues. He responds quickly and I would recommend him. Would surely hire him again!”

Profilbillede ShekharAgrawal15, United States.

Bedste indlæg fra denne konkurrence

Se flere indlæg

Offentlig Præciserings Opslagstavle

  • ShekharAgrawal15
    Konkurrenceafholder
    • 5 år siden

    The code in python can look like this (It is just the base-You need to build it)

    from flask import Flask, redirect, request, render_template, jsonify
    import ldap

    app = Flask(__name__)

    @app.route('/login', methods=['GET', 'POST'])
    def login():
    error = None
    if request.method == 'POST':
    username = request.form['username']
    password = request.form['password']

    if request.form['username'] != '13326' or request.form['password'] != 'password':
    error = 'Invalid Credentials. Please try again.'
    else:
    return render_template('calendar.html')

    if __name__ == "__main__":
    app.run(host='0.0.0.0', debug=False)
    app.run()

    • 5 år siden
  • jjmutumi
    jjmutumi
    • 5 år siden

    What do you mean by AD server?

    • 5 år siden
    1. ShekharAgrawal15
      Konkurrenceafholder
      • 5 år siden

      AD-Active Directory

      • 5 år siden
    2. ShekharAgrawal15
      Konkurrenceafholder
      • 5 år siden

      You need to authenticate the username and password from the Active Directory server. I have the server's IP but you need to create a script that can work and later it can be tested with the server.

      • 5 år siden
  • peng72083
    peng72083
    • 5 år siden

    Hello
    I have full experience with Angular and Flask.
    I built insurance admin site and food delivery site, job matching site using angular and Flask, Node.js
    what kind of site you want?
    What about your server?
    Do you have design for frontend?

    I think we can discuss via chat.
    Please feel free to ping me at any time.
    Regards.

    Peng

    • 5 år siden
    1. ShekharAgrawal15
      Konkurrenceafholder
      • 5 år siden

      I have the server details.
      I need a simple login page where user enters his username and password and his credentials are verified from the AD server.

      • 5 år siden
    2. ShekharAgrawal15
      Konkurrenceafholder
      • 5 år siden

      Create a script and then submit it as an entry. That will help me to chat with you! Also, please ask any question that you may have.

      • 5 år siden
  • ShekharAgrawal15
    Konkurrenceafholder
    • 5 år siden

    The one who can write the code in Python and I can test that it is working will get the prize awarded. Keep in mind that I will have a lot of projects in the future so whoever can win this contest will win future projects as well.

    • 5 år siden

Vis flere kommentarer

Sådan kommer du i gang med konkurrencer

  • Opret din konkurrence

    Opret din konkurrence Hurtigt og nemt

  • Få tonsvis af indlæg

    Få tonsvis af indlæg Fra hele verden

  • Tildel det bedste indlæg

    Tildel det bedste indlæg Download filerne - Nemt!

Opret en Konkurrence Nu eller slut dig til os i dag!