게시판 본문 Active Directory Service Interface - Read Only
| 제대로 넣은거 같은데.. 이상하게 안되네요.. |
|---|
|
작성자: 녕이
작성일시: 2007-05-28 10:46,
조회수: 3,691
|
|
--------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" 'Connect to the ADSI Directory Set dso = GetObject(strADsPath) '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 ------------------- 위에껄로 수정해서 해보라고 해서 이것저것 해봤거든요. 그런데 자꾸 개체가 이 속성 또는 메서드를 지원하지 않습니다.: 'dso.OpenDSObject' 여기서 걸립니다.. ㅜㅜ strADsPath = "LDAP://servername/dc=domain,dc=com" 서버네임에 컴퓨터이름.도메인.com dc=도메인 dc=com strUserDN = "CN=John Doe,ou=Users,dc=domain,dc=com" CN= 로그인아이디(Administrator) ou=users dc=도메인 dc=com 이렇게 했는데 Set objUser = dso.OpenDSObject(strADsPath, strUserDN, strPassword, 0) 여기서 자꾸 걸리거든요.. asp로 iis 5.0에서 했는데 다른 권한설정이나 필요한가요? |
|
IP 주소: 61.33.172.63
|
전체 421 건의 게시물,
17 페이지로 구성된
Active Directory Service Interface 게시판의
6 페이지입니다.
|
게시물 | |||
|---|---|---|---|---|
| 303 | 2007-06-04 | 7,008 | ||
| 302 | 2007-06-04 | 3,631 | ||
| 301 | 2007-06-04 | 3,743 | ||
| 300 | 2007-06-04 | 3,569 | ||
| 299 | 2007-06-01 | 3,653 | ||
| 298 | 2007-06-01 | 3,634 | ||
| 297 | 2007-06-01 | 3,595 | ||
| 296 |
AD 컴포넌트 Vb 문의 [2] |
2007-06-01 | 3,741 | |
| 295 | 2007-05-30 | 3,640 | ||
| 294 | 2007-05-29 | 3,609 | ||
| 293 | 2007-05-29 | 3,908 | ||
| 291 |
많은 정보 얻어갑니다.. [2] |
2007-05-28 | 3,500 | |
| 290 |
ad 조직단위, 컨테이너 [3] |
2007-05-28 | 3,619 | |
| 289 | 2007-05-28 | 3,830 | ||
| 288 | 2007-05-28 | 3,550 | ||
| 287 | 2007-05-28 | 3,653 | ||
| 286 | 2007-05-28 | 6,429 | ||
| 285 | 2007-05-28 | 3,634 | ||
| 2007-05-28 | 3,691 | |||
| 283 | 2007-05-28 | 3,936 | ||
| 282 | 2007-05-25 | 3,634 | ||
| 281 | 2007-05-26 | 3,788 | ||
| 280 | 2007-05-17 | 3,663 | ||
| 279 | 2007-05-17 | 3,788 | ||
| 278 | 2007-03-21 | 3,770 |

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