mr_glyn
10-14-2006, 06:13 AM
I have just run Samba to i can work files from the network..
however i have been asked for a username and password..
(never added one)
how can i find out what controls this#???
cheers guys
ironfist
10-14-2006, 06:38 AM
mr glyn:
/etc/samba/smb.conf - configure it to your needs.
Here is an example:
[mountname]
printable = no
writable = yes
create mode = 777
only guest = yes
public = yes
path = /mnt/myshareddrive
directory mode = 777
This lets everyone mount the drive without using
any username or password. Full access and all
files created are available to all.
Make sure to keep your server very firewalled
when using anonymous samba-shares.
mr_glyn
10-14-2006, 06:42 AM
[public]
path = /home/sites
public = yes
only guest = yes
writable = yes
printable = no
this is what i had..
mr_glyn
10-14-2006, 07:08 AM
no did not work.. still asking me for a username and password...
this is my current file...
[global]
workgroup = WORKGROUP
wins support = no
server string = Cobalt RaQ
os level = 1
short preserve case = yes
preserve case = yes
domain logons = no
local master = yes
lock directory = /var/lock/samba
locking = yes
strict locking = yes
share modes = yes
security = user
socket options = TCP_NODELAY
log file = /var/log/samba
max log size = 5000
veto files = /Network Trash Folder/
encrypt passwords = yes
dead time = 5
debug level = 1
dns proxy = no
domain master = no
guest account = ftp
local master = yes
preferred master = yes
alternate permissions = no
case sensitive = no
default case = upper
delete readonly = yes
follow symlinks = yes
locking = yes
mangle case = no
map hidden = yes
map system = yes
oplocks = yes
preserve case = yes
short preserve case = yes
strict locking = yes
delete veto files = yes
wide links = yes
;
[homes]
comment = Home Directories
browseable = yes
read only = no
create mask = 0755
;
mr_glyn
10-14-2006, 09:49 AM
it's still asking me for a username and password...
ok ok,,, how can i assign a username and password to it?
zeffie
10-14-2006, 11:54 AM
man smbpasswd
smbpasswd - change a users SMB password
zeffie
11-27-2006, 04:48 AM
if your using my Turbo updates (http://www.zeffie.com/RaQ4-Turbo-Updates.html) you can also use the Samba Swat tool if you turn it and xinetd on...