File pam_smb-2.0.0rc6-daemon-fix.patch of Package pam_smb

--- pamsmbd/server.c
+++ pamsmbd/server.c
@@ -98,6 +98,9 @@
   switch(fork())
 	 {
 	case 0:
+		freopen("/dev/null", "r", stdin);
+		freopen("/dev/null", "w", stdout);
+		freopen("/dev/null", "w", stderr);
 		break;
 	case -1:
 		printf("error in fork\n");
openSUSE Build Service is sponsored by