Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s3-nmbd: fix talloc/malloc mismatch in create_listen_pollfds(). | Günther Deschner | 2011-08-04 | 1 | -1/+1 |
| | | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Aug 4 19:06:39 CEST 2011 on sn-devel-104 | ||||
* | s3:nmbd: use the lp_load_global() wrapper of lp_load() | Michael Adam | 2011-07-28 | 1 | -1/+1 |
| | |||||
* | debug: log early messages to stdout, and keep it open | Andrew Bartlett | 2011-07-20 | 1 | -1/+4 |
| | | | | | | | | | The --log-stdout option was compromised by the log file descriptors being closed once the file process forked. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | ||||
* | S3: Fix some nonempty blank lines | Volker Lendecke | 2011-07-03 | 1 | -26/+26 |
| | |||||
* | param: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server() | Andrew Bartlett | 2011-07-02 | 1 | -1/+1 |
| | | | | | | | | | Jermey started this in 1997 with 0aa493cc0303aa4177f289b9e4c797c8fa180672 (avoiding the duplicate function makes it easier to generate the struct loadparm_globals). Andrew Bartlett | ||||
* | Part of fix for bug 8276 - FD_SET out of bounds access crash. | Jeremy Allison | 2011-06-30 | 1 | -9/+18 |
| | | | | | | | Ensure we never add fd's set to -1 to the pollfd set. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jun 30 21:15:25 CEST 2011 on sn-devel-104 | ||||
* | s3:nmbd_subnetdb: close all sockets attached to a subnet in close_subnet() ↵ | Stefan Metzmacher | 2011-06-30 | 1 | -3/+11 |
| | | | | | | (bug #8276) metze | ||||
* | s3-param Remove 'announce version' parameter | Andrew Bartlett | 2011-06-23 | 1 | -4/+4 |
| | | | | | | | | The only users I can find of this on the internet involve confused users, and our own documentation recommends never setting this. Don't confuse our users any longer. Andrew Bartlett | ||||
* | tdb_fetch_compat: use instead of tdb_fetch. | Rusty Russell | 2011-06-20 | 1 | -1/+1 |
| | | | | | | | This is a noop for tdb1. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | ||||
* | s3-param Remove special case for global_myname(), rename to lp_netbios_name() | Andrew Bartlett | 2011-06-09 | 10 | -62/+62 |
| | | | | | | | | There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett | ||||
* | s3-param Remove special case for global_scope() | Andrew Bartlett | 2011-06-09 | 2 | -6/+6 |
| | | | | | | | There is no reason this can't be a normal constant string in the loadparm system. (Past reasons were that we didn't have lp_set_cmdline()) Andrew Bartlett | ||||
* | s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array() | Andrew Bartlett | 2011-06-09 | 1 | -1/+1 |
| | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc. | ||||
* | s3-talloc Change TALLOC_ZERO_P() to talloc_zero() | Andrew Bartlett | 2011-06-09 | 1 | -1/+1 |
| | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc. | ||||
* | s3-talloc Change TALLOC_ARRAY() to talloc_array() | Andrew Bartlett | 2011-06-09 | 1 | -1/+1 |
| | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc. | ||||
* | s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc() | Andrew Bartlett | 2011-06-09 | 1 | -2/+2 |
| | | | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett | ||||
* | lib/util/time.c: timeval_current_ofs_msec | Rusty Russell | 2011-06-01 | 1 | -2/+1 |
| | | | | | | | | | | Several places want "milliseconds from current time", and several were simply doing "msec * 1000" which can (and does in one place) result in a usec value over 1 a million. Using a helper to do this is safer and more readable. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | ||||
* | s3:nmbd: add _NMBD_NMBD_H_ guard to nmbd.h | Michael Adam | 2011-05-31 | 1 | -0/+5 |
| | |||||
* | s3:nmbd: add GPL/Copyright header to nmbd.h | Michael Adam | 2011-05-31 | 1 | -0/+20 |
| | |||||
* | s3:nmbd/nmbd_proto.h: add GPL/Copyright header | Michael Adam | 2011-05-31 | 1 | -0/+25 |
| | |||||
* | s3: Use cli_connect_nb in nmbd sync_child | Volker Lendecke | 2011-05-29 | 1 | -18/+4 |
| | |||||
* | s3: Fix some nonemtpy blank lines | Volker Lendecke | 2011-05-28 | 1 | -6/+5 |
| | |||||
* | s3-lib Replace StrCaseCmp() with strcasecmp_m() | Andrew Bartlett | 2011-05-18 | 1 | -1/+1 |
| | | | | | | | strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett | ||||
* | s3-libsmb: move protos to libsmb/proto.h | Günther Deschner | 2011-05-06 | 2 | -0/+2 |
| | | | | Guenther | ||||
* | s3: only include tdb headers where needed. | Günther Deschner | 2011-05-06 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | More simple const fixes. | Jeremy Allison | 2011-05-05 | 4 | -12/+12 |
| | |||||
* | More const compiler warning fixes. | Jeremy Allison | 2011-05-05 | 5 | -28/+28 |
| | |||||
* | Fix warning messages caused by addition of null check in fstrcpy macro. | Jeremy Allison | 2011-05-04 | 3 | -6/+8 |
| | |||||
* | Remove overmalloc_safe_strcpy - can be simple strlcpy. | Jeremy Allison | 2011-05-04 | 2 | -2/+2 |
| | |||||
* | Change safe_strcpy_base to strlcpy_base. Note the size doesn't change here ↵ | Jeremy Allison | 2011-05-04 | 1 | -1/+1 |
| | | | | as the original macro auto-added the -1. | ||||
* | Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1. | Jeremy Allison | 2011-05-04 | 1 | -1/+1 |
| | |||||
* | s3: only include smb profiling where needed. | Günther Deschner | 2011-04-14 | 3 | -0/+3 |
| | | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 01:31:39 CEST 2011 on sn-devel-104 | ||||
* | s3-messages: make ndr_messaging.h part of messages.h. | Günther Deschner | 2011-03-30 | 1 | -1/+0 |
| | | | | Guenther | ||||
* | s3-messages: only include messages.h where needed. | Günther Deschner | 2011-03-30 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | s3-libsmb: put namequery headers to nmblib.h | Günther Deschner | 2011-03-30 | 1 | -0/+1 |
| | | | | | | | We might find a better name for it and merge other namequery related things as well here... Guenther | ||||
* | s3-includes: only include system/filesys.h when needed. | Günther Deschner | 2011-03-30 | 5 | -0/+5 |
| | | | | Guenther | ||||
* | s3: Fix Coverity ID 2331: RESOURCE_LEAK | Volker Lendecke | 2011-03-27 | 1 | -0/+1 |
| | |||||
* | s3-config: say which config file we failed to open | Andrew Tridgell | 2011-03-23 | 1 | -1/+1 |
| | | | | saves having to strace it to work that out | ||||
* | fault: get fault.c ready for use by s4 | Andrew Tridgell | 2011-03-23 | 1 | -1/+1 |
| | | | | | this moves the s3 specific dumpcore code into source3/lib/dumpcore.c, and uses a function pointer to setup which smb_panic call to use | ||||
* | s3-fault: removed the cont_fn from fault_setup() | Andrew Tridgell | 2011-03-22 | 1 | -10/+1 |
| | | | | | | | | | | cont_fn() was supposed to be a way to continue after a seg fault. It could never be called however, as smb_panic() from fault_report() could never return, as dump_core() never returns at the end of smb_panic() Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Mar 22 05:07:58 CET 2011 on sn-devel-104 | ||||
* | s3-libsmb: only include rap client when needed. | Günther Deschner | 2011-03-15 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | s3-server_id: only include server_id where needed. | Günther Deschner | 2011-03-02 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | s3: Use poll in nmbd | Volker Lendecke | 2011-02-28 | 1 | -102/+113 |
| | |||||
* | s3: Fix a typed-punned warning | Volker Lendecke | 2011-02-14 | 1 | -1/+1 |
| | | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Feb 14 11:46:50 CET 2011 on sn-devel-104 | ||||
* | s3: Fix some nonempty blank lines | Volker Lendecke | 2011-02-06 | 1 | -4/+3 |
| | |||||
* | s3: Remove superfluous ; | Günther Deschner | 2011-02-02 | 1 | -1/+1 |
| | | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 2 15:44:21 CET 2011 on sn-devel-104 | ||||
* | Revert "s3:events: Call all ready fd event handlers on each iteration of the ↵ | Stefan Metzmacher | 2011-01-31 | 1 | -3/+3 |
| | | | | | | | | | | main loop" This reverts commit 455fccf86b6544cd17a2571c63a88f8aebff3f74. I'll add a more generic fix for this problem. metze | ||||
* | s3-nmbd: Fix bug #7875 | Björn Baumbach | 2011-01-07 | 1 | -2/+2 |
| | | | | | | | | | nmbd --port didn't work Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jan 7 17:44:08 CET 2011 on sn-devel-104 | ||||
* | netlogon: move netlogon helpers to ../libcli/netlogon. | Günther Deschner | 2011-01-07 | 1 | -1/+1 |
| | | | | Guenther | ||||
* | s3: Remove some unused code | Volker Lendecke | 2011-01-07 | 2 | -18/+2 |
| | |||||
* | s3: Limit the number of unexpected clients to 200 | Volker Lendecke | 2011-01-07 | 1 | -2/+4 |
| | | | | | DoS protection like the max winbind clients. Settable by nmbd:unexpected_clients |