No subject


Mon Dec 1 11:34:25 GMT 2003


fine on servers running samba-2.0.10-0.7 or samba-2.0.7-21ssl and RH
7.1.  I cannot access home directories and shares on a server running
samba-2.2.1a-20010711 and RH 7.1.  The RPM for the latter version
was homemade from the source tarball without any patches.

The earlier version of samba allows access but the later version keeps
failing with an bad username or password error.

The global and homes section of the smb.conf file are identical
(except for machine names) between the different servers:


[global]
        workgroup = TOTALFLOOD
        netbios name = CONGO
        server string = Samba Server
        security = SERVER
        encrypt passwords = Yes
        password server = atlantic
        username map = /etc/samba/smbusers
        log file = /var/log/samba/%m.log
        max log size = 0
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        dns proxy = No
        printing = lprng

[homes]
        comment = Home Directories
        writeable = Yes
        browseable = No


NT stations and W2K workstatios have no problems with either version.

Log file on the failing machines show:

[2001/10/24 11:33:50, 0] passdb/smbpass.c:iterate_getsmbpwnam(1282)
  unable to open smb password database. [2001/10/24 11:36:28, 0]
lib/util_sock.c:write_socket_data(541)
  write_socket_data: write failure. Error = Broken pipe [2001/10/24
11:36:28, 0] lib/util_sock.c:write_socket(565)
  write_socket: Error writing 190 bytes to socket 40: ERRNO = Broken
pipe [2001/10/24 11:36:28, 0] libsmb/clientgen.c:cli_send_smb(89)
  Error writing 190 bytes to client. -1 [2001/10/24 11:40:25, 0]
lib/util_sock.c:write_socket_data(541)
  write_socket_data: write failure. Error = Broken pipe [2001/10/24
11:46:25, 0] lib/util_sock.c:write_socket_data(541)
  write_socket_data: write failure. Error = Broken pipe

On the machines where the connection succeeds I see:

[2001/10/24 11:33:57, 1] smbd/service.c:make_connection(550)
  delta (192.168.124.7) connect to service stephen as user stephen
(uid=501, gid=10) (pid 16427) [2001/10/24 11:33:57, 1]
smbd/service.c:make_connection(550)
  delta (192.168.124.7) connect to service stephen as user stephen
(uid=501, gid=10) (pid 16427) [2001/10/24 11:34:56, 1]
smbd/service.c:close_cnum(583)
  delta (192.168.124.7) closed connection to service stephen
[2001/10/24 11:35:26, 1] smbd/service.c:close_cnum(583)
  delta (192.168.124.7) closed connection to service stephen


--
-- Stephen Carville
UNIX and Network Administrator
Ace Flood USA
310-342-3602
stephen at totalflood.com





More information about the samba mailing list