Make error TNG/LDAP --> a fix

Ignacio Coupeau icoupeau at unav.es
Tue Aug 22 15:28:54 GMT 2000


> > /configure --prefix=/usr/local/etc/samba --with-ldap
...
> > Linking bin/swat
> > bin/.libs/libsmbpw.so: undefined reference to `lookup_sid'
> > collect2: ld returned 1 exit status
> > make: *** [bin/swat] Error 1


I fixed mi Makefile.in and now compile.
I think that rpc_server/srv_lookup.o are required in two places...

diff -c Makefile.in-DIST Makefile.in
-------------------------------------------------
*** Makefile.in-DIST    Fri Aug 18 08:26:33 2000
--- Makefile.in Tue Aug 22 17:27:14 2000
***************
*** 480,485 ****
--- 480,486 ----
  
  SWAT_OBJ = web/cgi.o web/diagnose.o web/startstop.o web/statuspage.o \
             web/swat.o libsmb/passchange.o $(LOCKING_OBJ) \
+          rpc_server/srv_lookup.o \
             $(SIDDB_OBJ) \
             $(PRINTING_OBJ) \
             $(UNIXPASSDB_OBJ) \
***************
*** 506,511 ****
--- 507,513 ----
                printing/print_cups.o
  
  SMBPASSWD_OBJ = utils/smbpasswd.o libsmb/passchange.o \
+               rpc_server/srv_lookup.o \
                rpc_client/cli_netlogon_sync.o \
             $(SIDDB_OBJ) $(STUB_UID_OBJ)

____________________________________________________
Ignacio Coupeau, Ph.D.     e-mail: icoupeau at unav.es
CTI, Director              fax:    948 425619
University of Navarra      voice:  948 425600
Pamplona, SPAIN            http://www.unav.es/cti/




More information about the samba-ntdom mailing list