Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jan 2005 20:26:15 +0100
From:      Stefan Bethke <stb@lassitu.de>
To:        Gregor Mosheh <stigmata_blackangel@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: smbfs module + securelevel
Message-ID:  <2B9804D8-5CF4-11D9-8D31-000A95C893E4@lassitu.de>
In-Reply-To: <20050102190451.739.qmail@web53803.mail.yahoo.com>
References:  <20050102190451.739.qmail@web53803.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 02.01.2005 um 20:04 schrieb Gregor Mosheh:

> I am trying to mount a SMB share in the usual fashion:
> mount -t smbfs //user@host/share /mnt
>
> And in response I get this:
> smbfs: vfsload(smbfs): Operation not permitted
>
> I am running at securelevel 1, so it would make sense
> if that were why I'm not allowed to load the module.
> My question is: How do I have this module loaded
> during the boot process, before the securelevel is
> set? Is there a rc.conf variable to set? Or is
> mentioning this smbfs share in the fstab sufficient?

To make sure a module is loaded, add a line to /boot/loader.conf:

     smbfs_load="YES"

I believe that you also might need to load libiconf.ko, if it isn't 
pulled in automatically when loading smbfs:

     libiconf_load="YES"


HTH,
Stefan

-- 
Stefan Bethke <stb@lassitu.de>   Fon +49 170 346 0140



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2B9804D8-5CF4-11D9-8D31-000A95C893E4>