1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00
Commit Graph

19743 Commits

Author SHA1 Message Date
Günther Deschner
3f5a2e49c1 r15982: Fix confusing order of DEBUG statements in winbindds pam_auth.
Guenther
2007-10-10 11:17:16 -05:00
Günther Deschner
7327f94546 r15980: Correctly destroy talloc_ctx when the LDAP posix attribute query has
failed. Noticed by Bob Gautier.

Guenther
2007-10-10 11:17:16 -05:00
Günther Deschner
4addabd054 r15977: Fillup the password_policy method in winbindd for winbindd_passdb. This
should make pam_winbind work again on a Samba PDC (and fix Bug #3800).

Guenther
2007-10-10 11:17:16 -05:00
Günther Deschner
2678582c6c r15976: Set our internal domains to "online" by default in winbindd.
Guenther
2007-10-10 11:17:16 -05:00
Gerald Carter
a2ef525d9e r15975: Only call the printer publishing calls if 'security = ads'
(prevent a segv)
2007-10-10 11:17:15 -05:00
Simo Sorce
60d4aabc32 r15971: Obey the manpage description and make changesecretpw accept a password via stdin 2007-10-10 11:17:15 -05:00
Stefan Metzmacher
6d35268639 r15967: enable RAW-OPLOCK in samba3 make test
metze
2007-10-10 11:17:15 -05:00
Simo Sorce
8f5b198aca r15965: Pam modules install fix, thanks to Ryan Novosielski for spotting this one 2007-10-10 11:17:15 -05:00
Jeremy Allison
146a264815 r15960: Don't double-free (ensure we always free file_fsp in
the same place on error - I missed the extra free in
delay_for_oplocks).
Jeremy.
2007-10-10 11:17:15 -05:00
Jeremy Allison
1117a327bd r15959: Ooops. Use the right file_free call...
Jeremy.
2007-10-10 11:17:15 -05:00
Jeremy Allison
c7c9adcce7 r15958: Make us pass RAW-OPLOCK with kernel oplocks off.
This allows a requestor to set FORCE_OPLOCK_BREAK_TO_NONE
to ensure we don't break to level 2. Fixed a couple
of resource leaks in error paths in open_file_ntcreatex.
Jeremy.
2007-10-10 11:17:14 -05:00
Jeremy Allison
ad3bc112a2 r15951: oplock_request must be an int, not a BOOL. We
were getting away with mixing types. Not cool.
Jeremy.
2007-10-10 11:17:14 -05:00
Jeremy Allison
ad9895c654 r15949: Patch for bug #3308 to stop us returning duplicate
mid replies on path based set-eof trans2 calls.
Needs modification for HEAD (as in head open_file_ntcreateX
properly returns NTSTATUS - I'll fix this tomorrow my
time). Secondly it still fails the Samba4 RAW-OPLOCK
smbtorture because of an interesting case. Our oplock
code always returns "break to level 2" if it can.
In this case (path-based set-eof or set-allocation size
on an exclusive oplocked file) W2K3 always sends a
break-to-none. We send the break to none (from level2)
after we've done the write for eof or allocation size.
I need to work out some way of telling our break code
to always break to none (might need to extend the message
field).
Jeremy.
2007-10-10 11:17:14 -05:00
James Peach
784126edff r15943: Update misleading DEBUG statements and comments that refer to
open_file_shared.
2007-10-10 11:17:14 -05:00
Jeremy Allison
e39c11c911 r15936: Fix memory leak on error exit path. Trying to
track down #3308.
Jeremy.
2007-10-10 11:17:14 -05:00
James Peach
5712644fcc r15928: When we search for clock_gettime, we might find it in librt, but librt
might pull in libpthread. This is quite bad, firstly because it can
cause oplock signals on Linux to go wonky, and secondly because merely
linking with pthreads can cause performance degradations due to implicit
locking requirements.

The solution is to only search for clock_gettime if --with-profiling-data
was specified. If we do end up searching for it, then we test whether
linking with librt pulled in libpthread, and we only allow the definition
for clock_gettime to succeed if libpthread was NOT linked in.

Problem reported by Thomas Bork and diagnosed by Volker Lendecke.
2007-10-10 11:17:13 -05:00
Volker Lendecke
53bd3fa30a r15924: Ok, the Solaris fix broke AIX. Next try :-)
Volker
2007-10-10 11:17:13 -05:00
Volker Lendecke
c9542c64ce r15918: Attempt to bring Solaris into make test. The Solaris shell does not like the
isolated !.

Metze, can you check this?

Thanks,

