Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add PRINTF_ATTRIBUTE() to a few more printf() style functions. Aids in | Andrew Bartlett | 2003-01-02 | 2 | -0/+11 | |
| | | | | compiler-based argument checking. | |||||
* | BIG patch... | Andrew Bartlett | 2003-01-02 | 9 | -30/+30 | |
| | | | | | | | | | | | | | | | | This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett | |||||
* | ignore tdbsam2_parse_info.h | Simo Sorce | 2002-12-31 | 1 | -0/+1 | |
| | ||||||
* | Catching up with old patches. Add define for VERITAS quota support. | Jeremy Allison | 2002-12-30 | 1 | -0/+8 | |
| | | | | | Check return in ldap. Jeremy. | |||||
* | the shutdown call does not have a 16 bit flags, but 2 byte representing booleans | Simo Sorce | 2002-12-30 | 1 | -5/+2 | |
| | | | | | | | | this commit change the structure and code to reflect this some test revelead I'm right. some other revelead currently the abort shutdown does not work against my test machine even if it returns successfully ... need investigation | |||||
* | Forward port the change to talloc_init() to make all talloc contexts | Jeremy Allison | 2002-12-20 | 1 | -1/+1 | |
| | | | | | named. Ensure we can query them. Jeremy. | |||||
* | it's getting comic ... | Simo Sorce | 2002-12-17 | 1 | -0/+58 | |
| | | | | yet another missing piece :-O | |||||
* | Uhmm a bad day to commit changes :-(( | Simo Sorce | 2002-12-16 | 1 | -0/+2 | |
| | ||||||
* | oh god, I will forgot my name one of these days :-/ | Simo Sorce | 2002-12-16 | 1 | -0/+78 | |
| | ||||||
* | updates to the gums | Simo Sorce | 2002-12-16 | 2 | -13/+107 | |
| | | | | introduce genparser will be used by tdbsam2 | |||||
* | Ensure talloc pool query messages are reserved. | Jeremy Allison | 2002-12-14 | 1 | -0/+4 | |
| | | | | Jeremy. | |||||
* | More printer publishing code. | Jim McDonough | 2002-12-13 | 1 | -2/+3 | |
| | | | | | | | | - Add published attribute to info2, needed for win clients to work properly - Return proper info on getprinter 7 This means you can now look at the sharing tab of a printer and get correct info about whether it is published or not, and change it. | |||||
* | merge of get_dc_name()-like code from APP_HEAD; better support password ↵ | Gerald Carter | 2002-12-12 | 1 | -0/+8 | |
| | | | | server = DC1 * | |||||
* | Fixed auth module code. Added VALGRIND defines to reduce spurious warnings. | Jeremy Allison | 2002-12-11 | 1 | -0/+4 | |
| | | | | Jeremy. | |||||
* | Fix client large file reporting. | Jeremy Allison | 2002-12-10 | 2 | -1/+5 | |
| | | | | Jeremy | |||||
* | More printer data to publish | Jim McDonough | 2002-12-05 | 1 | -0/+1 | |
| | ||||||
* | The element in fsp->print_job should be a RAP jobid, not a uint32 RPC | Jeremy Allison | 2002-12-05 | 1 | -1/+1 | |
| | | | | | | jobid. This was causing Win9x client "set name" calls to fail. Still need one cleanup fix to finish. Jeremy. | |||||
* | Remove FILE_MACRO as __FILE__ is ANSI C. | Tim Potter | 2002-12-04 | 3 | -20/+11 | |
| | ||||||
* | More attributes to publish. All DsSpooler attributes except REG_MULTI_SZ ↵ | Jim McDonough | 2002-12-04 | 1 | -0/+3 | |
| | | | | ones should be published now. | |||||
* | Automatic printer publishing when using APW or choosing 'list in the ↵ | Jim McDonough | 2002-12-04 | 1 | -0/+5 | |
| | | | | directory' in printer settings. Currently very little is published, and you cannot unpublish because of a bug in win2k clients. | |||||
* | Fix for 64 bit issues with oplocks and allocation size. | Jeremy Allison | 2002-12-04 | 2 | -948/+1270 | |
| | | | | Jeremy. | |||||
* | use FILE_MACRO instead of __FILE__ | Herb Lewis | 2002-12-03 | 1 | -6/+6 | |
| | | | | use FUNCTION_MACRO instead of __FUNCTION_ | |||||
* | Support printer info 7, used for publishing | Jim McDonough | 2002-12-03 | 1 | -0/+16 | |
| | ||||||
* | Add defines for standard DsSpooler/DsDriver values that get published. | Jim McDonough | 2002-12-03 | 1 | -0/+54 | |
| | ||||||
* | Fixed nasty bug where file writes with start offsets in the range | Jeremy Allison | 2002-12-03 | 1 | -0/+2 | |
| | | | | | | | | | | 0x80000000 -> 0xFFFFFFFF would fail as they were being cast from IVAL (uint32) to SMB_OFF_T (off_t or off64_t, both *signed* types). The sign extension would cause the offset to be treated as negative. Thanks to Herb for helping me track this one down (IRIX is good for large file tests :-). Jeremy. PS. That horrid EXEXIST thing has broken configure..... | |||||
* | [print notify fixes from APP_HEAD] | Gerald Carter | 2002-11-26 | 1 | -0/+16 | |
| | | | | | | | | * fixing change notify on print server handle * adding change notify support into smbcontrol for sending comment changes, etc... All part of CR 1159/1160 | |||||
* | Revert ADS_ERR_OK change. Some compilers didn't like it. | Jim McDonough | 2002-11-18 | 1 | -1/+1 | |
| | | | | | | The problem is that ADS_ERR_OK() run on a function that returns an ADS_STATUS causes the function to be run mulitple times...so you have to return a status, then check it with the macro. | |||||
* | Next step of printer publishing. | Jim McDonough | 2002-11-18 | 1 | -56/+1 | |
| | | | | | | | | net ads printer publish <printername> [servername] Will retreive the DsSpooler and DsDriver info by rpc for a remote server then publish it. Next comes doing it within smbd | |||||
* | Remove the assumption that all Solaris has -lsendfile. | Andrew Bartlett | 2002-11-15 | 1 | -0/+3 | |
| | | | | Andrew Bartlett | |||||
* | Use smb_register_passdb() - plus some small fixes | Jelmer Vernooij | 2002-11-15 | 1 | -7/+0 | |
| | ||||||
* | Add smb_register_passdb() | Jelmer Vernooij | 2002-11-15 | 1 | -0/+1 | |
| | ||||||
* | Add const to DEBUG() macro. | Andrew Bartlett | 2002-11-15 | 1 | -3/+3 | |
| | ||||||
* | small patch to makesure we fallback to <xfs/xqm.h> if <linux/xqm.h> doesn't ↵ | Jelmer Vernooij | 2002-11-13 | 1 | -0/+3 | |
| | | | | exist (e.g. in SuSE 8.1) (by metze) | |||||
* | Add smb_register_charset() and use it | Jelmer Vernooij | 2002-11-12 | 1 | -0/+16 | |
| | ||||||
* | union is better to avoid problems with pointers | Simo Sorce | 2002-11-11 | 1 | -21/+27 | |
| | ||||||
* | deldriver fix | Gerald Carter | 2002-11-09 | 1 | -0/+1 | |
| | ||||||
* | Add smbtrans subcommands so we can stop hardcoding them | Jim McDonough | 2002-11-07 | 1 | -0/+5 | |
| | ||||||
* | Missed extern declaration. | Jeremy Allison | 2002-11-05 | 1 | -0/+1 | |
| | | | | Jeremy. | |||||
* | Remove DRIVERFILE constant. It was removed with the old win95 | Tim Potter | 2002-11-05 | 1 | -1/+0 | |
| | | | | printer driver stuff. | |||||
* | The fixes from Tom plus a minor update from me. | Richard Sharpe | 2002-11-04 | 2 | -97/+227 | |
| | ||||||
* | Add more options to popt_common and use them. Current ones are: | Jelmer Vernooij | 2002-11-02 | 1 | -0/+3 | |
| | | | | | | | | | -V Version information -n Set netbios name -l Set directory to store log files in -d Set debuglevel -s Load specified configuration file -O Set socket options | |||||
* | Add popt_common_socket_options | Jelmer Vernooij | 2002-11-02 | 1 | -0/+1 | |
| | ||||||
* | Rerun autoconf | Jelmer Vernooij | 2002-10-30 | 1 | -0/+3 | |
| | ||||||
* | - Remove RTLD_GLOBAL | Jelmer Vernooij | 2002-10-30 | 1 | -1/+1 | |
| | | | | - make smb_load_module() return the return value of init_module() | |||||
* | added a timegm() function for systems that don't have it | Andrew Tridgell | 2002-10-30 | 1 | -0/+4 | |
| | ||||||
* | Add init_module_function typedef for new module system | Jelmer Vernooij | 2002-10-30 | 1 | -0/+3 | |
| | ||||||
* | Fix for systems that allow more than 65536 open files per process. | Jeremy Allison | 2002-10-22 | 1 | -0/+3 | |
| | | | | Jeremy. | |||||
* | Some was asking to look at this code, so better it stay there until we ↵ | Simo Sorce | 2002-10-22 | 1 | -0/+224 | |
| | | | | | | | | decide what to do with it. Last updates are support for the right way to support privileges. Simo. | |||||
* | This moves the group mapping API into the passdb backend. | Volker Lendecke | 2002-10-21 | 2 | -1/+48 | |
| | | | | | | | | | | | | Currently this calls back to mapping.c, but we have the framework to get the information into LDAP and the passdb.tdb (should we? I think so..). This has received moderate testing with net rpc vampire and usrmgr. I found the add_groupmem segfault in add_aliasmem as well, but that will be another checkin. Volker | |||||
* | Remove obsolete acconfig.h - we now use comments in AC_DEFINE() | Jelmer Vernooij | 2002-10-21 | 1 | -239/+507 | |
| |