· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Docbook Sgml/Net Meeting-HOWTO

Linux NETMEETING HOWTO

Linux NETMEETING HOWTO

Brent Baccala

        
      

SchiffersMartin

        
      

KomarinskiMark F.

Conversion from HTML to DocBook 3.1

°íÁöÈÆ

        
      

ÀÌ ¹®¼­´Â ¸¶ÀÌÅ©·Î ¼ÒÇÁÆ® ³Ý¹ÌÆÃÀ» Linux¿¡¼­ ¾î¶»°Ô »ç¿ëÇϴ°¡¿¡ ´ëÇÑ °ÍÀÔ´Ï´Ù.

고친 과정
고침 ¹ø¿ª v1.12001³â 4¿ù 14ÀÏ고친이 °¡ÀÚ°õ
Çѱ¹¾î ¹ø¿ªÆÇ
고침 v1.013 January 2001고친이 bwb
Initial public release
고침 v0.1125 October 2000고친이 mfk
Conversion to DocBook

1. ¼Ò°³

ÀÌ ¹®¼­´Â Linux NETMEETING HOWTO ÀÌ¸ç ¸¶ÀÌÅ©·Î ¼ÒÇÁÆ® ³Ý¹ÌÆÃÀ» Linux¿¡¼­ ÀÌ¿ëÇÒ ¼ö ÀÖ´Â ¹æ¹ý¿¡ ´ëÇÏ¿© ¼­¼úÇÏ°í ÀÖ½À´Ï´Ù. °¡Àå ÃÖ±Ù ¹öÀüÀº ´ÙÀ½ÀÇ URL¿¡¼­ ãÀ» ¼ö ÀÖ½À´Ï´Ù. http://www.freesoft.org/software/NetMeeting ¶Ç´Â Linux Documentation Project

³Ý¹ÌÆÃÀº ³×Æ®¿öÅ©¿¡¼­ À½¼º°ú ¿µ»óÀ» Áö¿øÇÏ´Â ±¹Á¦ÀûÀΠǥÁØ ÄÁÆÛ·±½º ÇÁ·ÎÅäÄÝÀÎ H.323À» ½ÇÇàÇÏ´Â ÇÁ·Î±×·¥ÀÔ´Ï´Ù. ³Ý¹ÌÆÃÀº ¶ÇÇÑ ¾îÇø®ÄÉÀÌ¼Ç °øÀ¯¿Í ÆÄÀÏ Àü¼Û ±×¸®°í È­ÀÌÆ®º¸µå¶ó´Â Ä¥ÆǼº°ÝÀÇ ÇÁ·Î±×·¥µµ Áö¿øÇÏ´Â T.120 ÇÁ·ÎÅäÄݵµ Áö¿øÇÏ°í ÀÖ½À´Ï´Ù. ½ÇÇàÇÒ ¶§´Â µð·ºÅ͸® ¼­ºñ½º·Î LDAP¸¦ ÀÌ¿ëÇÕ´Ï´Ù. ³Ý¹ÌÆÃÀº À©µµ¿ì 2000¿¡´Â ±âº»ÀûÀ¸·Î Æ÷ÇԵǾî ÀÖ°í, ´ÙÀ½ÀÇ URL¿¡¼­ À©µµ¿ì 95, 98 ±×¸®°í NT ¿ëÀ» ÀÚÀ¯·Ó°Ô ´Ù¿î ¹ÞÀ» ¼ö ÀÖ½À´Ï´Ù. http://www.microsoft.com/windows/netmeeting

¸®´ª½º´Â ÇöÀç(2000³â 10¿ù) H.323(À½¼º ¿µ»ó ¸ðµÎ) ÇÁ·ÎÅäÄÝÀ» Áö¿øÇϸç LDAP µð·ºÅ͸® ¼­ºñ½ºµµ ¶ÇÇÑ Áö¿øÇÏ°í ÀÖ½À´Ï´Ù. ÇÏÁö¸¸ ¾îÇø®ÄÉÀÌ¼Ç °øÀ¯¿Í ÆÄÀÏ Àü¼Û ±×¸®°í È­ÀÌÆ®º¸µå°¡ °¡´ÉÇÑ T.120 ÇÁ·ÎÅäÄÝÀº ¾ÆÁ÷ Áö¿øÇÏÁö ¾Ê°í ÀÖ½À´Ï´Ù.

H.323 ´ëÇؼ­ ¸ð¸¥½Å´Ù¸é, ´ÙÀ½ÀÇ »çÀÌÆ®¸¦ ¹æ¹®ÇÏ´Â °ÍÀ» ÃßõÇÕ´Ï´Ù:

LDAP¿¡ ´ëÇؼ­ ¸ð¸£½Å´Ù¸é, ´ÙÀ½ÀÇ »çÀÌÆ®¸¦ ¹æ¹®ÇØ º¸½Ã´Â °ÍÀ» ÃßõÇÕ´Ï´Ù:

´ç½ÅÀÌ ÃßõÇϰųª ȤÀº º» ¹®¼­¿¡ Á¦¾ÈÇÒ »çÇ×ÀÌ ÀÖÀ¸½Ã´Ù¸é ´ÙÀ½ÀÇ À̸ÞÀÏ ÁÖ¼Ò·Î ¿¬¶ô Áֽñ⠹ٶø´Ï´Ù.

º» ¹ø¿ª¿¡ ´ëÇؼ­ Ʋ¸° Á¡À̳ª ÁöÀûÇØ ÁÖ½Ç »çÇ×ÀÌ ÀÖÀ¸½Ã¸é ´ÙÀ½ÀÇ À̸ÞÀÏ ÁÖ¼Ò·Î ¿¬¶ô Áֽñ⠹ٶø´Ï´Ù.


2. OpenH323

2.1. OpenH323 ¶õ?

OpenH323À̶õ H.323 ÇÁ·ÎÅäÄÝÀ» Áö¿øÇÏ´Â ¿ÀÇ ¼Ò½º ÇÁ·Î±×·¥ÀÔ´Ï´Ù. ÀÌ°ÍÀº ¸¶ÀÌÅ©·Î¼ÒÇÁÆ® ³Ý¹ÌÆðú ÇÔ²² ¹Ù·Î »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. ÇöÀç (2000³â 10¿ù) °è¼Ó °³¹ß ÁßÀ̸ç, ¹ö±×¸¦ ¼öÁ¤ÇÏ°í ÀÖ½À´Ï´Ù¸¸ À¯¿ëÇÕ´Ï´Ù.

OpenH323Àº ¿©·¯ °³ÀÇ C++¶óÀ̺귯¸®¿Í ¸î¸îÀÇ C++Ŭ¶óÀ̾ðÆ® ÇÁ·Î±×·¥À¸·Î ±¸¼ºµÇ¾î ÀÖ½À´Ï´Ù.

°¡Àå À¯¿ëÇÑ ÇÁ·Î±×·¥µé :

표 1. List of client applications

ohphone ¸®´ª½º¿¡¼­ H.323À» Áö¿øÇÏ´Â ³Ý¹ÌÆðú °°Àº ¿ªÇÒÀ» ÇÏ´Â ÇÁ·Î±×·¥. ±×·¯³ª ¾îÇø®ÄÉÀÌ¼Ç °øÀ¯ ¹× ÆÄÀÏ Àü¼Û È­ÀÌÆ®º¸µå´Â Áö¿øÇÏÁö ¾Ê´Â´Ù.
openam H.323 ÀÚµ¿ ÀÀ´ä ÇÁ·Î±×·¥. È£ÃâÇÏ´Â ¸Þ½ÃÁö¸¦ ³ìÀ½ÇÏ°í ³ìÀ½µÈ ¸Þ½ÃÁö¸¦ Àç»ýÇÒ ¼ö ÀÖ´Ù. ºñµð¿À´Â Áö¿øÇÏÁö ¾Ê´Â´Ù.
forwarder ÇϳªÀÇ IP ÁÖ¼Ò³ª Æ÷Æ®¿¡¼­ ´Ù¸¥ ¸ñÀûÁö·Î H.323 sessionsÀ» º¸³»´Â ÇÁ·Î±×·¥. ÇϳªÀÇ IP ÁÖ¼Ò¿¡¼­ ´Ù¼öÀÇ H.323 ¸ñÀûÁöµéÀ» ÀÌ¿ëÇÒ ¶§ »ç¿ëµÈ´Ù.
openmcu ´ÙÁß ¼¼¼Ç Á¦¾î ÀåÄ¡. ÄÁÆÛ·±½ºÄÝ·Î ¿©·¯ °³ÀÇ ¼¼¼ÇÀ» ¿¬°áÇÑ´Ù.
PSTN Gateway ÀϹÝÀüÈ­½Ã½ºÅÛ(PSTN : the Public Switched Telephone Network)¿¡¼­ ³Ý¹ÌÆà ÇÁ·Î±×·¥ÀÌ ÀüÈ­¸¦ °É ¼ö ÀÖµµ·Ï ÇÑ °Í. Ưº°ÇÑ Çϵå¿þ¾î°¡ ÇÊ¿äÇÕ´Ï´Ù.

