Andrew J Cole
2000-Mar-20 07:53 UTC
samba-2.0.7pre2 compilation on SunOS 4.1.4 with --with-utmp
samba-2.0.7pre2 (out of the box) compiles and works well on my test file server; however after ./configure --with-utmp the compilation fails... Andrew ... smbd/connection.c: In function `utmp_fill': smbd/connection.c:328: structure has no member named `ut_user' smbd/connection.c:329: structure has no member named `ut_id' smbd/connection.c:332: structure has no member named `ut_pid' smbd/connection.c: In function `utmp_yield': smbd/connection.c:400: structure has no member named `ut_type' smbd/connection.c:400: `DEAD_PROCESS' undeclared (first use in this function) smbd/connection.c:400: (Each undeclared identifier is reported only once smbd/connection.c:400: for each function it appears in.) smbd/connection.c:401: structure has no member named `ut_exit' smbd/connection.c:402: structure has no member named `ut_exit' smbd/connection.c: In function `utmp_claim': smbd/connection.c:435: structure has no member named `ut_type' smbd/connection.c:435: `USER_PROCESS' undeclared (first use in this function) *** Error code 1 make: Fatal error: Command failed for target `smbd/connection.o'>
David Lee
2000-Mar-20 16:10 UTC
samba-2.0.7pre2 compilation on SunOS 4.1.4 with --with-utmp
Re:> Date: Mon, 20 Mar 2000 07:53:47 GMT > From: Andrew J Cole <A.J.Cole@cbl.leeds.ac.uk> > To: samba@samba.org > Subject: samba-2.0.7pre2 compilation on SunOS 4.1.4 with --with-utmp > Message-ID: <200003200753.e2K7rlt09702@cblelcb.leeds.ac.uk> > > samba-2.0.7pre2 (out of the box) compiles and works well on my test > file server; however after ./configure --with-utmp the compilation > fails... > > Andrew > > .. > smbd/connection.c: In function `utmp_fill': > smbd/connection.c:328: structure has no member named `ut_user' > smbd/connection.c:329: structure has no member named `ut_id' > smbd/connection.c:332: structure has no member named `ut_pid' > smbd/connection.c: In function `utmp_yield': > smbd/connection.c:400: structure has no member named `ut_type' > smbd/connection.c:400: `DEAD_PROCESS' undeclared (first use in this function) > smbd/connection.c:400: (Each undeclared identifier is reported only once > smbd/connection.c:400: for each function it appears in.) > smbd/connection.c:401: structure has no member named `ut_exit' > smbd/connection.c:402: structure has no member named `ut_exit' > smbd/connection.c: In function `utmp_claim': > smbd/connection.c:435: structure has no member named `ut_type' > smbd/connection.c:435: `USER_PROCESS' undeclared (first use in this function) > *** Error code 1 > make: Fatal error: Command failed for target `smbd/connection.o' > >The "--with-utmp" is very new, and very experimental. It also appears that every O.S. has its own flavour of utmp and utmpx. There is even, apparently, some mendacity in one particular OS ... It is highly likely that you are the first person ever to try SunOS 4.x . So you are probably the best placed person to attempt the port! But note the word "attempt". As far as I can see, from a set of SunOS 4.x manuals that have been collecting dust and insects here for a few years, that OS has neither "utmpx" functionality nor, more importantly, a subroutine interface onto utmp/wtmp. Any SunOS 4.x port will require a willing volunteer to do it, with direct access to a test machine. The comments in "smbd/connection.c" should point you in the right direction, and warn of some of the things that should be considered. Best wishes. (You're in a UK university, I see. Give me a ring if you wish to discuss it further.) -- : David Lee I.T. Service : : Systems Programmer Computer Centre : : University of Durham : : http://www.dur.ac.uk/~dcl0tdl South Road : : Durham : : Phone: +44 191 374 2882 U.K. :
Hello List, I keep seeing in reference to my particular error message... "The system cannot log you onto this domain because the systems computer account in its primary domain is missing or the password or that account is incorrect." ... suggestions which say do a bunch of things ...and then re-add the workstation to the Windows domain. Anyone know what "re-add the workstation to the Windows domain" means? I don't think it means delete the wks name from passwd and smbpasswd and readd, but log the nt wks into another domain or just its own wks (at the start-up screen) and then try to re-join the samba controlled domain. Anyone?