[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-28a-31-gf6b0045

Volker Lendecke vlendec at samba.org
Fri Apr 11 09:34:59 GMT 2008


The branch, v3-0-test has been updated
       via  f6b004591025b17fea40f1fda5843764b729140e (commit)
      from  4b11de3cfaa6a193f919f8b68c8ca0a7bca46ab9 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test


- Log -----------------------------------------------------------------
commit f6b004591025b17fea40f1fda5843764b729140e
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Apr 11 11:34:33 2008 +0200

    Fix bug 5366

-----------------------------------------------------------------------

Summary of changes:
 source/smbd/chgpasswd.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/smbd/chgpasswd.c b/source/smbd/chgpasswd.c
index 2a4d965..c8a32ed 100644
--- a/source/smbd/chgpasswd.c
+++ b/source/smbd/chgpasswd.c
@@ -154,7 +154,12 @@ static int dochild(int master, const char *slavedev, const struct passwd *pass,
 		DEBUG(3, ("More weirdness, could not open %s\n", slavedev));
 		return (False);
 	}
-#if defined(TIOCSCTTY)
+#if defined(TIOCSCTTY) && !defined(SUNOS5)
+	/*
+	 * On patched Solaris 10 TIOCSCTTY is defined but seems not to work,
+	 * see the discussion under
+	 * https://bugzilla.samba.org/show_bug.cgi?id=5366.
+	 */
 	if (ioctl(slave, TIOCSCTTY, 0) < 0)
 	{
 		DEBUG(3, ("Error in ioctl call for slave pty\n"));


-- 
Samba Shared Repository


More information about the samba-cvs mailing list