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

沒有留言:

How to restore a deleted onenote page

復原不小心誤刪的onenote