X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=bin%2Fsvc_acct.export;fp=bin%2Fsvc_acct.export;h=7271860857ec6792a7c53734e2ad694035081d17;hp=bc27f7f02e16df5f3fd8fadba185d6e019925c03;hb=e6b57805f6b3e76448ab9b6d280f2c53bc1410f3;hpb=40927c9cd9472719a3720270256f4300b81ebc98 diff --git a/bin/svc_acct.export b/bin/svc_acct.export index bc27f7f02..727186085 100755 --- a/bin/svc_acct.export +++ b/bin/svc_acct.export @@ -1,6 +1,6 @@ #!/usr/bin/perl -w # -# $Id: svc_acct.export,v 1.25 2001-10-16 20:33:02 jeff Exp $ +# $Id: svc_acct.export,v 1.26 2001-10-24 15:29:30 ivan Exp $ # # Create and export password, radius and vpopmail password files: # passwd, passwd.adjunct, shadow, acp_passwd, acp_userinfo, acp_dialup @@ -254,7 +254,8 @@ foreach $svc_domain (sort {$a->domain cmp $b->domain} @svc_domain) { foreach $svc_acct (qsearch('svc_acct', {'domsvc' => $svc_domain->svcnum})) { my($password)=$svc_acct->getfield('_password'); my($cpassword,$rpassword); - if ( ( length($password) <= 8 ) + #if ( ( length($password) <= 8 ) + if ( ( length($password) <= 12 ) && ( $password ne '*' ) && ( $password ne '!!' ) && ( $password ne '' )