Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-07-19 | Move everything to use the common pidfile functions. | Jeremy Allison | 2 | -5/+6 | |
The extra code in source3/lib/pidfile.c is no longer needed. | |||||
2012-07-19 | Move source4/smbd/pidfile into lib/util in preparation for making it in common. | Jeremy Allison | 2 | -4/+4 | |
2012-07-18 | loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. | Rusty Russell | 1 | -3/+3 | |
They use talloc_tos() internally: hoist that up to the callers, some of whom don't want to us talloc_tos(). A simple patch, but hits a lot of files. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2012-06-28 | Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls. | Jeremy Allison | 1 | -2/+3 | |
Will allow thread-specific credentials to be added by modifying the central definitions. Deliberately left the setXX[ug]id() call in popt as this is not used in Samba. | |||||
2012-06-21 | s3:util: rename procid_equal() to serverid_equal() | Michael Adam | 1 | -2/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-06 | s3:smb: introduce a name TID_FIELD_INVALID for the invalid value for a cnum/tid | Michael Adam | 1 | -3/+3 | |
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-05 | s3:lib: split things into a conn_tdb.h | Stefan Metzmacher | 1 | -0/+1 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jun 5 19:28:35 CEST 2012 on sn-devel-104 | |||||
2012-04-05 | build: Fix sys_open() removal by including system/filesys.h | Andrew Bartlett | 1 | -0/+1 | |
2012-04-05 | build: Remove sys_fopen wrapper | Andrew Bartlett | 1 | -1/+1 | |
2012-04-05 | build: Remove sys_open wrapper | Andrew Bartlett | 1 | -2/+2 | |
2012-03-30 | More strlcat/strlcpy truncate checks. | Jeremy Allison | 1 | -1/+2 | |
2012-01-21 | param: handle P_BYTES in more places | Andrew Bartlett | 1 | -0/+2 | |
2011-12-14 | s3:web/swat: use short term event and message contexts | Stefan Metzmacher | 1 | -4/+35 | |
swat doesn't have a central event loop. metze | |||||
2011-12-02 | s3: Use autogenerated open_files.idl | Volker Lendecke | 1 | -0/+1 | |
2011-11-03 | s3:web: s/Undefined/SMB_SIGNING_DEFAULT/ | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-09-08 | s3:libsmb: pass CLI_FULL_CONNECTION_* flags via cli_connect_nb() | Stefan Metzmacher | 1 | -1/+1 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 8 10:21:50 CEST 2011 on sn-devel-104 | |||||
2011-08-06 | s3:web/swat: use strtoll() instead of atoi/atol/atoll | Stefan Metzmacher | 1 | -6/+19 | |
This is more portable, as we have a strtoll replacement in lib/replace. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Aug 6 11:55:45 CEST 2011 on sn-devel-104 | |||||
2011-08-04 | s3/swat: use strlcat instead of strncat to fix build on old Linux distros | Björn Jacke | 1 | -1/+1 | |
SLES 9's glibc for example had weird macros where the use of strncat resulted in the use of strcat which we don't allow. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Thu Aug 4 17:50:24 CEST 2011 on sn-devel-104 | |||||
2011-07-26 | s3 swat: Create random nonce in CGI mode | Kai Blin | 1 | -1/+19 | |
In CGI mode, we don't get access to the user's password, which would reduce the hash used so far to parameters an attacker can easily guess. To work around this, read the nonce from secrets.tdb or generate one if it's not there. Also populate the C_user field so we can use that for token creation. Signed-off-by: Kai Blin <kai@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Jul 26 23:33:24 CEST 2011 on sn-devel-104 | |||||
2011-07-26 | s3 swat: Add time component to XSRF token | Kai Blin | 2 | -5/+25 | |
Signed-off-by: Kai Blin <kai@samba.org> | |||||
2011-07-26 | s3 swat: Add XSRF protection to printer page | Kai Blin | 1 | -10/+18 | |
Signed-off-by: Kai Blin <kai@samba.org> | |||||
2011-07-26 | s3 swat: Add XSRF protection to password page | Kai Blin | 1 | -3/+8 | |
Signed-off-by: Kai Blin <kai@samba.org> | |||||
2011-07-26 | s3 swat: Add XSRF protection to shares page | Kai Blin | 1 | -5/+13 | |
Signed-off-by: Kai Blin <kai@samba.org> | |||||
2011-07-26 | s3 swat: Add XSRF protection to globals page | Kai Blin | 1 | -0/+7 | |
Signed-off-by: Kai Blin <kai@samba.org> | |||||
2011-07-26 | s3 swat: Add XSRF protection to wizard page | Kai Blin | 1 | -0/+7 | |
Signed-off-by: Kai Blin <kai@samba.org> | |||||
2011-07-26 | s3 swat: Add XSRF protection to wizard_params page | Kai Blin | 1 | -0/+7 | |
Signed-off-by: Kai Blin <kai@samba.org> | |||||
2011-07-26 | s3 swat: Add XSRF protection to viewconfig page | Kai Blin | 1 | -0/+7 | |
Signed-off-by: Kai Blin <kai@samba.org> | |||||
2011-07-26 | s3 swat: Add XSRF protection to status page | Kai Blin | 1 | -0/+7 | |
Signed-off-by: Kai Blin <kai@samba.org> | |||||
2011-07-26 | s3 swat: Add support for anti-XSRF token | Kai Blin | 2 | -0/+59 | |
2011-07-26 | s3 swat: Allow getting the user's HTTP auth password | Kai Blin | 2 | -0/+10 | |
Signed-off-by: Kai Blin <kai@samba.org> | |||||
2011-07-26 | s3-swat: Fix typo. | Karolin Seeger | 1 | -1/+1 | |
Thanks to Simo for reporting! Karolin (cherry picked from commit 9f73c1990a19daa899fa5345530a867e69a5be94) (cherry picked from commit bcb052c29212954a3ed10c9f095c51e4e0a96af5) | |||||
2011-07-26 | s3 swat: Fix possible XSS attack (bug #8289) | Kai Blin | 1 | -12/+2 | |
Nobuhiro Tsuji of NTT DATA SECURITY CORPORATION reported a possible XSS attack against SWAT, the Samba Web Administration Tool. The attack uses reflection to insert arbitrary content into the "change password" page. This patch fixes the reflection issue by not printing user-specified content on the website anymore. Signed-off-by: Kai Blin <kai@samba.org> | |||||
2011-07-19 | First part of fix for bug 8310 - toupper_ascii() is broken on big-endian systems | Jeremy Allison | 1 | -1/+1 | |
Remove int toupper_ascii(int c); int tolower_ascii(int c); int isupper_ascii(int c); int islower_ascii(int c); and replace with their _m equivalents, as they are identical. | |||||
2011-07-02 | param: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server() | Andrew Bartlett | 1 | -2/+2 | |
Jermey started this in 1997 with 0aa493cc0303aa4177f289b9e4c797c8fa180672 (avoiding the duplicate function makes it easier to generate the struct loadparm_globals). Andrew Bartlett | |||||
2011-06-29 | param: Merge param headers into lib/param/loadparm.h | Andrew Bartlett | 1 | -0/+1 | |
This defines a common table format, so we can in future define a common table. Andrew Bartlett | |||||
2011-06-29 | s3-param use lp_parm_ptr() rather than parm.ptr directly | Andrew Bartlett | 1 | -5/+8 | |
This will help with a change from .ptr to .offset Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 29 03:26:21 CEST 2011 on sn-devel-104 | |||||
2011-06-23 | s3-swat Remove d_printf() calls | Andrew Bartlett | 1 | -2/+2 | |
These calls only ever output ASCII strings (protocol strings and debugging), and never user content, so make it clear that these don't need to be converted into UTF8. Andrew Bartlett | |||||
2011-06-09 | s3-param Remove special case for global_myname(), rename to lp_netbios_name() | Andrew Bartlett | 1 | -1/+1 | |
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 | |||||
2011-06-09 | s3-talloc Change TALLOC_ARRAY() to talloc_array() | Andrew Bartlett | 1 | -1/+1 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc. | |||||
2011-05-28 | s3: Use cli_connect_nb in smbd_running() | Volker Lendecke | 1 | -7/+3 | |
2011-05-06 | s3-libsmb: move protos to libsmb/proto.h | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-05-05 | More simple const fixups. | Jeremy Allison | 1 | -1/+1 | |
2011-04-27 | dynconfig: Have only one dynconfig.o in the common code. | Andrew Bartlett | 1 | -1/+1 | |
2011-03-30 | Fix convert_string() to take a *converted_size arg. and return a bool. | Jeremy Allison | 1 | -4/+9 | |
Makes these interfaces much harder to misuse and easier to ensure error checking. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Mar 30 23:59:37 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | s3-auth: use auth.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | s3-locking: move locking prototypes out of proto.h. | Günther Deschner | 1 | -0/+1 | |
Will later become part of locking.h Guenther | |||||
2011-03-30 | s3-build: only include intl protos where needed. | Günther Deschner | 3 | -0/+3 | |
Guenther | |||||
2011-03-30 | s3-passdb: use passdb headers where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | s3-includes: only include system/filesys.h when needed. | Günther Deschner | 2 | -0/+2 | |
Guenther | |||||
2011-03-30 | s3-includes: only include system/passwd.h when needed. | Günther Deschner | 1 | -0/+1 | |
Guenther |