samba and other share
Hi all
I want to create files on Samba so that users can see files. I mean that each user have a special files on the Samba could not see one other. Greetings to all |
Sounds like you need to start here:
LinuxQuestions.org > Forums > Linux > Linux - Newbie > Please READ this before posting! |
Samba for server.
Because of this i put the question here and not elsewhere |
Well Dear
I think you would need a PDC (Primary Domain Controller) try to find documentation on www.tldp.org for SAMBA PDC thanks |
Each user can have their own home directory and you could use "security = user". Their files inside their directories will then be protected from being read by other users unless the permissions allow it. You could set up a their shares like either of these:
Code:
[profiles] A user opening the [users] share will see the home directories of all of the users. The user can only enter the his or her own directory, unless you create permissions that will allow it, or the user changes the permissions on their own home directory by changing the "other" permissions bits or uses setfacl. Look for a samba-doc package or check if the samba package installed some books in either /usr/share/doc/samba-<version> or in /usr/share/doc/packages/samba/ depending on your distribution. There are three pdf or ps documents there: Samba 3 by Example, Samba 3 HOWTO & Reference and Samba 3 Developers Guide. The Samba package also installs the 2nd edition of Using Samba (in html form). Also, please put the distribution you use in your user profile. Sometimes knowing which distro you have is important. ( I didn't know the location of the samba documentation because I didn't know your distro. ) --- Many particulars such as whether you need to set it up as a pdc member or how users authenticate depend on information you haven't supplied on how you have your network setup, how many users, whether they are Windows Users, Linux/Unix users, or a mixture. Does your network already have an NT style PDC or do you use Active Directory? |
First let me tell you what I have. Then I will tell you what I am trying to do.
I am currently running Suse 10.3 I also have LDAP working, and I can use that to authenticate users on my network I only have a couple users now, but I expect that to grow over the next couple of months I want to do the following: 1. I want to use my LDAP server, which is sitting on the same machine, as the user database. 2. I want to create a common share that all my users have read/write access too. 3. I want to create a number of shares that only specific users have read/write too. 4. I want to create a number of shares that only specific group have read/write too. 5. I want my to give each user an individual home directory that they can use to store their personal files too. I am currently using the yast tools in suse to configure both LDAP and SAMBA. I am familiar though with some of the config files and i am not shy to edit them whenever the need arise. I would also appreciate any reading material that can give more power over my Linux box. Thanks |
Quote:
have u found any solution as to how to go about configuring ur samba? |
The Samba 3 by Example has a LDAP based configuration you can use as a model. Also, look at the 3rd Edition of "Using Samba" in the book store. They will walk you through the configurations. Don't be shy of using the YaST configuration wizards. On a previous thread I pointed out the Authentication type wizard to a user wanting to join the AD network at work. There is also an option for LDAP as well as AD. Perhaps also putting SuSE 10.3 on a laptop and running the wizard will generate the config files on the client you can use to model other Linux clients on.
Using ldap for authentication complicates things a lot more than what your original question indicates. A member of the Network Admin group can control which groups can access a share using the Windows Security dailog. Samba uses "setfacl" to set the acl's of the directories being shared. Also install the samba-doc package for the smbldap-tools & idealx documentation and sample configurations. Code:
/usr/share/doc/packages/samba/examples/LDAP/smbldap-tools-0.9.2> ls Code:
ls doc One thing to consider is that if you use a domain, you are eliminating clients with XP Home computers. Microsoft removed domain login support for XP. You need XP pro instead. |
Mr. jschiwal i will read more about it and thank you for name book.
Mr. nass i will tell you if there is a new development. Regards for all |
All times are GMT -5. The time now is 08:54 AM. |