AD Server authentication in Python

  • ステータス: Closed
  • 賞金: $60
  • 受け取ったエントリー: 3
  • 優勝者: developerstan

コンテスト概要

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.

推奨スキル

採用者フィードバック

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

プロフィール画像 ShekharAgrawal15, United States.

このコンテストのトップエントリー

エントリーをもっと表示

公開説明ボード

  • ShekharAgrawal15
    コンテスト所有者
    • 5年間前

    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年間前
  • jjmutumi
    jjmutumi
    • 5年間前

    What do you mean by AD server?

    • 5年間前
    1. ShekharAgrawal15
      コンテスト所有者
      • 5年間前

      AD-Active Directory

      • 5年間前
    2. ShekharAgrawal15
      コンテスト所有者
      • 5年間前

      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年間前
  • peng72083
    peng72083
    • 5年間前

    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年間前
    1. ShekharAgrawal15
      コンテスト所有者
      • 5年間前

      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年間前
    2. ShekharAgrawal15
      コンテスト所有者
      • 5年間前

      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年間前
  • ShekharAgrawal15
    コンテスト所有者
    • 5年間前

    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年間前

コメントをもっと見る

コンテストの開始方法

  • あなたのコンテストを投稿

    あなたのコンテストを投稿 速くて簡単

  • たくさんのエントリーを集めましょう

    たくさんのエントリーを集めましょう 世界中から

  • ベストエントリーをアワード

    ベストエントリーをアワード ファイルをダウンロード - 簡単!

コンテストを今すぐ投稿 または本日参加!