{"id":6728,"date":"2018-01-26T01:11:37","date_gmt":"2018-01-25T16:11:37","guid":{"rendered":"https:\/\/chat-messenger.com\/?p=6728"},"modified":"2026-03-22T01:44:46","modified_gmt":"2026-03-21T16:44:46","slug":"active-directory-ldap","status":"publish","type":"post","link":"https:\/\/chat-messenger.com\/vi\/thu-cong\/camserver\/thu-muc-hoat-dong-ldap","title":{"rendered":"Li\u00ean k\u1ebft Active Directory"},"content":{"rendered":"<h2>T\u1ed5ng quan v\u1ec1 t\u00edch h\u1ee3p Active Directory<\/h2>\n\n\n\n<p>CAMServer Enterprise t\u1ea1i ch\u1ed7 gi\u00fap vi\u1ec7c x\u00e1c th\u1ef1c ID tr\u1edf n\u00ean r\u1ea5t d\u1ec5 d\u00e0ng b\u1eb1ng c\u00e1ch li\u00ean k\u1ebft v\u1edbi Active Directory. Nh\u1eefng \u0111i\u1ec1u sau \u0111\u00e2y l\u00e0 c\u00f3 th\u1ec3:<\/p>\n\n\n\n<ul><li><a href=\"https:\/\/chat-messenger.com\/vi\/thu-cong\/install_verup\/ung-dung-web-cam\/\">Phi\u00ean b\u1ea3n \u1ee9ng d\u1ee5ng web<\/a>N\u1ebfu b\u1ea1n s\u1eed d\u1ee5ng , ID x\u00e1c th\u1ef1c Active Directory ban \u0111\u1ea7u s\u1ebd \u0111\u01b0\u1ee3c hi\u1ec3n th\u1ecb trong qu\u00e1 tr\u00ecnh x\u00e1c th\u1ef1c \u0111\u0103ng nh\u1eadp.<\/li><li>Trong x\u00e1c th\u1ef1c ID, hi\u1ec7n c\u00f3 th\u1ec3 x\u00e1c th\u1ef1c kh\u00f4ng c\u1ea7n m\u1eadt kh\u1ea9u v\u00e0 x\u00e1c th\u1ef1c m\u1eadt kh\u1ea9u h\u1ec7 \u0111i\u1ec1u h\u00e0nh.<\/li><li>CAMServer s\u1eed d\u1ee5ng giao th\u1ee9c LDAP c\u1ee7a Active Directory \u0111\u1ec3 x\u00e1c \u0111\u1ecbnh xem x\u00e1c th\u1ef1c ID c\u00f3 th\u00e0nh c\u00f4ng hay kh\u00f4ng.<\/li><\/ul>\n\n\n\n<h2>Li\u00ean k\u1ebft ID Active Directory<\/h2>\n\n\n\n<div class=\"wp-block-columns\">\n<div class=\"wp-block-column\">\n<figure class=\"wp-block-image size-full\"><img width=\"2961\" height=\"1327\" src=\"https:\/\/chat-messenger.com\/wp-content\/uploads\/2024\/03\/image-10.png\" alt=\"\" class=\"wp-image-10770\"\/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column\">\n<p>Khi li\u00ean k\u1ebft ID Active Directory \u0111\u01b0\u1ee3c b\u1eadt, ID \u0111\u0103ng nh\u1eadp s\u1ebd t\u1ef1 \u0111\u1ed9ng \u0111\u01b0\u1ee3c \u0111\u1eb7t n\u1ebfu ng\u01b0\u1eddi d\u00f9ng \u0111\u00e3 \u0111\u01b0\u1ee3c x\u00e1c th\u1ef1c b\u1eb1ng Active Directory.<\/p>\n\n\n\n<p class=\"is-style-icon_announce\">ID \u0111\u0103ng nh\u1eadp c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c \u0111\u1eb7t t\u1ef1 \u0111\u1ed9ng <a href=\"https:\/\/chat-messenger.com\/vi\/thu-cong\/install_verup\/ung-dung-web-cam\/\">Phi\u00ean b\u1ea3n \u1ee9ng d\u1ee5ng web<\/a> Ch\u1ec9 m\u1ed9t.<\/p>\n<\/div>\n<\/div>\n\n\n\n<h2>Ph\u01b0\u01a1ng ph\u00e1p x\u00e1c th\u1ef1c<\/h2>\n\n\n\n<p class=\"is-style-icon_info\"><span class=\"swl-fz u-fz-s\">Tr\u01b0\u1edbc khi l\u01b0u c\u00e0i \u0111\u1eb7t n\u00e0y, h\u00e3y \u0111\u1ea3m b\u1ea3o ho\u00e0n t\u1ea5t c\u00e0i \u0111\u1eb7t LDAP tr\u01b0\u1edbc v\u00e0 th\u1ef1c hi\u1ec7n &quot;Ki\u1ec3m tra c\u00e0i \u0111\u1eb7t LDAP&quot;.<\/span><\/p>\n\n\n\n<div class=\"wp-block-columns\">\n<div class=\"wp-block-column\">\n<figure class=\"wp-block-image size-full\"><img width=\"3100\" height=\"1300\" src=\"https:\/\/chat-messenger.com\/wp-content\/uploads\/2024\/03\/image-11.png\" alt=\"\" class=\"wp-image-10772\"\/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column\">\n<p>Sau khi b\u1eadt li\u00ean k\u1ebft ID Active Directory, b\u1ea1n c\u00f3 th\u1ec3 t\u00f9y \u00fd ch\u1ecdn &quot;X\u00e1c th\u1ef1c kh\u00f4ng m\u1eadt kh\u1ea9u&quot; ho\u1eb7c &quot;X\u00e1c th\u1ef1c m\u1eadt kh\u1ea9u h\u1ec7 \u0111i\u1ec1u h\u00e0nh&quot;.<\/p>\n\n\n\n\n\n\n\n\n<\/div>\n<\/div>\n\n\n\n<h3 id=\"ADPasswordless\">X\u00e1c th\u1ef1c kh\u00f4ng c\u1ea7n m\u1eadt kh\u1ea9u<\/h3>\n\n\n\n<p>Th\u00f4ng tin c\u00f3 th\u1ec3 nh\u1eadn \u0111\u01b0\u1ee3c khi \u0111\u0103ng nh\u1eadp AD s\u1ebd \u0111\u01b0\u1ee3c m\u00e3 h\u00f3a v\u00e0 s\u1eed d\u1ee5ng l\u00e0m m\u00e3 th\u00f4ng b\u00e1o x\u00e1c th\u1ef1c, cho ph\u00e9p \u0111\u0103ng nh\u1eadp d\u1ecbch v\u1ee5 m\u00e0 kh\u00f4ng c\u1ea7n m\u1eadt kh\u1ea9u.<span class=\"swl-marker mark_blue\">Tr\u01b0\u1edbc khi b\u1eadt c\u00e0i \u0111\u1eb7t n\u00e0y, b\u1ea1n c\u1ea7n thi\u1ebft l\u1eadp &quot;Ng\u01b0\u1eddi d\u00f9ng AD \u0111\u1ec3 x\u00e1c th\u1ef1c proxy&quot; v\u00e0 &quot;ki\u1ec3m tra c\u00e0i \u0111\u1eb7t LDAP&quot;.<\/span><\/p>\n\n\n\n<p class=\"is-style-icon_info\"><a href=\"https:\/\/chat-messenger.com\/vi\/thu-cong\/camserver\/windows-auth\/\">\u7d71\u5408Windows\u8a8d\u8a3c\u3067\u306eSSO<\/a> c\u00f3 l\u1ee3i th\u1ebf v\u1ec1 m\u1eb7t b\u1ea3o m\u1eadt.<\/p>\n\n\n\n<p class=\"is-style-big_icon_caution\">\u30fb<span class=\"swl-marker mark_orange\">N\u1ebfu b\u1eadt c\u00e0i \u0111\u1eb7t n\u00e0y, b\u1ea1n s\u1ebd ch\u1ec9 c\u00f3 th\u1ec3 truy c\u1eadp phi\u00ean b\u1ea3n \u1ee9ng d\u1ee5ng web.<\/span><br>\u30fb\u8a2d\u5b9a\u30df\u30b9\u304c\u3042\u308b\u3068\u8ab0\u3082\u30ed\u30b0\u30a4\u30f3\u51fa\u6765\u306a\u304f\u306a\u308a\u307e\u3059\u304c\u3001CAMServer\/boot.ini \u30d5\u30a1\u30a4\u30eb\u306b cam.disableADPasswordless=true \u3092\u8a2d\u5b9a\u3057\u3001CAMServer \u3092\u8d77\u52d5\u3059\u308b\u3068\u300c\u30d1\u30b9\u30ef\u30fc\u30c9\u30ec\u30b9\u8a8d\u8a3c\u300d\u306e\u8a2d\u5b9a\u3092\u7121\u52b9\u5316\u3067\u304d\u307e\u3059\u3002\u7121\u52b9\u5316\u3057\u3066\u8d77\u52d5\u5f8c\u3001\u5404\u7a2e\u8a2d\u5b9a\u3092\u898b\u76f4\u3057\u5fc5\u305a\u300cLDAP\u8a2d\u5b9a\u306e\u30c6\u30b9\u30c8\u300d\u3092\u5b9f\u65bd\u5f8c\u306b\u300c\u30d1\u30b9\u30ef\u30fc\u30c9\u30ec\u30b9\u8a8d\u8a3c\u300d\u3092\u6709\u52b9\u5316\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u6709\u52b9\u5316\u5f8c\u306f cam.disableADPasswordless \u3092cam.ini \u30d5\u30a1\u30a4\u30eb\u304b\u3089\u6d88\u3057\u3066\u304b\u3089\u3001CAMServer \u3092\u518d\u8d77\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h3>X\u00e1c th\u1ef1c m\u1eadt kh\u1ea9u h\u1ec7 \u0111i\u1ec1u h\u00e0nh<\/h3>\n\n\n\n<p>X\u00e1c th\u1ef1c ng\u01b0\u1eddi d\u00f9ng \u0111\u01b0\u1ee3c th\u1ef1c hi\u1ec7n b\u1eb1ng m\u1eadt kh\u1ea9u h\u1ec7 \u0111i\u1ec1u h\u00e0nh.<\/p>\n\n\n\n<p>\u30e6\u30fc\u30b6\u3092\u65b0\u898f\u767b\u9332\u306e\u969b\u306f\u4eee\u306e\u9069\u5f53\u306a\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u767b\u9332\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u300cOS\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u300d\u304c\u6210\u529f\u3057\u305f\u3089\u8a8d\u8a3cOK\u3068\u3057\u3001C&amp;M\u4e0a\u306e\u767b\u9332\u30d1\u30b9\u30ef\u30fc\u30c9\u3082\u4e0a\u66f8\u304d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-icon_pen\">\u30fb\u300cOS\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u300d\u304c\u5931\u6557\u3057\u305f\u5834\u5408\u3067\u3082\u3001C&amp;M\u3078\u30e6\u30fc\u30b6\u767b\u9332\u6642\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u3001\u4e00\u81f4\u3059\u308b\u5834\u5408\u306f\u8a8d\u8a3cOK\u3068\u3057\u307e\u3059\u3002<br>\u30fb\u3053\u306e\u8a2d\u5b9a\u306f <a href=\"https:\/\/chat-messenger.com\/vi\/thu-cong\/camserver\/windows-auth\/\">\u7d71\u5408Windows\u8a8d\u8a3c\u3067\u306eSSO<\/a> \u3068\u306e\u4f75\u7528\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<h2 id=\"LDAP-config\">C\u00e0i \u0111\u1eb7t LDAP<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full is-resized is-style-border\"><img src=\"https:\/\/chat-messenger.com\/wp-content\/uploads\/2026\/03\/image-11.png\" alt=\"\" class=\"wp-image-12763\" width=\"554\" height=\"209\"\/><\/figure>\n\n\n\n<h3>LDAPurl<\/h3>\n\n\n\n<p>\u0110\u00e2y l\u00e0 URL \u0111\u1ec3 t\u00ecm ki\u1ebfm m\u00e1y ch\u1ee7 Active Directory b\u1eb1ng ldap. Ch\u1ec9 \u0111\u1ecbnh \u0111\u1ecba ch\u1ec9 v\u00e0 c\u1ed5ng trong LDAPUrl n\u1ebfu c\u1ea7n. N\u1ebfu tr\u1ed1ng <code>ldap:\/\/localhost:389<\/code> Truy c\u1eadp v\u1edbi . C\u1ed5ng 389 l\u00e0 c\u1ed5ng m\u1eb7c \u0111\u1ecbnh cho ldap.<\/p>\n\n\n\n<p class=\"is-style-icon_pen\">SSL\u304c\u5fc5\u8981\u306a\u5834\u5408\u5834\u5408\u306f\u3001ldaps \u3067 <code>ldaps:\/\/&lt;FQDN&gt;:636<\/code> \u3068\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3>LDAPBaseDN<\/h3>\n\n\n\n<p>LDAPBaseDN\u306f\u3001LDAP \u30b5\u30fc\u30d0\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30c4\u30ea\u30fc\u4e0a\u3067\u3001\u30e6\u30fc\u30b6\u30fc\u3092\u691c\u7d22\u3059\u308b\u958b\u59cb\u4f4d\u7f6e\u3092\u6307\u5b9a\u3059\u308b\u5024\u3067\u3059\u3002\u6539\u884c\u533a\u5207\u308a\u3067\u8907\u6570\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-icon_announce\">CAMServer v4.60.17 \u4ee5\u964d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u306f\u3001\u307b\u3068\u3093\u3069\u306e\u5834\u5408\u672a\u6307\u5b9a\u3067\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002\u904e\u53bb\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3001\u672a\u6307\u5b9a\u306e\u5834\u5408\u3001Users \u30b3\u30f3\u30c6\u30ca\uff08\u4f8bCN=Users,DC=camtest,DC=com\uff09\u306e\u307f\u81ea\u52d5\u3067\u8ffd\u52a0\u3059\u308b\u4ed5\u69d8\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<h4>\u672a\u6307\u5b9a\u306e\u5834\u5408<\/h4>\n\n\n\n<p>\u672a\u6307\u5b9a\u306e\u5834\u5408\u3001\u30e6\u30fc\u30b6\u30fcID\u306e\u30c9\u30e1\u30a4\u30f3\u304b\u3089\u30c9\u30e1\u30a4\u30f3\u30eb\u30fc\u30c8\u306e BaseDN \u3092\u81ea\u52d5\u751f\u6210\u3057\u3001\u30c9\u30e1\u30a4\u30f3\u5168\u4f53\u3092\u691c\u7d22\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001user1@camtest.com \u3068\u8a00\u3046\u30e6\u30fc\u30b6\u3092\u691c\u7d22\u3059\u308b\u5834\u5408\u306e LDAPBaseDN \u306f\u300cDC=camtest, DC=com\u300d\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-columns\">\n<div class=\"wp-block-column\">\n<figure class=\"wp-block-image size-full is-resized is-style-border\"><img src=\"https:\/\/chat-messenger.com\/wp-content\/uploads\/2024\/04\/image-2.png\" alt=\"\" class=\"wp-image-10811\" width=\"290\" height=\"226\"\/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column\">\n<figure class=\"wp-block-image size-full is-style-border\"><img width=\"1159\" height=\"605\" src=\"https:\/\/chat-messenger.com\/wp-content\/uploads\/2024\/04\/image-1.png\" alt=\"\" class=\"wp-image-10809\"\/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<h4>\u6307\u5b9a\u3057\u305f\u5834\u5408<\/h4>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container\">\n<p>\u7d44\u7e54\u5358\u4f4d\uff08OU\uff09\u306b\u30e6\u30fc\u30b6\u304c\u914d\u7f6e\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u500b\u5225\u306b BaseDN \u3092\u6307\u5b9a\u3059\u308b\u4e8b\u3067\u691c\u7d22\u5bfe\u8c61\u3092\u7d5e\u308a\u8fbc\u3080\u904b\u7528\u304c\u53ef\u80fd\u3067\u3059\u3002\u4e0b\u56f3\u3067\u306f\u3001\u55b6\u696d\u90e8\u3001\u7d4c\u7406\u90e8\u306e\u7d44\u7e54\u5358\u4f4d\uff08OU\uff09\u3092\u691c\u7d22\u5bfe\u8c61\u3068\u3059\u308b\u8a2d\u5b9a\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-columns\">\n<div class=\"wp-block-column\">\n<figure class=\"wp-block-image size-full is-resized is-style-border\"><img src=\"https:\/\/chat-messenger.com\/wp-content\/uploads\/2025\/05\/image-1.png\" alt=\"\" class=\"wp-image-11938\" width=\"467\" height=\"207\"\/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column\">\n<p class=\"is-style-icon_pen\"><span class=\"swl-fz u-fz-s\">\u6307\u5b9a\u3057\u305f\u5834\u5408\u3067\u3082\u3001\u65e2\u5b9a\u306e Users \u30b3\u30f3\u30c6\u30ca\uff08CN=Users,DC=yourdomain,DC=com\uff09\u3082\u81ea\u52d5\u7684\u306b\u691c\u7d22\u5bfe\u8c61\u3078\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<h3>Ki\u1ec3m tra ng\u01b0\u1eddi d\u00f9ng AD v\u00e0 c\u00e0i \u0111\u1eb7t LDAP \u0111\u1ec3 x\u00e1c th\u1ef1c \u0111\u01b0\u1ee3c \u1ee7y quy\u1ec1n<\/h3>\n\n\n\n<p>Windows\u7d71\u5408\u8a8d\u8a3c\u3067\u306eSSO\u3084\u30d1\u30b9\u30ef\u30fc\u30c9\u30ec\u30b9\u8a8d\u8a3c\u3092\u884c\u3046\u5834\u5408\u306f\u3001\u4ee3\u7406\u8a8d\u8a3c\u3092\u884c\u3046AD\u30e6\u30fc\u30b6\u3092\u8a2d\u5b9a\u3057\u300cLDAP\u8a2d\u5b9a\u306e\u30c6\u30b9\u30c8\u300d\u3092\u5b9f\u65bd\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>Trong quy tr\u00ecnh x\u00e1c th\u1ef1c \u1edf tr\u00ean, ng\u01b0\u1eddi d\u00f9ng AD th\u1ef1c hi\u1ec7n x\u00e1c th\u1ef1c proxy s\u1ebd th\u1ef1c hi\u1ec7n t\u00ecm ki\u1ebfm LDAP n\u1ed9i b\u1ed9 \u0111\u1ec3 x\u00e1c minh xem \u0111\u00f3 c\u00f3 ph\u1ea3i l\u00e0 ng\u01b0\u1eddi d\u00f9ng AD h\u1ee3p ph\u00e1p hay kh\u00f4ng.<\/p>\n\n\n\n<h2 id=\"ADSync\">C\u00e0i \u0111\u1eb7t \u0111\u1ed3ng b\u1ed9 h\u00f3a Active Directory<\/h2>\n\n\n\n<div class=\"wp-block-columns\">\n<div class=\"wp-block-column\">\n<figure class=\"wp-block-image size-full is-style-border\"><img width=\"1473\" height=\"618\" src=\"https:\/\/chat-messenger.com\/wp-content\/uploads\/2024\/03\/image-9.png\" alt=\"\" class=\"wp-image-10763\"\/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column\">\n<p>Khi c\u00e0i \u0111\u1eb7t \u0111\u1ed3ng b\u1ed9 h\u00f3a Active Directory \u0111\u01b0\u1ee3c b\u1eadt, th\u00f4ng tin s\u1ebd \u0111\u01b0\u1ee3c truy xu\u1ea5t t\u1eeb Active Directory v\u00e0o th\u1eddi \u0111i\u1ec3m \u0111\u01b0\u1ee3c ch\u1ec9 \u0111\u1ecbnh v\u00e0 th\u00f4ng tin ng\u01b0\u1eddi d\u00f9ng trong Chat&amp;Messenger s\u1ebd \u0111\u01b0\u1ee3c c\u1eadp nh\u1eadt.<\/p>\n\n\n\n<p>Th\u00f4ng tin c\u1ea7n c\u1eadp nh\u1eadt s\u1ebd c\u00f3 \u1edf b\u00ean d\u01b0\u1edbi.<\/p>\n\n\n\n<ul><li>T\u00ean ng\u01b0\u1eddi d\u00f9ng...Thu\u1ed9c t\u00ednh t\u00ean hi\u1ec3n th\u1ecb AD<\/li><li>T\u00ean nh\u00f3m...thu\u1ed9c t\u00ednh b\u1ed9 ph\u1eadn AD<\/li><li>Email\u30fb\u30fb\u30fbThu\u1ed9c t\u00ednh email qu\u1ea3ng c\u00e1o<\/li><\/ul>\n<\/div>\n<\/div>\n\n\n\n<h2>C\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p<\/h2>\n\n\n\n<h3>T\u00f4i c\u00f3 th\u1ec3 t\u1ea1o ng\u01b0\u1eddi d\u00f9ng kh\u00f4ng t\u1ed3n t\u1ea1i trong Active Directory kh\u00f4ng?<\/h3>\n\n\n\n<p>N\u1ebfu b\u1ea1n kh\u00f4ng ch\u1ecdn &quot;Kh\u00f4ng m\u1eadt kh\u1ea9u&quot; l\u00e0m ph\u01b0\u01a1ng th\u1ee9c x\u00e1c th\u1ef1c, b\u1ea1n c\u00f3 th\u1ec3 t\u1ea1o t\u00e0i kho\u1ea3n tr\u00ean m\u00e0n h\u00ecnh qu\u1ea3n l\u00fd ng\u01b0\u1eddi d\u00f9ng Chat&amp;Messenger v\u00e0 \u0111\u0103ng nh\u1eadp ngay c\u1ea3 khi ng\u01b0\u1eddi d\u00f9ng \u0111\u00f3 kh\u00f4ng t\u1ed3n t\u1ea1i trong Active Directory.<\/p>\n\n\n\n<h3>T\u00f4i c\u00f3 th\u1ec3 \u0111\u1ed3ng b\u1ed9 h\u00f3a v\u1edbi Active Directory \u0111\u1ec3 t\u1ef1 \u0111\u1ed9ng th\u00eam ng\u01b0\u1eddi d\u00f9ng kh\u00f4ng?<\/h3>\n\n\n\n<p>Hi\u1ec7n t\u1ea1i, Chat&amp;Messenger kh\u00f4ng t\u1ef1 \u0111\u1ed9ng th\u00eam ho\u1eb7c x\u00f3a ng\u01b0\u1eddi d\u00f9ng d\u1ef1a tr\u00ean ng\u01b0\u1eddi d\u00f9ng Active Directory. Do \u0111\u00f3, ngay c\u1ea3 khi b\u1eadt li\u00ean k\u1ebft Active Directory, qu\u1ea3n tr\u1ecb vi\u00ean ph\u1ea3i t\u1ea1o ng\u01b0\u1eddi d\u00f9ng Chat&amp;Messenger b\u1eb1ng m\u00e0n h\u00ecnh \u0111\u0103ng k\u00fd ng\u01b0\u1eddi d\u00f9ng tr\u00ean m\u00e0n h\u00ecnh qu\u1ea3n l\u00fd ho\u1eb7c b\u1eb1ng c\u00e1ch t\u1ea3i l\u00ean CSV.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>\n<figure><img src=\"\/images\/user-admin-userinput.png\" border=\"0\"><\/figure><div class=\"card-img post_img\" style=\"width: 300px!important;\"><\/div>\n<\/td><td> <figure><img border=\"0\" src=\"\/images\/user-admin-csvupload.png\"><\/figure><div class=\"card-img post_img\" style=\"width: 300px!important;\">*T\u1ea3i l\u00ean CSV ch\u1ec9 th\u00eam\/thay \u0111\u1ed5i ng\u01b0\u1eddi d\u00f9ng Chat&amp;Messenger v\u00e0 kh\u00f4ng x\u00f3a h\u1ecd. Vui l\u00f2ng x\u00f3a t\u1eebng m\u1ee5c m\u1ed9t kh\u1ecfi m\u00e0n h\u00ecnh qu\u1ea3n l\u00fd.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 id=\"Get-ADUser\">T\u00f4i mu\u1ed1n l\u1ea5y danh s\u00e1ch ng\u01b0\u1eddi d\u00f9ng Active Directory v\u00e0 t\u1ea1o CSV.<\/h3>\n\n\n\n<p>B\u1ea1n c\u00f3 th\u1ec3 l\u1ea5y danh s\u00e1ch ng\u01b0\u1eddi d\u00f9ng Active Directory b\u1eb1ng c\u00e1ch s\u1eed d\u1ee5ng Get-ADUser c\u1ee7a PowerShell. c\u1ee7a danh s\u00e1ch n\u00e0y <em>T\u00ean hi\u1ec7u tr\u01b0\u1edfng c\u1ee7a ng\u01b0\u1eddi d\u00f9ng<\/em> Vui l\u00f2ng t\u1ea1o t\u1ec7p CSV b\u1eb1ng ID ng\u01b0\u1eddi d\u00f9ng (\u0111\u1ecba ch\u1ec9 email c\u00f4ng vi\u1ec7c) tr\u00ean Chat&amp;Messenger.<\/p>\n\n\n\n<div class=\"hcb_wrap\" data-no-translation=\"\"><pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>&gt; Get-ADUser -Filter {objectClass -eq &quot;user&quot;} -Properties info\n\nDistinguishedName : CN=user1,CN=Users,DC=***,DC=com\nGivenName         : \u30e6\u30fc\u30b6\uff11\nName              : user1\nObjectClass       : user\nObjectGUID        : bf84cdab-2c21-44cf-aaca-afe493d97f2a\nSamAccountName    : user1\nSID               : S-1-5-21-3698402442-2374923176-*****-1104\nSurname           : \u30e6\u30fc\u30b6\uff11\nUserPrincipalName : user1@***.com\n\nDistinguishedName : CN=user2,CN=Users,DC=***,DC=com\nGivenName         : user2\nName              : user2\nObjectClass       : user\nObjectGUID        : 482450a4-482a-40ac-b89b-434605f45571\nSamAccountName    : user2\nSID               : S-1-5-21-3698402442-2374923176-*****-1105\nSurname           : \u30c6\u30b9\u30c8\nUserPrincipalName : user2@***.com\n\n# AD users \u306e\u30ea\u30b9\u30c8\u3092 CSV\u3067\u51fa\u529b\n&gt; $users = Get-ADUser -Filter {objectClass -eq &quot;user&quot;} -Properties UserPrincipalName, GivenName\n&gt; $selectedUsers = $users | Select-Object UserPrincipalName, GivenName\n&gt; $selectedUsers | Export-Csv -Path &quot;C:\\path\\to\\output\\users.csv&quot; -NoTypeInformation<\/code><\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>T\u1ed5ng quan v\u1ec1 li\u00ean k\u1ebft Active Directory CAMServer Enterprise t\u1ea1i ch\u1ed7 s\u1eed d\u1ee5ng Ac [\u2026]<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":""},"categories":[17],"tags":[],"_links":{"self":[{"href":"https:\/\/chat-messenger.com\/vi\/wp-json\/wp\/v2\/posts\/6728"}],"collection":[{"href":"https:\/\/chat-messenger.com\/vi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chat-messenger.com\/vi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chat-messenger.com\/vi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chat-messenger.com\/vi\/wp-json\/wp\/v2\/comments?post=6728"}],"version-history":[{"count":9,"href":"https:\/\/chat-messenger.com\/vi\/wp-json\/wp\/v2\/posts\/6728\/revisions"}],"predecessor-version":[{"id":12772,"href":"https:\/\/chat-messenger.com\/vi\/wp-json\/wp\/v2\/posts\/6728\/revisions\/12772"}],"wp:attachment":[{"href":"https:\/\/chat-messenger.com\/vi\/wp-json\/wp\/v2\/media?parent=6728"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chat-messenger.com\/vi\/wp-json\/wp\/v2\/categories?post=6728"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chat-messenger.com\/vi\/wp-json\/wp\/v2\/tags?post=6728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}