[Samba] group ownship stop working

Yang, Min min.yang at intel.com
Wed Mar 26 01:01:57 GMT 2003


Hi All,

I have encountered following issue after everything worked fine for a year:


	I have a unix directory /proj/admin  which group ownership is UNIX group of "engadm". In samba, I configured as following

	# This one is /proj/admin
	[admin]
  		 comment = project admin
  		 path = /proj/admin
   		writable = yes
   		valid users = @engadm
   		create mode = 0664
   		directory mode = 1775
   		case sensitive = yes
   		mangle case = yes
   		strict locking = yes
The "admin" share only works when I have a UNIX account with primary group ID is "engadm". If I have an unix acccount with "engadm" as secondly UNIX group(which means the primary group is something else), it will keep prompting me usrname/passwd when I try to mount the share on my PCs. Then no matter what username/passwd I try, it always fails. 

If I do $ ./smbclient //js1/kitsdev -U username%passwd 
added interface ip=10.13.46.29 bcast=10.13.46.255 nmask=255.255.255.0
Domain=[LOCERD01] OS=[Unix] Server=[Samba 2.2.3a]
tree connect failed: NT_STATUS_WRONG_PASSWORD

If I change my unix account primary group to be "engadm", I'll have no issue:
 ./smbclient //js1/pdt2 -U username/passwd
added interface ip=10.13.46.29 bcast=10.13.46.255 nmask=255.255.255.0
Domain=[LOCERD01] OS=[Unix] Server=[Samba 2.2.3a]
smb: \> 

I have to stresss again that this configuration worked fine until suddenly one day issue came out. All samba configuration has not been changed before and after the problem came along. Since I am a UNIX administrator, I do not have much idea  what happened to Windows environment. Please advise what could causes this failure.

Thanks

Min Yang

Intel Corp.



More information about the samba mailing list