Hi,
I have a filer with CIFS and NFS licenses. I want to share UNIX style qtrees on PC and UNIX. Currently, if a qtree has UNIX style permissions it will not allow the PC user to open a share. If the qtree has NTFS permissions it will not allow UNIX users to access the share. I have a set-up in my own office where we have NIS, and this handles the name resolution. However, the office I am in currently does not have NIS. I have tried createing a password and group file on the filer, identical to the password files used on the UNIX systems, however this has no effect.
Any ideas?
Simon
Simon Clawson Systems Administrator HDL Designer Series Team
Mentor Graphics Ireland (UK Branch) Rivergate Newbury Business Park London Road Newbury Berks RG14 2QB
Tel - 01635 811409 Fax - 01635 810102 <<Clawson, Simon.vcf>>
Hi,
I have a filer with CIFS and NFS licenses. I want to share UNIX style qtrees on PC and UNIX. Currently, if a qtree has UNIX style permissions it will not allow the PC user to open a share. If the qtree has NTFS permissions it will not allow UNIX users to access the share. I have a set-up in my own office where we have NIS, and this handles the name resolution. However, the office I am in currently does not have NIS. I have tried createing a password and group file on the filer, identical to the password files used on the UNIX systems, however this has no effect.
Any ideas?
Simon
Have you checked /etc/nsswitch.conf on the filer? Perhaps it is configured to use NIS and not local files.
Steve Losen scl@virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support
Simon,
Are you bound into the NIS domain? How about a Windoz domain? If the answer is yes to both you may need to map the user Unix-Windows in /etc/usermap.cfg.
If you are bound to a NIS domain but *NOT* a Windows domain then you'll have to add a local user on the Filer with the "useradmin useradd {user}" command. Once you do this you'll be able to get data back with the "wcc" command seeing all the NIS groups the user is part of. Take care to make the local user the same as the NIS user and {hopefully} the PC user you want to mount the CIFS share as.
There are a couple of great documents on this in the NOW site under "troubleshooting".
Later
-Robert
Clawson, Simon wrote:
Hi,
I have a filer with CIFS and NFS licenses. I want to share UNIX style qtrees on PC and UNIX. Currently, if a qtree has UNIX style permissions it will not allow the PC user to open a share. If the qtree has NTFS permissions it will not allow UNIX users to access the share. I have a set-up in my own office where we have NIS, and this handles the name resolution. However, the office I am in currently does not have NIS. I have tried createing a password and group file on the filer, identical to the password files used on the UNIX systems, however this has no effect.
Any ideas?
Simon
also check the option wafl.default_unix_user (and perhaps wafl.default_unix_user) default_unix user allow you to map all cifs user to a dummy user (pcuser for exemple) when they try to access to Unix qtree if you manage ACL on a share basis, ACL on files are useless for you, then you could use this solution
every cifs user is mapped to pcuser if not specifically mapped in usermap.cfg this way you don't have to map every user and every user authenticated by the DC can access the Filer
don't forget to create the pcuser in /etc/passwd file
default_nt user make the same for unix user on ntfs qtree
Clawson, Simon wrote:
Hi,
I have a filer with CIFS and NFS licenses. I want to share UNIX style qtrees on PC and UNIX. Currently, if a qtree has UNIX style permissions it will not allow the PC user to open a share. If the qtree has NTFS permissions it will not allow UNIX users to access the share. I have a set-up in my own office where we have NIS, and this handles the name resolution. However, the office I am in currently does not have NIS. I have tried createing a password and group file on the filer, identical to the password files used on the UNIX systems, however this has no effect.
Any ideas?
Simon
Simon Clawson Systems Administrator HDL Designer Series Team
Mentor Graphics Ireland (UK Branch) Rivergate Newbury Business Park London Road Newbury Berks RG14 2QB
Tel - 01635 811409 Fax - 01635 810102 <<Clawson, Simon.vcf>>