summaryrefslogtreecommitdiffstats
path: root/source/smbd/utmp.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix various build warningsZach Loafman2008-07-221-1/+2
| | | | | This fixes various build warnings on our platform. I'm sure I haven't caught them all, but it's a start.
* Missing HAVE_UPDWTMPX check before using updwtmpx().Eric Cronin2008-03-241-0/+4
| | | | | | | | | 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
* Fix a segfaultVolker Lendecke2008-01-221-1/+1
| | | | | | | | | | | | Found by the IBM checker. Jeremy, you changed this from 'dirname == 0' which does not make sense at all in the old code to '!dirname == 0' which from my point of view makes even less sense, because the precedence of ! is according to Harbison/Steele higher than the precedence of ==. Please check that the code now actually does what it's supposed to do. Thanks!
* Remove last pstring from smbd/*.cJeremy Allison2007-11-131-24/+40
| | | | Jeremy.
* Add test for "struct in6_addr" to the HAVE_IPV6 configure test.Gerald (Jerry) Carter2007-10-191-1/+1
| | | | | | Also make use of "if defined(HAVE_IPV6)" rather than testing for AF_INET6 since this is not sufficient on HP-UX 11.11 to ensure a working IPv6 implementation.
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-5/+5
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.samba-misc-tags/initial-v3-2-testGerald (Jerry) Carter2007-10-101-2/+2
|
* r25498: Remove checks that are always true.Jelmer Vernooij2007-10-101-2/+2
|
* r25492: Start adding IPv6 compatible code to lib/util_sock.c and deal withJeremy Allison2007-10-101-24/+39
| | | | | | the ripple effects this causes. utmp has to change etc. Remove some global varables and store address/port in the unexpected db. Jeremy.
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r1325: Always use GetTimeOfDay() (wrapper). Ensure ldap replicationJeremy Allison2007-10-101-2/+2
| | | | | | sleep time is not more than 5 seconds. Should fix issue reported by Chris Garrigues <cwg@deepeddy.com>. Jeremy.
* More tuning from cachegrind. Change most trim_string() calls to trim_char(0,Jeremy Allison2003-09-051-2/+2
| | | | | as that's what they do. Fix string_replace() to fast-path ascii. Jeremy.
* Fix up #defines around utmp_host and utmp_name. Noticed by ↵Jeremy Allison2003-08-031-0/+6
| | | | | | Cord.Hockemeyer@uni-graz.at Jeremy.
* More printf portability fixes. Got caught out by some gcc'isms lastTim Potter2003-07-251-2/+2
| | | | time. )-:
* More printf fixes - size_t is long on some architectures.Tim Potter2003-07-241-1/+1
|
* * add in David Lee's utmp patch (defaults to on if available)Gerald Carter2003-06-061-5/+18
| | | | * one more try at fixing builds when --with-ldap=no
* David Lee <t.d.lee@durham.ac.uk> provides some corrections to the commentsAndrew Bartlett2003-05-161-39/+5
| | | | | | in the UTMP code. Andrew Bartlett
* When possible, store the IP address of the connecting client, not just theAndrew Bartlett2003-04-241-3/+7
| | | | | | | | | | hostname. This makes 'last -i' show the IP. Thanks to Philip Anderson <pza@australia.op.org> for the idea. Andrew Bartlett
* Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett2003-01-031-1/+1
| | | | | | warnings. (Adds a lot of const). Andrew Bartlett
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Tidyup utmp code to cope with hostname = NULL.Jeremy Allison2001-12-181-11/+13
| | | | Jeremy
* Patch for string legths from TAKAHASHI, Motonobu(monyo).Jeremy Allison2001-12-131-17/+46
| | | | Jeremy.
* Be sure to not use strlen with NULL pointer.Simo Sorce2001-06-151-1/+2
|
* new files for headAndrew Tridgell2001-04-181-0/+575