[ILUG] Samba question.
Patrick O'Connor
patchrick at gmail.com
Sat Oct 7 14:23:28 IST 2006
You might need to make your unix username a samba user. From a terminal type
smb -a username.
Where "username" is the username you you wish to use to authenticate to the
samba share.
You will be prompted to give a password which does not need to be the same
as your unix username password.
Here's a snip of my smb.conf which might help as a reference:
#======================= Global Settings
=====================================
[global]
smb passwd file = /etc/samba/smbpasswd
load printers = yes
idmap gid = 16777216-33554431
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
wins server =
domain master = yes
interfaces = eth1
encrypt passwords = yes
winbind use default domain = no
template shell = /bin/false
wins support = yes
use client driver = yes
dns proxy = no
netbios name = FileServer
server string = FileServer
idmap uid = 16777216-33554431
local master = yes
workgroup = OFFICE
printcap name = /etc/printcap
security = user
utmp = yes
preferred master = auto
bind interfaces only = yes
max log size = 50
[printers]
printable = yes
printing = cups
print command = lpr -r -P%p -o raw %s
printer admin = guest
[homes]
read only = no
browseable = no
[ftpsite]
guest account = ftp
[website]
create mask = 0755
comment = Public Web Server Folder
writeable = yes
path = /var/www
[datastore]
create mask = 0755
writeable = yes
path = /datastore
Patrick
On 07/10/06, David Gillen. <belial at redbrick.dcu.ie> wrote:
>
> I just recently setup a machine here with fairly barebones ubuntu and a
> large
> HDD. Plan to use it as general network storage on my predominately windows
> network.
>
> [data]
> path = /data/
> guest ok = yes
> case sensitive = no
> msdfs proxy = no
> invalid users =
> guest only = yes
>
> Is the block from my /etc/samba/smb.conf file, this was created via the
> KDE
> system settings interface. Now I can see the computer on my windows
> machines.
> However when I try to access it prompts for a login. Trying various user
> name
> and password variations of nothing at all, my own login to the unix box,
> even
> 'nobody' as the user name all fail.
>
> Googling so far isn't turning up anything useful, although I will
> continue,
> but maybe someone here knows exactly what is going on and how to resolve
> it.
>
> Dave.
> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug
> Who we are : http://www.linux.ie/
> Where we are : http://www.linux.ie/map/
>
More information about the ILUG
mailing list