openbsd-ports/net/samba/patches/patch-smbd_chgpasswd_c
sthen 77128a8fa6 update Samba to 3.5.2, most of the work done by Ian McWilliam
Note that the default passdb backend has been changed to 'tdbsam'.
See /usr/local/share/doc/samba/README.OpenBSD (or files/README.OpenBSD)
for more information and instructions for people who wish to convert an
existing smbpasswd-based installation.
2010-04-26 17:31:57 +00:00

13 lines
555 B
Plaintext

$OpenBSD: patch-smbd_chgpasswd_c,v 1.5 2010/04/26 17:31:57 sthen Exp $
--- smbd/chgpasswd.c.orig Mon Mar 1 22:14:34 2010
+++ smbd/chgpasswd.c Tue Mar 2 09:28:24 2010
@@ -232,7 +232,7 @@ static int dochild(int master, const char *slavedev, c
passwordprogram));
/* execl() password-change application */
- if (execle("/bin/sh", "sh", "-c", passwordprogram, NULL, eptrs) < 0)
+ if (execle("/bin/sh", "sh", "-c", passwordprogram, (void *)NULL, eptrs) < 0)
{
DEBUG(3, ("Bad status returned from %s\n", passwordprogram));
return (False);