「MonoでLDAPを使う」を編集中
この編集を取り消せます。 下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 | 編集中の文章 | ||
42行目: | 42行目: | ||
var conn = new LdapConnection(); | var conn = new LdapConnection(); | ||
conn.Connect("localhost", 1389); | conn.Connect("localhost", 1389); | ||
− | |||
var dn = string.Format("cn={0},{1}", username, basedomain); | var dn = string.Format("cn={0},{1}", username, basedomain); | ||
conn.Bind(dn, password); | conn.Bind(dn, password); |