database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
ㆍLDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
LDAP Q&A 1489 게시물 읽기
No. 1489
openLDAP port for Windows 사용하는데 문제점?
작성자
궁금여^^*
작성일
2002-04-19 11:32
조회수
5,774

<<< openLDAP port for Windows >>> ==> http://www.fivesight.com/downloads/openldap.asp

 

windows에서 openLDAP porting하는 설명서인데, 6번에서 보게되면..(6번으로 가보세요)

 

1.Download the files:

 

regex (This seems to have disappeared... You can try a local copy instead.)

SASL

sleepycat db

openldap-2.0.11

 

Don't be alarmed by the Unix-centric archives: The .tar.gz (or .tgz) files can be opened with WinZip. Unarchive all four into a common build directory; I used d:\openldap-build.

 

 

2.Open db-3.2.9\build_win32\berkeley_DB.dsw with Visual C++. Build the "DB_DLL" project.

 

3.Open cyrus-sasl-1.5.24\win32\libsasl\libsasl.dsw with Visual C++.

 

4.Edit the file cyrus-sasl-1.5.24\lib\saslutil.c. Around line 283,find the block:

 

 

/* this will probably only work on linux */

if ((f = fopen(DEV_RANDOM, "r")) != NULL) {

fread(ret, 1, sizeof(ret), f);

fclose(f);

return;

}

DEV_RANDOM is not defined in the Windows headers, and there's no random device to read from in any case. Surround the block with

 

 

#ifndef WIN32

/* ... */

#endif

 

 

5.Edit the file cyrus-sasl-1.5.24\lib\windlopen.c. Around line 85, in the function _sasl_get_mech_list(...), find a line which says

 

 

if (ret != ERROR_SUCCESS) { return SASL_FAIL; }

The implication is that if a user is missing the SASL plugins registry key, instead of assuming there are no plugins, the SASL library aborts during initialization. To fix this lossage, change the above to

 

 

if (ret != ERROR_SUCCESS) return SASL_OK;

Now, build the "libsasl" project.

 

 

6. Open openldap-2.0.11\build\main.dsw in Visual C++. Make the "build" project active. <<==main.dsw가 않열려요-.-;; main.dsp도없고, 파일이 .c나 .cpp로 되어 있지도 않거든요.. 어제부터 6번에서 넘어가지 않고 있는데 어떻게 해야 해결할수 있을지 알려주세요^^ 혹시 지금 할려고하는분들도 같이 해봐여^^

 

 

7.Add cyrus-sasl-1.5.24\include, hs_regex_dist, and db-3.2.9\build_win32 to your include file search path; and add cyrus-sasl-1.5.24\win32\libsasl\debug, hs_regex_dist, and db-3.2.9\build_win32 to your library search path. (Both can be altered under Tools->Options->Directories in Visual Studio 6.)

......

[Top]
No.
제목
작성자
작성일
조회
1498네스케이프SDK 어디서 구하죠?? [1]
초보
2002-04-23
4975
1497[초보자]openLDAP 포팅 방법좀 알려주세요-.-;;
궁금여^^*
2002-04-22
4790
1493openLDAP 를 어디서 구하져? [1]
한영주
2002-04-19
4952
1489openLDAP port for Windows 사용하는데 문제점?
궁금여^^*
2002-04-19
5774
1490┕>Re: openLDAP port for Windows 사용하는데 문제점? [1]
송상준
2002-04-19 11:56:14
5309
1494 ┕>Re: Re: openLDAP port for Windows 사용하는데 문제점?
test
2002-04-19 20:09:31
5208
1495 ┕>Re: Re: openLDAP port for Windows 사용하는데 문제점?
궁금여^^*
2002-04-19 20:12:55
5196
1508┕>Re: openLDAP port for Windows 사용하는데 문제점?
배두현
2002-05-03 23:54:30
5250
1488windows에서 openLDAP설치방법을 알려주세요^^* [1]
궁금여^^*
2002-04-18
5550
1487[질문]back-sql 제대로 되는 건지...
알고픈이
2002-04-18
5093
1486&lt;질문&gt; 웹브라우져에서 LDAP접근 검색이 왜 안되죠? [1]
이광윤
2002-04-17
5130
1491┕>Re: &lt;질문&gt; 웹브라우져에서 LDAP접근 검색이 왜 안되죠?
송상준
2002-04-19 13:41:39
5152
1522┕>??sub?
서호정
2002-05-23 13:49:08
4979
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.017초, 이곳 서비스는
	PostgreSQL v16.4로 자료를 관리합니다