LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2005, 10:07 AM   #1
Palula
Member
 
Registered: May 2005
Location: Brazil
Distribution: Fedore Core 3
Posts: 138

Rep: Reputation: 15
Samba Password on demand


Hello all!

The first thing that I have been having problem is that I can see my Linux computer, but when I double click it, appears an error message sayin that I donīt have permissions to see the contents of the machine.

Take a look at my smb.conf

Code:
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash) 
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors. 
#
#======================= Global Settings =====================================
[global]
   workgroup = pensadores
   # server string = Pentium 2 200 Mhz
   
   hosts allow = 192.168.100. 127.
   log file = /var/log/samba/%m.log
   max log size = 50
   guest account = nobody
   security = user
 
[homes]
   comment = Home Directories
   browseable = no
   writable = no

[tmp]
   comment = Temporary file space
   path = /tmp
   public = yes
   writable = yes
   browseable = yes
Ok so there is the config (I created the tmp folder just for a test). I figured if I can make this one work, then maybe I can create other folders and make them work too.

Four persons will be using samba (my familiy).

The project is that I will make an FTP server, because my dad and mother need to have some of their files on the net for them to get them from wherever they are. And secondly. I run the apache at home and both of them have websites (mother and father are teachers) so both of them would like to deliver some information and files for their students (FTP will be for particular use and HTTP will used for public use).

The thing is that I would like just to create some folders for them (without having to create users within linux). So letīs say the folders are created... How can they send their files to each folder without having to create linux user and passwords for each? Is there a way to enforce security as well. For example, only my father can see his folder, only my sister can see her folder, and so on?

Thanks in advance!!!
 
Old 08-20-2005, 10:49 AM   #2
XOR007
Member
 
Registered: May 2005
Location: Africa
Distribution: Ubuntu, Redhat 6.2 to 9, Centos 4, Suse 8 Ent.,Suse 9 Ent.
Posts: 51

Rep: Reputation: 15
The thing is that I would like just to create some folders for them (without having to create users within linux). So letīs say the folders are created...
Yes change security to share:

security = share

Do U have the system user "nobody" in your distro? (Try cat /etc/passwd | grep nobody) If not create it or comment the line.

For example, only my father can see his folder, only my sister can see her folder, and so on?

Yes but to enable any type of user based security, you will have to authenticate them against some sort of system database (smbpasswd, Windows NT...) is it what you want?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Logon samba on other samba password list hernandi Linux - Networking 1 10-14-2003 12:46 PM
Logon samba on other samba password list hernandi Linux - Networking 0 10-14-2003 12:40 PM
Just change Samba password, not Unix password? sorrodos Linux - Networking 1 08-14-2003 07:52 PM
samba and pppd on demand sakkie Linux - General 0 04-11-2003 02:11 AM
Samba+dial on demand isak Slackware 3 04-03-2003 07:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration