Prev: [Samba] Strange SAMBA Winbind behavior - WBC_ERR_AUTH_ERROR - NT_STATUS_WRONG_PASSWORD
Next: [Samba] Fwd: Documents in home folder 'Read Only'
From: Michele Petrazzo - Unipex on 12 Jan 2010 13:10 Dave Coventry wrote: > My user is logged in to the Samba Server. > > smb.conf has the following: > > > [homes] > comment = Home Directories > read only = No > create mask = 0775 > directory mask = 0775 > browseable = No > writeable = Yes > > The files in the user's home directory are set to chmod 777. > > What do I need to do to enable the user to write to her Directory? So strange. For me try: - look at the log files and see with which "unix user" your user log in. - on server, login as root, "su - unix_user" and try to open/modify a file in the user home directory. For me you can't, so it's a permission problem since the configuration are ok. Michele -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Gary Dale on 12 Jan 2010 13:10 Dave Coventry wrote: > My user is logged in to the Samba Server. > > smb.conf has the following: > > > [homes] > comment = Home Directories > read only = No > create mask = 0775 > directory mask = 0775 > browseable = No > writeable = Yes > > The files in the user's home directory are set to chmod 777. > > What do I need to do to enable the user to write to her Directory? > Who owns the files in the user's home directory? What group do they belong to? Is the user a member of that group? Has the user account been enabled? What happens when you do pdbedit -v <username> on the Samba server? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Gary Dale on 12 Jan 2010 15:50 Dave Coventry wrote: > Hi Gary, thanks for taking the time... > > 2010/1/12 Gary Dale <garydale(a)rogers.com>: > >> Who owns the files in the user's home directory? What group do they belong >> to? Is the user a member of that group? Has the user account been enabled? >> > > > She does: (her name is Patience) > > chown patirnce:patience -R /hom/patience > I hope you've got some typos in the above line and it's not what you actually typed. :) > >> What happens when you do pdbedit -v <username> on the Samba server? >> > > server:~# pdbedit -v patience > Unix username: patience > NT username: > Account Flags: [U ] > User SID: S-1-5-21-1378684879-2305813817-1546644450-3010 > Primary Group SID: S-1-5-21-1378684879-2305813817-1546644450-513 > Full Name: Kebonye Patience Vry,,, > Home Directory: \\server\patience > HomeDir Drive: > Logon Script: > Profile Path: \\server\patience\profile > Domain: SERVER > Account desc: > Workstations: > Munged dial: > Logon time: 0 > Logoff time: never > Kickoff time: never > Password last set: Mon, 14 Dec 2009 08:17:20 SAST > Password can change: Mon, 14 Dec 2009 08:17:20 SAST > Password must change: never > Last bad password : 0 > Bad password count : 0 > Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF Have you checked the id mapping and group mapping for her SIDs? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Dave Coventry on 13 Jan 2010 04:00 Got it working. The users on the Windows systems all have have their names Capitalised. I had used Swat earlier in an attempt to iron out some Authentication issues and it had removed the line 'username level 2' from my /etc/samba/smb.conf file. 2010/1/13 Dave Coventry <dgcoventry(a)gmail.com>: > Sorry, I fell into the trap of using the 'Reply' gmail button instead > of 'Reply All'. :( > > > ---------- Forwarded message ---------- > From: Dave Coventry <dgcoventry(a)gmail.com> > Date: 2010/1/13 > Subject: Re: [Samba] Documents in home folder 'Read Only' > To: Gary Dale <gary(a)extremeground.com> > > > Hi Gary. > > 2010/1/12 Gary Dale <garydale(a)rogers.com>: >>> chown patirnce:patience -R /hom/patience >>> >> >> I hope you've got some typos in the above line and it's not what you >> actually typed. :) > > Yep. Small laptop keyboard; big fingers. > >> Have you checked the id mapping and group mapping for her SIDs? > > How do I get a list of Samba users and mappings? > > I am now getting the following errors: > > tail /var/log/samba/log.reception > [2010/01/13 08:34:46, 0] auth/pampass.c:smb_pam_accountcheck(791) > smb_pam_accountcheck: PAM: Account Validation Failed - Rejecting > User patience! > [2010/01/13 08:59:07, 0] auth/pampass.c:smb_pam_account(583) > smb_pam_account: PAM: UNKNOWN PAM ERROR (9) during Account > Management for User: patience > [2010/01/13 08:59:07, 0] auth/pampass.c:smb_pam_accountcheck(791) > smb_pam_accountcheck: PAM: Account Validation Failed - Rejecting > User patience! > [2010/01/13 08:59:32, 0] auth/pampass.c:smb_pam_account(583) > smb_pam_account: PAM: UNKNOWN PAM ERROR (9) during Account > Management for User: patience > [2010/01/13 08:59:32, 0] auth/pampass.c:smb_pam_accountcheck(791) > smb_pam_accountcheck: PAM: Account Validation Failed - Rejecting > User patience! > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Dave Coventry on 13 Jan 2010 09:30
Sorry: the user told me she was in, but she is using someone else's password. (her supervisor's) It's no longer that she can't write to her home directory: she can't log in at all now. tail /var/log/samba/log.reception [2010/01/13 16:07:33, 0] auth/pampass.c:smb_pam_accountcheck(791) smb_pam_accountcheck: PAM: Account Validation Failed - Rejecting User patience! [2010/01/13 16:07:50, 0] auth/pampass.c:smb_pam_account(583) smb_pam_account: PAM: UNKNOWN PAM ERROR (9) during Account Management for User: patience [2010/01/13 16:07:50, 0] auth/pampass.c:smb_pam_accountcheck(791) smb_pam_accountcheck: PAM: Account Validation Failed - Rejecting User patience! [2010/01/13 16:08:32, 0] auth/pampass.c:smb_pam_account(583) smb_pam_account: PAM: UNKNOWN PAM ERROR (9) during Account Management for User: patience [2010/01/13 16:08:32, 0] auth/pampass.c:smb_pam_accountcheck(791) smb_pam_accountcheck: PAM: Account Validation Failed - Rejecting User patience! I have tried to reset her password using 'smbpasswd -a patience' to reset the password, but it doesn't work; she cannot access the server. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba |