summaryrefslogtreecommitdiffstats
path: root/source3/smbd/chgpasswd.c
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-07-03 19:44:06 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-07-03 19:44:06 +0000
commitf6384eca672565bf820f86721de5cf25a5e5e9fe (patch)
tree45d6716f3f46c82adca49c37828d1da41e84c192 /source3/smbd/chgpasswd.c
parent751eb54b6b71c01f0e55d82a95b1e45dd1aaae00 (diff)
downloadsamba-f6384eca672565bf820f86721de5cf25a5e5e9fe.tar.gz
samba-f6384eca672565bf820f86721de5cf25a5e5e9fe.tar.xz
samba-f6384eca672565bf820f86721de5cf25a5e5e9fe.zip
Fix for deleting directories that contain only veto files.
Needed for interoperability with netatalk volumes. Jeremy (jallison@whistle.com) (This used to be commit e72a8513bccf77177f6fb6002057fee608947a32)
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 883ad5214a8..e0dd7fc0aea 100644
--- a/source3/smbd/chgpasswd.c
+++ b/source3/smbd/chgpasswd.c
@@ -56,7 +56,7 @@ static int findpty(char **slave)
#else
strcpy( line, "/dev/ptyXX" );
- dirp = OpenDir("/dev");
+ dirp = OpenDir("/dev", True);
if (!dirp) return(-1);
while ((dpname = ReadDirName(dirp)) != NULL) {
if (strncmp(dpname, "pty", 3) == 0 && strlen(dpname) == 5) {