AD Server authentication in Python

  • Hali: Closed
  • Zawadi: $60
  • Wasilisho Zilizopokelewa: 3
  • Mshindi: developerstan

Maelezo ya Shindano

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.

Ujuzi unaopendekezwa

Maoni ya Muajiri

“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!”

Picha ya Profaili ShekharAgrawal15, United States.

Wasilisho kuu kwenye hili shindano

Angalia wasilisho zaidi

Bodi ya Ufafanuzi ya Umma

  • ShekharAgrawal15
    Mwenye Shindano
    • Miaka 5 iliyopita

    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()

    • Miaka 5 iliyopita
  • jjmutumi
    jjmutumi
    • Miaka 5 iliyopita

    What do you mean by AD server?

    • Miaka 5 iliyopita
    1. ShekharAgrawal15
      Mwenye Shindano
      • Miaka 5 iliyopita

      AD-Active Directory

      • Miaka 5 iliyopita
    2. ShekharAgrawal15
      Mwenye Shindano
      • Miaka 5 iliyopita

      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.

      • Miaka 5 iliyopita
  • peng72083
    peng72083
    • Miaka 5 iliyopita

    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

    • Miaka 5 iliyopita
    1. ShekharAgrawal15
      Mwenye Shindano
      • Miaka 5 iliyopita

      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.

      • Miaka 5 iliyopita
    2. ShekharAgrawal15
      Mwenye Shindano
      • Miaka 5 iliyopita

      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.

      • Miaka 5 iliyopita
  • ShekharAgrawal15
    Mwenye Shindano
    • Miaka 5 iliyopita

    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.

    • Miaka 5 iliyopita

Onyesha maoni zaidi

Jinsi ya kuanza kwa kutumia mashindano

  • Chapisha Shindano Lako

    Chapisha Shindano Lako Haraka na rahisi

  • Pokea wasilisho nyingi

    Pokea Wasilisho Nyingi Kutoka kote ulimwenguni

  • Tuza wasilisho bora zaidi

    Tuza wasilisho bora zaidi Pakua faili - Rahisi!

Tuma Shindano Sasa ama Jiunge nasi Leo!