I have an ubuntu 10.04 server that I want to share files to windows and ubuntu users. I also want them to use the login/password provided by my ldap server.
Now, I am not sure about which path to go now (yay unix, so many ways of doing the same thing :D).
I want the users to have a private folder (Accessed only by the user), one group folder (full access to the entire group) and a general folder (for everyone on the network).
Now, back on my windows server days I used to have one big shared folder with permissions like this
---shared folder (all can see but not write to it) ------group1 folder (all can see but only group can get in, but not write on its root) ---------user1 folder (group can see, but not get in, only user with full access) ---------user2 folder ---------user3 folder ---------group1 group folder (group can see and write to it with full access) ---general folder (everyone can see and have full access to it)
repeat the same group1 folder structure for other groups.
Now, this was easily done in windows managing the users permitions. I am not sure how to replicate this functionality on ubuntu, for both my ubuntu and windows users.
Is that structure doable? Or should I simply go and make separate shares for everything? (one share per user, one per group, one general) Or am I missing some other way to do that?
I am not asking for a detailed how to for all this, but an idea on how to do it and which tools I should be looking at would be greatly appreciated. I dont mind having a GUI (web or not) or just using plain good terminal.
I intended to do this using samba+ldap (ldap server is already working just fine on another VM).
So any ideas?