ldap’s 每日log紀錄

讓sql-relay檔案可以每天另存一個新檔這篇做法
也來讓ldap的log可以每天記錄在不同的檔案內 Continue reading

Posted in Linux, OpenLDAP | Leave a comment

man slapd.access

SLAPD.ACCESS(5) SLAPD.ACCESS(5) Continue reading

Posted in OpenLDAP | 1 Comment

man slapo_ppolicy

SLAPO_PPOLICY(5) SLAPO_PPOLICY(5) Continue reading

Posted in OpenLDAP | 2 Comments

OpenWebmail’s LDAP 支援多OU登入

一般在設定LDAP的時候會利用多個ou來區分使用者
例如宜大就區分了admin、policy、club、teacher、unit、stu90……..等多個群組
可是發現在openwebmail的auth_ldap.conf中只能設定單一群組
也就是說非設定的ou就無法使用了…. Continue reading

Posted in Linux, OpenLDAP | Leave a comment

temp.php in OpenLDAP

這主要是用來修改原本的ldif資訊
原本是採用預設的Account的object
後來因為想要讓管理者可以輸入使用者中文名字的描述
所以改用inetOrgPerson這一個object
並且加入sn、displayname等資訊 Continue reading

Posted in OpenLDAP | Leave a comment

FreeRadius EAP-TTLS auth

這一篇也是要補的~~

Posted in Linux, Radius | Leave a comment

PWS’s LDAP已死….

沒啦~~停掉而已
所以做個紀錄
這是之前偵測slapd有沒有掛掉的script~
Continue reading

Posted in Linux, OpenLDAP | Leave a comment

OpenLDAP Debug Mode

一般都知道freeradius的debug mode是以”radiusd -X”執行
那麻openldap呢?
其實指令差不多
/usr/sbin/slapd -d log階級 -t -f 設定檔
這樣就行囉

Posted in OpenLDAP | Leave a comment

OpenLDAP匯入資料庫

從之前的紀錄 OpenLdap 重建設定檔 可以知道怎麻產生新的設定檔
這次很囧的是想說要重用就直接把 /etc/openldap/slapd.d 跟 /var/lib/ldap 兩個目錄內的資料都清空掉
當要重建設定檔的時候卻發生找不到 db 的問題
當要去匯入 db 的時候卻發生設定檔不對的情況……= =+
Continue reading

Posted in OpenLDAP | Leave a comment

無法使用SCP

當執行SCP命令傳檔時卻發現下列問題
bash: scp:命令找不到
主要還是因為使用最小化安裝
目的端並沒有預設安裝到我所想要的套件啊…..

所以請在目的端安裝openssh-clients就行了!!

Posted in Linux | Leave a comment