• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Samba - Linux help

indyjones

OSNN.net Adventurer
#1
Hi I have setup a clarkconnect linux server which works fine except i am having a nightmare configuring the samba fileshare.
I am using webmin so the configuration is generic for linux and so far i have got the server to show up, and allow access to the partions i created but, i cannot write to them dispite the status of these shares being read/write public.
Could anybody please point me to a good guide or tutorial of how to do this (preferibly using webmin) as i feel i am well out of my league :)

Thanks
 

j79zlr

Glaanies script monkey
Political User
#4
I would try and help you with that, but I'm sure someone has some experience with using Webmin would be better off trying to help you. Basically all you need to do is edit the smb.conf file in /etc/ then run smbpasswd -a username from the shell for the user accounts.

A basic config would look like:

Code:
[global]
workgroup = YOUR WORKGROUP
server string = MACHINE DESCRIPTION
netbios name = MACHINENAME
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
security = user
log file = /var/log/samba.log
log level = 1
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
wins support = yes 

[sharename]
comment = Shared name
path = /usr/share
valid users = user1 user2
public = no
writable = yes
printable = no
create mask = 0765
 
#5
I would do it by editing configuration files manually as well. At least that way, you know what you're doing so that you can troubleshoot any problems that you might encounter later.
 
T

The_Schwarz

Guest
#7
You have to change the mode of the files and directories in the shares to be writeable by the users that you wish to write to it
 

indyjones

OSNN.net Adventurer
#10
ok could you tell me how you do this i am a total newbie with this and really have no idea what i am doing the 2 parts i need to shared are separate partions on the hdd /backup and /shared. Could you post a samba config to help more with this domain login and also how do you set the samba passwords and domain logins ? Cheers
 
T

The_Schwarz

Guest
#12
in google type samba pdc howto and read that. It is eaiser then me trying to explain how :D
 

j79zlr

Glaanies script monkey
Political User
#13
just add the XP username/passwords to the Linux machine, then run smbpasswd -a user1 and enter in the password to each of the users. I don't see a need to set up a domain for a simple home network, besides if you are using XP home you cannot join a domain.
 

Members online

No members online now.

Latest posts

Latest profile posts

Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,014
Latest member
sanoravies