stan <[EMAIL PROTECTED]> wrote: > > I've got a 4.11-STABLE FreeBSD machine that I'd like to provide NFS > services to some UBUNTU 6.10 machines. I've put the following in > /etc/exports: > > /usr /usr/local/www/data/pictures -alldirs -maproot=0 all > > When I try to mount this, I get: > > [EMAIL PROTECTED]:~# mount black:/usr /tmp/mnt > mount: black:/usr failed, reason given by server: Permission denied > > And I see the following in dmesg on the FreeBSD machine: > > NFS request from unprivileged port (126.96.36.199:36731) > nfsd send error 32 > > I thought that I rembered having to add an option to omethng (monthd ?) to > allow it to prvide services on on privleged port, but the mountd man page > does not seem to have such an option. > > How can I amke this work?
>From the man page for mountd: -n Allow non-root mount requests to be served. This should only be specified if there are clients such as PC's, that require it. It will automatically clear the vfs.nfsrv.nfs_privport sysctl flag, which controls if the kernel will accept NFS requests from reserved ports only. Alternatively, you can adjust the Ubuntu clients so they're trying to mount the drives as root from the assigned port. -Bill _______________________________________________ firstname.lastname@example.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"