Hello Forum,
I was overwhelmed by how fast and correct the responses to my first question in this forum was, and I hope I expreience this again today.
The reason is that I have to copy a fileserver (Ubuntu 8.04 32 with Samba) to another server via Internet within tomorrow. I have no problem with the shared (Samba)folders, but are struggling with the private ones.
And my question is quite simple:
When adding users to the Samba-server i follow this procedure:
- Create a user in Linux and add password to user.
- Create user in Samba and add same password.
- Edit /etc/samba/smb.conf by adding the new username to the shared folders.
I have configured Samba to, in this process, also create a private share for each linux-user one the server. This is done by the following "code" in /etc/samba/smb.conf:
[profiles]
browsable = no
writable = yes
path = /home/private/profiles
guest ok = no
comment = User Profiles
valid users = %u
create mode = 0600
browsable = no
directory mode = 0700
How do I add myself as one of the valid users? (By doing that I hope to be able to copy every folder in one batch.)
I can of course go around the problem by allowing guests, but I don't want to if I don't have to.
I appreciate any response here.
Rgrds,
Primaxx