summaryrefslogtreecommitdiff
path: root/source3/utils/status.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r11511: A classic "friday night check-in" :-). This moves muchJeremy Allison1-2/+2
of the Samba4 timezone handling code back into Samba3. Gets rid of "kludge-gmt" and removes the effectiveness of the parameter "time offset" (I can add this back in very easily if needed) - it's no longer being looked at. I'm hoping this will fix the problems people have been having with DST transitions. I'll start comprehensive testing tomorrow, but for now all modifications are done. Splits time get/set functions into srv_XXX and cli_XXX as they need to look at different timezone offsets. Get rid of much of the "efficiency" cruft that was added to Samba back in the day when the C library timezone handling functions were slow. Jeremy. (This used to be commit 414303bc0272f207046b471a0364fa296b67c1f8)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter1-9/+9
* \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10r10208: Correctly display RDWR only when it *is* RDWR...Jeremy Allison1-1/+2
Jeremy. (This used to be commit 99d883b9c4a450222e75132b2cf28b597217ce79)
2007-10-10r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.Tim Potter1-2/+0
(This used to be commit 985dbb47d925e79c1195ca219f7ab5d6648b22b8)
2007-10-10r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the tortureJeremy Allison1-31/+41
tests on this as it's very late NY time (just wanted to get this work into the tree). I'll test this over the weekend.... Jerry - in looking at the difference between the two trees there seem to be some printing/ntprinting.c and registry changes we might want to examine to try keep in sync. Jeremy. (This used to be commit c7fe18761e2c753afbffd3a78abff46472a9b8eb)
2007-10-10r5462: BUG 1549: patch from SATOH Fumiyasu <fumiya@samba.gr.jp> to fix ↵Gerald Carter1-1/+1
trunction of service names (This used to be commit 440a4ecc1641658a2553312b759b6b97a8e5c981)
2007-10-10r4248: Implement smbstatus -n, don't lookup users and groups. On heavily loadedVolker Lendecke1-15/+21
winbind systems, looking up hundreds of users can turn out to be a bit too expensive if you just want to find out which smbd handles a particular IP address. Volker P.S: Who is "OH"? ;-) (This used to be commit d878563ef0c9aa21a12cc5a88dcb17ef8c4bcf5a)
2007-10-10r3931: Fix all "may be used uninitialized" and "shadow" warnings.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 8e979772a640bb4f00f4d72b6a9c837b8ef14333)
2007-10-10r3688: fix output of smbstatus to make the man page; fix -L, -p, & -S and ↵Gerald Carter1-31/+50
the -u <username> functionality (This used to be commit 7dd12ed8a5ebbfa791f014b35debcf55d80e6d87)
2004-01-06Patch based on work from James Peach <jpeach@sgi.com> to convert over toJeremy Allison1-0/+6
using pread/pwrite. Modified a little to ensure fsp->pos is correct. Fix for #889. Jeremy. (This used to be commit 019aaaf0df091c3f67048f591e70d4353a02bb9b)
2003-11-12show locked files for -u <user>; bug 590Gerald Carter1-10/+41
(This used to be commit d72d77c42741714f2e32d0e24e706929242f1c62)
2003-08-20metze's autogenerate patch for version.hGerald Carter1-1/+1
(This used to be commit ae452e51b02672a56adf18aa7a7e365eeaba9272)
2003-07-22Replace the eight (!) copies of dummy become/unbecome root with a single one.Tim Potter1-4/+0
(This used to be commit 8b818ce381595cdcb36631a2440d6aa0038805f1)
2003-07-16Add API framework for server SMB signing.Jeremy Allison1-1/+0
Jeremy. (This used to be commit 61fc9a7b2eafdf8cbed1f8d9aae016b828c91a08)
2003-05-10Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij1-2/+0
(This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij1-0/+2
that is now possible to, for example, load a module which contains an auth method into a binary without the auth/ subsystem built in. (This used to be commit 74d9ecfe2dd7364643d32acb62ade957bd71cd0d)
2003-04-16Check whether return status of poptGetNextOpt is -1, not EOFJelmer Vernooij1-1/+1
(This used to be commit 1fefb776eec94efc7ea1b760dc4b80f61d61a158)
2003-04-14Merge Jelmer's popt updates from HEAD.Tim Potter1-4/+2
(This used to be commit 98e84b3e83d2a365c818ea64f9418edb29d690f2)
2003-02-25Merge: add popt_common_version to command line options table.Tim Potter1-0/+1
(This used to be commit 8de62f7896a53084e87b95c013d8693214c8ab85)
2003-01-02WITH_SENDFILE #ifdef merged from SAMBA_2_2Gerald Carter1-1/+1
(This used to be commit aef9af7874aab8289a8cb577a2513038c00dd6f5)
2002-10-28sync with headJelmer Vernooij1-30/+15
(This used to be commit 245e2cae251382b2f638517e3902413ddac2226a)
2002-10-08merge from APP_HEAD of winbindd's domain local group fixGerald Carter1-0/+5
(This used to be commit 09c6f6329d6ae9327b7ef06de0ea78d24d805456)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter1-0/+6
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-08-17sync 3.0 branch with HEADJelmer Vernooij1-9/+1
(This used to be commit 1b83b78e332b9d28914eff155530e81cf2073a58)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-9/+9
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-03-23Fix the mp3 rename bug - also tidy up our open code and remove the specialJeremy Allison1-2/+3
cases for rename and unlink. Had to add desired_access into the share mode record. Jeremy. (This used to be commit 3b1b8ac43535fb0839c5474fa55bf7150f6cde31)
2002-03-12Yet another build fix for popt. I gotta get me one of these picky systems...Jim McDonough1-1/+1
(This used to be commit 19546bdd5541785dc8430f8ffa2afcdb42015b96)
2002-03-11Another program converted to popt...smbstatus this time.Jim McDonough1-30/+23
(This used to be commit 00d3a064f16101fecebaeaaabaf841f0a5c91523)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-07merge changes from 2.2 branch to prevent smb.conf from changing debug levelHerb Lewis1-0/+3
of commands when specified on command line. (This used to be commit 39d6b31e14144a3ff4b992d4286b706147e58566)
2001-11-23Removed TimeInit() call from every client program (except for one placeTim Potter1-1/+0
in smbd/process.c where the timezone is reinitialised. Was replaced with check for a static is_initialised boolean. (This used to be commit 8fc772c9e5770cd3a8857670214dcff033ebae32)
2001-11-19Store some path names in global variables initialized to configureMartin Pool1-5/+4
default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
2001-10-02Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter1-3/+0
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
2001-09-10left out {Herb Lewis1-1/+1
(This used to be commit 70bd17473a2106ef41b5d921595ce537ec1871cb)
2001-09-10prevent segv by not calling tdb_traverse and tdb_close if tdb_open_logHerb Lewis1-18/+20
returns NULL. (This used to be commit afdf93836b59d5d9ede2ac0f3298d99471872829)
2001-09-10declare dbf in one spotAndrew Tridgell1-1/+0
(This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)
2001-09-10replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell1-2/+2
replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor limit that we hit with nasty consequences on some systems I would eventually prefer us to have a configure test to see if we need to replace stdio, but for now this code needs to be tested widely so I'm enabling it by default. (This used to be commit 1af8bf34f1caa3e7ec312d8109c07d32a945a448)
2001-09-08convert more code to using d_printfAndrew Tridgell1-369/+369
(This used to be commit 60d297303488ed583537ca2853828fccd6da2ade)
2001-09-06got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell1-2/+2
(This used to be commit c26e0d3f27a05ecc8bd2390f9aab7f9451524e47)
2001-09-05always include profile support so you do not need a different binary ofHerb Lewis1-5/+0
smbstatus to dump profile stats. (This used to be commit fc048955b8af05779992bc111f9bd690b8a8faf2)
2001-09-05add profiling stats from 2.2Herb Lewis1-2/+332
(This used to be commit 6c333e9d922b3a7443db829277b8a209cce2d350)
2001-08-23Fix up some unused variables and functions, fix up formattingAndrew Bartlett1-14/+0
(This used to be commit bfce4ba7b6db261d981a60a7e262f2f690355f5c)
2001-08-22A few changes:Andrew Bartlett1-60/+44
drop paramaters: status utmp hostname change session code to always record each vuid current on the server. The sessionid struct is no longer packed, as I couldn't get that to work ;-) change smbstatus to show this info and less of the connections.tdb info (its not actualy that accurate). I'll get swat doing some of this shortly. (This used to be commit b068ad300527c44673bbee0aede7849199c89de7)
2001-07-30Added "use mmap" for HPUX.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 840802f10677cb0009cb4df4c37c7d01aa5edacd)
2001-07-04The big character set handling changeover!Andrew Tridgell1-3/+1
This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-06-13Renamed -d option (make verbose) on smbstatus to -v.Tim Potter1-3/+11
Added -d <debuglevel> option. (This used to be commit bdb9714380503d5bbe12a8bfa4ec723e1f5070ca)
2001-06-04use LDSHFLAGS not -shared in several placesAndrew Tridgell1-1/+1
(This used to be commit 8ec9c87b5d1a7dae17d5b1a30f58effaf5e69e4b)
2001-05-15Check sizes of data entries in connections.tdb before deciding they're crecs...Jeremy Allison1-1/+5
We will need this when we use finer grained locking for max connections. Jeremy. (This used to be commit c6cd42a6791e26174eb795fd08ddbbd797e5a9cf)
2001-05-15remember to close tdb after useAndrew Tridgell1-0/+1
(This used to be commit 8f8d7202cf6e12cdb2f4445ddcac83a7ac9e33a2)
2001-03-11Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison1-2/+2
RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy. (This used to be commit 0be41d5158ea4e645e93e8cd30617c038416e549)