summaryrefslogtreecommitdiffstats
path: root/source/utils/status.c
Commit message (Collapse)AuthorAgeFilesLines
* first cut at adding full transactions for ctdb to samba3Andrew Tridgell2008-08-131-2/+0
|
* Exit smbstatus cleanly if messaging_init failsVolker Lendecke2008-08-131-0/+6
|
* Correctly initialize lp_load in smbstatus in the presence of registry on tdb2Volker Lendecke2008-04-231-4/+16
|
* In smbstatus, mark locking.tdb and sessionid.tdb as CLEAR_IF_FIRSTVolker Lendecke2008-03-171-2/+2
| | | | | | | This is needed to inform ctdb that it's not a persistent database, with the O_RDONLY the tdb backend ignores this. Merge from 491f902098d33f in 3-0-ctdb
* Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison2007-12-101-3/+3
| | | | | | them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy.
* Tiny simplificationsVolker Lendecke2007-12-101-1/+1
| | | | | | locking.c:open_read_only was unused don't export the silly boolean flag locking_init(bool read_only)
* Don't segfault if locking.tdb can't be openedVolker Lendecke2007-10-211-0/+13
| | | | Thanks to Steve Langasek <vorlon@debian.org>
* Fix the popt / bool issues. Some places we used BOOLJeremy Allison2007-10-191-14/+36
| | | | | | where we meant int. Fix this. Thanks to metze for pointing this out. Jeremy.
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-6/+6
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* r25055: Add file_id_string_tosVolker Lendecke2007-10-101-1/+1
| | | | This removes file_id_string_static and file_id_string_static2
* r24827: Give smbstatus an initial talloc stackframe.Michael Adam2007-10-101-14/+24
| | | | | | | Rewrite main() so as to exit only at a single point where the stack frame is freed, too. Michael
* r24125: use TALLOC_FREE()Stefan Metzmacher2007-10-101-2/+2
| | | | metze
* r24115: try to get the file name and share patch for printingStefan Metzmacher2007-10-101-4/+17
| | | | | | | brlocks from the share_mode db, as the same fileid is used. metze
* r23954: merge from 3_0-ctdb-tridge:Stefan Metzmacher2007-10-101-0/+4
| | | | | | don't display dead share mode entries in smbstatus metze
* 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.
* r23410: Merge the core of the cluster code.Volker Lendecke2007-10-101-0/+7
| | | | | | | | | | | | | | | | I'm 100% certain I've forgotten to merge something, but the main code should be in. It's mainly in dbwrap_ctdb.c, ctdbd_conn.c and messages_ctdbd.c. There should be no changes to the non-cluster case, it does survive make test on my laptop. It survives some very basic tests with ctdbd enables, I did not do the full test suite for clusters yet. Phew... Volker
* r23223: Convert a leftover direct tdb access to sessionid.tdbVolker Lendecke2007-10-101-12/+13
|
* r23195: Add void *private_data to brl_forallVolker Lendecke2007-10-101-2/+3
|
* r23183: Check in a change made by Tridge:Volker Lendecke2007-10-101-6/+23
| | | | | | | | | | | | | This replaces the internal explicit dev/ino file id representation by a "struct file_id". This is necessary as cluster file systems and NFS don't necessarily assign the same device number to the shared file system. With this structure in place we can now easily add different schemes to map a file to a unique 64-bit device node. Jeremy, you might note that I did not change the external interface of smb_share_modes.c. Volker
* r23171: Convert connections.tdb to dbwrapVolker Lendecke2007-10-101-1/+1
|
* r22761: This introduces lib/conn_tdb.c with two main functions: ↵Volker Lendecke2007-10-101-29/+18
| | | | | | | | | connections_traverse and connections_forall. This centralizes all the routines that did individual tdb_open("connections.tdb") and direct tdb_traverse. Volker
* r22751: Next step for the cluster merge: sessionid.tdb should contain a 'structVolker Lendecke2007-10-101-8/+8
| | | | server_id' instead of a 'uint32 pid'
* r22736: Start to merge the low-hanging fruit from the now 7000-line cluster ↵Volker Lendecke2007-10-101-1/+1
| | | | | | | | | patch. This changes "struct process_id" to "struct server_id", keeping both is just too much hassle. No functional change (I hope ;-)) Volker
* r22282: Fix last few name -> servicename changes.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r21714: Change the VFS interface to use struct timespecJeremy Allison2007-10-101-2/+2
| | | | | | | | | | for utimes - change the call to ntimes. This preserves nsec timestamps we get from stat (if the system supports it) and only maps back down to usec or sec resolution on time set. Looks bigger than it is as I had to move lots of internal code from using time_t and struct utimebuf to struct timespec. Jeremy.
* r17177: Get rid of a global variable by adding a private data pointer toVolker Lendecke2007-10-101-2/+5
| | | | | | share_mode_forall(). Volker
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-101-370/+20
| | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy.
* r16435: Add in the uid info that Jerry needs into theJeremy Allison2007-10-101-2/+3
| | | | | | | share_mode struct. Allows us to know the unix uid of the opener of the file/directory. Needed for info level queries on open files. Jeremy.
* r16230: Fix Klocwork #861 and others. localtime and asctimeJeremy Allison2007-10-101-2/+2
| | | | | can return NULL. Ensure we check all returns correctly. Jeremy.
* 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.
* 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.
* 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.
* 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.)
* r13091: Fix gcc warning about using '0' with %s.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r13083: patch suggested by Adam Nielsen for better smbstatus formattingGerald Carter2007-10-101-4/+4
|
* r13082: revert an accidentally commited patch (still in progress)Gerald Carter2007-10-101-4/+4
|
* r13081: correct fix for the segv in nmbd caused by a double free on namerec.Gerald Carter2007-10-101-4/+4
|
* r12555: Fix more load_case_table swegfaults. Arggg.Jeremy Allison2007-10-101-0/+2
| | | | | What I'd give for a global constructor... Jeremy.
* 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.
* 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.
* 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)
* r10208: Correctly display RDWR only when it *is* RDWR...Jeremy Allison2007-10-101-1/+2
| | | | Jeremy.
* r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.Tim Potter2007-10-101-2/+0
|
* 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.
* r5462: BUG 1549: patch from SATOH Fumiyasu <fumiya@samba.gr.jp> to fix ↵Gerald Carter2007-10-101-1/+1
| | | | trunction of service names
* 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"? ;-)
* r3931: Fix all "may be used uninitialized" and "shadow" warnings.Jeremy Allison2007-10-101-4/+4
| | | | Jeremy.
* 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
* 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.