r11655: Two small fixes
commit63998bfdb16b0a82b47a0696a5da677f9fff684c
authorGerald Carter <jerry@samba.org>
Thu, 10 Nov 2005 21:10:24 +0000 (10 21:10 +0000)
committerGerald Carter <jerry@samba.org>
Thu, 10 Nov 2005 21:10:24 +0000 (10 21:10 +0000)
treea5446bf3912d4563fdded7d59a2eba6b7f3a1845
parent26c677002d15dcc00c424d57f8b3fd97a0ee870a
r11655: Two small fixes

* remove redundant call to sub_set_smb_name() in session setup code.
* Fix lockup when running 'wbinfo -t' on a Samba PDC.  Cause
  was new authenticated session setup from winbindd which
  resulted in a mangled username (machine_) that was not found
  in the local files and so was queiued up to nss_winbindd.
  Deadlock....
  So now make sure to keep the trailing '$' for machine account
  names when calling sub_set_smb_name().
source/lib/substitute.c
source/smbd/sesssetup.c