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 1497 게시물 읽기
No. 1497
[초보자]openLDAP 포팅 방법좀 알려주세요-.-;;
작성자
궁금여^^*
작성일
2002-04-22 10:36
조회수
4,672

아직도 헤메고 있습니다..-.-;;

 

힘드네요..흑흑....

 

windows에서 사용할려고 포팅을 하고 있는데... 저번에도 질문한것처럼 6번에서 자꾸 넘어가지 않고 있습니다.. 꼭 해야하는데, 왜 이렇게 해결점이 않보이는지...

 

좀... 알려주세요..네~?

 

#참고로 프로그램세계(2001.9월) Enterprise Computing에도 같은 내용이 있습니다

 

<<< 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.
제목
작성자
작성일
조회
1500너무 초보적인 질문이라 올리기가...점... [1]
김수찬
2002-04-24
4150
1499LDAP client를 개발하는 것에 대해
하지아
2002-04-24
4152
1498네스케이프SDK 어디서 구하죠?? [1]
초보
2002-04-23
4844
1497[초보자]openLDAP 포팅 방법좀 알려주세요-.-;;
궁금여^^*
2002-04-22
4672
1493openLDAP 를 어디서 구하져? [1]
한영주
2002-04-19
4836
1489openLDAP port for Windows 사용하는데 문제점?
궁금여^^*
2002-04-19
4999
1490┕>Re: openLDAP port for Windows 사용하는데 문제점? [1]
송상준
2002-04-19 11:56:14
5135
1494 ┕>Re: Re: openLDAP port for Windows 사용하는데 문제점?
test
2002-04-19 20:09:31
5036
1495 ┕>Re: Re: openLDAP port for Windows 사용하는데 문제점?
궁금여^^*
2002-04-19 20:12:55
5016
1508┕>Re: openLDAP port for Windows 사용하는데 문제점?
배두현
2002-05-03 23:54:30
5072
1488windows에서 openLDAP설치방법을 알려주세요^^* [1]
궁금여^^*
2002-04-18
5433
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.021초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다