Stefan Metzmacher
d48dbc8bad
r23916: use the correct io operations for debugging
...
metze
(This used to be commit d745a1a71991f306c29b3c62f43d619177f79725)
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 8557b8b570ac8f8d3d14aaeb894c8b3532558736)
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 99f72dd9af82921de4827b9b9d90d75127332295)
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 90bbc077e15de0493dccda50be9bcdf6e2649137)
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 03e3d587468ce66044814a8a58308b2fe9ab5499)
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 0989877fd191f7c9e195dc6e45dda5fd026f09dd)
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 a48e4a29e6774e5e72b9b361a17207b053474521)
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 4aad77c27cc277e3d937f674ee620729411e3eaf)
2007-10-10 12:28:40 -05:00
Volker Lendecke
f798837c23
r23904: Remove an unused variable reference
...
(This used to be commit 7f4ceb1bf0c7aad50d93bb963c49dbc405e9524a)
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 c06bc91085c24bf6cc4491448ba12c5c2f1c7937)
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 98c23939731654440d2f008e44e11371eaddf014)
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 8455c65be34186e73283bb60b1ef3441d0338d55)
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 873eaff8febb50f00f9dac64c57b2a22c16f4f9b)
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 d5512da62a6ae38321709611b04f419cc6c3b190)
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 a3b97cdce719d9d5e82f26096c0e8c3a86ff3965)
2007-10-10 12:28:39 -05:00
Stefan Metzmacher
0f0e847e39
r23891: fix compiler warning
...
metze
(This used to be commit 6dcbc0b6055998d77bd7bb6acfb622bc1423964b)
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 00909194a6c1ed193dfdb296f50f58a53450583c)
2007-10-10 12:28:38 -05:00
Stefan Metzmacher
2fc53c947b
r23886: add ads_disconnect() function
...
metze
(This used to be commit ba70737b7043cae89dd90f8668a24881212ac6fb)
2007-10-10 12:28:38 -05:00
Volker Lendecke
476c30b9ce
r23885: Fix make test on opi.
...
(This used to be commit b2adb28808fe25d420bc12834ca8bc70779bb653)
2007-10-10 12:28:38 -05:00
Volker Lendecke
ffd2b4e4cd
r23884: Fix Coverity ID 379
...
(This used to be commit 86476efc7a6adfe70c0437c2ff1bbd4b2b4ade5e)
2007-10-10 12:28:38 -05:00
Volker Lendecke
7ba884db5d
r23883: Fix Coverity ID 380
...
(This used to be commit 5eda562f2b7a08f57fb2a7082d18e2983bfdc864)
2007-10-10 12:28:38 -05:00
Volker Lendecke
c9da49790e
r23882: Fix Coverity id 389 -- finally (I hope)
...
(This used to be commit 9b8f2d8bd144700306819480bcb260d2c20969ae)
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 4d1b33f51308c95293fa2494b47ba1255af8d216)
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 a369c67f6678bdcc0689929238bc96f45cdeeb25)
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 33068885e62f3681644c128e381822d48298ea05)
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 cc41b3b60f5e0c604a764bc5bb1f8ecfe13a36f6)
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 94d11806fd5384cbdd6c12b230985991b9e6473d)
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 4b5c4b4fffbd62917894432c9bb6946f181668c4)
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 9dc8ec0e193ad4aa85293c334ebbca5d0618f0d2)
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 f60ad2ccff1afea99e49e51832a1fcdface4bf58)
2007-10-10 12:28:36 -05:00
Günther Deschner
28041b6064
r23869: Protect against partial security descriptors.
...
Guenther
(This used to be commit 0a96a11f01dd8c0d29fff1d97c3d666c32b33b59)
2007-10-10 12:28:36 -05:00
Volker Lendecke
ac51ffb77b
r23866: Fix a 1-byte buffer overrun
...
(This used to be commit 2ed83d36fec918e6ad9605f43e1a49fa5b61f17b)
2007-10-10 12:28:36 -05:00
Volker Lendecke
6eca5f5042
r23865: Fix a type-punned error
...
(This used to be commit a40d3a566af88464fc6afd2c6e6e8b6e3a98aac2)
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 48ece3c21e3a5e9aa434c847eefaab59274a4e6f)
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 684fcf39dcc08bcf571272549222fdeb11d2725f)
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 b4eff3f68089f082781afcf90d43faa317949566)
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 6ba12b6cb9f69297731c73071b627e8d7fbc6d73)
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 ed0e2174a895b25ce2b4e8ffd912ad57b31dd2e9)
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 3a2a032a44502eebdb61faf9cfdb3e54f5072514)
2007-10-10 12:28:34 -05:00
Michael Adam
451224166d
r23850: Fix whitespacing in DEBUG output.
...
(This used to be commit 918aad0d8b4b0c2caa8830726a17d3ad4d19f72a)
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 8adf81696aee99c5090e1b827ceb14929ec4aeda)
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 f2cf4b6b9d1ce561fdf9f6815564d5b4f033dd10)
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 d4a7411c4886c601a917b0f0e53facc7e10dd18e)
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 ea6ef368891af24164d2e76700c405a82b3dfc19)
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 cd93f0cb00207098014e41e0ba16210cb150b895)
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 efd817ae118da51058106ae97854572547e113d3)
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 06418a63a0bf5df0e0e76172137d5dff026feaa6)
2007-10-10 12:28:33 -05:00
Günther Deschner
bdb7c621e6
r23840: Fix the build.
...
Guenther
(This used to be commit 07bce671214359ac3016fd03979edd88c2ceb24b)
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 b36913433eb74203b29f2b7d412a86e60591ea22)
2007-10-10 12:28:33 -05:00
Günther Deschner
b62ade20d0
r23838: Allow to store schema and config path in ADS_STRUCT config.
...
Guenther
(This used to be commit 1d5b08326fa72bd3423b377a4e6243466e778622)
2007-10-10 12:28:33 -05:00