I have a very strange issue. The share are exported via CIFS and NFS. System is connect to AD domain and NIS Sometime Windows user creates a file with correct UNIX id, sometime it create a file that is owned by
nobody4:x:65534:65534:SunOS 4.x NFS Anonymous Access User:/:
I see where it is coming from, first it is matched to correct Unix ID and the right away it is matched to pcuser.... On filer /etc/password
pcuser::65534:65534::/:
This is waht I see in the messegaes file... Thu Aug 22 13:47:11 CDT [netapp1:auth.trace.authenticateUser.loginTraceMsg:info]: AUTH: User from 1.1.1.8 authenticated by DC. Thu Aug 22 13:47:11 CDT [netapp1:auth.trace.mapNTToUnix:info]: AUTH: Mapping Windows user test_user to Unix user test_user. Thu Aug 22 13:47:11 CDT [netapp1:auth.trace.mapNTToUnix:info]: AUTH: Mapping Windows user test_user to Unix user pcuser.
I dont get why it first matches it to correct it and then to pcuser
It is also using options wafl.default_unix_user to map to pcuser.
Do you currently have an /etc/usermap.cfg, and what does that look like if it is anything other than the default comments.
I am guessing that you do not have any mappings in the file and the times it worked correctly is because the same username exists in unix and windows. (if the username is the same on both sides, it should map with default settings, if it is different and you want something other than the wafl.default_unix_user you need to edit the usermap.cfg)
From: toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net] On Behalf Of Iluhes Sent: Thursday, August 22, 2013 2:53 PM To: Toasters Subject: Mapping CIFS user to Unix user
I have a very strange issue. The share are exported via CIFS and NFS. System is connect to AD domain and NIS Sometime Windows user creates a file with correct UNIX id, sometime it create a file that is owned by
nobody4:x:65534:65534:SunOS 4.x NFS Anonymous Access User:/:
I see where it is coming from, first it is matched to correct Unix ID and the right away it is matched to pcuser.... On filer /etc/password
pcuser::65534:65534::/:
This is waht I see in the messegaes file... Thu Aug 22 13:47:11 CDT [netapp1:auth.trace.authenticateUser.loginTraceMsg:info]: AUTH: User from 1.1.1.8 authenticated by DC. Thu Aug 22 13:47:11 CDT [netapp1:auth.trace.mapNTToUnix:info]: AUTH: Mapping Windows user test_user to Unix user test_user. Thu Aug 22 13:47:11 CDT [netapp1:auth.trace.mapNTToUnix:info]: AUTH: Mapping Windows user test_user to Unix user pcuser.
I dont get why it first matches it to correct it and then to pcuser
Thanks Jordan, This is too silly, sorry to waste everyone's time. The NIS master crashed and was down.
________________________________ From: Jordan Slingerland Jordan.Slingerland@independenthealth.com To: Iluhes iluhes@yahoo.com; Toasters toasters@teaparty.net Sent: Thursday, August 22, 2013 2:42 PM Subject: RE: Mapping CIFS user to Unix user
It is also using options wafl.default_unix_user to map to pcuser. Do you currently have an /etc/usermap.cfg, and what does that look like if it is anything other than the default comments. I am guessing that you do not have any mappings in the file and the times it worked correctly is because the same username exists in unix and windows. (if the username is the same on both sides, it should map with default settings, if it is different and you want something other than the wafl.default_unix_user you need to edit the usermap.cfg) From:toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net] On Behalf Of Iluhes Sent: Thursday, August 22, 2013 2:53 PM To: Toasters Subject: Mapping CIFS user to Unix user I have a very strange issue. The share are exported via CIFS and NFS. System is connect to AD domain and NIS Sometime Windows user creates a file with correct UNIX id, sometime it create a file that is owned by nobody4:x:65534:65534:SunOS 4.x NFS Anonymous Access User:/: I see where it is coming from, first it is matched to correct Unix ID and the right away it is matched to pcuser.... On filer /etc/password pcuser::65534:65534::/: This is waht I see in the messegaes file... Thu Aug 22 13:47:11 CDT [netapp1:auth.trace.authenticateUser.loginTraceMsg:info]: AUTH: User from 1.1.1.8 authenticated by DC. Thu Aug 22 13:47:11 CDT [netapp1:auth.trace.mapNTToUnix:info]: AUTH: Mapping Windows user test_user to Unix user test_user. Thu Aug 22 13:47:11 CDT [netapp1:auth.trace.mapNTToUnix:info]: AUTH: Mapping Windows user test_user to Unix user pcuser. I dont get why it first matches it to correct it and then to pcuser