The filer was looking for a Windows user
named “www” so it could look up its SID and determine what permissions
the UNIX user “www” were granted in the NTFS ACL.
If you don’t like mixed-mode qtrees,
create a Windows user named “www” and give it the appropriate
permissions in the NTFS ACL to do what it needs to do (read-only?). Or put a
hard mapping in your filers /etc/usermap.cfg to point UNIX user “www”
at an pre-existing NTFS service account.
From:
owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of Robert Borowicz
Sent: Thursday, September 02, 2004
1:51 PM
To: toasters@mathworks.com
Subject: NFS export from within a
CIFS share
Had an interesting one today:
We created a CIFS share called "public" to create
a department wide storage area for a project we've got going on. A
web developer was editing HTML in a subfolder there and wanted it published for
users to view. So I NFS mounted it to a test (SUN) webserver exporting it on
the filer as:
/vol/sysvol0/public/html_files
My Unix guy who config'd Apache on the test webserver created a local
user "www" to run Apache. The filer complained when you hit the
webpage generating reads of the "html_files" dir by Apache saying UID
80 NOT MAPPED. (UID 80 is the www users UID on the webserver). The filer was expecting
CIFS users athentication of an NFS mount!
So you can't NFS export CIFS share folders I found out...!!!???
I ended up creating a (mixed) qtree which is a CIFS share *and* NFS
mount and all is fine....
I thought that was an interesting problem and thought I'd share it....
-Rob