summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-03-28Revert "s3: Optimize gencache for smbd exit"Volker Lendecke1-75/+14
This reverts commit 5ca63676dc59e83ffd9560fdcfa26063f267f283. That does not fully fix the problem, adding a tdb_transaction_start_nonblock to fix it.
2010-03-28s3: Fix typos in a debug message in vfs_init_customVolker Lendecke1-1/+2
2010-03-28s4-selftest: use CONFIG_H environment variable to find config.hAndrew Tridgell1-1/+4
2010-03-27s4:heimdal Use correct variable to advance past -- options in kpasswdAndrew Bartlett1-2/+2
This bug was introduced when kpasswd was migrated to a local getarg() call, in Heimdal commit 7dd146072cd9b56d660a01f4aa20f8d81be356e8 Andrew Bartlett
2010-03-27s4:heimdal_build Remove forced HAVE_STRERROR_RAndrew Bartlett1-4/+0
This just causes warnings, now upstream has a more complete fix.
2010-03-27s4:heimal Update generated files (cp from Heimdal)Andrew Bartlett5-477/+459
2010-03-27s4:testprogs Update test to match current HeimdalAndrew Bartlett1-1/+1
2010-03-27s4:heimdal: import lorikeet-heimdal-201003262338 (commit ↵Andrew Bartlett39-257/+381
f4e0dc17709829235f057e0e100d34802d3929ff)
2010-03-27s4:testprogs Fix kinit test for updated HeimdalAndrew Bartlett1-2/+2
2010-03-27s4:heimdal New files and supporting logic for heimdal updateAndrew Bartlett10-2/+1388
2010-03-27s4:heimdal: import lorikeet-heimdal-201001120029 (commit ↵Andrew Bartlett222-1939/+4091
a5e675fed7c5db8a7370b77ed0bfa724196aa84d)
2010-03-26Fix bug #7240 - Net usershare is not case sensitive.Jeremy Allison4-56/+90
Updates usershare files in a backwards compatible way. I don't intend to back port this fix to 3.5.x as it depends on a version upgrade in the share_info.tdb share security database. Jeremy.
2010-03-26s3-selftest: set "lpq cache time = 0" in server configuration.Günther Deschner1-0/+1
This fixes currently broken spoolss tests. (make test variant). Guenther
2010-03-26s3-selftest: set "lpq cache time = 0" in server configuration.Günther Deschner1-0/+1
This fixes currently broken spoolss tests. Guenther
2010-03-26s4-smbtorture: more JobInfo testing.Günther Deschner1-28/+42
Guenther
2010-03-26s3 ntlm_auth: Don't malloc data that will be talloc_free()dKai Blin1-12/+12
This fixes bug #7290 Thanks to Mohan <mohann@silver-peak.com> for the bug report.
2010-03-26tdb: update exports and signatures filesSimo Sorce2-0/+2
2010-03-26tdb: Add a non-blocking version of tdb_transaction_startVolker Lendecke7-9/+25
2010-03-26s4:auth/credentials/credentials.c - initialise more contentMatthias Dieter Wallnöfer1-0/+3
Now all data should be initialised
2010-03-26Revert the part of bug fix #7233 - print fails with jobs >4GB from Win7 clients.Jeremy Allison1-22/+4
Submitter reports print file corruption after 2GB when SMBwrite etc. always write at EOF. Still working on the fix. Jeremy.
2010-03-26s3-util_sock: Rise debug level for getpeername failed messages.Karolin Seeger1-4/+6
Don't show all getpeername failed messages in debug level 0 and 1. Karolin Signed-off-by: Volker Lendecke <vl@samba.org>
2010-03-26s3-smbd: Don't close stdout if we want to log to stdout.Andreas Schneider7-12/+14
2010-03-26s4-smbtorture: fail spoolss test on SetJob failure.Günther Deschner1-22/+61
Guenther
2010-03-26s3-spoolss: return info for the correct printjob in _spoolss_GetJob().Günther Deschner1-4/+6
Guenther
2010-03-26s3-printing: avoid mixing cups backend code with nt_printing code in ↵Günther Deschner3-26/+40
cups_pull_comment_location. Guenther
2010-03-26s3-event: switch s3 to using tevent_re_initialise()Andrew Tridgell3-9/+2
This correctly initialises the event backend, and checks for errors (thanks to Metze for suggesting this)
2010-03-26s4-smbd: use tevent_re_initialise()Andrew Tridgell1-2/+6
This fixes a crash bug on startup
2010-03-26tevent: added tevent_re_initialise()Andrew Tridgell2-0/+17
This allows us to re-initialise a tevent context without destroying the pointer. That means that if someone keeps a long term ptr to the event context across a fork it will still work. This also brings the memory handling in single and standard process models much closer together, which means less bugs that we don't find with make test.
2010-03-26util: on FreeBSD true is in /usr/bin. Use execvp to find itAndrew Tridgell2-2/+2
2010-03-26libutil: moved the networking defines to util_net.hAndrew Tridgell18-27/+44
These were causing thousands of warnings on solaris8
2010-03-26libreplace: strerror_r() is needed by heimdal on solaris8Andrew Tridgell3-1/+14
2010-03-26s4-drs: replmd_delete with the 3 stage deletion recycle binEduardo Lima2-105/+204
2010-03-26tsocket: not all systems have IPV6_V6ONLYAndrew Tridgell1-2/+2
2010-03-25Second part of bug #7288 - SMB job IDs in CUPS job names wrong.Jeremy Allison1-2/+0
Forgot to delete the overload of the smbjob bool. Jeremy.
2010-03-25Fix bug #7288 - SMB job IDs in CUPS job names wrong.Jeremy Allison4-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.
2010-03-25Fix bug 7297 - smbd crashes with CUPS printers and no [printers] share defined.Jeremy Allison1-1/+1
Ensure we don't dereference an array with an index of -1. Jeremy.
2010-03-25s3: vfs_smb_traffic_analyzer.c: remove warnings from developer buildHolger Hetterich1-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.
2010-03-25s3:passdb: avoid sid_to_gid() if the sid is "domain users"Stefan Metzmacher1-3/+7
If the call fails we would use the "domain users" sid anyway. metze
2010-03-25s4:libcli/wrepl: correctly remove the tstream_context when the connection is ↵Stefan Metzmacher1-1/+15
dead metze
2010-03-25s4-smbtorture: fix include of proto header in main RAP test.Günther Deschner1-0/+1
Guenther
2010-03-25s3: Fix a missing </listitem> in vfs_crossrename.8.xmlTorsten Kurbad1-0/+1
2010-03-25s3: Add a comment to notify_internal_parent_init, this is pretty confusingVolker Lendecke1-0/+6
2010-03-25s3: Add a comment to serverid_parent_init, this is pretty confusingVolker Lendecke1-0/+6
2010-03-25s3: Add a comment to messaging_tdb_parent_init, this is pretty confusingVolker Lendecke1-0/+6
2010-03-25s3: Make sure our CLEAR_IF_FIRST optimization works for serverid.tdbVolker Lendecke3-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.
2010-03-25s3: Make sure our CLEAR_IF_FIRST optimization works for the notify tdbsVolker Lendecke3-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.
2010-03-25s3: Make sure our CLEAR_IF_FIRST optimization works for messaging.tdbVolker Lendecke3-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.
2010-03-25s3: Fix some nonempty blank linesVolker Lendecke1-6/+6
2010-03-25s3-selftest: enable RAP-RPC test against s3.Günther Deschner1-1/+1
Guenther
2010-03-25s3-selftest: add RAP-RPC testsuite for crosschecking RAP and DCERPC calls.Günther Deschner3-1/+106
Guenther