samba tng is not compileable, once again

Lars Kneschke lars at kneschke.de
Sat May 6 18:31:06 GMT 2000


Lars Kneschke wrote:
> 
> Hello coders!
> 
> That's the error message:
> 
> [root at knecke source]# make
> Using FLAGS = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper
> -DLOGFILEBASE="/opt/samba-tng/var"
> -DSMBLOGFILE="/opt/samba-tng/var/log.smb"
> -DNMBLOGFILE="/opt/samba-tng/var/log.nmb"
> -DCONFIGFILE="/opt/samba-tng/lib/smb.conf"
> -DLMHOSTSFILE="/opt/samba-tng/lib/lmhosts"
> -DSWATDIR="/opt/samba-tng/swat" -DSBINDIR="/opt/samba-tng/sbin"
> -DLOCKDIR="/opt/samba-tng/var/locks"
> -DSMBRUN="/opt/samba-tng/bin/smbrun"
> -DCODEPAGEDIR="/opt/samba-tng/lib/codepages"
> -DDRIVERFILE="/opt/samba-tng/lib/printers.def"
> -DBINDIR="/opt/samba-tng/bin"
> -DFORMSFILE="/opt/samba-tng/lib/ntforms.def"
> -DNTDRIVERSDIR="/opt/samba-tng/lib" -DHAVE_INCLUDES_H
> -DPASSWD_PROGRAM="/bin/passwd"
> -DSMB_PASSWD_PROGRAM="/opt/samba-tng/bin/smbpasswd"
> -DSMB_PASSWD_FILE="/opt/samba-tng/private/smbpasswd"
> -DSAM_DIR="/opt/samba-tng/sam"
> -DSMB_PASSGRP_FILE="/opt/samba-tng/private/smbpassgrp"
> -DSMB_GROUP_FILE="/opt/samba-tng/private/smbgroup"
> -DSMB_ALIAS_FILE="/opt/samba-tng/private/smbalias"
> Using LIBS = -lreadline -lcurses  -ldl -lcrypt
> Compiling lib/sursalgdomonly.c with libtool
> lib/sursalgdomonly.c: In function `surs_algdomonly_sam_sid_to_unixid':
> lib/sursalgdomonly.c:99: `SURS_POSIX_UID_AS_USR' undeclared (first use
> in this function)
> lib/sursalgdomonly.c:99: (Each undeclared identifier is reported only
> once
> lib/sursalgdomonly.c:99: for each function it appears in.)
> lib/sursalgdomonly.c:104: `SURS_POSIX_GID_AS_ALS' undeclared (first use
> in this function)
> lib/sursalgdomonly.c:109: `SURS_POSIX_GID_AS_GRP' undeclared (first use
> in this function)
> lib/sursalgdomonly.c: In function `surs_algdomonly_unixid_to_sam_sid':
> lib/sursalgdomonly.c:130: `SURS_POSIX_UID_AS_USR' undeclared (first use
> in this function)
> lib/sursalgdomonly.c:135: `SURS_POSIX_GID_AS_ALS' undeclared (first use
> in this function)
> lib/sursalgdomonly.c:140: `SURS_POSIX_GID_AS_GRP' undeclared (first use
> in this function)
> lib/sursalgdomonly.c:132: warning: unreachable code at beginning of
> switch statement
> make: *** [lib/sursalgdomonly.lo] Error 1
After adding this line to lib/sursalgdomonly.c i was able to compile
lib/sursalgdomonly.c.

#include "nsswitch/winbindd.h"

Now i have the structure has no member named `name'-problem.

Compiling smbd/password.c
smbd/password.c: In function `authorise_login':
smbd/password.c:267: structure has no member named `name'
smbd/password.c:268: structure has no member named `name'
smbd/password.c:271: structure has no member named `name'
smbd/password.c:316: structure has no member named `name'
smbd/password.c:318: structure has no member named `name'
make: *** [smbd/password.o] Error 1

Cu

-- 
Watch our projects at http://www.kneschke.de/projekte!
GGI-TV, KSamba, PXTools, Samba TNG FAQ, myWebalizer


More information about the samba-ntdom mailing list