ããã§ã¯ãOpenLDAPã®å©ç¨æ¹æ³ããã¼ã¿å®ç¾©ãã¡ã¤ã«ã®ã¹ãã¼ãã«ã¤ãã¦ã®ãä¸è¬çãªãã¨ã解説ãã¾ãã
ããã§ã¯ãOpenLDAPã®å©ç¨æ¹æ³ããã¼ã¿å®ç¾©ãã¡ã¤ã«ã®ã¹ãã¼ãã«ã¤ãã¦ã®ãä¸è¬çãªãã¨ã解説ãã¾ãã
smb.confã«ã¯OSã®ã¦ã¼ã¶ç®¡çãè¡ãããã®ã³ãã³ããadd user scriptãªã©ã¨ãã¦è¨å®ããå¿ è¦ããããpassdb backendãã©ã¡ã¼ã¿ã«ãã£ã¦å¤ããå¿ è¦ãããã 第3åã®smb.confã®è¨å®ã«passdb backend=ldapsamã®å ´åã®è¨å®ã示ãã¦ããããTDBSAMãSMBPASSWDã®å ´åã¯è¨å®ãå¤ããå¿ è¦ãããä¸ãäºåæºåã大å¤ãªã®ã§ããã§ã¯å²æããã ã¦ã¼ã¶ããã¼ã¸ã£ãå©ç¨ããã«ã¯ãSambaãµã¼ãã«ç®¡çè 権éã§æ¥ç¶ããå¿ è¦ãããã管çè ã¯ä¸è¨ã®smb.confã®è¨å®ã§ç¤ºããããã«admin usersã«æå®ãããã¦ã¼ã¶ã¨ãªãï¼Domain Adminsã°ã«ã¼ãã«æå±ããã¦ã¼ã¶ã§ã¯ãªãï¼ ãã¡ã¤ã³æ§æã«ãã¦ããå ´åã®æ¨å¥¨ãããå©ç¨æ¹æ³ã¯ããã¡ã¤ã³ã«åå ãã¦ããWindowsã¯ã©ã¤ã¢ã³ãããadmin usersã«æå®ããã¦ã¼ã¶ã§ãã¡ã¤ã³ãã°ãªã³ãã¦U
ã»ã·ã³ã°ã«ãµã¤ã³ãªã³ã¨ã¯ä¸ã¤ã®IDã¨ãã¹ã¯ã¼ãã§æ§ã ãªã¢ããªã±ã¼ã·ã§ã³ã®èªè¨¼å¦çãè¡ããã¨ã ã»ç§ãå¤åãã¦ããä¼ç¤¾ã§ããã°ãªã³ããã¼ããã¡ã¼ã«ã¯åãIDã¨ãã¹ã¯ã¼ããå©ç¨ãã¦ããã ã»ä»åã¯ããããã·ãµã¼ããSquidãã使ãå ´åã¨EJBãµã¼ããJBossã使ãå ´åã«ææ¦ããã ã»ã¤ã³ã¿ã¼ãããã«éè¦ãªãã¦ãã¦ãå ¬éãã¦ããçæ§ã«æè¬ãããã ãã·ã³ã°ã«ãµã¤ã³ãªã³ãã¨ããè¨èãèãããã¨ãããã§ããããï¼ä¸ã¤ã®IDã¨ãã¹ã¯ã¼ããæ§ã ãªã¢ããªã±ã¼ã·ã§ã³ã§ä½¿ããããã«ãããã¨ã§ããããããã¨ãæ å ±ã·ã¹ãã ã®å©ä¾¿æ§ã¯é常ã«é«ããªãã¾ãã ä¸ã¤ã®IDã¨ãã¹ã¯ã¼ãã ãã§ãããããªã¢ããªã±ã¼ã·ã§ã³ãæä½ã§ããã¨ããã®IDã¨ãã¹ã¯ã¼ããæ¼ãã¦ãã¾ã£ãã¨ãã«å½±é¿ã大ãããªã£ã¦ãã¾ãã®ã§ãæ©å¯ã¨ããé¢ã§ã¯è¯ããªãã¨ãã人ããã¾ãã ã§ããã¢ããªã±ã¼ã·ã§ã³ãã¨ã«ãã¹ã¯ã¼ããå¿ è¦ã ã¨ããã¹ã¯ã¼ãã®
-Linux- Kernel.org RedHatLinux FedoraLinux TurboLinux TurboLinux-cuickin ftp.turbolinux.co.jp SUSELinux SSJV SuSE APT For RPM SUSEã¡ã¼ã«ã¢ã¼ã«ã¤ã SlackwareLinux VineLinux Debian GNU/Linux Debian JP Project Debian Backport PKG Debian UNOFFICIAL PKG UserLinux.com -Users Link- UNIX Life ãã³ã®ã³ã®æ ãããã¯ã¼ã¯ã¨ã³ã¸ãã¢ã«ãªããï¼ ãããã®ããã°ã©ãã¼ãºã©ã¦ã³ã¸ UNIXãã¾å°ç§ CYBERAM Documents Linuxåéºç´è¡ UNIX/Linuxã³ãã³ã Topi
âBack|âIndex æ¢åã¢ã«ã¦ã³ãã® LDAP ã¸ã®ç§»è¡ LDAP ãèªè¨¼ã«ä½¿ããã¨ã§ãLinux ãã·ã³ã®ã¢ã«ã¦ã³ãã®çµ±åãè¡ãªããã¨ãã§ãã¾ããã¾ããSAMBA ã¨ä½µç¨ãããã¨ã§ Windows ã¾ã§å«ããèªè¨¼ã®çµ±åãã§ããããã«ãªãã¾ãããµã¼ãå°æ°ãã¯ã©ã¤ã¢ã³ã人æ°ã«ãã£ã¦ã¯ç®¡çã®æéãå¤§å¹ ã«è»½æ¸ããã¾ãã nss_ldap ããã±ã¼ã¸ã®ã¤ã³ã¹ãã¼ã« LDAP ã使ç¨ãã¦èªè¨¼ãè¡ãªãã«ã¯ nss_ldap ããã±ã¼ã¸ãå¿ è¦ã«ãªãã¾ããRedHat Linux 8.0 ã®å ´å㯠nss_ldap-198-3.i386.rpm ãã¤ã³ã¹ãã¼ã«ãã¾ãã # rpm -ivh nss_ldap-198-3.i386.rpm nss_ldap ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ãã㨠/etc/ldap.conf ã¨ãããã¡ã¤ã«ãã¤ã³ã¹ãã¼ã«ããã¾ãããã®ãã¡ã¤ã«ã® base ã¨ã³ããªãé©åã«è¨å®
ãã®ããã¥ã¡ã³ããåèã«ãã¦ã¯ããã¾ãããåã°ã£ãã§ãã ãããªæãã§ä»ã¡ããã¨ããã®ãæ¸ãç´ãã¦ãã®ã§ãããã¾ã§ã®ãè¾æ±ã 2003å¹´6æä¸ã«ã¯æ¸ãä¸ãã¦å ¬éãã¾ãã samba_with_ldap.html written by Ryo SHIMIZU Ver1.0: ã¨ãããããã¹ã¦ã®æé ãè¨è¼ Ver1.1: æ¢åæ å ±ã®ç§»è¡ã«é¢ããæ¿ããééããè¨æ£ããã®ä»åããã«ãã表ç¾ãæé¤ Ver1.1-1 slapd.conf ã® rootpw ã MD5 æå·åãããç¶æ ã§è¨è¿°ããæ¹æ³ã追å ã ãã®ããã¥ã¡ã³ãã«ããã¦ã太åã§ãããã¦ããã¨ããã¯ãå®éã«è¨å®ãã¡ã¤ã«ã«æ¸ãè¾¼ãæååãã ã¤ã¿ãªãã¯ä½ã§ãããã¦ããã¨ããã¯ãã·ã§ã«ã«å ¥åããã³ãã³ããæå³ãã¦æ¸ãã¦ãã¾ãã è¨å®ãã¡ã¤ã«ã«æ¸ãè¾¼ãã£ã½ããããªãã¨ãæ¸ãã¦ãã£ã¦ããããã太åã«ãªã£ã¦ããªããã°ãããã¯ããã¾ã§ãä¾ã¨ãã¦ããã¦ã
æ¢ã«ç¨¼åãã¦ãã Samba 2.2 ãã¡ã¤ã³ã§ããã Windows ãã¡ã¤ã³ã³ã³ããã¼ã©ã¼ã¨ãã¦æ¬æ ¼çã«éå¶ãã¦ã¿ãã¨ã ç´°ããä¸å ·åãã¡ãã£ã¨æ°ã«ãªãç¹ããã£ãããã¾ãã ã¾ããLDAP ãªã©ã使ç¨ããªã㨠Windows ãã¡ã¤ã³ã®ã¦ã¼ã¶ã¼ç®¡çãæ¬æ ¼çã«è¡ããã¨ãã§ãã ï¼æ¹æ³ã¯ãããã©ç¥ããªãã ãï¼ï¼ã ã¦ã¼ã¶ã¼è¿½å ã®éã« UNIX(FreeBSD) ä¸ã§è¿½å ãã¦ãããSamba ã«è¿½å ããã¨ããäºåº¦æéã«ãªãã ã¦ã¼ã¶ã¼ç®¡çãï¼ã¶æã«åæ£ãé常ã«ã¯ç ©éã§ããã æ¬ããã¹ãã¯ãSamba 3.x ã¸ã®ç½®ãæã㨠OpenLDAP ã¸ã®ä¸å 管çã«ç§»è¡ããéã®ã¡ã¢ã§ãã 注æï¼æ¬æã¯ããFreeBSD 5.3ãOpenLDAP ã®è¨å®ã ã«ããç°å¢æ§ç¯ãæ¸ãã§ããç¶æ ãæ³å®ãã¦ãã¾ããå¿ ããã¡ããå ã«åç §ã»è¨å®ãã¦ãã ããã 2.1 libiconv ã®ã¤ã³ã¹ãã¼ã« Samba 3
LDAPãµã¼ãã®æ§ç¯ ä»åã¯ãRed Hat Linux 7.3ããã¼ã¹ã«ãå¿ è¦ãªã½ããã¦ã§ã¢ãã¤ã³ã¹ãã¼ã«ãã¾ããã½ã¼ã¹ãã¡ã¤ã«ã¯ãã¹ã¦/usr/local/srcã«ãã¦ã³ãã¼ãããå±éããã¨ãããã®ãã£ã¬ã¯ããªã§ä½æ¥ãããã¨ãåæã¨ãã¦ãã¾ãã ã¾ããèªè¨¼ãçµ±åããLDAPãµã¼ããæ§ç¯ãã¾ããä»åã¯ã以ä¸ã®ã½ããã¦ã§ã¢ã§æ¤è¨¼ãã¾ããã openldap-stable-20020618.tgz(openldap-2.0.25) http://www.openldap.org/ OpenLDAPã®ã¤ã³ã¹ãã¼ã«ã¨ãµã¼ãã®è¨å® å ¥æããã½ã¼ã¹ã¢ã¼ã«ã¤ããå±éãã¦ã¤ã³ã¹ãã¼ã«ãã¾ããLDAPãµã¼ãç¨ãã¡ã¤ã«ç¾¤ããã¹ã¦/usr/local/ldapãã£ã¬ã¯ããªä»¥ä¸ã«æ ¼ç´ãããããã«ãconfigureã¹ã¯ãªããå®è¡æã«ã--prefix=/usr/local/ldapããªãã·ã§ã³ãæå®ãã¦ãã¾ãã
Zopeã®ããã³ãã¨ã³ãã«apacheãé ç½®ãã¦ãVirtualHostNameãç¨ãã¦Zopeã¸ãããã³ã°ããæ¹æ³ã¯ãã使ãããæ¹æ³ã§ãããä»åFreeBSD(5.2.1)ãµã¼ãã¼ãåæ§ç¯ããéã«apacheã®ãã¼ã¸ã§ã³ã2.0.50ã¸ä¸ããã¨ããmod_proxyã使ããªããªã£ã¦ãã¾ããããªãè¦å´ãã¾ããã apacheãçªå£ã¨ãªãå ´åãä¾ãã° http://www.freia.jp/ ã¨ãããµã¤ãã¸ã®ã¢ã¯ã»ã¹ãapacheãåä¿¡ããéã« http://localhost:8080/ ã¸åãåããã¦çµæããã©ã¦ã¶ã¸è¿ããã¨ãåºæ¥ã¾ããä¾ãã°: ServerAdmin [email protected] ServerName www.freia.jp ErrorLog /var/log/httpd/freia-error.log CustomLog /var/log/httpd/fre
<BODY> <P>ãã¬ã¼ã ããµãã¼ããã¦ããªããã©ã¦ã¶ã¯<A href="page1.htm">ãã¡ã</A>ãã¯ãªãã¯ãã¦ãã ããã</P> </BODY>
Windowsãããã¯ã¼ã¯ç¨çµ±åèªè¨¼ãµã¼ãã¼æ§ç¯(OpenLDAP+Samba) æçµæ´æ°æ¥ï¼ 2014.02.19 <<ããããã¼ã¸ <<æ°çæ å ± <<ãµã¤ãå æ¤ç´¢ <<CentOSã§èªå® ãµã¼ãã¼æ§ç¯ <<Scientific Linuxã§èªå® ãµã¼ãã¼æ§ç¯ â æ¦è¦ Samba+OpenLDAPã«ãããLinuxãµã¼ãã¼ãNTãã¡ã¤ã³ã®ãã©ã¤ããªãã¡ã¤ã³ã³ã³ããã¼ã©ã¨ãã¦æ§ç¯ããWindowsãã¡ã¤ã«ãµã¼ãã¼ã¨ãã¦ã®æ©è½ã®ä»ã«ãLinuxã®ã¦ã¼ã¶ã¨Sambaã®ã¦ã¼ã¶ã®ä¸å 管çãã§ããããã«ããã ããã§ã¯ãLinuxå´ã§ã³ãã³ãã¾ãã¯Userminã«ãããã¹ã¯ã¼ããå¤æ´ããå ´åãWindowså´ã§ãæ°ãããã¹ã¯ã¼ãã§ãã°ãªã³ã§ããããã«ãããã¾ããéãåæ§ã«ã§ããããã«ããã ãªããSambaã«ã¢ã¯ã»ã¹ããªãã¦ã¼ã¶ã«ã¤ãã¦ã¯å¾æ¥ã©ããã®ã¦ã¼ã¶ç®¡çãè¡ããããã«ããã â»SambaãUser
å·çæç¹ã§æ§ç¯ã¯æ¸ãã§ããããã§ããã LDAP ãç解ããã®ã«å¤§å¤è¦å´ãã¾ãããããã¾ã ã«ããåãã£ã¦ãã¾ããã NSS 㯠FreeBSD 5.1 ã§å®è£ ããããã®ã§ããã nsswitch.conf ãåå¨ããªããªã©è²ã ããã¾ãã®ã§ FreeBSD 5.3 以éãæ¨å¥¨ãã¾ãã ã¾ãããã¼ã«ã«ããã±ã¼ã¸ã®èµ·åã¹ã¯ãªããã®ä»æ§ã FreeBSD 5.3 ããå¤ãã£ã¦ãã¾ãã®ã§ããã®ç¹ãã注æãã ããã 2.1 OpenLDAP ã¨ã¯ LDAP ã¨ãããµã¼ãã¹ãæä¾ããããã®ã½ããã®ååã§ãã ã§ã¯ãLDAP ã¨ã¯ä½ãã¨ãã話ã«ãªãã調ã¹ãã¨ããã£ã¬ã¯ããªã¼ãµã¼ãã¹ãã¨åºã¦ãã¾ãã OpenLDAP ã®ããã¥ã¢ã«ã«è§£èª¬ãããã¾ããã ããã¾ãèªãã§ãããã«ã¯ç解åºæ¥ã¾ããã ç°¡åã«èª¬æããã¨ãDNS ã Windows ã®ã¬ã¸ã¹ããªã®ãããªé層çãªãã¼ã¿ã®å ¥ãç©ãªã®ã§ããã ä¸çãäºçãã
LDAP over TLSã§ããã»ãã¥ã¢ã« LDAP over TLSã使ç¨ãããã¨ã§ãLDAPã¨ã®éä¿¡ãããã»ãã¥ã¢ã«è¡ããã¨ãã§ãã¾ããTLSã¯ãéçºããã§ã«çµäºããSSLãããã³ã«ãå¼ãç¶ãã ãããæ°ãããããã³ã«ã§ãã OpenLDAPã§ã¯ããã®TLSã使ç¨ãããã¨ãå¯è½ã§ããOpenLDAPãã½ã¼ã¹ããã¤ã³ã¹ãã¼ã«ãã¦ããå ´åã¯ãconfigureå®è¡æã«ã--with-tlsããªãã·ã§ã³ãæå®ãã¦åã¤ã³ã¹ãã¼ã«ããå¿ è¦ãããã¾ããRPMããã±ã¼ã¸ã使ç¨ãã¦ããå ´åã¯ãè¨å®ãä¿®æ£ããã ãã§LDAP over TLSåã§ãã¾ãã LDAPãµã¼ãã®æºå LDAP over TLSã®ä½¿ç¨ã«éãã¦ãCA証ææ¸ããµã¼ã証ææ¸ããµã¼ãç¨ã®ç§å¯éµãç¨æããå¿ è¦ãããã¾ãã ã¾ããååã®ãAppendixï¼ã½ã¼ã¹ããã®ã¤ã³ã¹ãã¼ã«ãã®ãSSLã®è¨å®ï¼ãµã¼ã証ææ¸ã¨ç§å¯éµã®ç¨æï¼ãã§ç´¹ä»ãã¦ããL
é岡大å¦æ å ±å¦é¨ èªç¶è¨èªå¦çã»ç¥çæè²ã·ã¹ãã ç 究ä¼ã® W⦠Read more »
Sambaã®æ§ç¯ Sambaã®èªè¨¼ãLDAP対å¿ãããããã«æ§ç¯ãã¾ããä»åã¯ã以ä¸ã®ã½ããã¦ã§ã¢ãå©ç¨ãã¦æ¤è¨¼ãã¾ããã samba-2.2.4-ja-1.0.tar.gz http://www.samba.gr.jp/ smbldap-tools-0.7 http://www.samba.gr.jp/ Sambaã®ã¤ã³ã¹ãã¼ã«ã¨è¨å® SambaãLDAPã«å¯¾å¿ãããããã«ãã½ã¼ã¹ããã¤ã³ã¹ãã¼ã«ãã¾ãããã®ããã«ã¯ãconfigureã¹ã¯ãªããå®è¡æã«--with-ldapsamãªãã·ã§ã³ãæå®ãã¾ããæ¤è¨¼ã«éãã¦ã¯ã以ä¸ã®ãªãã·ã§ã³ãæå®ãã¦ã¤ã³ã¹ãã¼ã«ãã¾ããã $ tar zxvf samba-2.2.4-ja-1.0.tar.gz $ cd samba-2.2.4-ja/source $ ./configure --with-quotas --with-ldapsam --wi
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}