OpenH323Àº ÇöÀç (2000³â 10¿ù) À½¼º codecs G.711, G.723.1, LPC-10, and GSM 06.10, °ú ¿µ»ó codec H.261 ÄÚµ¦À» Áö¿øÇÏ°í ÀÖ½À´Ï´Ù.


2.2. ¹«¾ùÀÌ ÇÊ¿äÇÑ°¡?

OpenH323Àº ´ç½ÅÀÌ ´ç½ÅÀÇ ¸®´ª½º ½Ã½ºÅÛ¿¡¼­ Á÷Á¢ ³Ý¹ÌÆà Ŭ¶óÀ̾ðÆ®·Î À½¼º°ú ¿µ»ó ¿¬°áÀ» ¸¸µé°íÀÚ ÇÒ ¶§ ¾¹´Ï´Ù. OpenH323Àº ³Ý¹ÌÆà ÇÁ·Î±×·¥¿¡ LDAP µð·ºÅ͸® ¼­ºñ½º¸¦ Á¦°øÇϴµ¥´Â ÇÊ¿äÇÏÁö ¾Ê½À´Ï´Ù.


2.3. ¾îµð¼­ OpenH323À» ¾òÀ» ¼ö ÀÖ³ª?

¸ÞÀÎ »çÀÌÆ®´Â http://www.openh323.org/ ÀÔ´Ï´Ù. ±×¸®°í ÀÌ »çÀÌÆ®¿¡´Â ´Ù¿î·Îµå ÆäÀÌÁö, ¹Ì·¯ »çÀÌÆ®, ¸ÞÀϸµ ¸®½ºÆ®¿Í ´Ù¸¥ Á¤º¸¸¦ Á¦°øÇÕ´Ï´Ù.

OhPhone, OpenAM, PSTNgw ´Â Ç¥ÁØ ºÐ¹è ¹æ½ÄÀ¸·Î ÀÌ¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÌ µéÀº ¼Ò½º¿Í ½ÇÇà ÆÄÀÏ ¸ðµÎ¸¦ ¾òÀ» ¼ö ÀÖ½À´Ï´Ù¸¸, forwarder ¿Í openmcu ´Â 2000³â 12¿ù ÇöÀç "forwarder" and "openmcu" ¶ó´Â ¸ðµâÀ̸§À¸·Î CVS ¾ÐÃàÀ¸·Î¸¸ ¾òÀ» ¼ö ÀÖ½À´Ï´Ù.


2.4. ¼³Ä¡

OhPhone, OpenAM, PSTNgw ´Â ´Ù¿î·ÎµåÇؼ­ ½ÇÇàÇÏ¸é µË´Ï´Ù. forwarder¿Í openmcu°¡ ÇÊ¿äÇÏ´Ù¸é ¼Ò½º¸¦ ÄÄÆÄÀÏÇؼ­ ½ÇÇàÆÄÀÏÀ» ¸¸µé¾î¾ß ÇÕ´Ï´Ù. ¹°·Ð pwlib ¿Í openh323 ¶óÀ̺귯¸®°¡ ÇÊ¿äÇÕ´Ï´Ù. ÆíÁýµÈ ¸Å´º¾óÀº OpenH323 »çÀÌÆ®¿¡¼­ ¾òÀ¸½Ç ¼ö ÀÖ½À´Ï´Ù.


2.5. Gatekeepers

OpenH323Àº gatekeeper¸¦ Áö¿øÇÏÁö ¾Ê½À´Ï´Ù. ÇÏÁö¸¸ ¸î¸îÀº ÇöÀç ÇØ´ç ¶óÀ̺귯¸®¸¦ ±âÃÊ·Î ¸¸µé¾îÁö°í ÀÖ½À´Ï´Ù. 2000³â ¸» ÇöÀç ´ëºÎºÐÀÌ È°¹ßÇÏ°Ô °³¹ßµÇ°Å³ª °ÅÀÇ ¿Ï¼º´Ü°è¿¡ À̸£°í ÀÖ½À´Ï´Ù. ¾ÆÁ÷±îÁö »ç¿ëÇØ º¸Áö´Â ¸øÇßÀ¸³ª, ¿øÇÏ½Å´Ù¸é ´ÙÀ½ÀÇ ¸µÅ©¿¡¼­ ¾òÀ¸½Ç ¼ö ÀÖ½À´Ï´Ù. :

(¹ø¿ªÀÚ ÁÖ)gatekeeper¸¦ µû·Î ¹ø¿ªÇÏÁö ¾Ê¾Ò½À´Ï´Ù. °£´ÜÇÏ°Ô Á¤ÀÇ ÇÏÀÚ¸é H.323ÀÇ °¡Àå Áß¿äÇÑ ºÎºÐ ÁßÀÇ ÇϳªÀ̸ç, ÁÖ°í ¹Þ´Â ½ÅÈ£¸¦ ÄÜÆ®·ÑÇØ ÁÖ´Â ÀÏÀ» ÇÕ´Ï´Ù.


3. NetMeeting directory kit

3.1. NetMeeting directory kit À̶õ?

°¢ ³Ý¹ÌÆà Ŭ¶óÀ̾ðÆ®µéÀº LDAP¼­¹ö¿¡ µî·ÏµÉ ¼ö ÀÖ¾î¾ß ÇÕ´Ï´Ù.

±×¸®°í, ÇϳªÀÇ À©µµ¿ì¿¡¼­ °°Àº ¼­¹ö¿¡ µî·ÏµÈ ³Ý¹ÌÆà Ŭ¶óÀ̾ðÆ®µéÀÇ ¸ñ·ÏÀ» º¼ ¼ö ÀÖ¾î¾ß ÇÕ´Ï´Ù. NetMeeting directory kit ´Â ³Ý¹ÌÆà Ŭ¶óÀ̾ðÆ®¿¡°Ô µð·ºÅ͸® ¼­ºñ½º¸¦ Á¦°øÇÏ´Â OpenLDAP ¼­¹öÀÇ È®ÀåÆÑÀÔ´Ï´Ù.


3.2. ¿Ö NetMeeting directory kit °¡ ÇÊ¿äÇÑ°¡?

³Ý¹ÌÆÃÀº ƯÁ¤ÇÑ IPÁÖ¼Ò³ª DNS³×ÀÓÀ» ÁöÁ¤ÇÏ´Â °ÍÀ¸·Î ´Ù¸¥ H.323ÀåÄ¡¿¡ Á¢¼ÓÇÒ ¼ö ÀÖ½À´Ï´Ù.? ÇÏÁö¸¸, ÀϹÝÀûÀ¸·Î´Â LDAP µð·ºÅ͸® ¼­¹ö¸¦ ÁÖ·Î ÀÌ¿ëÇÕ´Ï´Ù. LDAP¸¦ ÀÌ¿ëÇÑ´Ù´Â °ÍÀº »ç¿ëÀÚ°¡ »ç¿ë °¡´ÉÇÑ ¸ñÀû ÁÖ¼ÒµéÀÇ µð·ºÅ͸® ¸ñ·ÏÀ» º¼ ¼ö ÀÖ´Ù´Â °ÍÀ» ÀǹÌÇÕ´Ï´Ù.

¿¹¸¦ µé¾î¼­ ÇϳªÀÇ IP ÁּҷκÎÅÍ H.323À» ÀÌ¿ëÇÏ´Â ´Ù¸¥ ÄÄÇ»ÅÍ·Î? ¿¬°áµÇ´Â °ÍÀ» ¿øÇÒ ¶§, ´Ù¸¥ ÄÄÇ»ÅÍ°¡ »ç¿ëÇÏ´Â º°¸íÀ» Çص¶ÇÏ´Â °ÍÀÌ ÇÊ¿äÇÕ´Ï´Ù. ÀÌ ¶§, NetMeeting directory kit °¡ »ç¿ëµË´Ï´Ù.

³Ý¹ÌÆà Ŭ¶óÀ̾ðÆ®´Â ¿©·¯ ¹æ¹ýÀ¸·Î LDAPÇÁ·ÎÅäÄÝÀ» À§¹ÝÇÒ ¼ö ÀÖ½À´Ï´Ù. ±×·¡¼­ ´ç½ÅÀÌ Ç¥ÁØ LDAP¼­¹ö¸¦ »ç¿ëÇÏ·Á°í ½ÃµµÇÑ´Ù¸é ¹®Á¦°¡ »ý±æ ¼öµµ ÀÖ½À´Ï´Ù. NetMeeting directory kit ´Â ¹ß»ýÇÒ Áöµµ ¸ð¸£´Â ¹®Á¦µéÀ» ÇØ°áÇØ ÁÖ°í, OpenLDAP ¼­¹ö°¡ ³Ý¹ÌÆà µð·ºÅ͸® ¼­¹ö·Î ÀÌ¿ëµÉ ¼ö ÀÖ°Ô ÇØÁÝ´Ï´Ù.


3.3. ¾î¶»°Ô ÀÛµ¿Çϳª

                 Block diagram of NetMeeting directory kit

