summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2010-08-05s3-secrets: only include secrets.h when needed.Günther Deschner56-59/+108
Guenther
2010-08-05s3: avoid global include of ads.h.Günther Deschner55-338/+415
Guenther
2010-08-05s3-libnet_join: add ads.h as helper header to IDL.Günther Deschner1-1/+2
Guenther
2010-08-05s3-printing: move AD related printing components to an own file.Günther Deschner4-447/+481
Guenther
2010-08-04s3: Convert cli_list() to return NTSTATUSVolker Lendecke7-36/+73
If needed, the callback functions can count themselves
2010-08-04s3: Use data_blob_nullVolker Lendecke1-1/+1
2010-08-04s3-waf: fix the build.Günther Deschner1-1/+5
Guenther
2010-08-04small optimizations for shadowcopy2 moduleChristian Ambach1-2/+2
- remove a compiler warning - replace strlen usage Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-08-04fix snapshot content display with hide unreadableChristian Ambach1-1/+8
With the hide unreadable option set, snapshots are be displayed as empty with shadow_copy2 and a NFSv4 ACL module. To prevent multiple conversions of the paths when the acl call does a VFS_STAT (as the nfs4acl code does), a check was added to convert_shadow2_name() so it will not touch paths any more that look like they have already been converted. Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-08-04s3: Fix shadow copies after the change for in-path @GMT-Volker Lendecke1-3/+2
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-08-04s3: Fix in-path shadowcopy2 moduleVolker Lendecke1-0/+1
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-08-03make scannedonly notify the scanner if no .scanned: file was found during renameolivier1-7/+16
2010-08-03s3-dcerpc: fix some uninitialized variables build warnings.Günther Deschner3-4/+4
Guenther
2010-08-03s3-spoolss: fix type-punned pointer build warning.Günther Deschner1-1/+3
Guenther
2010-08-03s3-spoolss: fix uninitialized variable build warning.Günther Deschner1-1/+1
Andreas, please check. Guenther
2010-08-03s3-printing: make sure to set NTSTATUS code before checking it.Günther Deschner1-5/+5
Andreas, please check. Guenther
2010-08-03s3-spoolss: remove duplicate (and incorrect) header.Günther Deschner1-1/+0
Guenther
2010-08-02s3-spoolss: Fixed a segfault if a value has no data.Andreas Schneider1-3/+6
2010-08-02s3-spoolss: Move some debug message to a higher level.Andreas Schneider2-7/+7
2010-08-02s3-spoolss: Fixed some C++ build warnings.Andreas Schneider1-3/+3
2010-08-02s3-spoolss: Use a stackframe to allocat memory.Andreas Schneider1-24/+24
This is faster and should be more secure to use if something goes wrong.
2010-08-02s3-spoolss: remove unused MAX_OPEN_PRINTER_EXS define.Günther Deschner1-4/+0
Guenther
2010-08-02s3-build: fix some c++ build warnings.Günther Deschner1-2/+2
Guenther
2010-08-02s3: Use cups-config --libsVolker Lendecke1-1/+1
2010-08-01s3: Fix an uninitialized variableVolker Lendecke1-1/+1
2010-08-01s3: Fix a C++ warningVolker Lendecke1-1/+1
2010-08-01s3: Fix some nonempty blank linesVolker Lendecke2-22/+22
2010-08-01s3: Fix an uninitialized variableVolker Lendecke1-1/+1
2010-07-31s3-printing: remove unused get_local_printer_publishing_data() call.Günther Deschner1-14/+0
Guenther
2010-07-31s3-build: avoid to globally include printing and spoolss headers.Günther Deschner17-10/+20
This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther
2010-07-30cleanups: Trailing spaces, line length, etc...Simo Sorce1-111/+163
2010-07-30s3-dcerpc: Use dcerpc_guess_sizes in the server code too.Simo Sorce1-95/+38
2010-07-30s3-dceprc: Improve dcerpc_guess_sizes() interfaceSimo Sorce3-20/+30
Make it possible to pass in the NDR padding size so that theoretically client and server code can decide to use a different alignment. Pass in the header length as a parameter so that this function can be used for different type of packets. Make sure padding size will not make the fragment exceed the maximum length. Calculate padding taking in account the header length.
2010-07-30s3-dcerpc: rationalize packet creation in the server codeSimo Sorce2-86/+86
Move all related functions into create_next_packet, but make it transport neutral (not pass in pipse_struct)
2010-07-30s3-dcerpc: Make function to guess pdu sizes common.Simo Sorce3-112/+130
2010-07-30s3-dceprc: consolidate use of dcerpc_push_dcerpc_auth()Simo Sorce1-76/+31
2010-07-30s3-dcerpc: Remove unused functionsSimo Sorce1-166/+0
2010-07-30s3-dcerpc: use common spengo wrapper code for client SPNEGO/NTLMSSPSimo Sorce5-162/+321
2010-07-30s3-dcerpc: add sign/seal support when using SPNEGO/KRB5Simo Sorce4-87/+235
2010-07-30s3-dcerpc: Add SPNEGO incapsulation for KRB5 authSimo Sorce7-31/+454
2010-07-30rpcclient: Use DCERPC_AUTH_LEVEL_CONNECT if no sign/seal is set for ntlmsspSimo Sorce1-0/+6
2010-07-30s3: Remove "cli" from "struct finfo"Volker Lendecke5-22/+31
2010-07-29We should be using the winbindd separator in this case, not hardcoding a \\ ↵Jeremy Allison1-1/+3
value. Jeremy.
2010-07-29s3: Do the ftruncate write cache optimization in one placeVolker Lendecke1-0/+31
Instead of hand-tuning all the cases that are below this piece of code, this is a general case that we can catch upfront.
2010-07-29Revert "s3: Avoid pwrite calls for the 1-byte writes with zero content"Volker Lendecke1-50/+4
This reverts commit 6763730304627a58139450fd3e03a0ce48e31bb9.
2010-07-29s3: Avoid an unnecessary ftruncate callVolker Lendecke1-1/+1
If we just created the file, it has length 0 by definition. This is still done while holding the share mode lock, so no race around wrt other cifs clients.
2010-07-29Fix bug #7589 - ntlm_auth fails to use cached credentials.Jeremy Allison1-7/+5
In handling the WINBINDD_PAM_AUTH message winbindd canonicalizes a *copy* of the mapped username, but fails to canonicalize the actual username sent to the backend domain process. When "winbind default domain" is set this can lead to credentials being cached with an index of user: user, not DOMAIN\user. All other code paths that use canonicalize_username() (WINBINDD_PAM_CHAUTHTOK, WINBINDD_PAM_LOGOFF) correctly canonicalize the data sent to the backend. All calls the can cause credentials to be looked up (PAM_CHAUTHTOK etc.) correctly call canonicalize_username() to create the credential lookup key. Jeremy.
2010-07-29s3-spoolss: Increased debug level for trace output.Andreas Schneider1-1/+2
2010-07-29s3-spoolss: Fixed debug statements and increased level.Andreas Schneider1-4/+4
2010-07-28s3-dcerpc: Try to fix build when gssapi_ext.h is not availableSimo Sorce1-43/+39