[Samba] I can't access a Linux box from windows
Geoffrey Scott
geoffs at guestshire.com
Tue Jan 17 22:59:28 GMT 2006
Antonello PAPA wrote:
> Hi every one, sorry for bad english and thanks. I'm starting using
> linux, sorry if i ask something simple.
> I have a small network and I would like to access a file on a linux
> box with fedora 4 and of course samba from windows xp , windows 2000
> and windows 98. I see the directory bat when clic on them to see
> what's inside i get a message that tell that i don't have the right
> to access.
> I have tried to change from security = user and also encripeted
> password = no but nothing changed.
>
> This is my smb.conf
>
> [global]
> workgroup = didattica
> server string = Samba Server
> printcap name = /etc/printcap
> load printers = yes
> cups options = raw
> log file = /var/log/samba/%m.log
> max log size = 50
> dns proxy = no
> encrypt passwords = yes
> smb passwd file = /etc/samba/smbpasswd
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> idmap uid = 16777216-33554431
> idmap gid = 16777216-33554431
> template shell = /bin/false
> winbind use default domain = no
> guest ok = yes
> guest account = ipsia
> security = share
> [homes]
> comment = Home Directories
> browseable = no
> writeable = yes
> [printers]
> comment = All Printers
> path = /var/spool/samba
> browseable = no
> printable = yes
> [ipsia]
> comment = Alunno
> path = /home/ipsia
> writeable = yes
> browseable = yes
> guest ok = yes
> [mimmoge]
> path = /home/mimmoge
> writeable = yes
> browseable = yes
> guest ok = yes
>
> [papa]
> path = /home/papa
> writeable = yes
> browseable = yes
> guest ok = yes
>
> these are some kind of log from pc:
>
> [2006/01/13 17:53:58, 0] smbd/service.c:make_connection_snum(615)
> '/home/ipsia' does not exist or is not a directory, when
> connecting to [ipsia]
mkdir -p /home/{ipsia,mimmoge,papa}
chmod -R /home/{ipsia,mimmoge,papa}
> this is snbd log file
>
>
> [2006/01/11 15:21:21, 1] lib/account_pol.c:account_policy_get(204)
> account_policy_get: tdb_fetch_uint32 failed for field 1 (min
> password
> length), returning 0
> [2006/01/11 15:21:21, 1] lib/account_pol.c:account_policy_get(204)
> account_policy_get: tdb_fetch_uint32 failed for field 2 (password
> history), returning 0
Does your user exist in samba? Have you added them?
>
> [2006/01/11 16:58:40, 0] lib/util_sock.c:get_peer_addr(1150)
> getpeername failed. Error was Transport endpoint is not connected
Your windows machine terminated a connection
More information about the samba
mailing list