Missing HAVE_UPDWTMPX check before using updwtmpx().
commit2a473de4158867cc91d985ac11e8a99d1d52f9ef
authorEric Cronin <ecronin@gizmolabs.org>
Mon, 24 Mar 2008 19:33:04 +0000 (24 12:33 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 5 May 2008 12:14:26 +0000 (5 14:14 +0200)
tree14914f9c5d089ab75b62b03fba4c10f935ce8d55
parent7d26767ade7d329ba719d224fa546860c03e190a
Missing HAVE_UPDWTMPX check before using updwtmpx().

In 10.5 Mac OS X added enough utmpx support to make it past the
first two preprocessor checks around line 390 of src/smbd/utmp.c
and on to the utmpx block which uses updwtmpx().  Unfortunately,
as ./configure correctly surmised, 10.5 doesn't have that.

https://bugzilla.samba.org/show_bug.cgi?id=5184
(cherry picked from commit f19d1e3d93d0d9dfe80372c6c5635f1047f9aa88)
source/smbd/utmp.c