diff options
author | dirk <dirk@FreeBSD.org> | 2000-02-07 09:46:02 +0000 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2000-02-07 09:46:02 +0000 |
commit | ff5bd57ff836ef41be7925b7acc6c72523270912 (patch) | |
tree | 3f7b67d11029c7dcef7a07e5a2d0cff847d682b1 /net/samba3 | |
parent | 6ccc4e0bbbf6ceb487bb904c5814361aa04f6f2e (diff) | |
download | FreeBSD-ports-ff5bd57ff836ef41be7925b7acc6c72523270912.zip FreeBSD-ports-ff5bd57ff836ef41be7925b7acc6c72523270912.tar.gz |
- use the correct path to passwd (/usr/bin/ instead of /bin/)
- adjust "passwd chat" to work with non-NIS-passwd, at least
- reflect above changes in manpage
OK'ed by: maintainer
Diffstat (limited to 'net/samba3')
-rw-r--r-- | net/samba3/files/patch-aa | 11 | ||||
-rw-r--r-- | net/samba3/files/patch-aj | 14 |
2 files changed, 22 insertions, 3 deletions
diff --git a/net/samba3/files/patch-aa b/net/samba3/files/patch-aa index 65fbd41..3c70594 100644 --- a/net/samba3/files/patch-aa +++ b/net/samba3/files/patch-aa @@ -1,5 +1,5 @@ ---- Makefile.in.orig Sun Feb 7 07:51:43 1999 -+++ Makefile.in Sun Feb 7 22:09:39 1999 +--- Makefile.in.orig Wed Jul 21 03:24:31 1999 ++++ Makefile.in Fri Oct 15 12:04:52 1999 @@ -23,9 +23,7 @@ BASEDIR= @prefix@ @@ -11,7 +11,7 @@ LIBDIR = @libdir@ VARDIR = @localstatedir@ MANDIR = @mandir@ -@@ -36,8 +34,9 @@ +@@ -36,12 +34,13 @@ # set these to where to find various files # These can be overridden by command line switches (see smbd(8)) # or in smb.conf (see smb.conf(5)) @@ -23,6 +23,11 @@ CONFIGFILE = $(LIBDIR)/smb.conf LMHOSTSFILE = $(LIBDIR)/lmhosts DRIVERFILE = $(LIBDIR)/printers.def +-PASSWD_PROGRAM = /bin/passwd ++PASSWD_PROGRAM = /usr/bin/passwd + # This is where smbpasswd et al go + PRIVATEDIR = @privatedir@ + @@ -53,6 +52,9 @@ # the directory where lock files go LOCKDIR = @lockdir@ diff --git a/net/samba3/files/patch-aj b/net/samba3/files/patch-aj new file mode 100644 index 0000000..5e31ad8 --- /dev/null +++ b/net/samba3/files/patch-aj @@ -0,0 +1,14 @@ +--- include/local.h.orig Thu Nov 11 03:36:00 1999 ++++ include/local.h Fri Feb 4 11:33:01 2000 +@@ -178,9 +178,9 @@ + * Default passwd chat script. + */ + +-#define DEFAULT_PASSWD_CHAT "*new*password* %n\\n *new*password* %n\\n *changed*" ++#define DEFAULT_PASSWD_CHAT "*\\n*ew\\spassword* %n\\n *ew\\spassword* %n\\n *updating\\sthe\\sdatabase...\\npasswd:\\sdone\\n" + + /* Minimum length of allowed password when changing UNIX password. */ +-#define MINPASSWDLENGTH 5 ++#define MINPASSWDLENGTH 6 + + #endif |