___________________         _______    __________________        ______________
|    LDAP server  | request |      |   |   LDAP server  | request|            |
|                 | <-------| Perl |<--|                | <------| NetMeeting |
| on private port |         |script|   | on public port |        |  client    |
|  (i.e, 2345)    |-------> |      |-->|     389        |------->|            |
|                 | reply   --------   |                |  reply --------------
|                 |                    |                |      
-------------------                    ------------------

µð·ºÅ͸® ¼­¹ö´Â Request¸¦ ¹Þ´Â 'master' LDAP ¼­¹ö¿Í ¸¶ÀÌÅ©·Î ¼ÒÇÁÆ® ³Ý¹ÌÆÃÀÇ request¸¦ ¹Ù¸£°Ô ¹ø¿ªÇÒ ¼ö ÀÖ´Â Perl script, ±×¸®°í °¨ÃçÁø LDAP ¼­¹öÀÇ ÁúÀǸ¦ ÀÌÇØÇÒ ¼ö ÀÖ´Â ³Ý¹ÌÆà Ŭ¶óÀ̾ðÆ® ÀÛµ¿ Æ÷¸Ëµé·Î ±¸¼ºµË´Ï´Ù. OpenLDAPÀÇ 'shell backend'´Â Perl script¸¦ È£ÃâÇϴµ¥ »ç¿ëµË´Ï´Ù. Ä¿½ºÅÒ ½ºÅ°¸¶µµ ¿ä±¸µË´Ï´Ù. ½ºÅ©¸³Æ®´Â ŸÀӾƿô ¿¡·¯¿Í ÀÛµ¿ÇÏÁö ¾Ê´Â ¸ðµç ¿¡·¯¸¦ Æ÷ÇÔÇÑ ¸ðµç ¹®Á¦¸¦ °ü¸®ÇÒ ¼ö ÀÖ¾î¾ß ÇÕ´Ï´Ù.


3.4. ¾îµð¼­ ¼ÒÇÁÆ®¿þ¾î¸¦ ¾ò³ª?

¿ì¼± OpenLDAP ¼ÒÇÁÆ®¿þ¾î°¡ ÇÊ¿äÇÕ´Ï´Ù.

참고: ¹Ì¸® ¸¸µé¾îÁø OpenLDAP ¼ÒÇÁÆ®¿þ¾î´Â(¿¹: RPM) shell backend Áö¿øÇÏ°Ô ±¸¼ºµÇÁö ¾Ê´Â´Ù¸é ÀÛµ¿ÇÏÁö ¾ÊÀ» ¼ö ÀÖ½À´Ï´Ù.

´ÙÀ½ÀÇ »çÀÌÆ®¿¡¼­ OpenLDAP¸¦ ´Ù¿î ¹ÞÀ» ¼ö ÀÖ½À´Ï´Ù.. ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/ or any mirror.

NetMeeting directory kit´Â ´ÙÀ½ÀÇ »çÀÌÆ®¿¡¼­ ´Ù¿î ¹ÞÀ» ¼ö ÀÖ½À´Ï´Ù. http://www.freesoft.org/software/NetMeeting/download.

´ÙÀ½ÀÇ »çÀÌÆ®¿¡¼­ http://www.perl.org, ¹ÞÀ» ¼ö ÀÖ´Â Perl 5°¡ ÇÊ¿äÇÏÁö¸¸, ´ëºÎºÐ ¸®´ª½º ¹èÆ÷ÆÇ¿¡´Â PealÀÌ ÀÌ¹Ì Æ÷ÇԵǾî ÀÖ½À´Ï´Ù. ¶ÇÇÑ Perl¿¡ ÀνºÅçµÇ°í ´Ù¿î ÇÒ ¼ö ÀÖ´Â Perl CPAN archive·ÎºÎÅÍ ¾òÀ» ¼ö ÀÖ´Â Net::LDAP ¸ðµâÀÌ ÇÊ¿äÇÕ´Ï´Ù.

[root@y2k baccala]# perl -MCPAN -e shell

cpan shell -- CPAN exploration and modules installation (v1.58)
ReadLine support enabled

cpan> install Net::LDAP

... much output omitted ...

  /usr/bin/make install -- OK

cpan>

Àü¿¡ CPANÀ» »ç¿ëÇÏÁö ¾Ê¾Ò´Ù¸é, ¸ÕÀú ±¸¼ºÁú¹®¿¡ ´äÇØ¾ß ÇÒ °ÍÀÔ´Ï´Ù. Çѹø ÀÌ¶óµµ CPANÀ» ±¸¼ºÇß´Ù¸é, Net::LDAP ¸ðµâÀº ÀÚµ¿À¸·Î ´Ù¿î, ÄÄÆÄÀÏ, ÀνºÅç µÉ °ÍÀÔ´Ï´Ù.


3.5. ¼³Ä¡

OpenLDAP¸¦ ¼³Ä¡Çϱâ À§Çؼ­´Â ¾à 60MBÀÇ µð½ºÅ© ¿ë·®ÀÌ ÇÊ¿äÇÕ´Ï´Ù. open-ldap-2.0.x.tgz¸¦ Ç®°í ±¸¼ºÇÕ´Ï´Ù.

참고: Backend functionÀ¸·Î "-enable-shell"À» ¹Ýµå½Ã ÁÖ¾î¾ß ÇÕ´Ï´Ù.

bash$ ./configure --enable-shell
      

Now build and install it with:

bash$ make

... much output omitted ...

bash# make install
      

ÇÁ·Î±×·¥Àº ÀϹÝÀûÀ¸·Î ´ÙÀ½ÀÇ µð·ºÅ͸® ¹Ø¿¡ ¼³Ä¡ µÉ °Í ÀÔ´Ï´Ù./usr/local:

표 2. OpenLDAP °¡ »ç¿ëÇÏ´Â µð·ºÅ͸®

/usr/local/lib °øÀ¯¶óÀ̺귯¸®
/usr/local/bin Ãß°¡, »èÁ¦, LDAP Searching Ŭ¶óÀ̾ðÆ® ÀÌÁøÆÄÀÏ
/usr/local/sbin raw µ¥ÀÌŸº£À̽º¸¦ ´Ù·ç´Â À¯Æ¼¸±Æ¼ ÇÁ·Î±×·¥. Æò»ó½Ã ÀÛ¾÷¿¡´Â »ç¿ëÇÏÁö ¾ÊÀ½
/usr/local/libexec slapdÀÌÁøÆÄÀÏÀ» Æ÷ÇÔÇÏ´Â ´Ù¾çÇÑ ¼­¹ö ÇÁ·Î±×·¥
/usr/local/etc/openldap ±âº» ¼³Á¤ ÆÄÀÏÀÌ ÀÖ´Â °÷
/usr/local/etc/openldap/schema LDAP ¼­¹ö¿¡ ÀÇÇؼ­ »ç¿ëµÇ´Â ´Ù¸¥ ½ºÅ°¸¶
/usr/local/var/... LDAP ¼­¹öÀÇ µ¥ÀÌŸ º£À̽º°¡ À§Ä¡ÇÏ´Â °÷ (¼­ºê µð·ºÅ͸®¿¡ »ý±è)
/usr/local/man/... °ü°èµÇ´Â ¹®¼­°¡ ÀÖ´Â °÷

OpenLDAP¸¦ ÀνºÅçÇÑ ÈÄ ÇÏ´Â ´ÙÀ½ ÀÛ¾÷Àº ³Ý¹ÌÆà µð·ºÅ͸® Å°Æ®¸¦ ¼³Ä¡ÇÏ´Â °ÍÀÔ´Ï´Ù. ´ÙÀ½ ¸í·É¾î·Î ndk.tgz¸¦ ¾ÐÃàÇØÁ¦ÇÕ´Ï´Ù Untar ndk.tgz. ¾ÕÀÇ ÆÄÀÏÀº ´ÙÀ½ÀÇ ÆÄÀϵéÀ» °¡Áö°í ÀÖ½À´Ï´Ù.

표 3. NetMeeting directory kit ÆÄÀϵé

netmeeting.perl ³Ý¹ÌÆà ÇÁ·ÎÅäÄÝÀÇ ¿¡·¯¸¦ °íÄ¡´Â ÆÞ ½ºÅ©¸³Æ®
netmeeting.schema LDAP ¼­¹ö°¡ ÀÌ¿ëÇÏ´Â ÀϹÝÀûÀÎ ³Ý¹ÌÆà ½ºÅ°¸¶
slapd.conf ¸¶½ºÅÍ LDAP¼­¹öÀÇ ¿¹Á¦ ¼³Á¤ ÆÄÀÏ
slapd2.conf ½½·¹À̺ê LDAP ¼­¹öÀÇ ¿¹Á¦ ¼³Á¤ ÆÄÀÏ
initialize ½½·¹À̺ê LDAP µ¥ÀÌŸº£À̽º¸¦ ÃʱâÈ­ Çϱâ À§Çؼ­ Çѹø »ç¿ëµÇ´Â ½ºÅ©¸³Æ®
slapd.rc /etc/rc.d/ script
nmaddentry ³Ý¹ÌÆà µð·ºÅ͸®¿¡ entry¸¦ Ãß°¡ÇÏ´Â ÆÞ ½ºÅ©¸³Æ®
nmdirectory ³Ý¹ÌÆà µð·ºÅ͸®¸®¸¦ ÁúÀÇÇÏ´Â Perl/Tk ½ºÅ©¸³Æ®

