[Samba] I can't access a Linux box from windows

Antonello PAPA anto.papa at inwind.it
Tue Jan 17 15:29:13 GMT 2006


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]

[2006/01/12 10:02:57, 0] lib/util_sock.c:write_socket_data(430)
   write_socket_data: write failure. Error = Connection reset by peer
[2006/01/12 10:02:57, 0] lib/util_sock.c:write_socket(455)
   write_socket: Error writing 4 bytes to socket 24: ERRNO = Connection 
reset by peer
[2006/01/12 10:02:57, 0] lib/util_sock.c:send_smb(647)
   Error writing 4 bytes to client. -1. (Connection reset by peer)

this is the nmbd log file

[2006/01/14 11:43:20, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
  *****
   Samba name server IPSIA is now a local master browser for workgroup 
DIDATTICA on subnet 192.168.1.230


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
[2006/01/11 15:21:21, 1] lib/account_pol.c:account_policy_get(204)
   account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logon 
to change password), 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 4 (maximum 
password age), 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 5 (minimum 
password age), 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 6 (lockout 
duration), 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 7 (reset count 
minutes), 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 8 (bad lockout 
attempt), 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 9 (disconnect 
time), 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 10 (refuse machine 
password change), returning 0


[2006/01/11 16:58:40, 0] lib/util_sock.c:get_peer_addr(1150)
   getpeername failed. Error was Transport endpoint is not connected


thanks  a lot. 




More information about the samba mailing list