Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-07-10 | Add function fd_open_atomic() which uses O_CREAT|O_EXCL to return a ↵ | Jeremy Allison | 1 | -4/+107 | |
guaranteed indication of creation of a new file. | |||||
2012-07-10 | Simplify the logic in open_file() some more. | Jeremy Allison | 1 | -48/+36 | |
Move the inheritance work into the if block where we created the file. We can never have created the file (and thus need no inheritance) for a stat-open. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Jul 10 03:30:22 CEST 2012 on sn-devel-104 | |||||
2012-07-09 | Simplify the logic in open_file(). | Jeremy Allison | 1 | -22/+15 | |
Move the fstat call into the block which opens a file descriptor. Remove the stat() call in the stat-open case. We already failed the open if !file_existed. | |||||
2012-07-09 | Use new common function. | Jeremy Allison | 1 | -1/+1 | |
2012-07-09 | Make check_same_stat() and check_same_dev_ino() common functions. | Jeremy Allison | 4 | -31/+33 | |
2012-07-09 | Factor out check_same_dev_ino() from check_same_stat() so it can be called ↵ | Jeremy Allison | 1 | -2/+15 | |
separately. | |||||
2012-07-09 | lib/ldb: Bump ldb release due to pyldb changes | Andrew Bartlett | 3 | -1/+261 | |
We strictly need these changes to pass make test, and the concat change is backwards incompatible, so we really want to use the right version. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Jul 9 04:34:06 CEST 2012 on sn-devel-104 | |||||
2012-07-06 | s4-torture: add ntprinting ndr operations testsuite. | Günther Deschner | 3 | -1/+442 | |
Guenther Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Fri Jul 6 20:55:26 CEST 2012 on sn-devel-104 | |||||
2012-07-06 | ntprinting: mark the final 4 byte null pointer for printer data in ↵ | Günther Deschner | 1 | -0/+1 | |
ndr_pull_ntprinting_printer as read. Guenther | |||||
2012-07-06 | ndr: fix push/pull DATA_BLOB with NDR_NOALIGN | David Disseldorp | 1 | -12/+22 | |
This change addresses bug 9026. There are 3 use cases for DATA_BLOB marshalling/unmarshalling: 1) ndr_push_DATA_BLOB and ndr_pull_DATA_BLOB when called with LIBNDR_FLAG_ALIGN* alignment flags set, are used to push/pull padding bytes _only_. The length is determined by the alignment required and the current ndr offset. e.g. dcerpc.idl: typedef struct { ... [flag(NDR_ALIGN8)] DATA_BLOB _pad; } dcerpc_request; 2) When called with the LIBNDR_FLAG_REMAINING flag, all remaining bytes in the ndr buffer are pushed/pulled. e.g. dcerpc.idl: typedef struct { ... [flag(NDR_REMAINING)] DATA_BLOB stub_and_verifier; } dcerpc_request; 3) When called without alignment flags, push/pull a uint32 length _and_ a corresponding byte array to/from the ndr buffer. e.g. drsblobs.idl typedef [public] struct { ... DATA_BLOB data; } DsCompressedChunk; The fix for bug 8373 changed the definition of "alignment flags", such that when called with LIBNDR_FLAG_NOALIGN ndr_push/pull_DATA_BLOB behaves as (1: padding bytes) rather than (3: uint32 length + byte array). This breaks marshalling/unmarshalling for the following structures. eventlog.idl: typedef [flag(NDR_NOALIGN|NDR_PAHEX),public] struct { ... DATA_BLOB sid; ... } eventlog_Record_tdb; ntprinting.idl: typedef [flag(NDR_NOALIGN),public] struct { ... DATA_BLOB *nt_dev_private; } ntprinting_devicemode; typedef [flag(NDR_NOALIGN),public] struct { ... DATA_BLOB data; } ntprinting_printer_data; Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2012-07-06 | ntprinting: make decode_ntprinting helpers public in idl. | Günther Deschner | 1 | -3/+3 | |
Guenther | |||||
2012-07-06 | s3: Fix Coverity ID 709470 Uninitialized scalar variable | Volker Lendecke | 1 | -1/+1 | |
Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Jul 6 18:46:06 CEST 2012 on sn-devel-104 | |||||
2012-07-06 | s4-selftest: do a dbcheck on our two vampire DCs | Andrew Bartlett | 2 | -1/+2 | |
However, due to using --domain-critical-only we have to knownfail the vampire DC here, as we do not fill in the backlinks on non-critical objects correctly. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Jul 6 16:54:10 CEST 2012 on sn-devel-104 | |||||
2012-07-06 | s4-dbcheck: Check for an object without a parent | Andrew Bartlett | 1 | -0/+44 | |
Such objects are then moved to the appropriate LostAndFound container, just as they would be if replicated. Andrew Bartlett | |||||
2012-07-06 | s4-dsdb: Remove unused variables in py_dsdb_get_partitions_dn | Andrew Bartlett | 1 | -3/+0 | |
2012-07-06 | pydsdb: Add bindings for dsdb_wellknown_dn() | Andrew Bartlett | 2 | -0/+38 | |
2012-07-06 | pyldb: Add bindings for ldb_dn_remove_base_components | Andrew Bartlett | 2 | -0/+20 | |
2012-07-06 | s4-pydsdb: Add bindings for dsdb_find_nc_root() | Andrew Bartlett | 2 | -0/+26 | |
2012-07-06 | s4-pydsdb: Improve PyErr_LDB_{DN,}_OR_RAISE to use py_check_dcerpc_type | Andrew Bartlett | 1 | -2/+9 | |
This checks the type rather than just dereferencing the pointer. Andrew Bartlett | |||||
2012-07-06 | pyldb: Fix dn concat operation to be the other way around | Andrew Bartlett | 2 | -2/+2 | |
This now concatonates Dn(ldb, "cn=config") + Dn(ldb, "dc=samba,dc=org") as "cn=config,dc=samba,dc=org" Andrew Bartlett | |||||
2012-07-06 | auth: Common function for retrieving PAC_LOGIN_INFO from PAC | Christof Schmitt | 7 | -123/+54 | |
Several functions use the same logic as kerberos_pac_logon_info. Move kerberos_pac_logon_info to common code and reuse it to remove the code duplication. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2012-07-06 | s4-lsarpc: DCERPC_FAULT_ACCESS_DENIED for tcp | Andreas Schneider | 1 | -0/+10 | |
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Jul 6 11:50:40 CEST 2012 on sn-devel-104 | |||||
2012-07-06 | s4-lsarpc: DCERPC_FAULT_ACCESS_DENIED for np | Andreas Schneider | 3 | -0/+45 | |
2012-07-06 | s4-lsarpc: Restrict LookupSids3 to crypto connections only. | Andreas Schneider | 1 | -0/+10 | |
2012-07-06 | s4-lsarpc: Restrict LookupNames4 to crypto connections only. | Andreas Schneider | 1 | -0/+10 | |
2012-07-06 | s4-lsarpc: Don't call lsa_OpenPolicy2 in lsa_LookupSids3. | Andreas Schneider | 1 | -46/+48 | |
2012-07-06 | s4-lsaprc: Don't call lsa_OpenPolicy2 in lsa_LookupNames4. | Andreas Schneider | 1 | -49/+53 | |
2012-07-06 | selftest: Update knownfail list for samba4.rpc.lsalookup. | Andreas Schneider | 1 | -1/+5 | |
2012-07-06 | s4-selftest: Don't run lsarpc requiring a named pipe over tcpip. | Andreas Schneider | 1 | -1/+1 | |
2012-07-06 | s4-selftest: Don't plan lsa.secrets tests over tcpip. | Andreas Schneider | 1 | -4/+4 | |
These will only work over a named pipe or ncalrpc. | |||||
2012-07-06 | s4-libnet: Skip calling lsarpc functions over a wrong pipe. | Andreas Schneider | 1 | -0/+9 | |
2012-07-06 | s4-torture: Call lsarpc tests over the correct pipe. | Andreas Schneider | 1 | -0/+6 | |
2012-07-06 | s4-torture: Don't consider NONE_MAPPED an error in LookupSids3. | Andreas Schneider | 1 | -3/+19 | |
2012-07-06 | s4-torture: Don't consider NONE_MAPPED an error in LookupNames4. | Andreas Schneider | 1 | -3/+15 | |
2012-07-06 | s4-torture: Add a lsarpc test_GetUserName_fail function. | Andreas Schneider | 1 | -0/+59 | |
2012-07-06 | s4-torture: Add a lsarpc test_OpenPolicy2_fail function. | Andreas Schneider | 2 | -21/+74 | |
2012-07-06 | s4-torture: Add a lsarpc test_OpenPolicy_fail function. | Andreas Schneider | 1 | -17/+74 | |
2012-07-06 | s4-torture: Add a lsarpc test_LookupNames4_fail function. | Andreas Schneider | 1 | -23/+74 | |
2012-07-06 | s4-torture: Add a lsarpc test_LookupSids3_fail function. | Andreas Schneider | 1 | -15/+68 | |
2012-07-06 | s3-lsarpc: Enforce a secure connection for LookupSids3 and LookupNames4. | Andreas Schneider | 1 | -8/+14 | |
http://thread.gmane.org/gmane.network.protocol.cifs.general/291 | |||||
2012-07-06 | s3-lsarpc: Restrict lsa_LookupNames4 to ncacn_ip_tcp connections. | Andreas Schneider | 1 | -12/+23 | |
See MS-LAT, Section 2.1 Transport. | |||||
2012-07-06 | s3-lsarpc: Restrict lsa_LookupSids3 to ncacn_ip_tcp connections. | Andreas Schneider | 1 | -12/+23 | |
See MS-LAT, Section 2.1 Transport. | |||||
2012-07-06 | s3-lsarpc: Restrict the transport for ncacn_np functions. | Andreas Schneider | 1 | -0/+42 | |
See MS-LAT, section 2.1 Transport. | |||||
2012-07-06 | s3-rpc: Return the correct ntstatus depending on the transport. | Andreas Schneider | 1 | -3/+15 | |
2012-07-06 | s3-rpc_server: Make it possible to use more rpc exceptions. | Andreas Schneider | 19 | -377/+349 | |
2012-07-06 | s3-selftest: Run lsa tests over np and tcpip. | Andreas Schneider | 1 | -0/+5 | |
2012-07-06 | s4-torture: Test LookupSids3/LookupNames4 over np and tcpip. | Andreas Schneider | 1 | -8/+26 | |
2012-07-06 | s4-torture: Make sure lsa_OpenPolicy2 fails over TCP/IP. | Andreas Schneider | 2 | -8/+16 | |
2012-07-06 | s4-torture: Make sure lsa_OpenPolicy fails over TCP/IP. | Andreas Schneider | 1 | -9/+20 | |
2012-07-06 | s4-torture: Make sure ncacn_np tests are only called over the a pipe. | Andreas Schneider | 2 | -1/+43 | |