게시판 본문 Active Directory Service Interface - Read Only
| 다시 해서 되긴 됐는데요. |
|---|
|
작성자: 녕이
작성일시: 2007-05-28 11:37,
조회수: 6,401
|
|
--------Sub LoginAuthenticationCheck(strLoginID, strPassword)
Dim strUserDN Dim strADSIServer Dim dso Dim objUser Dim strADsPath strADsPath = "LDAP://servername/dc=domain,dc=com" strUserDN = "CN=John Doe,ou=Users,dc=domain,dc=com" 이부분을 strUserDN = "CN=아이디,cn=Users,dc=domain,dc=com" 이렇게 밖었더니 되거든요. 'Connect to the ADSI Directory Set dso = GetObject(strADsPath) 이부분을 Set dso = GetObject("LDAP:") 이걸로 밖었구요. 'Validate the User Name and Password Set objUser = dso.OpenDSObject(strADsPath, strUserDN, strPassword, 0) If Err.number <> 0 Then Response.Write "AUTHENTICATION FAILURE!, PLEASE TRY AGAIN." Set objUser = nothing Set dso = nothing Else Response.Write "LOGIN SUCCESSFUL!" End If End Sub ------------------- 그러면 현재 여기서 아이디와 패스워드가 맡으면 Logom~ 이렇게 출력되잖아요? 그러면 로그인되면 그 로그인한 아이디의 정보도 가지고 올수 있나요? 이름 이라던지 이런거요.. 지금 제대로 된거 맞죠? ㅜㅜ... |
|
IP 주소: 61.33.172.63
|
전체 421 건의 게시물,
17 페이지로 구성된
Active Directory Service Interface 게시판의
6 페이지입니다.
|
게시물 | |||
|---|---|---|---|---|
| 303 | 2007-06-04 | 6,968 | ||
| 302 | 2007-06-04 | 3,605 | ||
| 301 | 2007-06-04 | 3,718 | ||
| 300 | 2007-06-04 | 3,548 | ||
| 299 | 2007-06-01 | 3,629 | ||
| 298 | 2007-06-01 | 3,612 | ||
| 297 | 2007-06-01 | 3,582 | ||
| 296 |
AD 컴포넌트 Vb 문의 [2] |
2007-06-01 | 3,718 | |
| 295 | 2007-05-30 | 3,619 | ||
| 294 | 2007-05-29 | 3,586 | ||
| 293 | 2007-05-29 | 3,848 | ||
| 291 |
많은 정보 얻어갑니다.. [2] |
2007-05-28 | 3,479 | |
| 290 |
ad 조직단위, 컨테이너 [3] |
2007-05-28 | 3,596 | |
| 289 | 2007-05-28 | 3,805 | ||
| 288 | 2007-05-28 | 3,527 | ||
| 287 | 2007-05-28 | 3,637 | ||
| 2007-05-28 | 6,401 | |||
| 285 | 2007-05-28 | 3,614 | ||
| 284 | 2007-05-28 | 3,672 | ||
| 283 | 2007-05-28 | 3,877 | ||
| 282 | 2007-05-25 | 3,611 | ||
| 281 | 2007-05-26 | 3,766 | ||
| 280 | 2007-05-17 | 3,644 | ||
| 279 | 2007-05-17 | 3,766 | ||
| 278 | 2007-03-21 | 3,752 |

sign in
join
re: 계정 정보 변경.. 문의