タグ

activedirectoryに関するReLaxのブックマーク (3)

  • LDAPでADのグループに所属するメンバを取得する - Zefard's Labo

    LDAPでActiveDirectoryを操作することはよくありますが、 数千名からなるグループにユーザを登録/削除するのは初めてでした。 システム開発に携わったことがある人であれば お分かりでしょうが、データの規模がある程度の レベルを超えると必ずといっていいほど予想外の ことが起きてきます。 今回はそんなお話。ちなみに使用する言語はPHPですが、 他言語でも同じことが言えます。 たとえば、exampleグループのメンバを取得しようと思えば $result = ldap_search($ld, "cn=Users, dc=test, dc=local", "(cn=example)"); $entry = ldap_first_entry($ld, $result); $attrs = ldap_get_attributes($ld, $entry); で、$attrs['member'

    LDAPでADのグループに所属するメンバを取得する - Zefard's Labo
  • Active Directory からユーザー情報を取得したい

    2度目の投稿になります。 Active Directory を利用して認証を行うWebApplication を作成しようとしています。 Webで検索したところ、下記の情報がヒットしました。 http://support.microsoft.com/kb/326340/ja ソースコードをコピーしてActive Directoryでユーザーの認証を行うことができました。 今度は、認証したユーザーの情報を取得したいのですが、ご存知の方がいらっしゃ いましたら教えていただけませんでしょうか。 具体的には、Active Directoryで管理しているユーザー情報の全般タブの「姓」「名」、 組織タブの「部署」「役職」、電話タブの「自宅」などです。 よろしくお願いします。 環境は、WinXP Pro + .netFramework2.1 + Visual Web Developer 2005 Ex

  • Active Directory Authentication for Ruby on Rails

    Ruby on Rails can be used to build many kinds of web applications including public internet applications as well as private intranet ones. As an intranet application it is often very interesting to be able to do Single Sign-On using an existing Active Directory setup. Rails does not support NTLM authentication out of the box which is what is required. IIS for NTLM If you are talking about Active D

    Active Directory Authentication for Ruby on Rails
  • 1