Missing HAVE_UPDWTMPX check before using updwtmpx().
commit2c5c3a0ba980ab97450cb97e1e575b23898ccc1f
authorEric Cronin <ecronin@gizmolabs.org>
Mon, 24 Mar 2008 19:33:04 +0000 (24 12:33 -0700)
committerJames Peach <jpeach@apple.com>
Mon, 24 Mar 2008 19:33:04 +0000 (24 12:33 -0700)
tree830e4bc63c337225465ab75737e1e121820918a3
parente9ba13bc67576aa70694ce54ca70aef4375ebe13
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
(This used to be commit f19d1e3d93d0d9dfe80372c6c5635f1047f9aa88)
source3/smbd/utmp.c