2013年7月4日 星期四

How to enable ad account by python-ldap

開始之前,請先注意幾個操作上的注意事項

1.AD server 僅允許使用ssl 進行一些帳號上面的操作,但create account則可以使用一般的ldap操作

   一般ldap:    ldap://xx.xxx.xxx.xx:389

  使用ssl的ldap: ldaps://xx.xxx.xxx.xx.636 

2.關於開啟ssl support on AD server ,請參考下列的文章

https://confluence.atlassian.com/display/CROWD/Configuring+an+SSL+Certificate+for+Microsoft+Active+Directory#ConfiguringanSSLCertificateforMicrosoftActiveDirectory-Step2.ObtaintheServerCertificate

3.關於account的操作,請參考microsoft的文章,以文章的說明舉例,如果要停用使用者帳號就是使用514 (512+2)

2:disable , 512: normal account

http://support.microsoft.com/kb/305144/zh-tw

沒有留言:

demo_article

使用 msty.app 和 Knowledge Stacks 建立個人知識庫系統 說明 嘗試利用local llm自動從文字檔轉成影音檔 利用AI自動對文件檔產生影音檔案 - YouTube 引言 在資訊爆炸的時代,我們每天接收大量的資訊,但如何有效地管理...