netmeeting.perl ÆÄÀÏÀ» /usr/local/libexec µð·ºÅ͸®¿¡ netmeeting.schema ÆÄÀÏÀº /usr/local/etc/openldap/schema µð·ºÅ͸®¿¡ º¹»çÇÕ´Ï´Ù. ±×¸®°í slapd.conf¿Í slapd2.conf¸¦ /usr/local/etc/openldap µð·ºÅ͸®¿¡ Ä«ÇÇÇÕ´Ï´Ù. LDAP µ¥ÀÌŸº£À̽º¸¦ ÀúÀåÇϱâ À§Çؼ­ ´ÙÀ½ÀÇ µð·ºÅ͸®¸¦ ¸¸µé°í ¸ðµç »ç¶÷ÀÌ »ç¿ëÇÒ ¼ö ÀÖµµ·Ï Æ۹̼ÇÀ» ¿­¾îÁÝ´Ï´Ù. /usr/local/var/openldap-netmeeting

ƯÈ÷ µð·ºÅ͸®¸¦ º¯°æÇϱ⸦ ¿øÇϽŴٸé slapd.conf and slapd2.conf µÎ°³ÀÇ ÆÄÀÏÀ» ¼öÁ¤ÇÏ°í ¼³Á¤À» º¯°æÇϽñ⠹ٶø´Ï´Ù.

µÎ°³ÀÇ slapd¸¦ ½ÇÇàÇÒ ÇÊ¿ä°¡ ÀÖÀ» °ÍÀÔ´Ï´Ù. Çϳª´Â Æ÷Æ® 389°¡ ¹ÙÀεù µÈ ÀÌÈÄ·Î root¿¡ ÀÇÇؼ­ ¹Ýµå½Ã ½ÃÀ۵Ǿî¾ß ÇÕ´Ï´Ù. ¿¹¹æ Á¶Ä¡¸¦ À§Çؼ­ -u ¿É¼ÇÀ¸·Î Æ÷Æ®°¡ ¹ÙÀεù µÈ ÀÌÈÄ·Î ±ÇÇÑÀÌ ¾ø´Â »ç¿ëÀÚ°¡ chown¸í·É¾î·Î slapd¸¦ º¯°æÇÏ´Â °ÍÀ» ¸·À» ¼ö ÀÖ½À´Ï´Ù. ¶Ç ´Ù¸¥ slapd´Â slapd2.conf¸¦ »ç¿ëÇϴµ¥, ±ÇÇÑÀÌ ¾ø´Â »ç¿ëÀÚ°¡ Æ÷Æ®¸¦ »ç¿ëÇÏ´Â °ÍÀ» ¸·°í, Çã¿ëµÈ Æ÷Æ®¸¸ÀÌ database µð·ºÅ͸®¸¦ ¾µ ¼ö ÀÖ°Ô ÇÕ´Ï´Ù.

bash# /usr/local/libexec/slapd -f /usr/local/etc/openldap/slapd.conf -u nobody
bash$ /usr/local/libexec/slapd -h ldap://localhost:2345/ -f /usr/local/etc/openldap/slapd2.conf
      

ÇϳªÀÇ ±¸¼º¿ä¼Ò¸¦ slave database¿¡ ÃʱâÈ­ÇØ¾ß ÇÕ´Ï´Ù. ÀÌ°ÍÀº Å°Æ® ¾È¿¡ Æ÷ÇÔµÈ initialize½ºÅ©¸³Æ®¸¦ ½ÇÇàÇÏ´Â °ÍÀ¸·Î Çѹø ¼öÇàµË´Ï´Ù. "rootdn"°ú "rootpw" ¿£Æ®¸®´Â slave config ÆÄÀÏ¿¡¼­ ÃʱâÈ­ ½ºÅ©¸³Æ®¸¦ ¿¢¼¼½º Çϵµ·Ï Çã¿ëÇØ ÁÝ´Ï´Ù. ¶ÇÇÑ -D ¿Í -w¿É¼Çµµ ½ºÅ©¸³Æ® ³»¿¡¼­´Â ¹Ýµå½Ã °°¾Æ¾ß ÇÕ´Ï´Ù. Çѹø single parent entry·Î µ¥ÀÌÅÍ º£À̽º¸¦ ÃʱâÈ­ Çß´Ù¸é ±×°ÍÀÌ Áß¿äÇÏÁö ¾Ê´õ¶óµµ "rootdn"°ú "rootpw"¸¦ slapd2.conf ¿¡¼­ È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.

¼­¹ö´Â ÇöÀç ½ÇÇàµÇ¾î¾ß ÇÕ´Ï´Ù. /etc/rc.d/¿¡ ÀÖ´Â ½ºÅ¸ÀÏ ÃʱâÈ­ ½ºÅ©¸³Æ®ÀÎ(·¹µåÇÞ°ú °°Àº) slapd.rc´Â slapd°¡ ÀÚµ¿ÀûÀ¸·Î ½ÃÀÛ È¤Àº ÁßÁö ÇÒ ¼ö ÀÖµµ·Ï µµ¿Í ÁÝ´Ï´Ù.


3.6. Server Security

À§¿Í °°ÀÌ, ¼­¹ö ¼ÒÇÁÆ®¿þ¾î³ª ÆÞ ½ºÅ©¸³Æ®¿¡¼­ ¹ö±×¸¦ Àâ±â À§Çؼ­ º¸¾ÈÀÌ Æı« µÉ °¡´É¼ºÀ» ÁÙÀ̸鼭 ±ÇÇÑ ¾ø´Â »ç¿ëÀÚÀÇ slapd¸¦ ½ÇÇàÇÕ´Ï´Ù. ¹°·Ð ÀÌ ÀÛ¾÷Àº ´©±¸¿¡°Ô³ª ÀÐ°í ¾µ ¼ö ÀÖ´Â ±ÇÇÑÀ» Á־ ¸ðµç »ç¿ëÀÚ°¡ database directoryÀÇ slave server¸¦ ¾÷µ¥ÀÌÆ® ÇÒ ¼ö ÀÖµµ·Ï ÇØ¾ß ÇÕ´Ï´Ù. ÀÌ°ÍÀº ³Ý¹ÌÆà Ŭ¶óÀ̾ðÆ®°¡ ½º½º·Î ÀÎÁõÀ» ÇÒ ¼ö ¾ø±â ¶§¹®¿¡ ³ªÅ¸³­ º¸¾È ¹®Á¦¿Í´Â ´Ù¸¥ °ÍÀÔ´Ï´Ù. ÀÌ¿Í °°ÀÌ µ¥ÀÌÅͺ£À̽º µð·ºÅ͸®°¡ Á»´õ º¸È£µÇ¾î ÀÖ´Ù°í Çصµ, ·ÎÄà ȤÀº ¸®¸ðÆ® È£½ºÆ®ÀÇ ´©±¸¶óµµ µ¥ÀÌÅͺ£À̽ºÀÇ entryµéÀ» Áö¿ì°Å³ª ȤÀº ¼öÁ¤ÇÒ ¼ö ÀÖ°Ô LDAP Ŭ¶óÀ̾ðÆ® ÇÁ·Î±×·¥À» »ç¿ëÇÒ ¼ö ÀÖ´Â °ÍÀÔ´Ï´Ù.


3.7. À©µµ¿ìÁî 2000ÀÇ DNS ¹®Á¦

À©µµ¿ì 2000Àº LDAP¸¦ Æ÷ÇÔÇÏ´Â ·ÎÄà ³×Æ®¿öÅ©ÀÇ ¹ßÀüµÈ ÀǹÌÀÇ DNS SRV (RFC 2782)¸¦ ¼öÁ¤ÇÒ ¼ö ÀÖ´Â ±â´ÉÀ» °¡Áý´Ï´Ù. À©µµ¿ì 2000ÄÄÇ»ÅͷκÎÅÍ LDAP¼­¹ö·ÎÀÇ ¿¬°áÀÌ Áö¿¬µÇ´Â °ÍÀ» ÇÇÇϱâ À§Çؼ­´Â SRV records°¡ DNS·ÎºÎÅÍ º¸È£µÇ¾î¾ß ÇÕ´Ï´Ù. ISC Bind´Â ¹öÀü 8.2.2 ÀÌÈÄ·Î SRV·¹Äڵ带 Áö¿øÇÕ´Ï´Ù. Bind FAQ¿¡¼­ ±â¼úµÇ¾î ÀÖ´Â °Í°ú °°ÀÌ, "check-names ignore" ¿É¼Ç¿¡ DNS nameÀ¸·Î _(¹ØÁÙ)À» ¾µ¼ö ÀÖµµ·Ï Çã¿ëµÇ¾î¾ß ÇÕ´Ï´Ù. ¸¶ÀÌÅ©·Î ¼ÒÇÁÆ®¿¡¼­ ±â¼úÇÑ °Í¿¡ ÀÇÇÏ¸é ±âº»ÀûÀ¸·Î ´ç½ÅÀÇ ³Ý¹ÌÆà ¼­¹öÀ̸§ÀÌ "ils.freesoft.org"À̶ó°í ÇÑ´Ù¸é, Microsoft Active Directory´Â "_msdcs.ils.freesoft.org"À̶ó´Â ¼­ºê µµ¸ÞÀÎ »ç¿ëÀ» ¿øÇÕ´Ï´Ù. ÀÌ ¼­ºê µµ¸ÞÀÎ ¾È¿¡¼­ "gloabal catalog"´Â "gc._msdcs.ils.freesoft.org" ·Î È£ÃâµÇ¾î Áö°í, ÀÌ "gloabal catalog"ÀÇ LDAP SRV recordµµ "_ldap._tcp.gc._msdcs.ils.freesoft.org"À̸§À¸·Î È£ÃâµË´Ï´Ù. ´ç½ÅÀÇ DNS database entry´Â ´ÙÀ½°ú °°ÀÌ º¸ÀÏ °ÍÀÔ´Ï´Ù.

