Add files from parent branch HEAD:
[pkgsrc.git] / sysutils / smbldap-tools / patches / patch-ag
1 $NetBSD$
2
3 --- smbldap-usermod.orig        2008-04-22 17:13:29.000000000 +0900
4 +++ smbldap-usermod
5 @@ -626,7 +626,7 @@ if ( defined( $tmp = $Options{'B'} ) ) {
6                  $_sambaAcctFlags = "\[$letters\]";
7                  push( @mods, 'sambaAcctFlags' => $_sambaAcctFlags );
8              }
9 -            push( @mods, 'sambaPwdLastSet' => '0' );
10 +            push( @mods, 'sambaPwdLastSet' => time );
11          }
12          else {
13              $_sambaPwdMustChange = $winmagic;