{"id":173985,"date":"2013-03-23T14:30:02","date_gmt":"2013-03-23T10:30:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=173985"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=173985","title":{"rendered":"<span class=\"post_title\">\u041c\u0438\u0433\u0440\u0430\u0446\u0438\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u0434\u043e\u043c\u0435\u043d\u0430 \u0441 SAMBA \u043d\u0430 ActiveDirectory<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/phillihp.com\/wp-content\/uploads\/2012\/12\/Windows-Server-Active-Directory-300x134.png\" alt=\"image\"\/><br \/>  \u0412\u043e\u0442 \u0438 \u043f\u0440\u0438\u0448\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u043d\u0430\u0443\u0447\u043d\u043e\u0433\u043e \u0442\u044b\u043a\u0430, \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0443\u043c\u043d\u044b\u0445 \u043b\u044e\u0434\u0435\u0439 \u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0447\u0430\u0441\u043e\u0432 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u043e\u043c\u043e\u0433\u043b\u0438 \u043c\u043d\u0435 \u043c\u0438\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u043e\u043c\u0435\u043d, \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u043c \u0430\u0434\u043c\u0438\u043d\u043e\u043c \u0441 SAMBA \u043d\u0430 ActiveDirectory.<br \/>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u041c\u043d\u043e\u0433\u0438\u0435 \u0437\u043d\u0430\u044e\u0442 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c SAMBA \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0434\u043e\u043c\u0435\u043d\u0430, \u043d\u043e, \u043f\u043e \u043c\u043e\u0435\u043c\u0443 \u043c\u043d\u0435\u043d\u0438\u044e, \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u0430\u043a \u043b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u043d\u044b\u0439 \u0441\u0442\u0435\u043d\u0434, \u0430 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u0436\u0438\u0437\u043d\u0438 \u043b\u0443\u0447\u0448\u0435 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c. \u042d\u0442\u043e \u0440\u0435\u0448\u0430\u0435\u0442 \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u0430\u043c, \u043c\u0435\u043d\u044f \u043d\u0435 \u0443\u0441\u0442\u0440\u043e\u0438\u043b\u043e \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u044b\u0445 \u043f\u043e\u043b\u0438\u0442\u0438\u043a, \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u0430\u044f \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438, \u0447\u0430\u0441\u0442\u044b\u0435 \u0437\u0430\u0432\u0438\u0441\u0430\u043d\u0438\u044f \u0438 \u043d\u0435\u0438\u043c\u043e\u0432\u0435\u0440\u043d\u044b\u0435 \u0443\u0442\u0435\u0447\u043a\u0438 \u043f\u0430\u043c\u044f\u0442\u0438 (\u0447\u0435\u0440\u0435\u0437 30 \u0434\u043d\u0435\u0439 \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b, \u0438\u043d\u043e\u0433\u0434\u0430, \u043f\u043e\u0436\u0438\u0440\u0430\u044e\u0442\u0441\u044f \u0432\u0441\u0435 16 \u0413\u0438\u0411 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u0438 \u0443\u0442\u0438\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432\u0435\u0441\u044c swap-\u0440\u0430\u0437\u0434\u0435\u043b). \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u043e\u0435\u043c\u0443 \u0442\u0435\u0440\u043f\u0435\u043d\u0438\u044e \u043f\u0440\u0438\u0448\u0451\u043b \u043a\u043e\u043d\u0435\u0446, \u044f \u043f\u043e\u043f\u044b\u0442\u0430\u043b\u0441\u044f \u0441\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u043c\u044b\u0441\u043b\u044f\u043c\u0438 \u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u043f\u044b\u0442\u0430\u043b\u0441\u044f \u044d\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0432 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u0435, \u043d\u043e \u0432\u0441\u0451 \u043d\u0435 \u0431\u044b\u043b\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043f\u043e\u043a\u0430 \u043d\u0435 \u043f\u0440\u0438\u0448\u0451\u043b \u0441\u0438\u0431\u0438\u0440\u0441\u043a\u0438\u0439 \u043f\u0443\u0448\u0438\u0441\u0442\u044b\u0439 \u0437\u0432\u0435\u0440\u0451\u043a \u0438 \u043d\u0435 \u043f\u043e\u043b\u043e\u0436\u0438\u043b \u043f\u043e \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u044b\u043c \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c \u0432\u0441\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0438 \u0437\u0430\u0432\u0438\u0441\u044f\u0449\u0438\u0439 \u043e\u0442 \u043d\u0435\u0433\u043e bind9, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u0430\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b \u0440\u0430\u0431\u043e\u0442\u0443 \u043e\u0444\u0438\u0441\u0430 \u0432 70 \u0447\u0435\u043b\u043e\u0432\u0435\u043a. \u0412\u043e\u0442 \u0442\u0443\u0442-\u0442\u043e \u0438 \u043d\u0430\u0441\u0442\u0430\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u0441\u0440\u043e\u0447\u043d\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430, 2 \u0434\u043d\u044f \u0447\u0442\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u043c\u0430\u043d\u0443\u0430\u043b\u043e\u0432, 2 \u0434\u043d\u044f \u043f\u043e\u043f\u044b\u0442\u043e\u043a \u0432\u0437\u043b\u0435\u0442\u0435\u0442\u044c \u043d\u0430 ActiveDirectory \u043d\u0438 \u043a \u0447\u0435\u043c\u0443 \u043d\u0435 \u043f\u0440\u0438\u0432\u0435\u043b\u0438, \u043f\u043e\u043a\u0430 \u043d\u0435 \u043d\u0430\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u043d\u0430 <a href=\"http:\/\/sysadmins.ru\/post7750072.html\">\u044d\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u044e<\/a> \u0438 \u043e\u043d\u0430 \u0436\u0435 \u043d\u0430 <a href=\"http:\/\/social.technet.microsoft.com\/Forums\/de-DE\/windowsserverru\/thread\/c75c66cb-5621-4ad7-923d-ec22d81cb2b2\">TechNet <\/a>.<br \/>  \u0422\u0430\u043a \u0436\u0435 \u0431\u0438\u043b\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u0441\u043c\u0435\u043d\u044b \u0440\u043e\u043b\u0435\u0439 \u0434\u043e\u043c\u0435\u043d\u0430, \u0442.\u0435. \u0432\u0432\u0435\u0441\u0442\u0438 \u0432 \u043b\u0438\u043d\u0443\u043a\u0441\u043e\u0432\u044b\u0439 \u0434\u043e\u043c\u0435\u043d Windows Server \u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0433\u043e \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c, \u0430 \u0437\u0430\u0442\u0435\u043c \u043f\u043e\u0432\u044b\u0441\u0438\u0442\u044c \u0435\u0433\u043e \u0440\u043e\u043b\u044c \u0434\u043e pdc, \u043d\u043e, \u043a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043b 1 \u0442\u0435\u0441\u0442 \u0432 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u0435 \u2013 \u044d\u0442\u043e \u0431\u044b\u043b\u0430 \u043d\u0435\u0443\u0434\u0430\u0447\u043d\u0430\u044f \u0438\u0434\u0435\u044f, \u0442.\u043a. \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043b\u0438\u0441\u044c \u0432\u0441\u0435 \u0433\u043b\u044e\u043a\u0438 GPO (\u0438\u0445 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u0431\u044b\u043b\u043e), \u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0435\u0449\u0451 \u043a\u0430\u043a\u0438\u0435-\u043b\u0438\u0431\u043e \u043d\u0435\u0434\u043e\u0440\u0430\u0437\u0443\u043c\u0435\u043d\u0438\u044f.<\/p>\n<p>  \u0423 \u043c\u0435\u043d\u044f \u0432\u0441\u0451 \u0436\u0435 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0432\u0441\u0451 \u0441\u0432\u0435\u0441\u0442\u0438 \u043a \u043e\u0434\u043d\u043e\u043c\u0443 \u043d\u0430\u0436\u0430\u0442\u0438\u044e \u043a\u043d\u043e\u043f\u043a\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f <a href=\"http:\/\/www.activestate.com\/activeperl\/downloads\">Active Perl (\u044586)<\/a>, Microsoft Office Excel (\u0434\u0435\u043b\u0430\u043b \u043d\u0430 2003 \u0438 2007), Batch, VBS, \u0430 \u0442\u0430\u043a \u0436\u0435 \u0443\u0442\u0438\u043b\u0438\u0442\u0430 <a href=\"http:\/\/download.chip.eu\/ru\/NewSID_163121.html\">newsid <\/a> (<a href=\"http:\/\/technet.microsoft.com\/en-us\/sysinternals\/bb897418.aspx\">\u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043d\u0430 \u0441\u0430\u0439\u0442\u0435<\/a> \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0443\u0434\u0430\u043b\u0438\u043b\u0438) \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c <a href=\"http:\/\/www.computerperformance.co.uk\/w2k3\/utilities\/acctinfo.htm\">acctinfo<\/a>.<br \/>  \u0412\u0441\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442\u044c \u0432 Windows-\u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0438 \u043d\u0430 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0441\u0442\u0430\u043d\u0446\u0438\u0438, \u0430 \u043f\u043e\u0442\u043e\u043c Windows Server (\u0437\u0434\u0435\u0441\u044c \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0443\u0442\u043e\u0447\u043d\u0438\u0442\u044c, \u0447\u0442\u043e Windows Server \u0431\u044b\u043b 2003 R2 SP2 \u043f\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0441\u043e\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0440\u0430\u0431\u043e\u0442\u0430 \u043d\u0430 \u0431\u043e\u043b\u0435\u0435 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u043d\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0430\u0441\u044c), \u0442\u0430\u043a \u0436\u0435 \u0435\u0441\u0442\u044c \u043e\u0434\u0438\u043d \u043d\u044e\u0430\u043d\u0441, Windows Server \u043b\u0443\u0447\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438, \u0431\u0435\u0437 MUI, \u043f\u043e\u043a\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f, \u043f\u043e\u0442\u043e\u043c \u043d\u0438\u0447\u0442\u043e \u043d\u0435 \u043c\u0435\u0448\u0430\u0435\u0442 \u0435\u0433\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c.<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u0445\u0432\u0430\u0442\u0438\u0442 \u0432\u043e\u0434\u044b, \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c \u043a \u0441\u0430\u043c\u043e\u043c\u0443 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0443.<\/p>\n<p>  \u041f\u0435\u0440\u0435\u0434 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u043c\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u043c\u0438 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0447\u0430\u0442\u044c \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u043d\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u0432 \u043d\u0435\u0439 \u043d\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u044f \u0438 \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u044f (\u044f \u0434\u0430\u0436\u0435 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0435 \u0441\u0442\u0430\u043b, \u043f\u043e\u043a\u0430 \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439).<\/p>\n<p>  \u0414\u043d\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0432\u044b\u0442\u0430\u0449\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0438 \u0433\u0440\u0443\u043f\u043f, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043e\u043d\u0438 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f (\u0443 \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430, \u043d\u0435 \u0432\u0441\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u0441 \u0433\u0440\u0443\u043f\u043f\u0430\u043c\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043d\u0438 \u0432\u0445\u043e\u0434\u044f\u0442, \u043d\u0430\u0434\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c), \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c vbs \u0441\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439<a href=\"http:\/\/gallery.technet.microsoft.com\/scriptcenter\/1af1f056-c945-4d18-a4aa-c244ac1daac7\">\u043d\u0430\u0448\u0451\u043b \u0437\u0434\u0435\u0441\u044c<\/a>, \u043d\u043e \u0435\u0433\u043e \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u0447\u0442\u043e \u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e \u0438 \u043d\u0443\u0436\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b (\u0442\u0430\u043a \u0436\u0435 \u0441\u0442\u043e\u0438\u0442 \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u044c \u0447\u0442\u043e \u044d\u0442\u043e \u043d\u0430\u0434\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0430 \u041f\u041a, \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u043c \u0432 \u0434\u043e\u043c\u0435\u043d \u0438 \u043f\u043e\u0434 \u0434\u043e\u043c\u0435\u043d\u043d\u043e\u0439 \u0443\u0447\u0451\u0442\u043a\u043e\u0439, \u044f \u0434\u0435\u043b\u0430\u043b \u043f\u043e\u0434 \u0443\u0447\u0451\u0442\u043a\u043e\u0439 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430 \u0434\u043e\u043c\u0435\u043d\u0430).<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">export AD User Accounts.vbs<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"vbscript\">On Error Resume Next    strFileName = &quot;Users-Groups-SIDs.xlsx&quot;    Set objShell = CreateObject(&quot;Wscript.Shell&quot;)    strPath = Wscript.ScriptFullName  Set objFSO = CreateObject(&quot;Scripting.FileSystemObject&quot;)    Set objFile = objFSO.GetFile(strPath)  strFolder = objFSO.GetParentFolderName(objFile)      SET objExcelApp = CREATEOBJECT(&quot;Excel.Application&quot;)  SET objWB = objExcelApp.Workbooks.Add  SET objExcel = objWB.Worksheets(1)    objWB.SaveAs(strFolder & &quot;\\&quot; & strFileName)    Const ADS_SCOPE_SUBTREE = 2    Set objConnection = CreateObject(&quot;ADODB.Connection&quot;)  Set objCommand =   CreateObject(&quot;ADODB.Command&quot;)  objConnection.Provider = &quot;ADsDSOObject&quot;  objConnection.Open &quot;Active Directory Provider&quot;  Set objCommand.ActiveConnection = objConnection    objCommand.Properties(&quot;Page Size&quot;) = 1000  objCommand.Properties(&quot;Searchscope&quot;) = ADS_SCOPE_SUBTREE     'Set the path of the file to the same folder of the script  'Open the file and make the workbook visible  Set objExcel = CreateObject(&quot;Excel.Application&quot;)  Set objWorkbook = objExcel.Workbooks.Open(strFolder & &quot;\\&quot; & strFileName)  objExcel.Visible = True    'objExcel.Cells(1, 1).Value = &quot;Name&quot;  'objExcel.Cells(1, 1).Font.Bold = TRUE  'objExcel.Columns(1).ColumnWidth = 40  'objExcel.Cells(1, 2).Value = &quot;Security ID&quot;  'objExcel.Cells(1, 2).Font.Bold = TRUE  'objExcel.Columns(2).ColumnWidth = 60    'Starting row of the Excel is 2, since first row are column headings  y = 2    objCommand.CommandText = _      &quot;SELECT * FROM 'LDAP:\/\/DC=movavi,DC=srv' WHERE objectCategory='user'&quot;    Set objRecordSet = objCommand.Execute     objRecordSet.MoveFirst     Do Until objRecordSet.EOF     strADsPathUser = objRecordSet.Fields(&quot;ADsPath&quot;).Value     'wScript.echo strADsPathUser      Set objUser = GetObject(strADsPathUser)          z = 1       objExcel.Cells(y,z) = objUser.sn       objExcel.Cells(1, z).Value = &quot;sn&quot;        'Wscript.Echo objUser.sn       objExcel.Cells(1, z).Font.Bold = TRUE  z = z + 1       objExcel.Cells(y,z) = objUser.givenName       objExcel.Cells(1, z).Value = &quot;givenName&quot;        'Wscript.Echo objUser.givenName       objExcel.Cells(1, z).Font.Bold = TRUE  z = z + 1       objExcel.Cells(y,z) = objUser.initials       objExcel.Cells(1, z).Value = &quot;initials&quot;        'Wscript.Echo objUser.initials       objExcel.Cells(1, z).Font.Bold = TRUE        z = z + 1       objExcel.Cells(y,z) = objUser.description        objExcel.Cells(1, z).Value = &quot;description&quot;        objExcel.Cells(1, z).Font.Bold = TRUE        'Wscript.Echo objUser.description        z = z + 1       objExcel.Cells(y,z) = objUser.codePage        objExcel.Cells(1, z).Value = &quot;codePage&quot;        objExcel.Cells(1, z).Font.Bold = TRUE        'Wscript.Echo objUser.codePage             z = z + 1       objExcel.Cells(y,z) = objUser.sAMAccountName        objExcel.Cells(1, z).Value = &quot;sAMAccountName&quot;       'Wscript.Echo objUser.sAMAccountName         objExcel.Cells(1, z).Font.Bold = TRUE z = z + 1       objExcel.Cells(y,z) = objUser.codePage        objExcel.Cells(1, z).Value = &quot;codePage&quot;        objExcel.Cells(1, z).Font.Bold = TRUE        'Wscript.Echo objUser.codePage         z = z + 1             objExcel.Cells(y,z) = objUser.mail       objExcel.Cells(1, z).Value = &quot;mail&quot;        'Wscript.Echo objUser.mail       objExcel.Cells(1, z).Font.Bold = TRUE          z = z + 1        intUserSID = fnGet_HexString(objUser.ObjectSID)                   objExcel.Cells(y,z) = intUserSID          objExcel.Cells(1, z).Value = &quot;ObjectSID&quot;       'Wscript.Echo objUser.ObjectSID         objExcel.Cells(1, z).Font.Bold = TRUE        z = z + 1       objExcel.Cells(y,z) = objUser.userPrincipalName       objExcel.Cells(1, z).Value = &quot;userPrincipalName&quot;        'Wscript.Echo objUser.userPrincipalName       objExcel.Cells(1, z).Font.Bold = TRUE    z = z + 1             objExcel.Cells(y,z) = objUser.displayName       objExcel.Cells(1, z).Value = &quot;displayName&quot;        'Wscript.Echo objUser.displayName       objExcel.Cells(1, z).Font.Bold = TRUE         z = z + 1             objExcel.Cells(y,z) = objUser.distinguishedName       objExcel.Cells(1, z).Value = &quot;distinguishedName&quot;        'Wscript.Echo objUser.distinguishedName       objExcel.Cells(1, z).Font.Bold = TRUE   z = z + 1        intUserSID = stringlist(objUser.memberOf)                   objExcel.Cells(y,z) = intUserSID          objExcel.Cells(1, z).Value = &quot;memberOf&quot;       'Wscript.Echo objUser.memberOf         objExcel.Cells(1, z).Font.Bold = TRUE                                          ' \u043d\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438       z = z + 1             objExcel.Cells(y,z) = objUser.physicalDeliveryOfficeName       objExcel.Cells(1, z).Value = &quot;physicalDeliveryOfficeName&quot;        'Wscript.Echo objUser.physicalDeliveryOfficeName       objExcel.Cells(1, z).Font.Bold = TRUE  z = z + 1             objExcel.Cells(y,z) = objUser.telephoneNumber       objExcel.Cells(1, z).Value = &quot;telephoneNumber&quot;        'Wscript.Echo objUser.telephoneNumber       objExcel.Cells(1, z).Font.Bold = TRUE  z = z + 1             objExcel.Cells(y,z) = objUser.profilePath       objExcel.Cells(1, z).Value = &quot;profilePath&quot;        'Wscript.Echo objUser.profilePath       objExcel.Cells(1, z).Font.Bold = TRUE z = z + 1             objExcel.Cells(y,z) = objUser.scriptPath       objExcel.Cells(1, z).Value = &quot;scriptPath&quot;        'Wscript.Echo objUser.scriptPath       objExcel.Cells(1, z).Font.Bold = TRUE z = z + 1             objExcel.Cells(y,z) = objUser.homeDirectory       objExcel.Cells(1, z).Value = &quot;homeDirectory&quot;        'Wscript.Echo objUser.homeDirectory       objExcel.Cells(1, z).Font.Bold = TRUE z = z + 1             objExcel.Cells(y,z) = objUser.homeDrive       objExcel.Cells(1, z).Value = &quot;homeDrive&quot;        'Wscript.Echo objUser.homeDrive       objExcel.Cells(1, z).Font.Bold = TRUE z = z + 1             objExcel.Cells(y,z) = objUser.title       objExcel.Cells(1, z).Value = &quot;title&quot;        'Wscript.Echo objUser.title       objExcel.Cells(1, z).Font.Bold = TRUE z = z + 1             objExcel.Cells(y,z) = objUser.department       objExcel.Cells(1, z).Value = &quot;department&quot;        'Wscript.Echo objUser.department       objExcel.Cells(1, z).Font.Bold = TRUE z = z + 1             objExcel.Cells(y,z) = objUser.company       objExcel.Cells(1, z).Value = &quot;company&quot;        'Wscript.Echo objUser.company       objExcel.Cells(1, z).Font.Bold = TRUE z = z + 1             objExcel.Cells(y,z) = objUser.manager       objExcel.Cells(1, z).Value = &quot;manager&quot;        'Wscript.Echo objUser.manager       objExcel.Cells(1, z).Font.Bold = TRUE z = z + 1             objExcel.Cells(y,z) = objUser.homePhone       objExcel.Cells(1, z).Value = &quot;homePhone&quot;        'Wscript.Echo objUser.homePhone       objExcel.Cells(1, z).Font.Bold = TRUE z = z + 1             objExcel.Cells(y,z) = objUser.pager       objExcel.Cells(1, z).Value = &quot;pager&quot;        'Wscript.Echo objUser.pager       objExcel.Cells(1, z).Font.Bold = TRUE z = z + 1             objExcel.Cells(y,z) = objUser.mobile       objExcel.Cells(1, z).Value = &quot;mobile&quot;        'Wscript.Echo objUser.mobile       objExcel.Cells(1, z).Font.Bold = TRUE z = z + 1             objExcel.Cells(y,z) = objUser.facsimileTelephoneNumber       objExcel.Cells(1, z).Value = &quot;facsimileTelephoneNumber&quot;        'Wscript.Echo objUser.facsimileTelephoneNumber       objExcel.Cells(1, z).Font.Bold = TRUE z = z + 1             objExcel.Cells(y,z) = objUser.ipphone       objExcel.Cells(1, z).Value = &quot;ipphone&quot;        'Wscript.Echo objUser.ipphone       objExcel.Cells(1, z).Font.Bold = TRUE z = z + 1             objExcel.Cells(y,z) = objUser.info       objExcel.Cells(1, z).Value = &quot;info&quot;        'Wscript.Echo objUser.info       objExcel.Cells(1, z).Font.Bold = TRUE z = z + 1             objExcel.Cells(y,z) = objUser.streetAddress       objExcel.Cells(1, z).Value = &quot;streetAddress&quot;        'Wscript.Echo objUser.streetAddress       objExcel.Cells(1, z).Font.Bold = TRUE z = z + 1             objExcel.Cells(y,z) = objUser.postOfficeBox       objExcel.Cells(1, z).Value = &quot;postOfficeBox&quot;        'Wscript.Echo objUser.postOfficeBox       objExcel.Cells(1, z).Font.Bold = TRUE z = z + 1             objExcel.Cells(y,z) = objUser.l       objExcel.Cells(1, z).Value = &quot;l&quot;        'Wscript.Echo objUser.l       objExcel.Cells(1, z).Font.Bold = TRUE z = z + 1             objExcel.Cells(y,z) = objUser.st       objExcel.Cells(1, z).Value = &quot;st&quot;        'Wscript.Echo objUser.st       objExcel.Cells(1, z).Font.Bold = TRUE z = z + 1             objExcel.Cells(y,z) = objUser.c        objExcel.Cells(1, z).Value = &quot;c&quot;        'Wscript.Echo objUser.c       objExcel.Cells(1, z).Font.Bold = TRUE z = z + 1             objExcel.Cells(y,z) = objUser.wWWHomePage       objExcel.Cells(1, z).Value = &quot;wWWHomePage&quot;        'Wscript.Echo objUser.wWWHomePage       objExcel.Cells(1, z).Font.Bold = TRUE        '''''''''''''''''''''''''''       y = y + 1       objRecordSet.MoveNext     Loop    objCommand.CommandText = _      &quot;SELECT * FROM 'LDAP:\/\/DC=movavi,DC=srv' WHERE objectCategory='group'&quot;    Set objRecordSet = objCommand.Execute      objRecordSet.MoveFirst     Do Until objRecordSet.EOF          strADsPathGroup = objRecordSet.Fields(&quot;ADsPath&quot;).Value        'wScript.echo strADsPathGroup         Set objGroup = GetObject(strADsPathGroup)               'if objGroup.groupType = &quot;-2147483646&quot; then        objExcel.Cells(y,1) = objGroup.sAMAccountName        'Wscript.Echo objUser.sAMAccountName          intGroupSID = fnGet_HexString(objGroup.ObjectSID)                    objExcel.Cells(y,2) = intGroupSID          'Wscript.Echo intUserSID        'End if        y = y + 1        objRecordSet.MoveNext     Loop    objRecordSet.Close  objConnection.Close    SET objSheet = NOTHING  SET objWB =  NOTHING  objExcelApp.Quit()  SET objExcelApp = NOTHING    Wscript.echo &quot;Script Finished...&quot;      ''' Function stringlist(memberOf)        Dim objmemberOf      ' Heart of the script, extract a list of Groups from memberOf objmemberOf  = objUser.GetEx(&quot;memberOf&quot;) For Each objGroup in objmemberOf    strList = strList & &quot;&quot;&quot;&quot; & objGroup & &quot;&quot;&quot;&quot; & &quot; &quot; Next stringlist = strUser & strList 'WScript.Echo &quot;Groups for &quot; & strUser & strList End Function  '''    Function fnGet_HexString(intSID)        Dim strRet, i, b        strRet = &quot;&quot;           For i = 0 to Ubound(intSID)             b = hex(ascb(midb(intSID,i+1,1)))             If( len(b) = 1 ) then b = &quot;0&quot; & b                 strRet = strRet & b        Next              fnGet_HexString = fnHexStrToDecStr(strRet)      End Function    Function fnHexStrToDecStr(strSid)      Dim arrbytSid, lngTemp, j     ReDim arrbytSid(Len(strSid)\/2 - 1)       For j = 0 To UBound(arrbytSid)          arrbytSid(j) = CInt(&quot;&H&quot; & Mid(strSid, 2*j + 1, 2))     Next       fnHexStrToDecStr = &quot;S-&quot; & arrbytSid(0) & &quot;-&quot; & arrbytSid(1) & &quot;-&quot; & arrbytSid(8)     lngTemp = arrbytSid(15)     lngTemp = lngTemp * 256 + arrbytSid(14)     lngTemp = lngTemp * 256 + arrbytSid(13)     lngTemp = lngTemp * 256 + arrbytSid(12)       fnHexStrToDecStr = fnHexStrToDecStr & &quot;-&quot; & CStr(lngTemp)       lngTemp = arrbytSid(19)     lngTemp = lngTemp * 256 + arrbytSid(18)     lngTemp = lngTemp * 256 + arrbytSid(17)     lngTemp = lngTemp * 256 + arrbytSid(16)       fnHexStrToDecStr = fnHexStrToDecStr & &quot;-&quot; & CStr(lngTemp)       lngTemp = arrbytSid(23)     lngTemp = lngTemp * 256 + arrbytSid(22)     lngTemp = lngTemp * 256 + arrbytSid(21)     lngTemp = lngTemp * 256 + arrbytSid(20)       fnHexStrToDecStr = fnHexStrToDecStr & &quot;-&quot; & CStr(lngTemp)       lngTemp = arrbytSid(25)     lngTemp = lngTemp * 256 + arrbytSid(24)       fnHexStrToDecStr = fnHexStrToDecStr & &quot;-&quot; & CStr(lngTemp)   End Function   <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  \u041f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u043e\u0442\u043a\u0440\u043e\u0435\u0442\u0441\u044f \u043e\u043a\u043d\u043e Office Excel, \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0444\u0430\u0439\u043b\u043e\u043c <b>Users-Groups-SIDs.xlsx<\/b> \u0438 \u0432 \u043d\u0435\u0433\u043e \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0435 (\u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043c\u044b\u0448\u043a\u0443 \u043d\u0435 \u0442\u0440\u043e\u0433\u0430\u0442\u044c, \u043d\u0438\u043a\u0443\u0434\u0430 \u043d\u0435 \u043d\u0430\u0436\u0438\u043c\u0430\u0442\u044c \u043f\u043e\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u0430 \u043d\u0435 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u0441\u044f, \u0438\u043d\u0430\u0447\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0438 \u0432 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445). \u041f\u043e\u0441\u043b\u0435 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435, <b>Script Finished&#8230;<\/b> \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0435\u0433\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435, \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0434\u043e\u0436\u0434\u0451\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434 \u0447\u0442\u043e \u0431\u044b \u0441\u043a\u0440\u0438\u043f\u0442 \u043e\u0441\u0432\u043e\u0431\u043e\u0434\u0438\u043b \u0442\u0430\u0431\u043b\u0438\u0446\u0443, \u043d\u0430 \u044d\u0442\u043e \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435 \u043e\u0442 \u043e\u0444\u0438\u0441\u0430, \u0447\u0442\u043e \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438, \u0441\u043e\u0433\u043b\u0430\u0448\u0430\u0435\u043c\u0441\u044f \u0438 \u0436\u043c\u0451\u043c \u043a\u043d\u043e\u043f\u043a\u0443 \u00ab\u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c\u00bb. \u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u0443 \u043d\u0430\u0441 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0441\u043a\u0440\u0438\u043d \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0433\u0434\u0435 \u0435\u0441\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0446\u044b: <b>sn; givenName; initials; description; codePage; sAMAccountName; codePage; mail; ObjectSID; userPrincipalName; displayName; distinguishedName; memberOf; physicalDeliveryOfficeName; telephoneNumber; profilePath; scriptPath; homeDirectory; homeDrive; title; department; company; manager; homePhone; pager; mobile; facsimileTelephoneNumber; ipphone; info; streetAddress; postOfficeBox; l; st; c; wWWHomePage <\/b><\/p>\n<p>  \u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0438\u0437 \u043d\u0438\u0445 \u043d\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u043d\u044b (\u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0432 \u0441\u0430\u043c\u043e\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u0435, \u0443\u0434\u0430\u043b\u0438\u0432 \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b, \u043d\u043e \u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u0443\u0441\u0442\u044c \u0431\u0443\u0434\u0443\u0442 \u0432\u0441\u0435).<br \/>  \u0418\u0437 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u0441\u0442\u043e\u043b\u0431\u0446\u044b <b>sAMAccountName<\/b> \u0438 <b>ObjectSID<\/b>, \u0441\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c <b>ObjectSID<\/b> \u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u043d\u0438\u044f (\u043e\u0442 \u0410 \u0434\u043e \u042f) \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0438\u0445 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044f \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b <b>users.txt<\/b>, \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0432 \u0438\u0445 \u0432\u0438\u0434, \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u0443\u0447\u0438\u0442\u0441\u044f \u0442\u0430\u043a: <b>sAMAccountName,ObjectSID<\/b><br \/>  \u0422.\u0435. \u0432\u043e\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code class=\"dos\">dns-gw-sult,S-1-5-21-833212901-2941102506-3986841923-1101 DnsAdmins,S-1-5-21-833212901-2941102506-3986841923-1102 IIS_IUSRS,S-1-5-21-833212901-2941102506-3986841923-1102 DnsUpdateProxy,S-1-5-21-833212901-2941102506-3986841923-1103 ivanov,S-1-5-21-833212901-2941102506-3986841923-1105 ozonov,S-1-5-21-833212901-2941102506-3986841923-1108 elina,S-1-5-21-833212901-2941102506-3986841923-1111 anna,S-1-5-21-833212901-2941102506-3986841923-1113 dash,S-1-5-21-833212901-2941102506-3986841923-1115 denis,S-1-5-21-833212901-2941102506-3986841923-1116 danuev,S-1-5-21-833212901-2941102506-3986841923-1119 <\/code><\/pre>\n<p>  \u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c, \u043a\u0430\u0436\u0434\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u0447\u043a\u0435, \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0447\u0442\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u043d\u043e\u043c\u0435\u0440\u0430 \u0438\u0434\u0443\u0442 \u043f\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0443, \u043d\u043e \u0435\u0441\u0442\u044c \u0438 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u044b (\u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0441\u0430\u043c\u0431\u0430 \u043f\u0438\u0441\u0430\u043b\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0432 LDAP \u0441 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 RID (\u0442.\u0435. \u043d\u043e\u043c\u0435\u0440\u0430\u043c\u0438 \u043f\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0443), \u0430 AD \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043f\u043e\u0434\u0440\u044f\u0434, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u043a\u0430\u043a\u043e\u0433\u043e-\u0442\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e RID, \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0432\u0441\u0435\u0445 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u044e\u0449\u0438\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0438 \u043a\u0430\u043a-\u0442\u043e \u0431\u043e\u043b\u0435\u0435 \u0438\u043b\u0438 \u043c\u0435\u043d\u0435\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u0438\u0445 \u043e\u0431\u043e\u0437\u0432\u0430\u0442\u044c), \u0432\u043e\u0442 \u043c\u044b \u0438\u0445 \u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u043c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f perl \u0441\u043a\u0440\u0438\u043f\u0442 <b>script-add user.pl<\/b>:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">script-add user.pl<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"vbscript\">use strict; use warnings; use Data::Dumper;  my (%input, %output,$max);  my $input_file = &quot;users.txt&quot;; my $output_file = &quot;output.txt&quot;; my $sambaSID = &quot;S-1-5-21-833212901-2941102506-3986841923-&quot;;  open FIN, &quot;&lt;$input_file&quot;; while (&lt;FIN&gt;) { \t chomp(); \t if (\/(.*),$sambaSID(.*)\/) { \t\t $input{$2}=$1; \t\t $max=$2 \t\t\tif $2 &gt; $max; \t }\t  } close FIN;  print Dumper(\\%input); print Dumper($max);  open FOUT, &quot;&gt;$output_file&quot;; for (my $i=1001;$i&lt;=$max;$i++) { \t if (exists $input{$i}) { \t\t  print &quot;input: $input{$i} i: $i\\n&quot;; \t\t  print FOUT &quot;$input{$i}\\n&quot;;      } else {           print FOUT &quot;user$i\\n&quot;;      } } close FOUT;  <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  \u0412 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0435\u0441\u0442\u044c \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0440\u0430\u0431\u043e\u0447\u0438\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u043b \u0437\u043d\u0430\u043a\u043e\u043c\u043e\u0433\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0438, \u043f\u043e \u043a\u0440\u0430\u0439\u043d\u0435\u0439 \u043c\u0435\u0440\u0435 \u0441\u043a\u0440\u0438\u043f\u0442 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043a\u0430\u043a \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043b\u043e\u0441\u044c.<br \/>  \u0418 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0444\u0430\u0439\u043b <b>output.txt<\/b> (\u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0431\u0443\u0434\u0443\u0442 \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c\u0441\u044f \u0441 RID 1001 \u0438 \u0434\u0430\u043b\u0435\u0435 \u0438 \u0438\u043c\u0435\u0442\u044c \u0438\u043c\u0435\u043d\u0430 user1001 \u0438 \u0442.\u0434.) \u0441 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435\u043c:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">output.txt<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"dos\">user1001 user1002 user1003 user1004 user1005 user1006 user1007 user1008 user1009 user1010 user1011 user1012 user1013 user1014 user1015 user1016 user1017 user1018 user1019 user1020 user1021 user1022 user1023 user1024 user1025 user1026 user1027 user1028 user1029 user1030 user1031 user1032 user1033 user1034 user1035 user1036 user1037 user1038 user1039 user1040 user1041 user1042 user1043 user1044 user1045 user1046 user1047 user1048 user1049 user1050 user1051 user1052 user1053 user1054 user1055 user1056 user1057 user1058 user1059 user1060 user1061 user1062 user1063 user1064 user1065 user1066 user1067 user1068 user1069 user1070 user1071 user1072 user1073 user1074 user1075 user1076 user1077 user1078 user1079 user1080 user1081 user1082 user1083 user1084 user1085 user1086 user1087 user1088 user1089 user1090 user1091 user1092 user1093 user1094 user1095 user1096 user1097 user1098 user1099 user1100 dns-gw-sult IIS_IUSRS DnsUpdateProxy user1104 ivanov user1106 user1107 ozonov user1109 user1110 elina user1112 anna user1114 dash denis user1117 user1118 danuev <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u043c\u0435\u0449\u0430\u0435\u043c \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 <a href=\"http:\/\/it-kursy.ru\/article\/admtools\/user-xls\"><b>dsadd-new.xls<\/b><\/a> \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u043e\u0434 \u0441\u0432\u043e\u0438 \u043d\u0443\u0436\u0434\u044b. \u0412 \u0438\u0437\u043c\u0435\u043d\u0451\u043d\u043d\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043f\u043e\u043c\u0435\u0449\u0430\u0435\u043c \u0432 \u0441\u0442\u043e\u043b\u0431\u0435\u0446 <b>Login<\/b>. \u041d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0435 SID \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0432 \u0441\u0442\u043e\u043b\u0431\u0435\u0446 SID \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f <b>user-1101<\/b> \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c <b>S-1-5-21-833212901-2941102506-3986841923-1101<\/b> \u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f <b>user-1102<\/b> \u0442\u0430\u043a\u043e\u0439 <b>S-1-5-21-833212901-2941102506-3986841923-1102<\/b> (\u0434\u0443\u043c\u0430\u044e \u0447\u0442\u043e \u043b\u043e\u0433\u0438\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e\u043d\u044f\u0442\u043d\u0430, \u0430 SID \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u043e\u0441\u0442\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u0442\u0430\u043a\u0438\u043c \u0436\u0435 \u043a\u0430\u043a \u0438 \u0431\u044b\u043b, \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0432 \u0444\u0430\u0439\u043b\u0435 <b>Users-Groups-SIDs.xlsx<\/b>). \u041f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 \u0433\u0440\u0443\u043f\u043f\u0443, \u0432 \u043a\u0430\u043a\u043e\u0439 \u043e\u043d \u0440\u0430\u043d\u044c\u0448\u0435 \u0431\u044b\u043b, \u0442\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u0434\u043e \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 <b>Users-Groups-SIDs.xlsx<\/b> \u0432\u0437\u044f\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0435\u0446 <b>memberOf<\/b> \u0438 \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0432 \u0444\u0430\u0439\u043b <b>dsadd-new.xls<\/b> \u0432 \u0441\u0442\u043e\u043b\u0431\u0435\u0446 <b>GROUP.<\/b> \u0422\u0430\u043a \u0436\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u043e\u043b\u044f, \u0435\u0441\u043b\u0438 \u043d\u0430\u0434\u043e, \u043d\u043e <b>\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0430\u0436\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0446\u044b \u0424\u0430\u043c\u0438\u043b\u0438\u044f \u0438 \u0418\u043c\u044f, \u0435\u0441\u043b\u0438 \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u0442\u043e \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434 \u043d\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u043c<\/b>. \u0421\u0442\u043e\u043b\u0431\u0435\u0446 <b>Login<\/b> \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442 \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0434\u043b\u044f \u0432\u0445\u043e\u0434\u0430 \u0432 \u0434\u043e\u043c\u0435\u043d, \u0435\u0441\u043b\u0438 \u0412\u0430\u0441 \u043d\u0435 \u0443\u0441\u0442\u0440\u043e\u0438\u0442 \u0441\u043c\u0435\u043d\u0430 \u043b\u043e\u0433\u0438\u043d\u0430, \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0448\u0430\u0431\u043b\u043e\u043d \u0438\u043b\u0438 \u0436\u0435 \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0441\u0430\u043c\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0439 \u043b\u043e\u0433\u0438\u043d (\u0443 \u043c\u0435\u043d\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0438\u043c\u0435\u043b\u0438 \u043d\u0435 \u0442\u0430\u043a\u043e\u0439 \u043a\u0430\u043a \u043f\u0440\u0438\u043d\u044f\u0442\u043e \u043b\u043e\u0433\u0438\u043d, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0443 \u043d\u0438\u0445 \u0437\u0430\u043c\u0435\u043d\u044f\u043b \u043d\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0439).<br \/>  <strong>\u0422\u0430\u043a \u0436\u0435 \u043f\u0440\u043e\u0448\u0443 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0442\u043e\u0442 \u0444\u0430\u043a\u0442, \u0447\u0442\u043e \u0435\u0441\u043b\u0438:<br \/>   \u2014 \u0441\u0442\u043e\u043b\u0431\u0435\u0446 \u041e\u0442\u0447\u0435\u0441\u0442\u0432\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043e, \u0442\u043e \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043a \u043d\u0438\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u0441\u044f \u043b\u0438\u0448\u043d\u0438\u0439 \u043f\u0440\u043e\u0431\u0435\u043b \u0432\u043a\u043e\u043d\u0446\u0435, \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0432\u043b\u0435\u0447\u044c \u043a \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c \u0443 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c;<br \/>   \u2014 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0433\u0440\u0443\u043f\u043f\u044b \u0443 \u043c\u0435\u043d\u044f \u0442\u0430\u043a \u0438 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0434\u043e\u043f\u0438\u043b\u0438\u0442\u044c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0433\u0440\u0443\u043f\u043f\u044b \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u0440\u0438\u043f\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0437\u0434\u0430\u0441\u0442 \u0438\u0445 \u0432 OU-Users, \u043d\u043e \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0432\u043b\u0435\u0447\u044c \u043a \u043d\u0435\u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0439 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445 (Apache, OpenVPN, etc.), \u0442.\u043a. \u0443 \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u0438 \u0435\u0449\u0451 \u0438 OU-Builtin \u0438 OU-Groups, \u043d\u043e \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043a\u0430 \u0441\u043b\u043e\u0436\u0438\u0442\u044c \u0432\u0441\u0451 \u0432 \u043a\u0443\u0447\u0443.<br \/>  <\/strong><\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">add_group.cmd<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"dos\">rem \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0433\u0440\u0443\u043f\u043f (CN) \u0432 CN Users rem dsadd group &quot;cn=,cn=users,dc=mvi,dc=srv&quot;  for %%A in ( jira-users, jira-administrators, Developers, jira-developers, mvi-users, berry-dev, online-developers, marketing-users, Marketing, ne-users, ne-developers, ne-admin, marketing-administrators, online-users, bills,QA, ) do dsadd group &quot;cn=%%A,cn=users,dc=mvi,dc=srv&quot;  rem \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u043e\u0434\u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u044f (OU) \u0432 \u043a\u043e\u0440\u043d\u0435 rem dsadd group &quot;cn=,cn=groups,dc=mvi,dc=srv&quot;  dsadd ou &quot;ou=Groups,dc=movavi,dc=srv&quot; for %%B in ( vpn-users, svn-users, jenkins-adm, jenkins, PHP_Developers, amazon-users, ) do dsadd group &quot;cn=%%B,ou=groups,dc=mvi,dc=srv&quot; <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0440\u0443\u0442\u0438\u043d\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u043f\u043e \u043a\u043e\u043f\u0438\u043f\u0430\u0441\u0442\u0443 \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c bat \u0444\u0430\u0439\u043b\u044b \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043c\u043e\u0433\u0443\u0442 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043f\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u0438\u0445 \u0432 \u0433\u0440\u0443\u043f\u043f\u044b. \u0412 \u0441\u0442\u043e\u043b\u0431\u0446\u0430\u0445: <b>\u0418\u0422\u041e\u0413\u041e<\/b> \u0438 <b>\u0418\u0422\u041e\u0413\u041e<\/b> \u0432 \u0433\u0440\u0443\u043f\u043f\u0443 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043f\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u0438\u0445 \u0432 \u0433\u0440\u0443\u043f\u043f\u044b \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0438\u0445 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043c \u0432 bat \u0444\u0430\u0439\u043b\u044b <b>add_user.cmd<\/b>, <b>add_group.cmd<\/b>.<br \/>  \u0424\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0438 \u0433\u0440\u0443\u043f\u043f \u0433\u043e\u0442\u043e\u0432\u043e.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0437\u0430\u0439\u043c\u0451\u043c\u0441\u044f Windows Server. \u041d\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430. \u041d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u0430 newsid. \u0412\u043e\u0437\u044c\u043c\u0451\u043c SID \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u044d\u0442\u043e <b>S-1-5-21-833212901-2941102506-3986841923<\/b> (\u0438\u0437 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0433\u043e SID \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0443\u0434\u0430\u043b\u0438\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0437\u043d\u0430\u043a\u0438, \u0432\u043f\u043b\u043e\u0442\u044c \u0434\u043e <b>&quot;-&quot;<\/b> \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043c SID \u0434\u043e\u043c\u0435\u043d\u0430), \u0438 \u0437\u0430\u043c\u0435\u043d\u0438\u043c \u0442\u0435\u043a\u0443\u0449\u0438\u0439 SID \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043d\u0430 \u043d\u0430\u0448. \u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u043d\u0430\u0447\u043d\u0451\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0441\u044f (\u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u0435\u0449\u0451 \u0440\u0430\u0437 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0443\u0442\u0438\u043b\u0438\u0442\u0443 \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0447\u0442\u043e SID \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0441\u044f). \u0412\u0441\u0451, \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0441\u043b\u0443\u0436\u0431\u0443 ActiveDirectory (\u043d\u0435 \u0437\u043d\u0430\u044e \u043a\u0442\u043e \u043a\u0430\u043a, \u043d\u043e \u044f \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u0442\u0430\u0432\u043b\u044e DNS, \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u044f \u0435\u0433\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u043f\u043e\u0442\u043e\u043c \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <b>dcpromo<\/b> \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u044e \u0441\u0430\u043c\u0443 \u0441\u043b\u0443\u0436\u0431\u0443 \u0434\u043e\u043c\u0435\u043d\u0430), \u043d\u043e \u043f\u0435\u0440\u0435\u0434 \u044d\u0442\u0438\u043c \u043d\u0430\u0434\u043e \u043b\u0438\u0431\u043e \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 <b>SAMBA<\/b> \u0438 <b>bind<\/b>, \u043b\u0438\u0431\u043e \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u044d\u0442\u0438 \u0441\u043b\u0443\u0436\u0431\u044b (\u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441\u043b\u0443\u0436\u0431\u044b, \u0442.\u043a. \u044d\u0442\u043e \u0435\u0449\u0451 \u0438 \u0448\u043b\u044e\u0437 \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 <s>\u0440\u0443\u043a\u0438 \u0431\u044b \u043e\u0442\u043e\u0440\u0432\u0430\u043b \u0442\u0430\u043a\u043e\u043c\u0443 \u0430\u0434\u043c\u0438\u043d\u0443<\/s>). \u041d\u0435 \u0437\u043d\u0430\u044e, \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0434\u043e\u043c\u0435\u043d\u0430 (\u043d\u0438\u0447\u0442\u043e \u043d\u0435 \u043c\u0435\u0448\u0430\u0435\u0442), \u043d\u043e \u043c\u043d\u0435 \u043d\u0430\u0434\u043e \u0431\u044b\u043b\u043e \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0435\u0435. \u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0443 (\u0432\u0441\u0451 \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e). \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c\u044b\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 <b>acctinfo<\/b> (\u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u0432\u044b\u0448\u0435, \u043e\u0442\u043a\u0443\u0434\u0430 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0442\u044c, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u043a\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c), \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043e\u0441\u043d\u0430\u0441\u0442\u043a\u0443 <b>\u00abActive Directory \u2014 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0438 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u044b\u00bb<\/b>. \u041f\u044b\u0442\u0430\u0435\u043c\u0441\u044f \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438\u0437 \u043f\u0435\u0440\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 <b>add_user.cmd<\/b>  <\/p>\n<pre><code class=\"dos\">dsadd User &quot;cn=user-1101 user-1101 ,cn=users,dc=movavi,dc=srv&quot; -UPN dns-gw-tauconsult@movavi.srv -samid dns-gw-tauconsult -display &quot;user-1101 user-1101 &quot; -fn user-1101  -ln user-1101 -pwd &quot;Passw0rD&quot; -mustchpwd yes -disabled no -pwdneverexpires yes <\/code><\/pre>\n<p>  \u0421\u043c\u043e\u0442\u0440\u0438\u043c \u0432 <b>\u00abActive Directory \u2014 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0438 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u044b\u00bb<\/b> \u043a\u0430\u043a\u043e\u0439 \u0443 \u043d\u0435\u0433\u043e SID \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u0445, \u0432\u043e \u0432\u043a\u043b\u0430\u0434\u043a\u0435 <b>Additional Account Info<\/b>. \u0415\u0441\u043b\u0438 \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0441 \u0435\u0433\u043e \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u0435\u043c SID, \u0442\u043e \u0432\u0441\u0451 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0438 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043a\u043e\u0440\u0440\u0435\u043a\u0446\u0438\u0438 (\u0435\u0441\u043b\u0438 SID \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442, \u0442\u043e \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043d\u043e\u043c\u0435\u0440\u043e\u043c SID, \u0442.\u0435. \u043a \u0442\u0435\u043a\u0443\u0449\u0435\u043c\u0443 \u043f\u0440\u0438\u0431\u0430\u0432\u043b\u044f\u0435\u043c 1 ). \u041d\u0430 \u044d\u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u0443 \u043c\u0435\u043d\u044f \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u0451\u043b epic fail \u0441 \u043e\u0434\u043d\u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c, \u0443 \u043d\u0435\u0433\u043e SID \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043b 1105, \u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0443 \u043c\u0435\u043d\u044f \u043d\u0430\u0447\u0430\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u0441 1106, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0434\u043e\u043b\u0433\u043e \u043c\u0443\u0447\u0430\u0442\u0441\u044f \u0438 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u0442\u044c \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0442.\u043a. \u0435\u0433\u043e \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0431\u044b\u043b \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u043c.<br \/>  \u041f\u043e\u0441\u043b\u0435 \u0432\u044b\u044f\u0441\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u0440\u044f\u0434\u043a\u0430, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u0443\u0434\u0430\u043b\u0438\u0432\/\u0437\u0430\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0436\u0435 \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442, \u0442.\u0435. \u0443\u0431\u0438\u0440\u0430\u0435\u043c \u0432\u0441\u0451, \u0447\u0442\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0434\u043e user-1107 \u0438 \u043c\u043e\u0436\u043d\u043e \u0441\u043c\u0435\u043b\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 <b>add_user.cmd<\/b>. \u041f\u043e\u0441\u043b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043d\u0430\u0434\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0433\u0440\u0443\u043f\u043f\u044b, \u0438\u043d\u0430\u0447\u0435 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0432\u044b\u0439\u0434\u0435\u0442. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c <b>add_group.cmd<\/b> \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0432\u0441\u0435 \u043b\u0438 \u0433\u0440\u0443\u043f\u043f\u044b \u0441\u043e\u0437\u0434\u0430\u043b\u0438\u0441\u044c (\u0441\u0442\u043e\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u0433\u0440\u0443\u043f\u043f\u044b \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438, \u0435\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b \u0434\u0440\u0443\u0433\u0438\u0435 \u0442\u0438\u043f\u044b, \u0442\u043e \u043d\u0430\u0434\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0441\u043a\u0440\u0438\u043f\u0442 -scope {l | g | u}, \u0447\u0438\u0442\u0430\u0435\u043c \u043c\u0430\u043d\u0443\u0430\u043b \u043f\u043e <b>dsadd group<\/b>).<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">dsadd group \/?<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"dos\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435.  \u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0433\u0440\u0443\u043f\u043f\u044b \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433. \u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441: dsadd group &lt;GroupDN&gt; [-secgrp {yes | no}] [-scope {l | g | u}]            [-samid &lt;SAMName&gt;] [-desc &lt;Description&gt;] [-memberof &lt;Group ...&gt;]            [-members &lt;Member ...&gt;] [{-s &lt;Server&gt; | -d &lt;Domain&gt;}] [-u &lt;UserName&gt;]            [-p {&lt;Password&gt; | *}] [-q] [{-uc | -uco | -uci}] \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b  \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435                \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 &lt;DN_\u0433\u0440\u0443\u043f\u043f\u044b&gt;             \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0438\u043b\u0438 stdin. \u0420\u0430\u0437\u043b\u0438\u0447\u0430\u044e\u0449\u0435\u0435\u0441\u044f \u0438\u043c\u044f (DN)                          \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u044b. \u0415\u0441\u043b\u0438 \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d,                          \u043e\u043d \u0431\u0435\u0440\u0435\u0442\u0441\u044f \u0438\u0437 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e \u0432\u0432\u043e\u0434\u0430 (stdin). -secgrp {yes | no}      \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u0433\u0440\u0443\u043f\u043f\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f (yes) \u0438\u043b\u0438 \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f                         (no) \u0433\u0440\u0443\u043f\u043f\u043e\u0439 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e: yes. -scope {l | g | u}      \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0433\u0440\u0443\u043f\u043f\u044b \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f                         \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 (l), \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0439 (g) \u0438\u043b\u0438 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0439 (u).                         \u0415\u0441\u043b\u0438 \u0434\u043e\u043c\u0435\u043d \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0441\u043c\u0435\u0448\u0430\u043d\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435, \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0430\u044f                         \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e: \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u0430\u044f. -samid &lt;\u0438\u043c\u044f_SAM&gt;        \u0417\u0430\u0434\u0430\u0435\u0442 \u0438\u043c\u044f \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 SAM \u0433\u0440\u0443\u043f\u043f\u044b &lt;\u0438\u043c\u044f_SAM&gt;                         (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, &quot;operators&quot;). -desc &lt;\u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435&gt;        \u0417\u0430\u0434\u0430\u0435\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0433\u0440\u0443\u043f\u043f\u044b &lt;\u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435&gt;. -memberof &lt;\u0433\u0440\u0443\u043f\u043f\u0430...&gt;   \u0414\u0435\u043b\u0430\u0435\u0442 \u0433\u0440\u0443\u043f\u043f\u0443 \u0447\u043b\u0435\u043d\u043e\u043c \u043e\u0434\u043d\u043e\u0439 \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0433\u0440\u0443\u043f\u043f,                         \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c\u044b\u0445 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0435\u043c\u044b\u043c \u043f\u0440\u043e\u0431\u0435\u043b\u0430\u043c\u0438 \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0438\u043c\u0435\u043d DN                          &lt;\u0433\u0440\u0443\u043f\u043f\u0430...&gt;. -members &lt;\u0447\u043b\u0435\u043d...&gt;      \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0447\u043b\u0435\u043d\u043e\u0432 \u0432 \u0433\u0440\u0443\u043f\u043f\u0443. \u0427\u043b\u0435\u043d\u044b                         \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0435\u043c\u044b\u043c \u043f\u0440\u043e\u0431\u0435\u043b\u0430\u043c\u0438 \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0438\u043c\u0435\u043d &lt;\u0447\u043b\u0435\u043d...&gt;. {-s &lt;\u0441\u0435\u0440\u0432\u0435\u0440&gt; | -d &lt;\u0434\u043e\u043c\u0435\u043d&gt;}                         -s &lt;\u0441\u0435\u0440\u0432\u0435\u0440&gt; \u0437\u0430\u0434\u0430\u0435\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0443 \u0434\u043e\u043c\u0435\u043d\u0430                         (\u041a\u0414) \u0441 \u0438\u043c\u0435\u043d\u0435\u043c &lt;\u0441\u0435\u0440\u0432\u0435\u0440&gt;.                         -d &lt;\u0434\u043e\u043c\u0435\u043d&gt; \u0437\u0430\u0434\u0430\u0435\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u041a\u0414 \u0432 \u0434\u043e\u043c\u0435\u043d\u0435.                         \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e: \u041a\u0414 \u0432 \u0434\u043e\u043c\u0435\u043d\u0435 \u0432\u0445\u043e\u0434\u0430. -u &lt;\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c&gt;       \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c &lt;\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c&gt;. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e:                         \u0432\u043e\u0448\u0435\u0434\u0448\u0438\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c. \u0424\u043e\u0440\u043c\u0430\u0442 \u0438\u043c\u0435\u043d\u0438: \u0438\u043c\u044f,                         \u0434\u043e\u043c\u0435\u043d\\\u0438\u043c\u044f \u0438\u043b\u0438 \u0438\u043c\u044f \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430-\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f (UPN). -p {&lt;\u043f\u0430\u0440\u043e\u043b\u044c&gt; | *}       \u041f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f &lt;\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c&gt;. \u0415\u0441\u043b\u0438 \u0437\u0430\u0434\u0430\u043d\u0430 *,                         \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435 \u0432\u0432\u0435\u0441\u0442\u0438 \u043f\u0430\u0440\u043e\u043b\u044c. -q                      \u0422\u0438\u0445\u0438\u0439 \u0440\u0435\u0436\u0438\u043c: \u043f\u043e\u0434\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0433\u043e \u0432\u044b\u0432\u043e\u0434\u0430 \u0434\u043b\u044f                          \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e \u0432\u044b\u0432\u043e\u0434\u0430. {-uc | -uco | -uci}     -uc \u0417\u0430\u0434\u0430\u0435\u0442 \u0432\u0445\u043e\u0434 \u0441 \u043a\u0430\u043d\u0430\u043b\u0430 \u0438\u043b\u0438 \u0432\u044b\u0432\u043e\u0434 \u043d\u0430 \u043a\u0430\u043d\u0430\u043b                          \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u042e\u043d\u0438\u043a\u043e\u0434.                          -uco \u0417\u0430\u0434\u0430\u0435\u0442 \u0432\u044b\u0432\u043e\u0434 \u043d\u0430 \u043a\u0430\u043d\u0430\u043b \u0438\u043b\u0438 \u0432 \u0444\u0430\u0439\u043b                          \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u042e\u043d\u0438\u043a\u043e\u0434.                          -uci \u0417\u0430\u0434\u0430\u0435\u0442 \u0432\u0445\u043e\u0434 \u0441 \u043a\u0430\u043d\u0430\u043b\u0430 \u0438\u043b\u0438 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430                         \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u042e\u043d\u0438\u043a\u043e\u0434.  \u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435. \u0415\u0441\u043b\u0438 \u0446\u0435\u043b\u0435\u0432\u043e\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435, \u044d\u0442\u043e\u0442 \u0446\u0435\u043b\u0435\u0432\u043e\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u0431\u0443\u0434\u0435\u0442  \u043f\u043e\u043b\u0443\u0447\u0435\u043d \u0447\u0435\u0440\u0435\u0437 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0432\u0432\u043e\u0434 (STDIN). \u0414\u0430\u043d\u043d\u044b\u0435 STDIN \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u0438\u043d\u044f\u0442\u044b \u0441  \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b, \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 \u0438\u043b\u0438 \u0438\u0437 \u0434\u0440\u0443\u0433\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b. \u0427\u0442\u043e\u0431\u044b \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0438\u0442\u044c  \u043a\u043e\u043d\u0435\u0446 \u0432\u0432\u043e\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 STDIN \u0441 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435  CTRL+Z \u0438\u043b\u0438 \u0441\u0438\u043c\u0432\u043e\u043b \u043a\u043e\u043d\u0446\u0430 \u0444\u0430\u0439\u043b\u0430 (EOF).  \u0415\u0441\u043b\u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043f\u0440\u043e\u0431\u0435\u043b\u044b, \u0437\u0430\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u0435\u0433\u043e \u0432 \u043a\u0430\u0432\u044b\u0447\u043a\u0438 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440,  &quot;CN=Ivan Ivanov,CN=Users,DC=microsoft,DC=com&quot;). \u0415\u0441\u043b\u0438 \u0432\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439, \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435 \u0438\u0445 \u043f\u0440\u043e\u0431\u0435\u043b\u0430\u043c\u0438 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u043f\u0438\u0441\u043e\u043a  \u0440\u0430\u0437\u043b\u0438\u0447\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u0438\u043c\u0435\u043d \u0433\u0440\u0443\u043f\u043f\u044b).  \u0421\u043c. \u0442\u0430\u043a\u0436\u0435: dsadd computer \/? - \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043f\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433. dsadd contact \/? - \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043f\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0430 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433. dsadd group \/? - \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043f\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u0433\u0440\u0443\u043f\u043f\u044b \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433. dsadd ou \/? - \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043f\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u043f\u043e\u0434\u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433. dsadd user \/? - \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043f\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433. dsadd quota \/? - \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043f\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u043a\u0432\u043e\u0442\u044b \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433.  \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043f\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0441\u043b\u0443\u0436\u0431\u044b \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u0432: dsadd \/? - \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043f\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432. dsget \/? - \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043f\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044e \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432. dsmod \/? - \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043f\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044e \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432. dsmove \/? - \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043f\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u044e \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432. dsquery \/? - \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043f\u043e \u043f\u043e\u0438\u0441\u043a\u0443 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0445 \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u043c \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u043c. dsrm \/? - \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044e \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432. <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u0431\u0430\u0432\u0438\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0432 \u0433\u0440\u0443\u043f\u043f\u044b <b>add_user_group.cmd<\/b> (\u043e\u0431\u0440\u0430\u0449\u0430\u044e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0447\u0442\u043e \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u044f, \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0439\u0442\u0435 \u0433\u0434\u0435 \u0431\u044b\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u044b \u0433\u0440\u0443\u043f\u043f\u044b \u0438 \u043a\u0430\u043a\u0438\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f).<\/p>\n<p>  \u0412\u043e\u0442 \u0438 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u0438 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044e, \u0442\u0435\u043f\u0435\u0440\u044c \u0443 \u043d\u0430\u0441 <b>ActiveDirectory<\/b> \u0432\u043c\u0435\u0441\u0442\u043e <b>SAMBA<\/b>, \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0438\u043c\u0435\u044e\u0442 \u0442\u0435 \u0436\u0435 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b, \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0432\u0432\u0435\u0441\u0442\u0438 \u0432 \u0434\u043e\u043c\u0435\u043d \u0441\u0430\u043c\u0438 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u044b \u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0430, \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043e\u043f\u0438\u043b\u0438\u0432\u0430\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u044b \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e.<\/p>\n<p>  \u0422\u0435\u043a\u0441\u0442, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043c\u043d\u043e\u0439, \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e \u0441\u0443\u043c\u0431\u0443\u0440\u0435\u043d, \u0445\u0430\u043e\u0442\u0438\u0447\u0435\u043d, \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043e\u0448\u0438\u0431\u043a\u0438, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043d\u0435\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438 \u0438 \u0434\u0440.<\/p>\n<p>  <a href=\"http:\/\/yadi.sk\/d\/hQe1ehke3TyLS\">\u0412\u0441\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0432 \u043e\u0434\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435 (\u0441 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u043c\u0438).<\/a><\/p>\n<p>  P.S.<br \/>  \u041d\u0430\u0434\u0435\u044e\u0441\u044c \u0432\u0441\u0435 \u043f\u043e\u043c\u043d\u044f\u0442\u044c \u0447\u0442\u043e cmd, \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u043d\u0430\u0434\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f OEM \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0443?    \t \t\t   \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/173985\/\"> http:\/\/habrahabr.ru\/post\/173985\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/phillihp.com\/wp-content\/uploads\/2012\/12\/Windows-Server-Active-Directory-300x134.png\" alt=\"image\"\/><br \/>  \u0412\u043e\u0442 \u0438 \u043f\u0440\u0438\u0448\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u043d\u0430\u0443\u0447\u043d\u043e\u0433\u043e \u0442\u044b\u043a\u0430, \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0443\u043c\u043d\u044b\u0445 \u043b\u044e\u0434\u0435\u0439 \u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0447\u0430\u0441\u043e\u0432 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u043e\u043c\u043e\u0433\u043b\u0438 \u043c\u043d\u0435 \u043c\u0438\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u043e\u043c\u0435\u043d, \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u043c \u0430\u0434\u043c\u0438\u043d\u043e\u043c \u0441 SAMBA \u043d\u0430 ActiveDirectory.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-173985","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/173985","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=173985"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/173985\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=173985"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=173985"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=173985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}