Problems with nisplus support in samba-2.0.0beta*

Stefan Nehlsen stn at techfak.uni-kiel.de
Wed Dec 16 08:47:31 GMT 1998


hello,

I was trying to compile the new Samba 2 beta on Solaris 7 ( and 2.5.1 )
and noticed the following problems.

This one seems to be new:

/tmp/samba-2.0.0beta4/source$ ./configure --with-nisplus

/tmp/samba-2.0.0beta4/source$ make
Using FLAGS = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSMBLOGFILE="/usr/local/samba/var/log.smb" -DNMBLOGFILE="/usr/local/samba/var/log.nmb" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"   -DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks" -DSMBRUN="/usr/local/samba/bin/smbrun" -DCODEPAGEDIR="/usr/local/samba/lib/codepages" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DBINDIR="/usr/local/samba/bin" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" -DSMB_PASSWD_PROGRAM=""
Using LIBS = -lsec -lsocket -lnsl -ldl  -lpam
.......
Linking bin/smbd
Undefined                       first referenced
 symbol                             in file
nisplus_initialize_password_db      passdb/passdb.o
ld: fatal: Symbol referencing errors. No output written to bin/smbd
make: *** [bin/smbd] Error 1


This is a collision between 2 Solaris include files (!) and
already appeared with the acl support in the alpha version.

./configure --with-automount --with-nisplus-home

/tmp/samba-2.0.0beta4/source$ make
Using FLAGS = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSMBLOGFILE="/usr/local/samba/var/log.smb" -DNMBLOGFILE="/usr/local/samba/var/log.nmb" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"   -DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks" -DSMBRUN="/usr/local/samba/bin/smbrun" -DCODEPAGEDIR="/usr/local/samba/lib/codepages" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DBINDIR="/usr/local/samba/bin" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" -DSMB_PASSWD_PROGRAM=""
Using LIBS = -lsec -lsocket -lnsl -ldl  -lpam
..........
Compiling lib/util.c
In file included from lib/util.c:26:
/usr/include/rpcsvc/nis.h:519: warning: `GROUP' redefined
/usr/include/sys/acl.h:26: warning: this is the location of the previous definition
In file included from lib/util.c:26:
/usr/include/rpcsvc/nis.h:67: parse error before `('
make: *** [lib/util.o] Error 1

Am I the first one who noticed this?


cu, Stefan


More information about the samba-technical mailing list