Hi all: I'm running Caldera OpenLinux with kernel 2.0.29, shadow password and quotas. The shadow kit is 980403 and is working fine. Well, when I try to compile I got this output : ------------------------- Begin Compile output ------------------------ Using CFLAGS = -O -DSMBLOGFILE="/usr/local/samba/var/log.smb" -DNMBLOGFILE="/usr /local/samba/var/log.nmb" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTS FILE="/usr/local/samba/lib/lmhosts" -DWEB_ROOT="/usr/local/samba" -DLOCKDIR="/us r/local/samba/var/locks" -DSMBRUN="/usr/local/samba/bin/smbrun" -DCODEPAGEDIR="/ usr/local/samba/lib/codepages" -DWORKGROUP="CIENS.UCV.VE" -DGUEST_ACCOUNT="samba free" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -O3 -m486 -DLINUX -DSHADO W_PWD -DQUOTAS -DFAST_SHARE_MODES -DSMB_PASSWD="/usr/local/samba/bin/smbp asswd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" Using LIBS = -lshadow Compiling util.c Compiling system.c Compiling charset.c Compiling kanji.c Compiling fault.c Compiling smbencrypt.c Compiling smbdes.c Compiling charcnv.c Compiling md4.c Compiling loadparm.c Compiling params.c Compiling pcap.c Compiling username.c Compiling time.c Compiling namequery.c Compiling nmblib.c Compiling interface.c Compiling replace.c Compiling print_svid.c Compiling smberr.c Compiling mem_man/mem_man.c Compiling trans2.c Compiling message.c Compiling dir.c Compiling printing.c Compiling ipc.c Compiling reply.c Compiling mangle.c Compiling chgpasswd.c Compiling password.c Compiling quotas.c Compiling uid.c Compiling predict.c Compiling credentials.c Compiling clientgen.c Compiling pipes.c Compiling server.c Compiling access.c Compiling ufc.c Compiling smbpass.c Compiling ubiqx/ubi_dLinkList.c Compiling rpc_pipes/srvparse.c Compiling rpc_pipes/smbparse.c Compiling rpc_pipes/lsaparse.c Compiling rpc_pipes/pipeutil.c Compiling rpc_pipes/pipe_hnd.c Compiling rpc_pipes/samrparse.c Compiling rpc_pipes/wksparse.c Compiling rpc_pipes/lsa_hnd.c Compiling rpc_pipes/pipenetlog.c Compiling rpc_pipes/pipentlsa.c Compiling rpc_pipes/pipesrvsvc.c Compiling rpc_pipes/pipewkssvc.c Compiling rpc_pipes/pipesamr.c Compiling locking_shm.c Compiling locking_slow.c Compiling locking.c Compiling shmem.c Compiling shmem_sysv.c Linking smbd /lib/libshadow.so: undefined reference to `putgrent' /lib/libshadow.so: undefined reference to `sgetgrent' /lib/libshadow.so: undefined reference to `sgetpwent' make: *** [smbd] Error 1 ------------------------- End Compile output ------------------------ What can be wrong in the link? Thanks.
On Sun, May 03, 1998 at 09:07:53AM +1000, Hugo Segura wrote:>Hi all: > >I'm running Caldera OpenLinux with kernel 2.0.29, shadow password and >quotas. The shadow kit is 980403 and is working fine.SAMBA works fine on Caldera OpenLinux 1.1 without specifying either shadow or PAM passwords when compiling SAMBA. Caldera 1.2 changed something which requires SAMBA be compiled with PAM support. Caldera OpenLinux 1.1 uses PAM, but has shadow passwords turned off by default. To turn shadow password on without installing any other software requires adding the shadow keyword to /etc/pam.d/passwd, and manually creating the initial /etc/passwd file with something like these (passwords changed to protect the innocent): root:xxxxxxxx:10118:0:10000:0:0:0:12 col:xxxxxxxx:10118:0:10000:0:0:0:12 Bill -- INTERNET: bill@Celestial.COM Bill Campbell; Celestial Systems, Inc. UUCP: camco!bill PO Box 820; 2835 82nd Avenue S.E. S-100 FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ Those who profess to favor freedom, and yet depreciate agitation, are men who want rain without thunder and lightning. They want the ocean without the roar of its many waters. -- Frederick Douglass