I
had posted about winbind picking the wrong domain to this list about a week ago
and this was the problem I was still trying to solve when I must have messed
something else up.
SO! Winbind WAS working (even though it was picking the wrong
domain)
I
re-ran smbpasswd -j LMC -r <our PDC> -U
administrator
I
get prompted for the password, enter it and I am told that I joined the LMC
domain.
(smbd and nmbd ARE running)
Then when I do
winbindd -i -d 3 I get:
------<above this was the smb shares it
processed>-----
added interface ip=172.16.0.37 bcast=172.16.1.255
nmask=255.255.254.0
added interface ip=172.16.0.37 bcast=172.16.1.255 nmask=255.255.254.0
resolve_lmhosts: Attempting lmhosts lookup for name LMC-EXC1<0x20>
resolve_hosts: Attempting host lookup for name LMC-EXC1<0x20>
bind succeeded on port 0
cm_get_dc_name: Returning DC LMC_EXC1 (172.16.0.33) for domain LMC
IPC$ connections done by user LMC\Administrator
Connecting to host=LMC_EXC1 share=IPC$
Connecting to 172.16.0.33 at port 445
error connecting to 172.16.0.33:445 (Connection refused)
Connecting to 172.16.0.33 at port 139
failed session setup
Could not open a connection to LMC for \PIPE\lsarpc (NT_STATUS_LOGON_FAILURE)
Retrying startup domain sid fetch for LMC
resolve_lmhosts: Attempting lmhosts lookup for name LMC-EXC1<0x20>
resolve_hosts: Attempting host lookup for name LMC-EXC1<0x20>
bind succeeded on port 0
cm_get_dc_name: Returning DC LMC_EXC1 (172.16.0.33) for domain LMC
Could not open a connection to LMC for \PIPE\lsarpc (NT_STATUS_LOGON_FAILURE)
added interface ip=172.16.0.37 bcast=172.16.1.255 nmask=255.255.254.0
resolve_lmhosts: Attempting lmhosts lookup for name LMC-EXC1<0x20>
resolve_hosts: Attempting host lookup for name LMC-EXC1<0x20>
bind succeeded on port 0
cm_get_dc_name: Returning DC LMC_EXC1 (172.16.0.33) for domain LMC
IPC$ connections done by user LMC\Administrator
Connecting to host=LMC_EXC1 share=IPC$
Connecting to 172.16.0.33 at port 445
error connecting to 172.16.0.33:445 (Connection refused)
Connecting to 172.16.0.33 at port 139
failed session setup
Could not open a connection to LMC for \PIPE\lsarpc (NT_STATUS_LOGON_FAILURE)
Retrying startup domain sid fetch for LMC
resolve_lmhosts: Attempting lmhosts lookup for name LMC-EXC1<0x20>
resolve_hosts: Attempting host lookup for name LMC-EXC1<0x20>
bind succeeded on port 0
cm_get_dc_name: Returning DC LMC_EXC1 (172.16.0.33) for domain LMC
Could not open a connection to LMC for \PIPE\lsarpc (NT_STATUS_LOGON_FAILURE)
-----<this would continue, but I
ctrl+c>-----
Port 139/tcp on LMC_EXC1 is listening as stated from an
nmap.
I've tried removing the samba machine from the domain and re-adding
it
I
also tried
wbinfo --set-auth-user (trying both administrator and my own user name as
the user) no luck.
For
what it's worth here is the last so many lines from
/var/log/samba/log.winbindd
-----<begin log>-----
[2002/12/15 01:22:59, 0]
rpc_client/cli_pipe.c:rpc_api_pipe(359)
cli_pipe: return critical error. Error was Write error: Connection reset by peer
cli_pipe: return critical error. Error was Write error: Connection reset by peer
[2002/12/15 21:03:04, 0] lib/util_sock.c:write_socket_data(499)
write_socket_data: write failure. Error = Connection reset by peer
[2002/12/15 21:03:04, 0] lib/util_sock.c:write_socket(523)
write_socket: Error writing 132 bytes to socket 10: ERRNO = Connection reset by peer
[2002/12/15 21:03:04, 0] libsmb/clientgen.c:cli_send_smb(101)
Error writing 132 bytes to client. -1 (Connection reset by peer)
[2002/12/15 21:03:04, 0] rpc_client/cli_pipe.c:rpc_api_pipe(359)
cli_pipe: return critical error. Error was Write error: Connection reset by peer
write_socket_data: write failure. Error = Connection reset by peer
[2002/12/15 21:03:04, 0] lib/util_sock.c:write_socket(523)
write_socket: Error writing 132 bytes to socket 10: ERRNO = Connection reset by peer
[2002/12/15 21:03:04, 0] libsmb/clientgen.c:cli_send_smb(101)
Error writing 132 bytes to client. -1 (Connection reset by peer)
[2002/12/15 21:03:04, 0] rpc_client/cli_pipe.c:rpc_api_pipe(359)
cli_pipe: return critical error. Error was Write error: Connection reset by peer
[2002/12/16 09:21:32, 0] rpc_parse/parse_prs.c:prs_mem_get(482)
prs_mem_get: reading data of size 4 would overrun buffer.
[2002/12/16 09:21:53, 0] rpc_parse/parse_prs.c:prs_mem_get(482)
prs_mem_get: reading data of size 4 would overrun buffer.
[2002/12/16 09:22:09, 0] rpc_parse/parse_prs.c:prs_mem_get(482)
prs_mem_get: reading data of size 4 would overrun buffer.
[2002/12/16 09:22:46, 0] rpc_parse/parse_prs.c:prs_mem_get(482)
prs_mem_get: reading data of size 4 would overrun buffer.
prs_mem_get: reading data of size 4 would overrun buffer.
[2002/12/16 09:21:53, 0] rpc_parse/parse_prs.c:prs_mem_get(482)
prs_mem_get: reading data of size 4 would overrun buffer.
[2002/12/16 09:22:09, 0] rpc_parse/parse_prs.c:prs_mem_get(482)
prs_mem_get: reading data of size 4 would overrun buffer.
[2002/12/16 09:22:46, 0] rpc_parse/parse_prs.c:prs_mem_get(482)
prs_mem_get: reading data of size 4 would overrun buffer.
-----<end log>-----
Contents of my smb.conf are:
-----<begin smb.con>-----
[global]
passwd program = /usr/bin/passwd %u
pam password change = yes
printing = lprng
winbind uid = 10000-20000
dns proxy = no
null passwords = yes
encrypt passwords = yes
template shell = /bin/bash
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
template homedir = /home/%D/%U
printcap name = /etc/printcap
max log size = 0
winbind cache time = 10
hosts allow = 172.16. 127.
password server = LMC-EXC1
obey pam restrictions = yes
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*al
l*authentication*tokens*updated*successfully*
security = domain
unix password sync = Yes
winbind separator = +
workgroup = LMC
server string = %h Server (Samba %v)
winbind gid = 10000-20000
netbios name = nysrv008
log file = /var/log/samba/%m.log
load printers = yes
passwd program = /usr/bin/passwd %u
pam password change = yes
printing = lprng
winbind uid = 10000-20000
dns proxy = no
null passwords = yes
encrypt passwords = yes
template shell = /bin/bash
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
template homedir = /home/%D/%U
printcap name = /etc/printcap
max log size = 0
winbind cache time = 10
hosts allow = 172.16. 127.
password server = LMC-EXC1
obey pam restrictions = yes
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*al
l*authentication*tokens*updated*successfully*
security = domain
unix password sync = Yes
winbind separator = +
workgroup = LMC
server string = %h Server (Samba %v)
winbind gid = 10000-20000
netbios name = nysrv008
log file = /var/log/samba/%m.log
load printers = yes
-----<end smb.conf>-----
I
am running RH7.3
Kernel 2.4.18-3
winbind 2.2.7
If
I can provide any more info please just let me
know...
Thanks for the help!
Dan
