From - Wed Mar 17 10:14:49 1999 Message-Id: <199903162015.UAA11670@unter.encoding.com> Errors-To: listproc-errors@samba.anu.edu.au Reply-To: led@unter.encoding.com Originator: samba-ntdom@samba.org Sender: samba-ntdom@samba.org Precedence: bulk From: led To: Multiple recipients of list Subject: domain groups X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas X-URL: http://samba.anu.edu.au/listproc X-Comment: Discussion of NT domain controller support in Samba Date: Wed, 17 Mar 1999 07:16:00 +1100 X-UIDL: f8d2404f9d14def316ffcc6ebe7cc736 Status: U is there any documentation for the 2.0.3 implementation of the domain group option? It does not appear that the "domain group map" exists outside of the "HEAD" tree. Alternatively, where can the "HEAD" version be found? I am working to make an existing NIS system drive a samba domain (thus, users in the NIS password file are members of the domain, likewise, groups in the NIS group map.) I found it necessary to patch chgpasswd.c in order to get the unix password syncing to work on a FreeBSD 3.0 machine. Use at own risk =) *** chgpasswd.c.hacked Tue Mar 16 11:57:28 1999 --- chgpasswd.c Tue Mar 16 11:57:38 1999 *************** *** 317,325 **** kill(pid, SIGKILL); /* be sure to end this process */ } - /* led hack */ - close(master); - while((wpid = sys_waitpid(pid, &wstat, 0)) < 0) { if(errno == EINTR) { errno = 0; --- 317,322 ---- *************** *** 346,358 **** DEBUG(3,("We were waiting for the wrong process ID\n")); return(False); } ! /* led hack */ ! /* ! * if (WIFEXITED(wstat) == 0) { ! * DEBUG(3,("The process exited while we were waiting\n")); ! * return(False); ! * } ! */ if (WEXITSTATUS(wstat) != 0) { DEBUG(3,("The status of the process exiting was %d\n", wstat)); return(False); --- 343,352 ---- DEBUG(3,("We were waiting for the wrong process ID\n")); return(False); } ! if (WIFEXITED(wstat) == 0) { ! DEBUG(3,("The process exited while we were waiting\n")); ! return(False); ! } if (WEXITSTATUS(wstat) != 0) { DEBUG(3,("The status of the process exiting was %d\n", wstat)); return(False);