I set up an ubuntu server on our corporate network. Added an account for each developer and shared each home directory using samba. This all worked great until I had to add a new user - I can't make the new guy's home directory available via samba.
Normally, I "map network drive" in windows, using \\servername\username and the username and password. This works great for the existing users, but not the new user.
There's nothing in the smb.conf file that lists specific users or directories, and I've barely modified from its default settings. I've restarted the service and server. All the new user's files and directories have the same r/w permissions as everyone else's. The new user is a member of all the same groups as the existing members.
I tried installing the samba client to help diagnose the problem, but that seemed to remove the samba server.
Any ideas how I can diagnose the problem?
Thanks,
Aidan.
Did you add new users to Samba users with smbpasswd -a? Also, installing samba client wouldn't remove samba server on any Linux distribution I know. I have samba client on almost all samba installations, especially for diagnosing.
1 - testparm
2 - smbstatus - if clients are connected
3 - smbclient -L \localhost - to see shares as a client
Make sure that this entry is in your smbd.conf file:
This enables home directories shared via the samba server. Be sure to restart smbd to apply any changes.
You should be able to install the samba client and server (via apt-get) without issues; if you are having problems this could indicate a larger issue with your installation.