[Samba] 3.0.1pre3 -> 3.0.1rc1: doesn't want to connect to itself

Karel Kulhavý clock at twibright.com
Fri Dec 5 15:29:09 GMT 2003


On Fri, Dec 05, 2003 at 08:27:46AM -0600, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Karel Kulhavý wrote:
> | Hello
> |
> | With smb.conf below, samba 3.0.1pre3 is capable of connecting to itself
> | by smbclient -L oberon <empty_password>. Also domain logons work.
> |
> | With 3.0.1rc1 it just writes
> |
> | bash-2.05b# smbclient -L oberon
> | Password:<empty>
> | tree connect failed: Call returned zero bytes (EOF)
> | bash-2.05b# smbclient --version
> | Version 3.0.1rc1
> 
> Hmmm... works ok for me.  what about 'smbclient -L oberon -N'

bash-2.05b# smbclient -L oberon -N
[2003/12/05 16:06:08, 0] lib/util_sock.c:read_socket_with_timeout(279)
  read_socket_with_timeout: timeout read. read error = Connection reset by peer.
tree connect failed: Read error: Connection reset by peer
bash-2.05b# ps ax | grep mbd
 1080 ?        S      0:00 /usr/local/samba/sbin/smbd
 1082 ?        S      0:00 /usr/local/samba/sbin/nmbd
 1559 pts/1    S      0:00 grep mbd

This is in the logs log.smb:

[2003/12/05 16:25:45, 1] smbd/process.c:process_smb(883)
  Connection denied from 195.113.29.140
[2003/12/05 16:25:45, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/12/05 16:25:45, 2] smbd/server.c:exit_server(558)
  Closing connections
[2003/12/05 16:25:45, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to
[2003/12/05 16:25:45, 3] smbd/connection.c:yield_connection(76)
  yield_connection: tdb_delete for name  failed with error Record does not exist
.
[2003/12/05 16:25:45, 3] smbd/server.c:exit_server(601)
  Server exit (connection denied)

> | [global]
> |         security = user
> |         wins support = no
> |         workgroup = KEVF_D4
> |         encrypt passwords = yes
> |         domain logons = yes
> |         null passwords = yes
> |         interfaces = eth0
> |         preferred master = Yes
> |         domain master = Yes
> |         debuglevel = 3
> |         ldap ssl = no
> |         hosts allow = 195.113.28.0/255.255.0.0
> 
> Try adding '127.0.0.1' to you hosts allow.

Now:        hosts allow = 195.113.28.0/255.255.0.0, 127.0.0.1

And it does the same.

Also man smb.conf says "Note that the localhost address 127.0.0.1 will always
be allowed access unless specifically denied by a hosts deny option."

Cl<


More information about the samba mailing list