1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-30 13:18:05 +03:00
Commit Graph

22716 Commits

Author SHA1 Message Date
Stefan Metzmacher
8cd89a20ce r23918: not all ldap libraries support debugging
metze
(This used to be commit 3f68189c9a)
2007-10-10 12:28:41 -05:00
Stefan Metzmacher
d48dbc8bad r23916: use the correct io operations for debugging
metze
(This used to be commit d745a1a719)
2007-10-10 12:28:41 -05:00
Stefan Metzmacher
63e93ad012 r23914: try to fix the build on Tru64
/usr/include/sys/acl.h:#define acl_type acl_common.entry_type
was the problem...

metze
(This used to be commit 8557b8b570)
2007-10-10 12:28:41 -05:00
Jeremy Allison
1ffa14ff92 r23913: Revert back to Volker's original logic to fix the
RAW-SFILEINFO-RENAME until I can figure out what
is different from the way CIFSFS drives this in
the cthon tests and the way smbtorture drives it.
Jeremy.
(This used to be commit 99f72dd9af)
2007-10-10 12:28:41 -05:00
Jeremy Allison
02730aa86c r23911: Revert r23910 to try and fix the build farm. I
need to look at this more closely tomorrow.
Stevef's cthon tests definately show we're not
matching Windows behaviour (as his tests pass
against Windows but not SAMBA_3_2) but this isn't
the fix.
Jeremy.
(This used to be commit 90bbc077e1)
2007-10-10 12:28:41 -05:00
Jeremy Allison
cfb7c04696 r23910: We used to deny renames on the
source open for non-delete open.
Turns out this is not the case.
VL please test but this matches
Windows behaviour. (I'll add a
torture test tomorrow).
Jeremy.
(This used to be commit 03e3d58746)
2007-10-10 12:28:41 -05:00
Jeremy Allison
5e3e15f754 r23909: Get closer to passing the cthon tests for delete open file.
It matters how the target is open.
Jeremy.
(This used to be commit 0989877fd1)
2007-10-10 12:28:40 -05:00
Jeremy Allison
44b9493418 r23908: Fix bug with interaction of optimization with
POSIX locking. We can't do lock counts with POSIX,
so stop counting if we get a POSIX lock request.
Jeremy.
(This used to be commit a48e4a29e6)
2007-10-10 12:28:40 -05:00
Jeremy Allison
b3d471d367 r23906: Fix POSIX unlink bug found by Steve. If we
used lstat during the open (which we always
do for POSIX) then use lstat for the unlink.
Jeremy.
(This used to be commit 4aad77c27c)
2007-10-10 12:28:40 -05:00
Volker Lendecke
f798837c23 r23904: Remove an unused variable reference
(This used to be commit 7f4ceb1bf0)
2007-10-10 12:28:40 -05:00
Volker Lendecke
5e8590753c r23903: Fix a potential reason for the segfault Steve found
(This used to be commit c06bc91085)
2007-10-10 12:28:40 -05:00
Jeremy Allison
b4366f6c37 r23902: Fix uninitialized read in devicetype noticed by Volker.
Jeremy
(This used to be commit 98c2393973)
2007-10-10 12:28:39 -05:00
Stefan Metzmacher
164f75efea r23900: LDAP_OPT_SOCKBUF doesn't exists on all platforms
metze
(This used to be commit 8455c65be3)
2007-10-10 12:28:39 -05:00
Stefan Metzmacher
77619f37a0 r23898: rename HAVE_ADS_SASL_WRAPPING -> HAVE_LDAP_SASL_WRAPPING
metze
(This used to be commit 873eaff8fe)
2007-10-10 12:28:39 -05:00
Stefan Metzmacher
fc3f3c655b r23896: hopefully fix the build on most systems
metze
(This used to be commit d5512da62a)
2007-10-10 12:28:39 -05:00
Stefan Metzmacher
57dd25cccb r23893: add dummy callbacks for LDAP SASL wrapping,
they're not used yet...

metze
(This used to be commit a3b97cdce7)
2007-10-10 12:28:39 -05:00
Stefan Metzmacher
0f0e847e39 r23891: fix compiler warning
metze
(This used to be commit 6dcbc0b605)
2007-10-10 12:28:39 -05:00
Stefan Metzmacher
809c9d4d31 r23888: move elements belonging to the current ldap connection to a
substructure.

