1
I'm working on sharing a user's home folder using the username and password of the user's lLnux account. I noticed that home folder sharing is quite easy as I just need to change the smb.conf file to enable it. However I can't seem to login anyway.
It seems that Samba keeps its own records of username and passwords. Is there a way that I can map/sync the Linux users' usernames and passwords automatically to Samba? The end result should be that whenever I add a new user or a user changes his/her Linux login password, Samba automatically changes its password as well.
How did you delete the user? Did you delete the user folder along with the account? Have you checked if /home/USER still exists? Normally deleting an account should not delete user's files unless explicitly requested. If you have also deleted the files, well everything depends on how you did it. I guess you were root when you deleted the user, right? I would first check root's trash, it is very unlikely that you will find anything there, but I guess it is worth trying. – None – 2011-09-07T14:08:37.680
In the worst case scenarios: http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html or http://www.linux.com/news/enterprise/storage/8257-how-to-recover-lost-files-after-you-accidentally-wipe-your-hard-drive
– None – 2011-09-07T14:09:14.653I got confused about the above comments, are they related to my post at all?? – None – 2011-09-07T17:53:19.007