$ORIGIN _msdcs.ils.freesoft.org.

_ldap._tcp.gc     IN     SRV     1 1 389 ils.freesoft.org.
      

¾ÆÁ÷ À©µµ¿ì 2000 ½Ã½ºÅÛÀ» °¡Áö°í ÀÖÁö ¸øÇϱ⠶§¹®¿¡ À§ÀÇ »çÇ×À» Å×½ºÆ® Çغ¸Áö ¸øÇß½À´Ï´Ù. ÀÌ¿¡ ´ëÇÑ ÀÇ°ßÀ» Áشٸé ÁÁ°Ú½À´Ï´Ù.


3.8. ´Ù¸¥ LDAP service¿Í °°ÀÌ »ç¿ëÇϱâ

À§ÀÇ ÀνºÆ®·°¼ÇÀº LDAP¼­¹ö°¡ ¿ÀÁ÷ ³Ý¹ÌÆà µð·ºÅ͸® ¼­ºñ½º·Î¸¸ »ç¿ëµÇ°í ÀÖ´Ù´Â °ÍÀ» °¡Á¤ÇÕ´Ï´Ù. ÇϳªÀÇ ¼­¹ö·Î ³Ý¹ÌÆà µð·ºÅ͸® ¼­ºñ½º »Ó¸¸ ¾Æ´Ï¶ó ´Ù¸¥ LDAP¼­ºñ½º¸¦ ¿øÇÑ´Ù¸é ¾î¶³±î¿ä? ¿ÀÁ÷ ÇϳªÀÇ ¼­¹ö¸¸ÀÌ 389Æ÷Æ®·Î ¹Ù¿îµå µÉ ¼ö ÀÖ½À´Ï´Ù. ±×·¯³ª OpenLDAP´Â ±¸¼ºÆÄÀÏ¿¡¼­ LDAP namespaceÀÇ °¢°¢ ¼­·Î ´Ù¸¥ ºÎºÐÀ» ÁöÁ¤ÇÒ ¼ö ÀÖ´Â multiple database sectionsÀ» Çã¿ëÇÕ´Ï´Ù. ³Ý¹ÌÆÃÀº ¿ÀÁ÷ "objectClass=RTPerson" ¼­ºêÆ®¸®¸¸À» ÀÌ¿ëÇÕ´Ï´Ù. ±×·¡¼­ ´ç½ÅÀÌ ÀÌ subtree¸¦ ÇÇÇØ °¥ ¼ö ÀÖ´Ù¸é, ´Ù¸¥ µ¥ÀÌÅͺ£À̽º¿Í ´Ù¸¥ subtree¸¦ additional database section¿¡ ±¸¼ºÇÏ¿© Ãß°¡ ÇÒ ¼ö ÀÖ½À´Ï´Ù. °¡Àå Å« ¹®Á¦´Â ´ç½ÅÀÌ ÀϹÝÀûÀΠǥÁØ schema¿Í ³Ý¹ÌÆà schema°¡ Ãæµ¹ÇÏ´Â ¹®Á¦¸¦ ¸¸³¯Áöµµ ¸ð¸¥´Ù´Â °ÍÀÔ´Ï´Ù. ³Ý¹ÌÆà ½ºÅ°¸¶°¡ Ç¥ÁØ ½ºÅ°¸¶º¸´Ù ´õ ÀÚÀ¯·Î¿öÁø ÀÌ·¡·Î Ç¥ÁØ schema¿Í Ãæµ¹ ¹®Á¦°¡ »ý±æ¼ö ÀÖ½À´Ï´Ù. LDAP RFC¿Í OpenLDAP¹®¼­¿¡¼­ LDAP¸¦ ¼­¹ö ¼³Á¤¿¡ °üÇÑ ´õ ¸¹Àº Á¤º¸¸¦ º¼ ¼ö ÀÖ½À´Ï´Ù.


4. ¼ÒÇÁÆ®¿þ¾î »ç¿ë¹ý

4.1. Á÷Á¢ ¿¬°á

OpenH323ÀÇ ohphoneÇÁ·Î±×·¥À» ³Ý¹ÌÆà ÇÁ·Î±×·¥°ú ¹Ù·Î ¿¬°á ÇÒ ¼ö ÀÖ°Ô »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. -n ¿É¼ÇÀº ´ç½ÅÀÌ ³Ý¹ÌÆà Ŭ¶óÀ̾ðÆ®ÀÇ DNS nameÀ̳ª ȤÀº IP ÁÖ¼Ò¿¡ gatekeeper¸¦ »ç¿ëÇÏÁö ¾ÊÀ» ¶§ ÀÌ¿ëÇÕ´Ï´Ù.

bash$ ohphone -n 208.130.48.22
      

¶ÇÇÑ ohphoneÀ» ´Ù¸¥ ³Ý¹ÌÆà ÇÁ·Î±×·¥À¸·ÎºÎÅÍ È£ÃâÀ» ¹ÞÀ» ¶§ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.

bash$ ohphone -n
      

ºñµð¿À ÄÁÆÛ·±½Ì°ú ÄÚµ¦ ¼±ÅÃ, ÀÚµ¿ ÀÀ´äµî Ãß°¡ÀûÀÎ »çÇ׿¡ ´ëÇؼ­ ohphoneÀÇ ¹®¼­¿¡¼­ È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.


4.2. Directory Operation

À§¿¡¼­ ±â¼úÇÑ °Í°ú °°ÀÌ ³Ý¹ÌÆà µð·ºÅ͸® Å°Æ®·Î µ¿ÀÛÇÏ´Â LDAP¼­¹ö¸¦ °¡Áö°í ÀÖ´ÂÁö È®ÀÎÇØ¾ß ÇÕ´Ï´Ù.

On the NetMeeting client, select the Tools -> Options ³Ý¹ÌÆà ÇÁ·Î±×·¥¿¡¼­ ¼³Á¤ âÀ» ¿­±âÀ§ÇØ Tools -> Options À» ¼±ÅÃÇÕ´Ï´Ù. "General" (NetMeeting 3) ȤÀº "Calling"(NetMeeting 2) ÅÜ¿¡ "Directory Settings"À̶ó´Â ºÎºÐÀÌ ÀÖ½À´Ï´Ù. ¿©±â¿¡ ´ç½Å ¼­¹öÀÇ DNS name ȤÀº IPÁÖ¼Ò¸¦ ÀÔ·ÂÇÒ ¼ö ÀÖ½À´Ï´Ù. "Log on to directory server when NetMeeting starts" üũ¹Ú½º¸¦ ¼±ÅÃÇÑ´Ù¸é, ³Ý¹ÌÆà Ŭ¶óÀ̾ðÆ®´Â ÀÚµ¿À¸·Î ¼­¹ö¿¡ ÀÚµ¿À¸·Î ¿¬°áÇÏ°í µî·ÏÇÏ°Ô µË´Ï´Ù. ¶ÇÇÑ Call -> Log on À» ¼±ÅÃÇÏ¿© ½º½º·Î µð·ºÅ͸® ¼­¹ö¿¡ Á¢¼Ó ÇÒ ¼ö ÀÖ½À´Ï´Ù.

»ç¿ëÀÚ°¡ Call -> Directory ¼±ÅÃÇß´Ù¸é LDAP¼­¹ö¿¡ µî·ÏµÈ ¸ðµç »ç¿ëÀÚ¸¦ º¸¿©Áִ âÀÌ ¶ß°Ô µË´Ï´Ù. »ç¿ëÀÚÁß ÇѸíÀÇ À̸§À» ´õºí Ŭ¸¯ÇÏ¸é ±× »ç¿ëÀÚ ¿¬°áµË´Ï´Ù.

¸®´ª½º¿¡¼­ NetMeeting LDAP serverÀÇ ÁúÀÇ´Â Á¦´ë·Î µ¿ÀÛÇÕ´Ï´Ù. ÇÏÁö¸¸ ÀÌ°ÍÀº ¼ÓÀÓ¼ö°¡ ¾Æ´Õ´Ï´Ù. ¿Ö³ÄÇÏ¸é ¸ðµç Ŭ¶óÀ̾ðÆ® IPÁÖ¼Ò´Â µµÆ® ½ÊÁø¼ö°¡ ¾Æ´Ñ ½ÊÁø¼ö·Î ÀúÀåµÇ±â ¶§¹®ÀÔ´Ï´Ù. ¿¹¸¦ µé¸é IP ÁÖ¼Ò 63.216.69.197´Â 3309688895·Î ÀúÀåµË´Ï´Ù. ¿©±â¿¡ ³Ý¹ÌÆà IP ÁÖ¼Ò Çü½ÄÀ» µµÆ® ½ÊÁø¼ö¿Í ½ÊÁø¼ö·Î º¯È¯ÇÒ ¼ö ÀÖ´Â ÆÞ Äڵ尡 ÀÖ½À´Ï´Ù.

