Problems compiling Samba-TNG against Linux/GLIBC 2.1.3
Dominik Kubla
dominik.kubla at uni-mainz.de
Wed May 10 08:07:11 GMT 2000
Multiple problems occured while i tried to compile Samba-TNG (CVS checkout
from yesterday morning) on a Debian/GNU Linux 2.2 system which uses
GLIBC 2.1.3.
1. UTMP support only compiles with the attached patch applied.
2. PROFILE support only compiles if <sys/shm.h> is included in
profile/profile.c
Yours,
Dominik Kubla
--
Networking Group, Hospital of Johannes Gutenberg-University
Obere Zahlbacher Straße 69, 55101 Mainz, Germany
Tel: +49 (0)6131 17-2482 FAX: +49 (0)6131 17-5521
-------------- next part --------------
--- smbd/connection.c.orig Tue May 9 15:26:31 2000
+++ smbd/connection.c Wed May 10 09:23:34 2000
@@ -340,7 +340,7 @@
}
}
-static void utmp_claim(const struct connect_record *crec, const connection_struct *conn)
+static void utmp_claim(const struct connections_data *crec, const connection_struct *conn)
{
struct utmp u;
@@ -354,8 +354,8 @@
return;
}
- DEBUG(2,("utmp_claim: conn: user:%s cnum:%d i:%d\n",
- conn->user, conn->cnum, i));
+ DEBUG(2,("utmp_claim: conn: user:%s cnum:%d\n",
+ conn->user, conn->cnum));
DEBUG(2,("utmp_claim: crec: pid:%d, cnum:%d name:%s addr:%s mach:%s DNS:%s\n",
crec->pid, crec->cnum, crec->name, crec->addr, crec->machine, client_name()));
More information about the samba-ntdom
mailing list