metze
(This used to be commit 00909194a6)
2007-10-10 12:28:38 -05:00
Stefan Metzmacher
2fc53c947b r23886: add ads_disconnect() function
metze
(This used to be commit ba70737b70)
2007-10-10 12:28:38 -05:00
Volker Lendecke
476c30b9ce r23885: Fix make test on opi.
(This used to be commit b2adb28808)
2007-10-10 12:28:38 -05:00
Volker Lendecke
ffd2b4e4cd r23884: Fix Coverity ID 379
(This used to be commit 86476efc7a)
2007-10-10 12:28:38 -05:00
Volker Lendecke
7ba884db5d r23883: Fix Coverity ID 380
(This used to be commit 5eda562f2b)
2007-10-10 12:28:38 -05:00
Volker Lendecke
c9da49790e r23882: Fix Coverity id 389 -- finally (I hope)
(This used to be commit 9b8f2d8bd1)
2007-10-10 12:28:38 -05:00
Volker Lendecke
d537225c4c r23879: Fix two memleaks, found by the IBM checker
(This used to be commit 4d1b33f513)
2007-10-10 12:28:37 -05:00
Volker Lendecke
e84f8662e6 r23878: Fix an error return, found by the IBM checker
(This used to be commit a369c67f66)
2007-10-10 12:28:37 -05:00
Volker Lendecke
3912eebdc9 r23877: Fix two segfaults in (very unlikely) error paths, found by the IBM
checker.
(This used to be commit 33068885e6)
2007-10-10 12:28:37 -05:00
Günther Deschner
2e6b56061d r23874: Some more minor edits for net ads gpo.
Guenther
(This used to be commit cc41b3b60f)
2007-10-10 12:28:37 -05:00
Günther Deschner
a1def4de32 r23873: Make use of ads_find_samaccount().
Guenther
(This used to be commit 94d11806fd)
2007-10-10 12:28:36 -05:00
Günther Deschner
e997cf9fe2 r23872: Dump all GPFLAGS in dump_gpo().
Guenther
(This used to be commit 4b5c4b4fff)
2007-10-10 12:28:36 -05:00
Günther Deschner
3488299232 r23871: The snapin handler needs to have the full struct GROUP_POLICY_OBJECT.
Guenther
(This used to be commit 9dc8ec0e19)
2007-10-10 12:28:36 -05:00
Günther Deschner
ee7bf1530b r23870: Use GPO_LINK_TYPE in GROUP_POLICY_OBJECT struct.
Guenther
(This used to be commit f60ad2ccff)
2007-10-10 12:28:36 -05:00
Günther Deschner
28041b6064 r23869: Protect against partial security descriptors.
Guenther
(This used to be commit 0a96a11f01)
2007-10-10 12:28:36 -05:00
Volker Lendecke
ac51ffb77b r23866: Fix a 1-byte buffer overrun
(This used to be commit 2ed83d36fe)
2007-10-10 12:28:36 -05:00
Volker Lendecke
6eca5f5042 r23865: Fix a type-punned error
(This used to be commit a40d3a566a)
2007-10-10 12:28:35 -05:00
Stefan Metzmacher
894a02ef4d r23863: handle NT_STATUS_RETRY and always print out the NTSTATUS string
before calling ctdb_fatal()