# Convert $addr (IP address or DNS name) to a NetMeeting decimal IP address

use Socket;
$bytestring = inet_aton($addr);
if (defined $bytestring) {
    ($sipaddress) = unpack('V', $bytestring);
} else {
    die "Can't resolve $addr\n";
}

# Convert $sipaddress (from a NetMeeting LDAP server) into dotted decimal form

$packedipaddr = pack 'V', $sipaddress;
$ipaddress = join '.', unpack('C4',$packedipaddr);

³Ý¹ÌÆà µð·ºÅ͸® Å°Æ®¿¡ Æ÷ÇԵǾî ÀÖ´Â nmdirectory´Â ³Ý¹ÌÆà LDAP ¼­¹ö¸¦ ÁúÀÇ¿Í µî·ÏµÈ Ŭ¶óÀ̾ðÆ®¸¦ º¸¿©ÁÖ´Â °£´ÜÇÑ ÆÞ ½ºÅ©¸³Æ®ÀÔ´Ï´Ù. ÀÌ°ÍÀº ¸Å¿ì ¿ø½ÃÀûÀÌ°í ´ëÇü µ¥ÀÌÅͺ£À̽º¿¡¼­´Â Àß µ¿ÀÛÇÏÁö ¾Ê´Â °Íó·³ º¸ÀÌÁö¸¸, ³Ý¹ÌÆà LDAP¼­¹ö·ÎºÎÅÍ ¾î¶»°Ô °á°ú¸¦ ãÀ» °ÍÀÎÁö¸¦ ¾Ë·ÁÁÖ´Â ±âÃÊÀûÀÎ ¿¹°¡ µÉ ¼ö ÀÖ½À´Ï´Ù.


4.3. À¥Æä¿¡Áö¿¡ ¸µÅ© °É±â

¸¶ÀÌÅ©·Î ¼ÒÇÁÆ® ÀÎÅÍ³Ý Internet Explorer´Â ³Ý¹ÌÆà ÁÖ¼Ò·Î Á¤ÀÇµÈ µÎ°³ÀÇ ÇüÅ Áß ÇϳªÀÎ "callto:" URLÀ» ÀÌÇØ ÇÒ ¼ö ÀÖ½À´Ï´Ù. "callto:" URLÀÌ ¼±ÅõǸé Internet Explorer´Â ³Ý¹ÌÆÃÀ» ½ÇÇàÇÏ°í ÁöÁ¤µÈ ÁÖ¼Ò·Î ¹Ù·Î ¿¬°áÇÕ´Ï´Ù.

ù¹ø° URL Çü½ÄÀÎ "callto:destination"¿¡¼­ destinationÀº ³Ý¹ÌÆÃÀÌ H.323 connectionÀ» Æ÷Æ® 1720À» ÅëÇؼ­ ¿¬°áÇÏ´Â IP ÁÖ¼Ò È¤Àº DNS nameÀ» ÀǹÌÇÕ´Ï´Ù. ÀÌ Çü½ÄÀº Á÷Á¢ ´Ù¸¥ ³Ý¹ÌÆà ȤÀº OpenH323Ŭ¶óÀ̾ðÆ®·Î ¿¬°áÇϴµ¥ »ç¿ëµË´Ï´Ù.

µÎ¹ø° Çü½ÄÀÎ "callto:server/alias"´Â 'alias'ÀÇ CN attribute¿Í 'server'¸¦ LDAP ¼­¹ö¿¡¼­ °Ë»öÇÏ´Â °úÁ¤À» °ÅĨ´Ï´Ù. ÇØ´ç ÀÚ·á°¡ ¹ß°ßµÇ¸é ÇØ´ç ÀÚ·á(entry)ÀÇ sipAddress attribute°¡ ÁöÁ¤ÇÏ°í ÀÖ´Â IP ÁÖ¼Ò·Î ¿¬°áÇÕ´Ï´Ù. ³Ý¹ÌÆà Ŭ¶óÀ̾ðÆ®´Â ±âº»ÀûÀ¸·Î CN attribute¿¡ »ç¿ëÀÚÀÇ ÀÌ ¸ÞÀÏ ÁÖ¼Ò¸¦ µî·ÏÇÕ´Ï´Ù. ÀÌ ¸ÞÀÏ ÁÖ¼Ò¸¦ ±âÃÊ·Î ÇÏ´Â µð·ºÅ͸®¸¦ °Ë»öÇÒ ¶§ µÎ¹ø° Çü½ÄÀ» »ç¿ëÇÕ´Ï´Ù.


4.4. ¿µ±¸ÀûÀÎ µð·ºÅ͸® Entry

³Ý¹ÌÆà Ŭ¶óÀ̾ðÆ®°¡ LDAP µð·ºÅ͸® entryÀÇ ÀڷḸÀº ¾Æ´Õ´Ï´Ù. permanent directory entryµéÀº OpenLDAP Ŭ¶óÀ̾ðÆ® ÅøÀ» ÀÌ¿ëÇؼ­ LDAP¼­¹ö¿¡ ¼öÀÛ¾÷À¸·Î ÀÔ·ÂµÉ ¼ö ÀÖ½À´Ï´Ù. AttributeµéÀÌ ÀûÇÕÇÏ°Ô Á¤ÀÇ µÇ¾î ÀÖ´Ù°í °¡Á¤Çϸé ÀÌ·¯ÇÑ entryµéÀº ³Ý¹ÌÆà µð·ºÅ͸® ¸®½ºÆ®¿¡¼­ ³ªÅ¸³¯ ¼ö ÀÖ°í "callto:"URL·Îµµ »ç¿ëµÉ ¼ö ÀÖ½À´Ï´Ù. ÀÌ°ÍÀº LDAP¼­¹ö¿¡ entryµéÀÌ ½º½º·Î°¡ µî·ÏµÇÁö ¸øÇÏ´Â OpenH323 Ŭ¶óÀ̾ðÆ®°¡ ÀÖÀ» ¶§ À¯¿ëÇÕ´Ï´Ù.

µð·ºÅ͸® entryµéÀ» °£´ÜÇÏ°Ô ¸¸µé±â À§Çؼ­´Â nmaddentry ½ºÅ©¸³Æ®°¡ ³Ý¹ÌÆà µð·ºÅ͸® Å°Æ®¿¡ Æ÷ÇÔ µË´Ï´Ù. ÀÌ°ÍÀº »ç¿ë ¹®±¸ ¾øÀÌ ½ÇÇàÇÕ´Ï´Ù. ¿¹¸¦ µé¸é ´ç½ÅÀÌ "y2k.freesoft.org" µµ¸ÞÀο¡ ohphoneÀ» ½ÇÇàÇÑ´Ù¸é, ´ç½ÅÀº "baccala@freesoft.org"¶ó´Â º°¸íÀ» ÀÌ¿ëÇؼ­ "ils.freesoft.org"ÀÇ LDAP¼­¹ö¿¡ ´ÙÀ½°ú °°ÀÌ µî·ÏÇÒ ¼ö ÀÖ½À´Ï´Ù.

bash$ nmaddentry -h ils.freesoft.org baccala@freesoft.org y2k.freesoft.org
Successfully added cn=baccala@freesoft.org, objectclass=rtperson
bash$
      

ÀÌ entry´Â ³Ý¹ÌÆà µð·ºÅ͸® ¸®½ºÆ®¿¡¼­ ³ªÅ¸³ª¸ç ils.freesoft.org/baccala@freesoft.org ¶ó´Â ÁÖ¼Ò·Î »ç¿ëµÉ ¼ö ÀÖ½À´Ï´Ù. ÀÌ entry´Â 30ºÐ ÈÄ¿¡ ÀÚµ¿À¸·Î ŸÀÓ ¾Æ¿ô µË´Ï´Ù. ŸÀӾƿôÀÌ ¾È µÇ´Â Permanent Directory Entry¸¦ ¸¸µé±â À§Çؼ­´Â -p ½ºÀ§Ä¡¸¦ »ç¿ëÇÏ°Ô µÇ´Âµ¥, ÀÌ·¯ÇÑ ¹æ¹ýÀº¿ÀÁ÷ ³Ý¹ÌÆà µð·ºÅ͸® Å°Æ®¸¦ ÀÌ¿ëÇÏ´Â OpenLDAP ¼­¹ö¿¡¼­¸¸ ÀÛµ¿ÇÕ´Ï´Ù. Permanent Directory Entry¸¦ Á¦°ÅÇϱâ À§Çؼ­´Â nmaddentry¿¡ ÀÇÇؼ­ µ¹·Á ¹Þ´Â LDAP ±¸ºÐÀ̸§À» OpenLDAP ÇÁ·Î±×·¥¿¡ °°ÀÌ ¹èÆ÷µÈ ldapdeleteÇÁ·Î±×·¥¿¡ »ç¿ëÇØ¾ß ÇÕ´Ï´Ù.

