summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #7288 - SMB job IDs in CUPS job names wrong.Jeremy Allison2010-03-254-20/+32
| | | | | | | | | | | | | | | | | | | | | | | Based on a patch from Michael Karcher <samba@mkarcher.dialup.fu-berlin.de>. I think this is the correct fix. It causes cups_job_submit to use print_parse_jobid(), which I've moved into printing/lpq_parse.c (to allow the link to work). It turns out the old print_parse_jobid() was *broken*, in that the pjob filename was set as an absolute path - not relative to the sharename (due to it not going through the VFS calls). This meant that the original code doing a strncmp on the first part of the filename would always fail - it starts with a "/", not the relative pathname of PRINT_SPOOL_PREFIX ("smbprn."). This fix could fix some other mysterious printing bugs - probably the ones Guenther noticed where job control fails on non-cups backends. Guenther PLEASE CHECK ! Jeremy.
* Fix bug 7297 - smbd crashes with CUPS printers and no [printers] share defined.Jeremy Allison2010-03-251-1/+1
| | | | | | Ensure we don't dereference an array with an index of -1. Jeremy.
* s3: vfs_smb_traffic_analyzer.c: remove warnings from developer buildHolger Hetterich2010-03-251-14/+16
| | | | | | | | | | | This patch should remove all warnings coming up when compiling traffic analyzer with configure.developer. Re-activate the smb_traffic_analyzer_rmdir function by adding it's vfs_fn_pointer to vfs_smb_traffic_analyzer_fns. Copy the mode_t used in smb_traffic_analyzer_open to the corresponding data structure.
* s3:passdb: avoid sid_to_gid() if the sid is "domain users"Stefan Metzmacher2010-03-251-3/+7
| | | | | | If the call fails we would use the "domain users" sid anyway. metze
* s4:libcli/wrepl: correctly remove the tstream_context when the connection is ↵Stefan Metzmacher2010-03-251-1/+15
| | | | | | dead metze
* s4-smbtorture: fix include of proto header in main RAP test.Günther Deschner2010-03-251-0/+1
| | | | Guenther
* s3: Fix a missing </listitem> in vfs_crossrename.8.xmlTorsten Kurbad2010-03-251-0/+1
|
* s3: Add a comment to notify_internal_parent_init, this is pretty confusingVolker Lendecke2010-03-251-0/+6
|
* s3: Add a comment to serverid_parent_init, this is pretty confusingVolker Lendecke2010-03-251-0/+6
|
* s3: Add a comment to messaging_tdb_parent_init, this is pretty confusingVolker Lendecke2010-03-251-0/+6
|
* s3: Make sure our CLEAR_IF_FIRST optimization works for serverid.tdbVolker Lendecke2010-03-253-0/+25
| | | | | | In the child, we fully re-open serverid.tdb, which leads to one fcntl lock for CLEAR_IF_FIRST detection per smbd. This opens the tdb in the parent and holds it, so that tdb_reopen_all correctly catches the CLEAR_IF_FIRST bit.
* s3: Make sure our CLEAR_IF_FIRST optimization works for the notify tdbsVolker Lendecke2010-03-253-0/+32
| | | | | | The notify tdb files are opened at tconX time, which leads to one fcntl lock for CLEAR_IF_FIRST detection per smbd. This opens the tdbs in the parent and holds it, so that tdb_reopen_all correctly catches the CLEAR_IF_FIRST bit.
* s3: Make sure our CLEAR_IF_FIRST optimization works for messaging.tdbVolker Lendecke2010-03-253-0/+22
| | | | | | In the child, we fully re-open messaging.tdb, which leads to one fcntl lock for CLEAR_IF_FIRST detection per smbd. This opens the tdb in the parent and holds it, so that tdb_reopen_all correctly catches the CLEAR_IF_FIRST bit.
* s3: Fix some nonempty blank linesVolker Lendecke2010-03-251-6/+6
|
* s3-selftest: enable RAP-RPC test against s3.Günther Deschner2010-03-251-1/+1
| | | | Guenther
* s3-selftest: add RAP-RPC testsuite for crosschecking RAP and DCERPC calls.Günther Deschner2010-03-253-1/+106
| | | | Guenther
* s4-smbtorture: fix drsblobs ndr torture test.Günther Deschner2010-03-251-3/+6
| | | | Guenther
* s3: re-run make samba3-idl.Günther Deschner2010-03-253-55/+56
| | | | Guenther
* drsblobs: remove utf8string2 from ForestTrustData.Günther Deschner2010-03-252-10/+9
| | | | | | | | Simo, it's not really worth to add a new idl type just for being able to omit the size field. The size field is part of the spec in MS-ADTS 7.1.6.9.3.1 so we should have it as well. Guenther
* s4-smbtorture: activate job control tests against s3 in spoolss tests.Günther Deschner2010-03-251-5/+2
| | | | | | | Spoolss job control commands work for cups in s3 now but not for other backends. We need to investigate why. Guenther
* tdb: Fix indentation in tdb_new_database()Volker Lendecke2010-03-251-1/+1
|
* Fix some nonempty blank linesVolker Lendecke2010-03-2511-48/+47
|
* s4:selftest Add testing of kpasswd password set on servicePrincipalNameAndrew Bartlett2010-03-251-0/+31
|
* s4:kdc Add support for changing password of a servicePrincipalNameAndrew Bartlett2010-03-251-10/+32
| | | | | | | | Apparently AD supports setting a password on a servicePrincipalName, not just a user principal name. This should fix (part of) the join of OpenSolaris's internal CIFS server to Samba4 as reported by Bug #7273 Andrew Bartlett
* s4-ldb: fixed command line parsing in oLschema2ldifAndrew Tridgell2010-03-251-19/+51
| | | | It really doesn't make sense to use the ldb command line code
* s4-ldb: removed unused command line options -I and -OAndrew Tridgell2010-03-252-4/+0
| | | | | | These are not used anywehere, so they just confuse people Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-drs: If we are a RODC then do not send DSReplicaSync messagesFernando J V da Silva2010-03-251-8/+11
|
* python: use '#!/usr/bin/env python' to cope with varying install locationsAndrew Tridgell2010-03-2530-30/+30
| | | | this should be much more portable
* Fix bug #7269 - Job management commands don't work for CUPS queues.Michael Karcher2010-03-241-1/+9
| | | | | Samba needs to retrieve pjob->sysjob from the CUPS response (as is done in the iprint backend).
* s3-selftest: move printing config to global section.Günther Deschner2010-03-251-8/+9
| | | | | | "make test" variant. Guenther
* s3-selftest: move printing config to global section.Günther Deschner2010-03-251-8/+9
| | | | Guenther
* s4-smbtorture: add print test to RPC-SPOOLSS-PRINTER as well.Günther Deschner2010-03-251-0/+12
| | | | Guenther
* s4-smbtorture: create several printjobs during print test in RPC-SPOOLSS.Günther Deschner2010-03-251-11/+30
| | | | Guenther
* s4-smbtorture: mention job id in GetJob test output in RPC-SPOOLSS.Günther Deschner2010-03-251-2/+2
| | | | Guenther
* s4-smbtorture: mention job id in SetJob test output in RPC-SPOOLSS.Günther Deschner2010-03-251-10/+10
| | | | Guenther
* Fix bug #7233 - print fails with jobs >4GB from Win7 clients.Jeremy Allison2010-03-241-25/+53
| | | | | | Ensure we always write at end-of-file for older write calls. Jeremy.
* Missing include guard in source4/libcli/security/security.hJeremy Allison2010-03-241-0/+5
| | | | Jeremy.
* Fix bug #7283 - vfs_acl_tdb does not work as expected.Jeremy Allison2010-03-241-34/+14
| | | | | | | both vfs_acl_common.c and vfs_acl_tdb.c were using the connection handle, thus conflicted. Fix this. Jeremy.
* Fix valgrind warning when source and dest stat are identical.Jeremy Allison2010-03-241-1/+3
| | | | Jeremy.
* s4-smbtorture: add drsblobs ndr torture test.Günther Deschner2010-03-243-1/+68
| | | | Guenther
* s4-smbtorture: move up torture_assert_sid_equal at least to the torture/ndr ↵Günther Deschner2010-03-242-11/+11
| | | | | | level. Guenther
* s4-selftest: use correct test names.Günther Deschner2010-03-241-1/+1
| | | | Guenther
* s3:ntlmssp: use c99 typesStefan Metzmacher2010-03-243-27/+27
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: use client.netbios_name instead of workstationStefan Metzmacher2010-03-245-11/+14
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: remove unused ntlmssp_set_workstation()Stefan Metzmacher2010-03-242-14/+0
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: move sign/seal states to a private ntlmssp_crypt_state unionStefan Metzmacher2010-03-242-51/+63
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: add const for *sig in ntlmssp_unseal_packet()Stefan Metzmacher2010-03-242-2/+2
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: make whole_pdu const for ntlmssp_[un]seal_packet()Stefan Metzmacher2010-03-242-4/+4
| | | | | | | | Only data needs to be non-const. metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: use a 'bool ok' variable to make the code more readableStefan Metzmacher2010-03-241-2/+14
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: fix some formatingStefan Metzmacher2010-03-241-58/+89
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>