metze
(This used to be commit 48ece3c21e)
2007-10-10 12:28:35 -05:00
Günther Deschner
ed0ffc5cef r23861: Fix return code in ads_find_samaccount().
Guenther
(This used to be commit 684fcf39dc)
2007-10-10 12:28:35 -05:00
Jeremy Allison
e8dc2ea03d r23858: Added srvstr_pull_buf_talloc() and srvstr_pull_talloc()
calls and converted reply_tcon and reply_tconX to use
them - to show the boilerplate usage (valgrind tested).
In conjunction with Volker's srvstr_get_path_talloc()
work this should allow us to start eliminating all
pstrings/fstrings out of the main path processing
code.
I'll watch the build farm tonight...
Jeremy.
(This used to be commit b4eff3f680)
2007-10-10 12:28:35 -05:00
Jeremy Allison
79a9f6dcb8 r23856: Add Jiri.Sasek@Sun.COM;s fix from Axel Apitz for ZFS ACLs.
Jeremy.
(This used to be commit 6ba12b6cb9)
2007-10-10 12:28:35 -05:00
Jeremy Allison
967b22827f r23855: Setting the allocation size updates the modified time
as a write does. Fix bug #4779.
Jeremy.
(This used to be commit ed0e2174a8)
2007-10-10 12:28:35 -05:00
Michael Adam
c52c8b4821 r23853: Fix a very misleading error message in tdbbackup.
Michael
(This used to be commit 3a2a032a44)
2007-10-10 12:28:34 -05:00
Michael Adam
451224166d r23850: Fix whitespacing in DEBUG output.
(This used to be commit 918aad0d8b)
2007-10-10 12:28:34 -05:00
Jeremy Allison
6b0e3194e3 r23847: As Dr. Volker says, "A pstring a day....".
Jeremy.
(This used to be commit 8adf81696a)
2007-10-10 12:28:34 -05:00
Jeremy Allison
b114d3dc70 r23846: Belt-and-braces on the msdfs bug. Ensure ELOOP maps
correctly.
Jeremy.
(This used to be commit f2cf4b6b9d)
2007-10-10 12:28:34 -05:00
Jeremy Allison
da0758cb04 r23845: Second part of the fix for #4777. Looks like on AIX opendir
returns an errno of ELOOP for a symlink of msdfs:server\path\to\link.
Cope with this by mapping to a known error NT_STATUS_OBJECT_PATH_NOT_FOUND
that we know dfs_path_lookup should ignore.
Jeremy.
(This used to be commit d4a7411c48)
2007-10-10 12:28:34 -05:00
Jeremy Allison
f01698027d r23844: Add patch series from Volker (after review and consultation).
0001-Save-a-strdup-in-stat_cache_add.patch
0002-Use-ISDOT-and-ISDOTDOT.patch
0003-Move-fname_equal-around.patch
0004-unix_convert-pstring-dirpath-char.patch
0005-Ignore-.o-files.patch
0006-Get-rid-of-pstrings-inside-unix_convert.patch
0007-revert-pstring-unix_convert.patch
0008-Make-name-an-allocated-pstring-inside-unix_convert.patch
0009-Pass-explicit-pstring-to-mangle_check_cache.patch
0010-Don-t-overwrite-orig_path-unnecessarily.patch
0011-Defer-allocating-name.patch
0012-Make-sure-dirpath-is-always-correctly-allocated.patch
0013-Remove-one-pstring-dependency-in-unix_convert.patch
0014-Remove-more-name-pstring-dependencies.patch
0015-Hide-the-nasty-API-of-mangle_check_cache-in-mangle_c.patch
0016-name-does-not-need-to-be-pstring-size-anymore.patch
0017-Make-use-of-ISDOT-and-ISDOTDOT.patch
0018-Remove-pstring-from-stat_cache_lookup.patch
0019-Add-my-copyright.patch

To remove pstrings from statcache and unix_convert.

Jeremy.
(This used to be commit ea6ef36889)
2007-10-10 12:28:34 -05:00
Jeremy Allison
188b84f9d0 r23843: Fix bug #4777, reported by Bill Marshall <bmarsh@us.ibm.com>.
Doing a DFS traverse through a deep link could fail (not using
explorer).
Jeremy.
(This used to be commit cd93f0cb00)
2007-10-10 12:28:33 -05:00
Günther Deschner
8d786a4e2b r23842: Attempt to fix the build with LDAP.
Guenther
(This used to be commit efd817ae11)
2007-10-10 12:28:33 -05:00
Günther Deschner
5d95214cf7 r23841: Show all acl types when displaying a security descriptor.
Guenther
(This used to be commit 06418a63a0)
2007-10-10 12:28:33 -05:00
Günther Deschner
bdb7c621e6 r23840: Fix the build.
Guenther
(This used to be commit 07bce67121)
2007-10-10 12:28:33 -05:00
Günther Deschner
34d091f1c6 r23839: Try to get the attribute name from schema GUIDs or the display name from
extended rights GUID from ad while dumping the security descriptors's aces.

This would perform much better with a guid cache, but for the rare cases where
it is used

	net ads search cn=mymachine ntSecurityDescriptor -U user%pass

it should be ok for now.

Guenther
(This used to be commit b36913433e)
2007-10-10 12:28:33 -05:00