bash$ ldapdelete -h ils.freesoft.org 'cn=baccala@freesoft.org,objectclass=rtperson'
bash$
      

4.5. ¿©·¯°³ÀÇ º°¸í(Aliase) »ç¿ëÇϱâ

³Ý¹ÌÆà Ŭ¶óÀ̾ðÆ®¿¡ ÀÇÇؼ­ µî·ÏµÈ attributeµéÀº 'sport'¸¦ Æ÷ÇÔÇÕ´Ï´Ù. TCP Æ÷Æ® ³Ñ¹ö´Â È£ÃâµÇ´Â H.323 ¿ä±¸¸¦ µéÀ» ¼ö ÀÖ½À´Ï´Ù. ±×·¯³ª ÀÌ attribute´Â ã±â ¿äû ¾È¿¡¼­ Àý´ë·Î °¡Á®¿Ã ¼ö ¾ø½À´Ï´Ù. ÀÌ°ÍÀº À¯¿ëÇÏÁö ¾Ê´Â °Í °°½À´Ï´Ù. »ç½Ç»ó, ³Ý¹ÌÆÃÀº Ç×»ó 1720Æ÷Æ®·Î H.323 Ä¿³Ø¼ÇÀ» ¿¬°áÇÏ°í ÀÖ½À´Ï´Ù. ±×·¸´Ù¸é ½Ì±Û IP ÁּҷκÎÅÍ ´ÙÁßÀÇ º°¸íÀ» ¾î¶»°Ô »ç¿ëÇÒ ±î¿ä?

¿­¼è´Â OpenH323 CVS archive¿¡ Æ÷ÇԵǾî ÀÖ´Â forwarderÇÁ·Î±×·¥ÀÌ ÇÏ´Â ÀÏ¿¡ ÀÖ½À´Ï´Ù. forwarder´Â 1720Æ÷Æ®¿¡¼­ Ä¿³Ø¼ÇÀÌ ÀÖ´ÂÁö Ç×»ó ±â´Ù¸³´Ï´Ù. ±×¸®°í È£ÃâµÇ¾îÁø º°¸íµéÀ» ±âÃÊ·Î ¿¬°áµéÀ» Àç Àü¼ÛÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÌ°ÍÀº ohphone À̳ª openam °°Àº ÇÁ·Î±×·¥ÀÌ »ç¿ëÇϴ ƯÁ¤ Æ÷Æ® ³Ñ¹ö·Î °¢ À͸íÀÌ Àü¼ÛµÇ¾îÁö´Â È£ÃâµéÀ» Çã¿ëÇÕ´Ï´Ù.

º°¸íÀ» ÀÌ¿ëÇϱâ À§Çؼ­´Â °¢ º°¸í¸¶´Ù entry¸¦ °¡Áö°í ÀÖ´Â LDAPµð·ºÅ͸®°¡ ¿ä±¸ µË´Ï´Ù. °¢ º°¸í entry´Â º°¸íÀÇ 'cn' attribute¿Í forwarder°¡ »ìÇÇ°í Àִ ȣ½ºÆ®ÀÇ IP ÁÖ¼ÒÀÇ 'sipAddress' attribute·Î Á¤ÀÇ µÇ¾ß ÇÕ´Ï´Ù.

³ª´Â ¼º°øÀûÀ¸·Î ´Ù¾çÇÑ ÇÁ¶óÀ̺ø Æ÷Æ®¿Í ¸®¸ðÆ® ½Ã½ºÅÛ »ó¿¡¼­ ÇϳªÀÇ È£½ºÆ®·Î LDAP ¼­¹ö(Æ÷Æ® 389)¿Í forwarder(Æ÷Æ® 1720) ±×¸®°í ohphone¿Í openam Ŭ¶óÀ̾ðÆ®¸¦ ±¸¼ºÇÒ ¼ö ÀÖ¾ú½À´Ï´Ù.


4.6. ÀÚµ¿ ÀÀ´ä±â »ç¿ëÇϱâ

OpenH323ÀÇ ÀÚµ¿ÀÀ´ä±â ÇÁ·Î±×·¥ÀÎ openamÀº H.323 ¿¬°á È£ÃâµéÀ» µéÀ» ¼ö ÀÖ½À´Ï´Ù. ±×¸®°í ¹Ì¸® ³ìÀ½µÈ ¸Þ½ÃÁö¸¦ Àç»ý ÇÒ ¼ö ÀÖ°í ¾î¶°ÇÑ À½¼ºµµ ÆÄÀÏ·Î º¸³»¾î ³ìÀ½ÇÒ ¼ö ÀÖ½À´Ï´Ù. ¿¬°á ¿äûÀÇ ³¡¿¡¼­ ³ìÀ½µÈ À½¼ºÀ» À̸ÞÀÏ·Î º¸³»´Â °Í°ú °°Àº ´Ù¸¥ ÇÁ·Î±×·¥À» ½ÇÇàÇÒ ¼ö ÀÖµµ·Ï ¼±ÅÃÀûÀ¸·Î ±¸¼ºÇÒ ¼ö ÀÖ½À´Ï´Ù.

ÀÌ ÀÚµ¿ÀÀ´ä ÇÁ·Î±×·¥Àº ÇöÀç(2000³â 12¿ù) main address¿¡ ´äº¯ÀÌ ¾øÀ» ¶§ ¿¬°á ¿äûÀ» Àç Àü¼ÛÇÒ ¼ö ¾ø½À´Ï´Ù. gatekeeperÇÁ·Î±×·¥ÀÌ ÀÌ ±â´ÉÀ» Áö¿øÇÏÁö ¸øÇÏ°í Àֱ⠶§¹®ÀÔ´Ï´Ù. »ç¿ëÇϱâ Á» ºÒÆíÇÕ´Ï´Ù. ±×¸®ÇÏ¿©, ÀÌ ÀÚµ¿ÀÀ´ä ÇÁ·Î±×·¥Àº ohphone ÇÁ·Î±×·¥ÀÌ --forward-no-answer ¿Í --forward-busy ¿É¼ÇÀ» »ç¿ëÇÏ¿© ¿¬°á ¿äûÀ» ÀçÀü¼ÛÇϵµ·Ï ±¸¼ºµÇ°í, main address¿¡¼­ ½ÇÇàµÇ°í ÀÖÀ» ¶§¸¸ ÀÛµ¿ÇÒ ¼ö ÀÖ½À´Ï´Ù


4.7. Conference Calls

OpenH323 CVS archive ¾È¿¡ ÀÖ´Â openmcuÇÁ·Î±×·¥Àº H.323 Multipoint Control Unit (MCU)À» ¼öÇàÇÕ´Ï´Ù. ¿©·¯ °³ÀÇ ³Ý¹ÌÆà ȤÀº ohphoneŬ¶óÀ̾ðÆ®µéÀÌ ÄÁÆÛ·±½º ÄÝ°ú MCU·Î ¿¬°áÇÒ ¼ö ÀÖ°Ô ÇØ ÁÝ´Ï´Ù. 2000³â 12¿ù ±îÁö ´ÙÁß ¿¬°áÀÇ ½Å·Úµµ¿Í Ç°ÁúÀº Á» ¹®Á¦°¡ ÀÖ½À´Ï´Ù. ÇÏÁö¸¸ Èñ¸ÁÀûÀ¸·Î °³¼± µÇ¾î °¡°í ÀÖ½À´Ï´Ù.


4.8. Routing Calls Through NAT

H.323 Æ®·¹ÇÈÀÌ NAT(IP Masquerade) ¶ó¿ìÅ͸¦ Åë°ú Çϱâ À§Çؼ­´Â Ưº°ÇÑ µµ¿òÀÌ ¿ä±¸ µË´Ï´Ù. NAT ¶ó¿ìÅÍ°¡ ¸®´ª½º¿¡¼­ ½ÇÇàµÇ°í ÀÖ´Ù¸é ´ÙÀ½ »çÀÌÆ®¿¡ ÀÖ´Â masquerading ¸ðµâÀÌ µµ¿òÀÌ µÉ °Í ÀÔ´Ï´Ù http://www.coritel.it/projects/sofia/nat.html.

참고: Àú´Â ¾ÆÁ÷ À§ÀÇ ¼ÒÇÁÆ®¿þ¾î¸¦ Å×½ºÆ® Çغ¸Áö ¾Ê¾Ò½À´Ï´Ù.


4.9. ÀϹÝÀûÀÎ ±¸¼ºµé

