[Samba] Samba 3.0.1 + Redhat 7.3 + NIS Authentication

devnull at adc.idt.com devnull at adc.idt.com
Fri Dec 26 04:21:28 GMT 2003


Dear All, 

I have a working Samba installation on Solaris 8, which i would like to 
migrate to RH Linux 7.3 

I have installed the software from the sources and am not able to get it 
to work and decided to poll the list for some thought. I am using the same 
smb.conf file

[global]
        workgroup = FOO
        log file = /usr/local/samba/var/log.%m
        printcap name = lpstat
        max log size = 50
        socket options = TCP_NODELAY 
        dns proxy = no 
        load printers = yes
        security = user
        writable = yes
        os level = 65
        preferred master = yes
        server string = smb -- Samba Server
        guest ok = yes
        lpq cache time = 5
#       map to guest = Bad Password
        remote announce = 192.168.0.255/FOO 
        netbios name = smb

I would like to authenticate against NIS and not smbpasswd(my 
understanding is that i dont need to do anything extra) 

When i try and do a smbclient -L smb -U username

it prompts me for a password, then spits out an error saying 
"session setup failed: NT_STATUS_LOGON_FAILURE"

the same works on my solaris 8 box with no problems. 

The log file has this error message

2003/12/25 22:38:04, 0] lib/util_sock.c:get_peer_addr(948)
  getpeername failed. Error was Transport endpoint is not connected
[2003/12/25 22:38:04, 0] lib/util_sock.c:write_socket_data(388)
  write_socket_data: write failure. Error = Connection reset by peer
[2003/12/25 22:38:04, 0] lib/util_sock.c:write_socket(413)
  write_socket: Error writing 4 bytes to socket 16: ERRNO = Connection 
reset by peer
[2003/12/25 22:38:04, 0] lib/util_sock.c:send_smb(601)
  Error writing 4 bytes to client. -1. (Connection reset by peer)


I googled and did find lots of people with similar problems, but no 
solution. 

Any clues, hints will be much appreciated. 

-- 
/dev/null

devnull at adc.idt.com




More information about the samba mailing list