[pptp-server] 1st trouble I got

Philippe Trottier bj-45 at netsonic.fi
Wed Sep 19 04:58:52 CDT 2001


OK OK, I am doing something really wrong now... this TNG libsmbpw.so is not the right lib
where is the good one ?

Or is there a better list archive to look at this trouble ?

I found in the pptp archive that a combined patch is available

http://linus.yi.org/smbpw-mppe-stripdom-requiremppe.diff.bz2

but that site is down... anywhere else ???

usr/src/ppp-2.4.1/pppd/auth.c:1932: undefined reference to `setsmbfilepath'
/usr/src/ppp-2.4.1/pppd/auth.c:1933: undefined reference to `setsmbpwent'
/lib/libsmbpw.so: undefined reference to `ubi_slInitList'
/lib/libsmbpw.so: undefined reference to `lp_builtinrid_file'

------------- SNIP bunch of not there stuff

/lib/libsmbpw.so: undefined reference to `Atoic'
/lib/libsmbpw.so: undefined reference to `sys_getpid'
/lib/libsmbpw.so: undefined reference to `lp_passwd_expire_time'
/lib/libsmbpw.so: undefined reference to `sid_split_rid'
collect2: ld returned 1 exit status
make[1]: *** [pppd] Error 1
make[1]: Leaving directory `/usr/src/ppp-2.4.1/pppd'
make: *** [all] Error 2

----- Original Message -----
From: "Bjørn Ruberg" <bjorn at linpro.no>
To: "Philippe Trottier" <bj-45 at netsonic.fi>
Cc: <pptp-server at lists.schulte.org>
Sent: Wednesday, September 19, 2001 1:39 AM
Subject: Re: [pptp-server] 1st trouble I got


"Philippe Trottier" <bj-45 at netsonic.fi> writes:

> I tried to patch the smbpassword to ppp 2.4.0 and 2.4.1, but it seems that I miss a lib...
>
> anyone know where to get that lib ?
>
> /usr/bin/ld: cannot find -lsmbpw

I found it as files with the samba-tng (http://www.samba-tng.org):

bjorn at test:/shared/src/samba-tng$ find ./ -name "*libsmbpw*"
./tng/source/bin/.libs/libsmbpw.so.0
./tng/source/bin/.libs/libsmbpw.so
./tng/source/bin/.libs/libsmbpw.la


and as comments in the cvs.log of Samba-2.2.1a:

 Modified Files:
      Tag: SAMBA_TNG
        Makefile.in configure configure.in
 Log Message:
 i like this library thing so much i made a libsmbpw as well.  this contains
 passdb/smb*.c, passdb/sam*.c _and_ groupdb/*.c.

 Modified Files:
      Tag: SAMBA_TNG
        Makefile.in
 Log Message:
 forgot to add libsmbpw to install parts (i never install, so i didn't notice)

 Modified Files:
      Tag: SAMBA_TNG
        smbencrypt.c
 Log Message:
 yess!  rpcclient no longer links with libsmbpw.so, which was so grossly
 unnecessary.



Seems like the libsmpw has not found its way to the release versions yet,
but someone please correct me if I'm wrong.

Hope this helps.

--
Bjørn Ruberg, Linpro AS
bjorn at linpro.no

The more you scream, the less you hear. (Fish)












_______________________________________________
pptp-server maillist  -  pptp-server at lists.schulte.org
http://lists.schulte.org/mailman/listinfo/pptp-server
--- To unsubscribe, go to the url just above this line. --




More information about the pptp-server mailing list