summaryrefslogtreecommitdiffstats
path: root/source3/utils/status.c
Commit message (Collapse)AuthorAgeFilesLines
* r15529: Initialise our saved uid and gid so that we can tell whenJames Peach2007-10-101-0/+1
| | | | | | we created the profiling shmem segment and don't bogusly refuse to look at it. (This used to be commit eb31ef3a0e5e7c3b4029a3c2e124d2df646f10a2)
* r15018: Merge Volker's ipc/trans2/nttrans changes overJeremy Allison2007-10-101-3/+7
| | | | | | | | | into 3.0. Also merge the new POSIX lock code - this is not enabled unless -DDEVELOPER is defined. This doesn't yet map onto underlying system POSIX locks. Updates vfs to allow lock queries. Jeremy. (This used to be commit 08e52ead03304ff04229e1bfe544ff40e2564fc7)
* r13262: Arrgggg. Fix smbstatus and swat status to ignoreJeremy Allison2007-10-101-0/+5
| | | | | | | | bloody placeholder share mode entries (I hate these - I've had to add this filter code now to too many places :-). Jeremy. (This used to be commit 815340e1a413f98c1c36aacc1c34041e9160d0e3)
* r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman2007-10-101-1/+1
| | | | | | | | | | | | | lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.) (This used to be commit f2a24de769d1b2266e576597c57a8e3b1e2a2b51)
* r13091: Fix gcc warning about using '0' with %s.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 5f5f87584fec7fdeefeb54de0cb72ae5b1ac9dd4)
* r13083: patch suggested by Adam Nielsen for better smbstatus formattingGerald Carter2007-10-101-4/+4
| | | | (This used to be commit ef69cf96145516ddca44fdb4faddfead26591345)
* r13082: revert an accidentally commited patch (still in progress)Gerald Carter2007-10-101-4/+4
| | | | (This used to be commit e43775fb3156bf29e4e412f01ad2d731aa866323)
* r13081: correct fix for the segv in nmbd caused by a double free on namerec.Gerald Carter2007-10-101-4/+4
| | | | (This used to be commit c908dbc4b260bac72cbc6d25f4728359a6ec8259)
* r12555: Fix more load_case_table swegfaults. Arggg.Jeremy Allison2007-10-101-0/+2
| | | | | | What I'd give for a global constructor... Jeremy. (This used to be commit c970d7d0a5ba225465dfb0980989b8817b17c643)
* r12203: Add the share path into the sharemode db. This involvesJeremy Allison2007-10-101-4/+4
| | | | | | | | | | | revving the minor version number for libsmbsharemodes (we now have a new _ex interface that takes the share path as well as the filename). Needed for #3303. Some code written by SATOH Fumiyasu <fumiya@samba.gr.jp> included in the changes to locking/locking.c. The smbstatus output is a bit of a mess and needs overhauling... Jeremy. (This used to be commit 9d93af713f8520ca506730dd32aa2b994937eaba)
* r11511: A classic "friday night check-in" :-). This moves muchJeremy Allison2007-10-101-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)
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-101-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)
* r10208: Correctly display RDWR only when it *is* RDWR...Jeremy Allison2007-10-101-1/+2
| | | | | Jeremy. (This used to be commit 99d883b9c4a450222e75132b2cf28b597217ce79)
* r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.Tim Potter2007-10-101-2/+0
| | | | (This used to be commit 985dbb47d925e79c1195ca219f7ab5d6648b22b8)
* r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the tortureJeremy Allison2007-10-101-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)
* r5462: BUG 1549: patch from SATOH Fumiyasu <fumiya@samba.gr.jp> to fix ↵Gerald Carter2007-10-101-1/+1
| | | | | | trunction of service names (This used to be commit 440a4ecc1641658a2553312b759b6b97a8e5c981)
* r4248: Implement smbstatus -n, don't lookup users and groups. On heavily loadedVolker Lendecke2007-10-101-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)
* r3931: Fix all "may be used uninitialized" and "shadow" warnings.Jeremy Allison2007-10-101-4/+4
| | | | | Jeremy. (This used to be commit 8e979772a640bb4f00f4d72b6a9c837b8ef14333)
* r3688: fix output of smbstatus to make the man page; fix -L, -p, & -S and ↵Gerald Carter2007-10-101-31/+50
| | | | | | the -u <username> functionality (This used to be commit 7dd12ed8a5ebbfa791f014b35debcf55d80e6d87)
* Patch based on work from James Peach <jpeach@sgi.com> to convert over toJeremy Allison2004-01-061-0/+6
| | | | | | | using pread/pwrite. Modified a little to ensure fsp->pos is correct. Fix for #889. Jeremy. (This used to be commit 019aaaf0df091c3f67048f591e70d4353a02bb9b)
* show locked files for -u <user>; bug 590Gerald Carter2003-11-121-10/+41
| | | | (This used to be commit d72d77c42741714f2e32d0e24e706929242f1c62)
* metze's autogenerate patch for version.hGerald Carter2003-08-201-1/+1
| | | | (This used to be commit ae452e51b02672a56adf18aa7a7e365eeaba9272)
* Replace the eight (!) copies of dummy become/unbecome root with a single one.Tim Potter2003-07-221-4/+0
| | | | (This used to be commit 8b818ce381595cdcb36631a2440d6aa0038805f1)
* Add API framework for server SMB signing.Jeremy Allison2003-07-161-1/+0
| | | | | Jeremy. (This used to be commit 61fc9a7b2eafdf8cbed1f8d9aae016b828c91a08)
* Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij2003-05-101-2/+0
| | | | (This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
* Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij2003-05-101-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)
* Check whether return status of poptGetNextOpt is -1, not EOFJelmer Vernooij2003-04-161-1/+1
| | | | (This used to be commit 1fefb776eec94efc7ea1b760dc4b80f61d61a158)
* Merge Jelmer's popt updates from HEAD.Tim Potter2003-04-141-4/+2
| | | | (This used to be commit 98e84b3e83d2a365c818ea64f9418edb29d690f2)
* Merge: add popt_common_version to command line options table.Tim Potter2003-02-251-0/+1
| | | | (This used to be commit 8de62f7896a53084e87b95c013d8693214c8ab85)
* WITH_SENDFILE #ifdef merged from SAMBA_2_2Gerald Carter2003-01-021-1/+1
| | | | (This used to be commit aef9af7874aab8289a8cb577a2513038c00dd6f5)
* sync with headJelmer Vernooij2002-10-281-30/+15
| | | | (This used to be commit 245e2cae251382b2f638517e3902413ddac2226a)
* merge from APP_HEAD of winbindd's domain local group fixGerald Carter2002-10-081-0/+5
| | | | (This used to be commit 09c6f6329d6ae9327b7ef06de0ea78d24d805456)
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-251-0/+6
| | | | (This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
* sync 3.0 branch with HEADJelmer Vernooij2002-08-171-9/+1
| | | | (This used to be commit 1b83b78e332b9d28914eff155530e81cf2073a58)
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-9/+9
| | | | (This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
* Fix the mp3 rename bug - also tidy up our open code and remove the specialJeremy Allison2002-03-231-2/+3
| | | | | | cases for rename and unlink. Had to add desired_access into the share mode record. Jeremy. (This used to be commit 3b1b8ac43535fb0839c5474fa55bf7150f6cde31)
* Yet another build fix for popt. I gotta get me one of these picky systems...Jim McDonough2002-03-121-1/+1
| | | | (This used to be commit 19546bdd5541785dc8430f8ffa2afcdb42015b96)
* Another program converted to popt...smbstatus this time.Jim McDonough2002-03-111-30/+23
| | | | (This used to be commit 00d3a064f16101fecebaeaaabaf841f0a5c91523)
* 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)
* merge changes from 2.2 branch to prevent smb.conf from changing debug levelHerb Lewis2002-01-071-0/+3
| | | | | of commands when specified on command line. (This used to be commit 39d6b31e14144a3ff4b992d4286b706147e58566)
* Removed TimeInit() call from every client program (except for one placeTim Potter2001-11-231-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)
* Store some path names in global variables initialized to configureMartin Pool2001-11-191-5/+4
| | | | | default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-021-3/+0
| | | | (This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
* left out {Herb Lewis2001-09-101-1/+1
| | | | (This used to be commit 70bd17473a2106ef41b5d921595ce537ec1871cb)
* prevent segv by not calling tdb_traverse and tdb_close if tdb_open_logHerb Lewis2001-09-101-18/+20
| | | | | returns NULL. (This used to be commit afdf93836b59d5d9ede2ac0f3298d99471872829)
* declare dbf in one spotAndrew Tridgell2001-09-101-1/+0
| | | | (This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)
* replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell2001-09-101-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)
* convert more code to using d_printfAndrew Tridgell2001-09-081-369/+369
| | | | (This used to be commit 60d297303488ed583537ca2853828fccd6da2ade)
* got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell2001-09-061-2/+2
| | | | (This used to be commit c26e0d3f27a05ecc8bd2390f9aab7f9451524e47)
* always include profile support so you do not need a different binary ofHerb Lewis2001-09-051-5/+0
| | | | | smbstatus to dump profile stats. (This used to be commit fc048955b8af05779992bc111f9bd690b8a8faf2)