Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-07-27 | s3-spoolss: Migrated NT_DEVICEMODE to spoolss_DeviceMode. | Simo Sorce | 1 | -247/+100 | |
Signed-off-by: Jim McDonough <jmcd@samba.org> | |||||
2010-07-01 | s3-printing: Fix Bug #7541, %D in "printer admin" causing smbd crash. | Günther Deschner | 1 | -1/+2 | |
Guenther | |||||
2010-06-16 | s3-printing: add BUILTIN\Print Operators as FULL CONTROL to default sd. | Günther Deschner | 1 | -2/+22 | |
Guenther | |||||
2010-06-16 | s3-spoolss: Provide a memory context for clean_up_driver_struct(). | Andreas Schneider | 1 | -3/+4 | |
If we use a stack variable to setup spoolss_AddDriverInfoCtr this would segfault with a talloc bad magic value. | |||||
2010-06-13 | s3: Remove the pointless PRINTERNAME macro | Volker Lendecke | 1 | -1/+1 | |
2010-05-31 | s3-build: only use ndr_security.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-05-25 | s3:registry: move reg_objects.h to registry/ and use it only where needed | Michael Adam | 1 | -0/+1 | |
Every place outside of registry/ where this is used, should probably be changed to use pure reg_api.c code. | |||||
2010-05-25 | s3:nt_printing: use regval_ctr_init(). | Michael Adam | 1 | -1/+4 | |
2010-05-25 | s3:registry: adapt callers of regval_ctr_addvalue to uint8 * instead of char * | Michael Adam | 1 | -4/+4 | |
2010-05-21 | s3:dom_sid Global replace of DOM_SID with struct dom_sid | Andrew Bartlett | 1 | -6/+6 | |
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-18 | s3-spoolss: Added EN ISO 216, A0 and A1 to builtin forms. | Andreas Schneider | 1 | -0/+2 | |
Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-18 | s3-spoolss: Removed the Phantom DeviceMode. | Simo Sorce | 1 | -378/+0 | |
This was a hack that required a special client from HP. The client code has never been released and was discontinued, so this code was just dead weight. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-18 | s3-spoolss: Create a spoolss_map_to_os2_driver function. | Andreas Schneider | 1 | -0/+104 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-18 | s3-spoolss: Use better names for set_last_from_to. | Andreas Schneider | 1 | -23/+20 | |
Use set_driver_mapping() and get_win_driver(), get_os2_driver(). Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-18 | s3-secdesc: use SD_REVISION from security.idl. | Günther Deschner | 1 | -3/+3 | |
Guenther | |||||
2010-05-18 | s3-secdesc: remove "typedef struct security_descriptor SEC_DESC". | Günther Deschner | 1 | -8/+8 | |
Guenther | |||||
2010-05-18 | s3-secdesc: remove "typedef struct security_acl SEC_ACL". | Günther Deschner | 1 | -4/+4 | |
Guenther | |||||
2010-05-18 | s3-secdesc: remove "typedef struct security_ace SEC_ACE". | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2010-05-18 | s3-secdesc: remove "typedef struct sec_desc_buf SEC_DESC_BUF". | Günther Deschner | 1 | -12/+12 | |
Guenther | |||||
2010-05-18 | s3: Remove use of iconv_convenience. | Jelmer Vernooij | 1 | -3/+3 | |
2010-05-18 | s3-registry: only include registry headers when really needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-05-18 | s3-rpc_misc: clean out include/rpc_misc.h. | Günther Deschner | 1 | -5/+5 | |
Well known rids don't really belong into an rpc header, just use the ones defined in security.idl. Guenther | |||||
2010-05-14 | Make pcap headers private | Simo Sorce | 1 | -0/+1 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-06 | s3: only include gen_ndr headers where needed. | Günther Deschner | 1 | -0/+1 | |
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther | |||||
2010-05-05 | s3-spoolss: Added a generic spoolss_create_default_secdesc function. | Andreas Schneider | 1 | -0/+84 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-05 | s3-spoolss: Added a function to create a default spoolss_DeviceMode. | Andreas Schneider | 1 | -0/+77 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-04 | s3-lib: Create a sec_desc_merge and sec_desc_merge_buf function. | Andreas Schneider | 1 | -1/+1 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-04-23 | s3-spoolss: Move info_ctr conversion to a public helper. | Simo Sorce | 1 | -6/+23 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-04-23 | s3-spoolss: fix some crash bugs and missing error codes in AddDriver paths. | Günther Deschner | 1 | -2/+8 | |
Found by torture test. Guenther | |||||
2010-04-09 | s3: add iconv_convenience handle to pull/push sz helpers. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-04-07 | s3-spoolss: Fix an issue in _spoolss_DeleteForm. | Günther Deschner | 1 | -1/+1 | |
Found by torture test. Guenther | |||||
2010-03-26 | s3-printing: avoid mixing cups backend code with nt_printing code in ↵ | Günther Deschner | 1 | -4/+22 | |
cups_pull_comment_location. Guenther | |||||
2010-03-18 | s3-printing: Fix "printer admin" functionality. | Jeremy Allison | 1 | -1/+1 | |
Fix bug #7255 ("printer admin" parameter does not work as expected). | |||||
2010-03-10 | s3: Fix a long-standing problem with recycled PIDs | Volker Lendecke | 1 | -1/+1 | |
When a samba server process dies hard, it has no chance to clean up its entries in locking.tdb, brlock.tdb, connections.tdb and sessionid.tdb. For locking.tdb and brlock.tdb Samba is robust by checking every time we read an entry from the database if the corresponding process still exists. If it does not exist anymore, the entry is deleted. This is not 100% failsafe though: On systems with a limited PID space there is a non-zero chance that between the smbd's death and the fresh access, the PID is recycled by another long-running process. This renders all files that had been locked by the killed smbd potentially unusable until the new process also dies. This patch is supposed to fix the problem the following way: Every process ID in every database is augmented by a random 64-bit number that is stored in a serverid.tdb. Whenever we need to check if a process still exists we know its PID and the 64-bit number. We look up the PID in serverid.tdb and compare the 64-bit number. If it's the same, the process still is a valid smbd holding the lock. If it is different, a new smbd has taken over. I believe this is safe against an smbd that has died hard and the PID has been taken over by a non-samba process. This process would not have registered itself with a fresh 64-bit number in serverid.tdb, so the old one still exists in serverid.tdb. We protect against this case by the parent smbd taking care of deregistering PIDs from serverid.tdb and the fact that serverid.tdb is CLEAR_IF_FIRST. CLEAR_IF_FIRST does not work in a cluster, so the automatic cleanup does not work when all smbds are restarted. For this, "net serverid wipe" has to be run before smbd starts up. As a convenience, "net serverid wipedbs" also cleans up sessionid.tdb and connections.tdb. While there, this also cleans up overloading connections.tdb with all the process entries just for messaging_send_all(). Volker | |||||
2010-03-05 | Fix for bug #7189 - Open txt files with notepad on samba shares creates problem. | Jeremy Allison | 1 | -0/+3 | |
Ensure we don't use any of the create_options for Samba private use. Add a new parameter to the VFS_CREATE call (private_flags) which is only used internally. Renumber NTCREATEX_OPTIONS_PRIVATE_DENY_DOS and NTCREATEX_OPTIONS_PRIVATE_DENY_FCB to match the S4 code). Rev. the VFS interface to version 28. Jeremy. | |||||
2010-01-10 | s3: Replace most calls to sid_append_rid() by sid_compose() | Volker Lendecke | 1 | -2/+2 | |
2009-12-08 | s3-spoolss: use driver level info8 everywhere in spoolss server internally. | Günther Deschner | 1 | -99/+196 | |
Guenther | |||||
2009-12-07 | s3-spoolss: a default printer should have at least a "PrintDriverData" key. | Günther Deschner | 1 | -0/+7 | |
Guenther | |||||
2009-11-25 | Fix warnings with talloc_asprintf. | Jeremy Allison | 1 | -3/+3 | |
Jeremy. | |||||
2009-11-23 | s3-printing: remove duplicate code while cleaning up driver structs. | Günther Deschner | 1 | -68/+39 | |
Guenther | |||||
2009-11-23 | s3-printing: use spoolss types and structs while getting and deleting drivers. | Günther Deschner | 1 | -166/+157 | |
Guenther | |||||
2009-11-23 | s3-printing: use spoolss types and structs while adding drivers. | Günther Deschner | 1 | -275/+167 | |
Guenther | |||||
2009-10-01 | s3-registry: use pull_reg_sz() where appropriate. | Günther Deschner | 1 | -3/+6 | |
(and move away from rpcstr_pull and rpcstr_pull_talloc). Guenther | |||||
2009-09-30 | s3-printing: use regval_ctr_addvalue_multi_sz. | Günther Deschner | 1 | -17/+4 | |
Guenther | |||||
2009-09-30 | s3-registry: use regval_ctr_addvalue_sz(). | Günther Deschner | 1 | -22/+6 | |
Greatly simplifies and cleanes up the code. Guenther | |||||
2009-09-30 | s3-registry: use push_reg_sz(). | Günther Deschner | 1 | -15/+9 | |
Guenther | |||||
2009-08-10 | s3-spoolss: remove device mode defines from nt_printing.h. | Günther Deschner | 1 | -12/+17 | |
Guenther | |||||
2009-08-07 | s3:smbd: conn_free_internal() can be static now | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2009-07-24 | s3: Convert a few callers of unix_convert() over to filename_convert() | Tim Prouty | 1 | -5/+23 | |
This patch also changes the unix convert flags to make sure the correct semantics are preservered for allowing/disallowing wildcards in the last component of the path. | |||||
2009-06-24 | s3-printing: eliminate another non sec_initial_uid using security check. | Günther Deschner | 1 | -1/+1 | |
Guenther |