OK. This code works on a RedHat 6.0 system. However smbpasswd
commite1d2b174caf5f0c48a8fac25778f72a868ec6eb7
authorGerald Carter <jerry@samba.org>
Thu, 9 Dec 1999 07:06:12 +0000 (9 07:06 +0000)
committerGerald Carter <jerry@samba.org>
Thu, 9 Dec 1999 07:06:12 +0000 (9 07:06 +0000)
tree524c588ea62d25668252ff06e21a72480deb8f12
parent631814302d6992138cfe024ba7bd456cc7e0d3bf
OK.  This code works on a RedHat 6.0 system.  However smbpasswd
time out of sending the session setup on Solaris 2.6.  No idea.
I'll work on it some tomorrow.  This is to fix the "Unable to
setup password vectors" thingy.

Also changed an inet_aton() to inet_addr() as the former is
not very portable :-)

Luke,  I set the redir flag to false because the connection to
the smb-agent was failing and smbpasswd bombed.  Double check me
on this one.

-jc
source/lib/util.c
source/libsmb/clientgen.c
source/rpc_client/cli_connect.c
source/utils/smbpasswd.c