summaryrefslogtreecommitdiffstats
path: root/source/smbd/chgpasswd.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1997-10-21 18:27:55 +0000
committerJeremy Allison <jra@samba.org>1997-10-21 18:27:55 +0000
commit46ac5928d9069af1dc60e9724f38e228dd578937 (patch)
tree27ba71f7ac0adce0a460e52b4f74403b29ae1500 /source/smbd/chgpasswd.c
parentf2554f231d1f59f30224adcc02b2b3ca4c24e0dd (diff)
downloadsamba-46ac5928d9069af1dc60e9724f38e228dd578937.tar.gz
samba-46ac5928d9069af1dc60e9724f38e228dd578937.tar.xz
samba-46ac5928d9069af1dc60e9724f38e228dd578937.zip
chgpasswd.c:
includes.h: SCO changes. server.c: Added code in open_sockets to allow 'bind interfaces only' to work as documented. Jeremy (jallison@whistle.com)
Diffstat (limited to 'source/smbd/chgpasswd.c')
-rw-r--r--source/smbd/chgpasswd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/smbd/chgpasswd.c b/source/smbd/chgpasswd.c
index bed81138b24..17401410cec 100644
--- a/source/smbd/chgpasswd.c
+++ b/source/smbd/chgpasswd.c
@@ -124,15 +124,15 @@ static int dochild(int master,char *slavedev, char *name, char *passwordprogram)
slavedev));
return(False);
}
-#if defined(SVR4) || defined(SUNOS5)
+#if defined(SVR4) || defined(SUNOS5) || defined(SCO)
ioctl(slave, I_PUSH, "ptem");
ioctl(slave, I_PUSH, "ldterm");
-#else /* defined(SVR4) || defined(SUNOS5) */
+#else /* defined(SVR4) || defined(SUNOS5) || defined(SCO) */
if (ioctl(slave,TIOCSCTTY,0) <0) {
DEBUG(3,("Error in ioctl call for slave pty\n"));
/* return(False); */
}
-#endif /* defined(SVR4) || defined(SUNOS5) */
+#endif /* defined(SVR4) || defined(SUNOS5) || defined(SCO) */
/* Close master. */
close(master);