summaryrefslogtreecommitdiff
path: root/source3/smbd/chgpasswd.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-07-02 18:49:08 +0000
committerJeremy Allison <jra@samba.org>1998-07-02 18:49:08 +0000
commit3daefed54e221b397f1eff43d2a83a61c4500fb1 (patch)
tree7380449ffe913828179f16bbe6deb328e9728052 /source3/smbd/chgpasswd.c
parent139a34157eba50f70c86f2dd07fb384a7cbaf9cc (diff)
downloadsamba-3daefed54e221b397f1eff43d2a83a61c4500fb1.tar.gz
samba-3daefed54e221b397f1eff43d2a83a61c4500fb1.tar.bz2
samba-3daefed54e221b397f1eff43d2a83a61c4500fb1.zip
chgpasswd.c: Fix from Peter Debus <pdebus@turing.une.edu.au> for Digital UNIX
password change core dump bug. nmbd_subnetdb.c: Make namelist_entry_compare() static. nttrans.c: More NT SMB stuff. Jeremy. (This used to be commit 1925a29c6b355b8358ee99e5b876b6376aa7d628)
Diffstat (limited to 'source3/smbd/chgpasswd.c')
-rw-r--r--source3/smbd/chgpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c
index e8f3abc4f1..204a4480e9 100644
--- a/source3/smbd/chgpasswd.c
+++ b/source3/smbd/chgpasswd.c
@@ -77,7 +77,7 @@ static int findpty(char **slave)
#else /* defined(SVR4) || defined(SUNOS5) */
fstrcpy( line, "/dev/ptyXX" );
- dirp = OpenDir(-1, "/dev", True);
+ dirp = OpenDir(-1, "/dev", False);
if (!dirp) return(-1);
while ((dpname = ReadDirName(dirp)) != NULL) {
if (strncmp(dpname, "pty", 3) == 0 && strlen(dpname) == 5) {