¼­¹öÀÇ È°¿ëÀº 'netmeeting.perl' ½ºÅ©¸³Æ®¸¦ ¼öÁ¤Çؼ­ ±¸¼º ÇÒ ¼ö ÀÖ½À´Ï´Ù. ¿¹¸¦ µé¸é ÀÌ¿ëÇÒ ¼ö ¾ø´Â entryÀÇ ¿äûÀº openam ÀÚµ¿ÀÀ´ä ÇÁ·Î±×·¥¿¡°Ô Á¢±ÙÇÒ ¼ö ¾øµµ·Ï ±¸¼ºµÈ "forwarder" ÇÁ·Î±×·¥À¸·Î ÀçÀü¼Û µÉ ¼ö ÀÖ¾î¾ß ÇÕ´Ï´Ù. ÀÌ¿Í °°ÀÌ ÀÌ¿ëÇÒ ¼ö ¾ø´Â »ç¿ëÀÚ¿¡ ´ëÇÑ ¿¬°á ¿äûÀº ³ìÀ½µÇ°í ÀÀ´äµÉ ¼ö ÀÖÀ» °ÍÀÔ´Ï´Ù.

OpenH323'sÀÇ °³¹ßÀÌ Áö¼ÓµÊ¿¡ µû¶ó, ±â¼úÀÌ Áö´ÉÈ­ µÇ´Â °ÍÀ» ±â´ëÇÒ ¼ö ÀÖ½À´Ï´Ù. ¿¹¸¦ µé¸é ¸ÕÀú º§ÀÌ ¿ï¸®°Å³ª ÁÖ¾îÁø ½Ã°£¿¡ ÀÀ´äÀÌ ¾ø´Ù¸é ÀÚµ¿ÀÀ´ä±â·Î ¿äûÀÌ Àü¼ÛµÇ´Â °Í°ú °°Àº °Í ¸»ÀÔ´Ï´Ù. ¾î¶² ±â´ÉµéÀº gatekeeper¾È¿¡ °ÅÀÇ Æ÷Ç﵃ °ÍÀÔ´Ï´Ù.


5. ¹ö±×Àâ±â

³Ý¹ÌÆà µð·ºÅ͸® Å°Æ®¸¦ µð¹ö±ëÇϱâ À§Çؼ­´Â Brent Baccala ´Â ÆäŶÀ» ÃßÀûÇϱâ À§Çؼ­ ethereal(http://ethereal.zing.org/)À» ÀÌ¿ëÇϵµ·Ï Á¦¾È Çß½À´Ï´Ù. ÀÌ°ÍÀº LDAP¸¦ Áö¿øÇϱ⿡ ¸Å¿ì ÁÁ½À´Ï´Ù. ¶ÇÇÑ ¾ð±ÞµÇÁö ¾Ê´Â "netmeeting.perl" ½ºÅ©¸³Æ® Áß ÀÌ·¯ÇÑ ÃßÀû±â´ÉÀ» ÀÌ¿ëÇÒ ¼ö ÀÖ´Â ¿É¼ÇÀÌ ÀÖ½À´Ï´Ù.

´ç½ÅÀº ¶ÇÇÑ -d 768 ¿É¼ÇÀ» ÀÌ¿ëÇÏ¿© slapds¸¦ ½ÇÇàÇÏ¿© µð¹ö±ë ÇÒ ¼ö ÀÖ½À´Ï´Ù. ÇÏÁö¸¸ ¸Þ½ÃÁö°¡ Á» È¥¶õ½º·¯¿ï ¼ö ÀÖ½À´Ï´Ù.

H.323À» µð¹ö±ë Çϱâ À§Çؼ­´Â ¸ðµç OpenH323 Ŭ¶óÀ̾ðÆ® ÇÁ·Î±×·¥¿¡ "-t" and "-o" ¿É¼ÇÀ» »ç¿ëÇϽñ⠹ٶø´Ï´Ù.


A. LDAP attributes used by NetMeeting

Distinguished Names (DNs) used by NetMeeting must always end in "objectclass=rtperson". The following LDAP attributes are used by NetMeeting:

표 A-1. NetMeeting LDAP attributes

objectClassmust be "RTPerson"
cnalias used for directory lookups; must be present
sappidmust be "ms-netmeeting"
sprotidmust be "h323"
sprotmimetypetypically "text/h323"; unused
smimetypetypically "text/iuls"; unused
sflagsmust be 1
sappguidunknown
smodopunknown
sipaddressdecimal IP address
sportTCP port number; unused
ssecurityunknown
sttlentry timeout value in minutes
ctwo digit country code
rfc822mailboxemail address
givennameoptional
surnameoptional
commentoptional
locationoptional
ilsa393216301 = personal; 2 = business; 4 = adult
ilsa328335660 = not audio capable; 1 = audio capable
ilsa329646380 = not video capable; 1 = video capable
ilsa262144300 = not in a call; 1 = currently in a call
ilsa26279966unknown

NetMeeting uses a non-standard means of refreshing dynamic entries. The Microsoft server maintains an "sttl" attribute, which is a time to live for the entry in minutes. A search request for attribute "sttl" resets the timer. If the timer goes to zero, the entry is supposed to disappear from the database. Of course, the sttl attribute doesn't actually exist in the database, and the client doesn't bother to give us the whole DN it wants updated, only supplying the "cn" component in the search request.


B. NetMeeting LDAP protocol violations

As mentioned, NetMeeting violates the LDAP protocol in several ways. For the record, NetMeeting:

  • Doesn't structure Distinguished Names (DNs) properly

    NetMeeting puts the most significant elements in the DN first, instead of last, using:

    		C=US, O=Microsoft, CN=xxx@abc.com, OBJECTCLASS=rtperson
                

    instead of the proper formating, which is:

                  CN=xxx@abc.com, O=Microsoft, C=US
                
  • Doesn't include the required "objectclass" attribute

    Instead, it tacks an "OBJECTCLASS" element to the end of the DN, as shown above.

  • Doesn't insert parents into the LDAP server

    This is a clear violation of the LDAP standard, which requires parents to exist before children can be created. I.e, to insert this DN:

                  CN=xxx@abc.com, O=Microsoft, C=US
                

    this DN must already exist:

    		O=Microsoft, C=US
                

    as must this one:

    	      C=US
                
  • Doesn't understand attribute aliases, and is therefore unable to recognize that "sn" and "surname" refer to the same attribute.

  • Requires that attributes in a search request be returned in exactly the same order they were requested, a requirement not guaranteed by the OpenLDAP server.

  • Specifies "base" scope in search requests, when it really should use "sub", since it wants a list of entries, not just one

  • Uses the "%" character as wildcard in search requests, instead of the "*" character specified by the standard.

  • Uses a non-standard means of refreshing dynamic entries.

    The Microsoft server maintains an "sttl" attribute, which is a time to live for the entry in minutes. A search request for attribute "sttl" resets the timer. If the timer goes to zero, the entry is supposed to disappear from the database. NetMeeting 2 supplies an "sttl" attribute, but NetMeeting 3 doesn't actually create the "sttl" attribute at all. Also, the client doesn't bother to give us the whole DN it wants updated, only supplying the "cn" component.


C. Interoperation with Cisco

Both NetMeeting and OpenH323 can interoperate with Cisco's voice capable routers. To successfully initiate calls from a Cisco to an OpenH323 (i.e, Linux) client, the G.711 codec must be explicitly specified. For example, with the following configuration, dialing "911" on the Cisco will place a call to a Linux system (10.1.1.1) running OpenH323:

dial-peer voice 911 voip
 destination-pattern 911
 session target ipv4:10.1.1.1
 codec g711ulaw
    

To call from Linux to a Cisco, use ohphone with a number@host argument. number should be a phone number that's been configured on the Cisco using a dial-peer statement. For example, this will call number "111" on a Cisco (10.1.1.10):

bash$ ohphone -n 111@10.1.1.10
    

To call from NetMeeting to a Cisco, select the Cisco as a gateway. To do this from NetMeeting, select Tools->Options. For NetMeeting 2, select Audio, check the box labeled "Use H.323 gateway", and enter the Cisco's DNS or IP address. For NetMeeting 3, select General+Advanced Calling..., check the box labeled "Use a gateway..." (not gatekeeper) and enter the Cisco's address. Now, you can type a phone number directly into NetMeeting's address panel and it will be relayed to the Cisco and resolved there, using the Cisco's configured dialing rules. If you're using NetMeeting 2, you'll need to select "H.323 Gateway" from the "Call using:" list when you initiate the call.


D. ¹ø¿ªÀÚÀÇ µ¡ºÙÀÌ´Â ±Û

´ëºÎºÐÀÇ ±ÛÀ» Çѱ۷Π¹ø¿ªÇß½À´Ï´Ù. ±×Áß ¿ë¾îµéÀº ¿µ¾î¸¦ ±×´ë·Î ¾²°íÀÚ Çß½À´Ï´Ù.(¾û¼ºÇÑ ¿ë¾î ¹ø¿ªÀº ±ÛÀ» Àдµ¥ ´õ ºÒÆíÀ» µå¸± °Í °°¾Æ¼­...) ÀÌ ¹®¼­¿¡ Ʋ¸° ºÎºÐÀ̳ª ÁöÀûÇÏ½Ç »çÇ×ÀÌ ÀÖÀ¸½Ã¸é ¿¬¶ô Áֽñ⠹ٶø´Ï´Ù.


ID
Password
Join
Your mode of life will be changed for the better because of good news soon.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2003-08-10 11:52:29
Processing time 0.0021 sec