Unix/유닉스와 디렉토리

AD에 물리기 재시도

ForceCore 2006. 9. 24. 03:02

http://www.gatago.com/linux/samba/23879710.html

이번엔 winbind.

http://blog.scottlowe.org/2006/08/15/solaris-10-and-active-directory-integration/

서버이름으로 된 사용자를 추가함.

ktpass.exe를 사용했다.

getentpasswd는 안 되지만 kinit은 성공함.

 

nss-ldap 컴파일 -_-;; 솔라리스에서만 유독 안 되는게

뭔가 모듈이 구린 것일 수도 있다.

http://forum.sun.com/jive/thread.jspa?threadID=75007&messageID=273252

컴파일 에러를 대처하고, 정말로 컴파일 해보기로 작정했다.

 

옵션

/configure --enable-schema-mapping --enable-rfc2307bis

make로 하면 안 되고, gmake로 컴파일 해야 된다.

 

그러나 컴파일 에러가 뜸.

kerberos라이브러리, sasl 라이브러리가 필요하기 때문.

 

cyrus sasl을 받아 컴파일.

env LDFLAGS="-L/usr/local/lib" ./configure --disable-digest --without-saslauthd

make

make install

 

친절히 warning도 말해준다.

********************************************************
* WARNING:
* Plugins are being installed into /usr/local/lib/sasl2,
* but the library will look for them in /usr/lib/sasl2.
* You need to make sure that the plugins will eventually
* be in /usr/lib/sasl2 -- the easiest way is to make a
* symbolic link from /usr/lib/sasl2 to /usr/local/lib/sasl2,
* but this may not be appropriate for your site, so this
* installation procedure won't do it for you.
*
* If you don't want to do this for some reason, you can
* set the location where the library will look for plugins
* by setting the environment variable SASL_PATH to the path
* the library should use.
********************************************************

워닝대로 심볼릭 링크를 걸어준다.