smb_ntencrypt: password encryption is not available #2

Yar Tikhiy yar at comp.chem.msu.su
Sun Feb 19 03:22:47 PST 2006


On Sat, Feb 18, 2006 at 09:51:24AM +0100, Per olof Ljungmark wrote:
> Per olof Ljungmark wrote:
> >Well,
> >options         NETSMBCRYPTO
> >options         NETSMB
> >did not work out very well:
> >Do I need anything else here?
> >
> >> smb_usr.o(.text+0x4ad):/usr/src/sys/netsmb/smb_usr.c:274: undefined 
> >reference to `md_get_mem'
> >smb_usr.o(.text+0x4fe): In function `smb_cpdatain':
> >/usr/src/sys/netsmb/smb_usr.c:291: undefined reference to `mb_init'
> >smb_usr.o(.text+0x513):/usr/src/sys/netsmb/smb_usr.c:294: undefined 
> >reference to `mb_put_mem'
> >smb_usr.o(.text+0x63a): In function `smb_usr_t2request':
> >/usr/src/sys/netsmb/smb_usr.c:340: undefined reference to `md_get_mem'
> >smb_usr.o(.text+0x689):/usr/src/sys/netsmb/smb_usr.c:353: undefined 
> >reference to `md_get_mem'
> >*** Error code 1
> >
> >Stop in /usr/obj/usr/src/sys/IKO.
> >*** Error code 1
> >
> >Stop in /usr/src.
> >*** Error code 1
> >
> >Stop in /usr/src.
> >_______________________________________________
> 
> apparently the answer was to use
> options         NETSMBCRYPTO
> only.

I'm glad you figured that out by yourself.  I should have posted
a heads-up on this change to -stable earlier, sorry.

P.S. "options NETSMB" will tell to compile NETSMB in the main kernel
file, which requires additional options, LIBMCHAIN and LIBICONV.
OTOH, they are auto-loaded as modules when smbfs is a module, too.

-- 
Yar


More information about the freebsd-stable mailing list