diff options
author | Martin Matuska <mm@FreeBSD.org> | 2007-09-21 08:53:50 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2007-09-21 08:53:50 +0000 |
commit | 4e9218ca39c050c36ec693115e40201f8b654aa3 (patch) | |
tree | 5e44eb9e40048ce52738eee495425011fd1751a3 /net | |
parent | 8a877920e3353571faaf1186fb97dd23e0bf0437 (diff) |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/smbldap-tools/Makefile | 3 | ||||
-rw-r--r-- | net/smbldap-tools/files/patch-smbldap-passwd | 11 |
2 files changed, 13 insertions, 1 deletions
diff --git a/net/smbldap-tools/Makefile b/net/smbldap-tools/Makefile index be1761917a31..54d780b98dc4 100644 --- a/net/smbldap-tools/Makefile +++ b/net/smbldap-tools/Makefile @@ -7,13 +7,14 @@ PORTNAME= smbldap-tools PORTVERSION= 0.9.4 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://download.gna.org/smbldap-tools/packages/ \ http://download.gna.org/smbldap-tools/packages/old-release/ EXTRACT_SUFX= .tgz MAINTAINER= mm@FreeBSD.org -COMMENT= Useful package for managing users and groups in a LDAP directory +COMMENT= Samba-LDAP management and support tools BUILD_DEPENDS= ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap \ ${SITE_PERL}/Crypt/SmbHash.pm:${PORTSDIR}/security/p5-Crypt-SmbHash \ diff --git a/net/smbldap-tools/files/patch-smbldap-passwd b/net/smbldap-tools/files/patch-smbldap-passwd new file mode 100644 index 000000000000..3d78e5875ec6 --- /dev/null +++ b/net/smbldap-tools/files/patch-smbldap-passwd @@ -0,0 +1,11 @@ +--- smbldap-passwd.orig 2007-09-20 12:14:16.000000000 +0200 ++++ smbldap-passwd 2007-09-20 12:15:59.000000000 +0200 +@@ -266,7 +266,7 @@ + if ( $update_unix_passwd ) { + my $shadowLastChange=int(time()/86400); + my $modify; +- if ($< != 0) { ++ if (($< != 0) || (!defined $config{defaultMaxPasswordAge})) { + $modify = $ldap_master->modify ( "$dn", + changes => [ + replace => [userPassword => "$hash_password"], |