{"id":366,"date":"2020-02-07T16:01:10","date_gmt":"2020-02-07T19:01:10","guid":{"rendered":"http:\/\/init.net.br\/blog\/?p=366"},"modified":"2020-08-28T16:55:54","modified_gmt":"2020-08-28T19:55:54","slug":"desabilitar-expiracao-senha-zentyal-samba","status":"publish","type":"post","link":"https:\/\/blog.init.net.br\/?p=366","title":{"rendered":"Desabilitar expira\u00e7\u00e3o senha &#8211; Zentyal (samba)"},"content":{"rendered":"<p>Para desabilitar a expira\u00e7\u00e3o de senha ap\u00f3s 365 dias, o procedimento a seguir deve ser realizado.<\/p>\n<pre class=\"wp-code-highlight prettyprint prettyprinted\">  sudo samba-tool domain passwordsettings show<\/pre>\n<p>Verifique como esta a op\u00e7\u00e3o abaixo:<\/p>\n<pre class=\"wp-code-highlight prettyprint prettyprinted\">Password informations for domain 'DC=zentyal-domain,DC=lan'\n\nPassword complexity: off\nStore plaintext passwords: off\nPassword history length: 24\nMinimum password length: 0\nMinimum password age (days): 0\nMaximum password age (days): 0\nAccount lockout duration (mins): 30\nAccount lockout threshold (attempts): 0\nReset account lockout after (mins): 30\n<\/pre>\n<p>Caso esteja habilitado, para desabilitar, execute o comando abaixo:<\/p>\n<pre class=\"wp-code-highlight prettyprint prettyprinted\">  sudo samba-tool domain passwordsettings set \u2013-max-pwd-age=0<\/pre>\n<div id=\"njcdgcofcbnlbpkpdhmlmiblaglnkpnj\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Para desabilitar a expira\u00e7\u00e3o de senha ap\u00f3s 365 dias, o procedimento a seguir deve ser realizado. sudo samba-tool domain passwordsettings show Verifique como esta a op\u00e7\u00e3o abaixo: Password informations for domain &#8216;DC=zentyal-domain,DC=lan&#8217; Password complexity: off Store plaintext passwords: off Password history length: 24 Minimum password length: 0 Minimum password age (days): 0 Maximum password age [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.init.net.br\/index.php?rest_route=\/wp\/v2\/posts\/366"}],"collection":[{"href":"https:\/\/blog.init.net.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.init.net.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.init.net.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.init.net.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=366"}],"version-history":[{"count":5,"href":"https:\/\/blog.init.net.br\/index.php?rest_route=\/wp\/v2\/posts\/366\/revisions"}],"predecessor-version":[{"id":530,"href":"https:\/\/blog.init.net.br\/index.php?rest_route=\/wp\/v2\/posts\/366\/revisions\/530"}],"wp:attachment":[{"href":"https:\/\/blog.init.net.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.init.net.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.init.net.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}