Volker
2007-10-10 11:17:13 -05:00
Volker Lendecke
17f701ab4f r15917: Activate RPC-AUTHCONTEXT in "make test" 2007-10-10 11:17:13 -05:00
Volker Lendecke
c24bfdce62 r15911: Make us survive rpc-authcontext committed next 2007-10-10 11:17:13 -05:00
Volker Lendecke
09f3c7a86f r15910: vfs_full_audit does not need current_user 2007-10-10 11:17:13 -05:00
Volker Lendecke
4dd8694a25 r15909: Implement recycle:subdir_mode 2007-10-10 11:17:12 -05:00
Gerald Carter
0a81af4fef r15906: smbpasswd help text for -W option (patch from Aruna Prabakar <aruna.prabakar@hp.com> 2007-10-10 11:17:12 -05:00
Volker Lendecke
b1244e7906 r15904: This does two things:
Fix more potential segfaults when something on our way to a DC connection
fails.

We can not continue if dcip_to_name() fails. With

192.168.234.100 nt4pdc
192.168.234.100 windows#1c
192.168.234.100 windows#1b

in the lmhosts file when nt4pdc is rebooted, we do find the DC's IP address,
we can connect to TCP 139 while it is booting but anything else fails. So we
fall back to put the IP address into domain->dcname. When the DC is fully up
later on we try to do the auth2 against \\192.168.234.100 which gives
INVALID_COMPUTER_NAME. And we never get out of this loop again.

Fix this.

Jerry, maybe you can take a look.

Thanks,

Volker
2007-10-10 11:17:12 -05:00
Jeremy Allison
4962548dfe r15895: Ensure all new rid allocation goes through
the same function (deals with races).
Jeremy.
2007-10-10 11:17:12 -05:00
Jeremy Allison
a8eb1186a1 r15890: Use correct enum type (bug #3722) from Jason Mader <jason@ncac.gwu.edu>.
Jeremy.
2007-10-10 11:17:12 -05:00
Jeremy Allison
9890a31c5f r15888: Fix bug #3804 from jason@ncac.gwu.edu
Invalid comparisons.
Jeremy.
2007-10-10 11:17:12 -05:00
Jeremy Allison
c66620770d r15887: Ensure we use sys_write so we're not interrupted.
Jeremy.
2007-10-10 11:17:12 -05:00
Jeremy Allison
1d9dbe3b66 r15884: Fix bug #3803 from jason@ncac.gwu.edu - bad comparison.
Jeremy.
2007-10-10 11:17:11 -05:00
Jim McDonough
de836d2077 r15873: Use short signal names to placate ksh trap. bash seems to accept either
and even uses them on the manpage.  this should now enable make test on
AIX.
2007-10-10 11:17:11 -05:00
Jim McDonough
0ee78d96d9 r15872: Take one step toward getting this working on AIX. the [-z ] stuff
doesn't work there.
2007-10-10 11:17:11 -05:00
Gerald Carter
ece5fe3e78 r15864: build fixes for IRIX 6.4 in the build farm; only enable the C++ reserved word check when we selecte --enable-developer 2007-10-10 11:17:11 -05:00
Gerald Carter
094443ed6c r15863: trying to fix a compile issue on HP-UX 11.x caused by conflicts of int16 and int32 definitions in internal and system headers 2007-10-10 11:17:11 -05:00
James Peach
bf3b71c845 r15848: Introduce commandline options to set the remainder of the parameters in
dynconfig.c. This is mainly useful for test harness scripts, hence the
lack of short options.
2007-10-10 11:17:11 -05:00
Volker Lendecke
c8a8204c74 r15845: Ok. This was a tough one. If for some reason the tconX fails towards a domain
controller the next time we connect this child ran into a segfault because it
tried to reference a half-baked connection.

Volker
2007-10-10 11:17:11 -05:00
Gerald Carter
39f7ff75a7 r15842: patch from volker to instruct winbindd to find a trusted DC on its own when runing on a Samba DC (since we don't implement the getdcname() call that well 2007-10-10 11:17:10 -05:00
Jeremy Allison
f6c110ddb8 r15838: Back-port tridge's talloc fixes (r15824, r15828) from Samba4.
Jeremy.
2007-10-10 11:17:10 -05:00
Lars Müller
7c375fd540 r15822: Add suggestion made by Ralf Haferkamp. 2007-10-10 11:17:10 -05:00
Volker Lendecke
72f103708d r15817: Remove some unused code 2007-10-10 11:17:10 -05:00
Volker Lendecke
b013b6908d r15755: Fix Coverity bug # 294. Apparently password can be NULL, but cli_session_setup
derefences it.

Volker
2007-10-10 11:17:10 -05:00
Stefan Metzmacher
8709bba24a r15735: also export PREFIX as testit from test_functions.sh needs it
metze
2007-10-10 11:17:10 -05:00
Stefan Metzmacher
e5a8553a57 r15732: samba3 now passes BASE-DENY1
metze
2007-10-10 11:17:09 -05:00
Jeremy Allison
5137006233 r15729: Second part of Aleksey Fedoseev <fedoseev@ru.ibm.com> patch.
Jeremy.
2007-10-10 11:17:09 -05:00
Jeremy Allison
9f5c95c418 r15727: Fix msgtest - noticed by Aleksey Fedoseev <fedoseev@ru.ibm.com>.
Jeremy.
2007-10-10 11:17:09 -05:00
Gerald Carter
94e0bc5013 r15717: BUG 3711: patch from Leonid Kabanov <lkabanov@mail.ru> for some solaris sheel scripting bugs with 'make test' 2007-10-10 11:17:09 -05:00
Gerald Carter
466478f07e r15712: BUG 3435: patch from volker to fix 'msdfs root = yes' in [homes] 2007-10-10 11:17:09 -05:00
Volker Lendecke
e4a2cb4b91 r15705: Fix bug number 3788. Thanks to Jeff Wright.
Volker
2007-10-10 11:17:09 -05:00
Günther Deschner
6cfc65ea20 r15704: Prefer LDAP error codes in ads_search_retry_sid().
Guenther
2007-10-10 11:17:08 -05:00
Günther Deschner
741602e03a r15703: Fix d_printf call.
Guenther
2007-10-10 11:17:08 -05:00
Gerald Carter
ad1f947625 r15701: change 'net ads leave' to disable the machine account in the domain (since removal implies greater permissions that Windows clients require) 2007-10-10 11:17:08 -05:00