summaryrefslogtreecommitdiffstats
path: root/source3/smbd/utmp.c
Commit message (Collapse)AuthorAgeFilesLines
* 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! (This used to be commit c8def5564739c4c754001f84fcfb77f1093b96c3)
* Remove last pstring from smbd/*.cJeremy Allison2007-11-131-24/+40
| | | | | Jeremy. (This used to be commit f1680bada913af4eaf5c0d686983018d6c8b3e5f)
* 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. (This used to be commit 620785df4e57b72471ff0315e22e0d2f28a2b1a5)
* 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. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter2007-10-101-2/+2
| | | | (This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
* r25498: Remove checks that are always true.Jelmer Vernooij2007-10-101-2/+2
| | | | (This used to be commit 2f2bdfa0df758104a9a2fcafe49d6215d8753536)
* 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. (This used to be commit 18c6a2211d9e25233d01715b3f78977edcd6d869)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* 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. (This used to be commit fbc06831d3a7e8645409158ee1ae1f9f192913a7)
* 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. (This used to be commit f35e9a8b909d3c74be47083ccc4a4e91a14938db)
* Fix up #defines around utmp_host and utmp_name. Noticed by ↵Jeremy Allison2003-08-031-0/+6
| | | | | | | Cord.Hockemeyer@uni-graz.at Jeremy. (This used to be commit 07c5ecb945c1189fd6e8628f5e989b90dd15163b)
* More printf portability fixes. Got caught out by some gcc'isms lastTim Potter2003-07-251-2/+2
| | | | | time. )-: (This used to be commit 59dae1da66a5eb7e128263bd578f167d8746e9f0)
* More printf fixes - size_t is long on some architectures.Tim Potter2003-07-241-1/+1
| | | | (This used to be commit ba4d334b822248d8ab929c9568533431603d967e)
* * 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 (This used to be commit b516ab7bdef6b6b2b7f0df8966dbd4c329f46a92)
* 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 (This used to be commit f0cff106cb6c8993eb31f589106d845261c1f8e9)
* 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 (This used to be commit 107731c080da1e3e4e13e966f8b79bfd2692a952)
* Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett2003-01-031-1/+1
| | | | | | | warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* Tidyup utmp code to cope with hostname = NULL.Jeremy Allison2001-12-181-11/+13
| | | | | Jeremy (This used to be commit 2a1b531a1c4f1a4772c95c867f35eac50ed1c7fa)
* Patch for string legths from TAKAHASHI, Motonobu(monyo).Jeremy Allison2001-12-131-17/+46
| | | | | Jeremy. (This used to be commit f0d8b7573fc74004131ba0a82dbd5e0007a524bf)
* Be sure to not use strlen with NULL pointer.Simo Sorce2001-06-151-1/+2
| | | | (This used to be commit 53803b008717e8606b347ed8baab78121c6e9657)
* new files for headAndrew Tridgell2001-04-181-0/+575
(This used to be commit c0d4a1f5dd34e49843c879dd88fc78c7dffd9269)