Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Linux Add User and SAMBA
Message
From
06/11/2000 10:17:05
Liam O'Hagan
O'Hagan Programming Ltd
Ireland
 
 
To
06/11/2000 09:04:39
General information
Forum:
Linux
Category:
SAMBA
Miscellaneous
Thread ID:
00438294
Message ID:
00438330
Views:
15
Hi Dan,

There is a file /etc/smb.conf which you need to amend.

Following is the contents of my /etc/smb.conf file
For clarity, I have only included the lines that are not commented.

Change the workgroup to the name of your own workgroup.

Change the hosts allowed to the IP addresses that you want eg 192.168.100.
(I'm not sure if deleting this line entirely will allow access to all but you can experiment)

Make sure to set up a sub-directory in /home called public.

I believe there may be some W2K compatibility issues with older versions of Samba. You can check this out here.


HTH

Liam


[global]
workgroup = ASK
server string = Samba Server
hosts allow = 192.168.100.89 192.168.100.94 192.168.100.95
printcap name = /etc/printcap
load printers = yes
printing = bsd
log file = /var/log/samba/log.%m
max log size = 50
security = user
socket options = TCP_NODELAY
local master = yes
os level = 33
domain master = yes
preferred master = yes
domain logons = yes
dns proxy = no
encrypt passwords = no
password level = 0
null passwords = no
dead time = 0
debug level = 0


#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
available = no
public = no
only user = no

[public]
comment = Public
path = /home/public
public = yes
writable = yes
printable = no


# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes




>Please remember I am new to Linux....
>
>I have my Linux box set up with SuSE 7. I have SAMBA configured where my Win2K machine can see it in My Network Places. I can also ping the IP address (PING 192.168.0.4) of the Linux box and I can ping the name (PING SERVER) from the Win2K machine.
>
>What I want is very simple...I think. This is a home network, so security is not a big issue. I want to have a public folder where shared files can be stored and private folders for each user.
>
>How do I add users to the Linux and SAMBA configuration to accomplish this?
Liam O'Hagan
MCP VFP Desktop Apps
Previous
Reply
Map
View

Click here to load this message in the networking platform