Volker Lendecke
c6597384ba
r20013: Fix segfaults: parm_error is a unique in/out ptr
...
(This used to be commit 0104371dd648204c9e8102cdc399539857be4a63)
2007-10-10 12:16:20 -05:00
Volker Lendecke
3f1978c059
r20012: Reformatting
...
(This used to be commit b32c65cb6243f939247bcfb0f14e4e49dc5ee13e)
2007-10-10 12:16:20 -05:00
Volker Lendecke
760056ec8d
r20007: Fix a const warning just introduced
...
(This used to be commit 3da37287cadfe251491bcefea4ca9d407048868b)
2007-10-10 12:16:19 -05:00
Volker Lendecke
fc030c313f
r20006: Convert the registry shares to use the new API
...
(This used to be commit 66e889bbabde6dfd05df46937635a6d3e606cb27)
2007-10-10 12:16:19 -05:00
Volker Lendecke
9690500e57
r20005: reg_open_path should become the replacement for regkey_open_internal.
...
(This used to be commit a6039eb46c6506b4e55e816d50edb618e800007f)
2007-10-10 12:16:19 -05:00
Volker Lendecke
1a66ed34cd
r20004: Remove a const, "name" is allocated anyway
...
(This used to be commit dc0300ec70ff67aaec9b0bab6a1dd4d0e6fde5ac)
2007-10-10 12:16:19 -05:00
Volker Lendecke
38cc572b1e
r20003: Fix error message
...
(This used to be commit de053583510999658b2969b244b43ae85fb87737)
2007-10-10 12:16:19 -05:00
Volker Lendecke
d5e4b3bea8
r20001: Fix bug 4273, thanks to Pascal Terjan
...
(This used to be commit a2f5c929183fb74ad21664c747d04e88a4103505)
2007-10-10 12:16:18 -05:00
Jeremy Allison
61ea96ec79
r19993: Fix the problem with Linux clients requesting O_WRONLY
...
on write-only files. Jim please check. Should not affect
Windows clients - I ensured all the relevent Samba4
torture tests still pass.
Jeremy.
(This used to be commit 6df3cac44fb1eafa84f9fc0ce4485242b4cce111)
2007-10-10 12:16:18 -05:00
Paul Green
4eb9dda8a7
r19992: Add support to the tdb Makefile.in for executable extensions and for
...
separately specifying CPPFLAGS and LDFLAGS.
(This used to be commit 8c36f1a7458e7cf29c9ec647e98d0a1e2d32d239)
2007-10-10 12:16:18 -05:00
Volker Lendecke
ecf90c495e
r19991: Sorry for this 2000-liner...
...
The main thing here is a rewrite of srv_winreg_nt.c. The core functionality
has moved to registry/reg_api.c which is then usable by the rest of Samba as
well.
On that way it fixes creating keys with more than one element in the
path. This did not work before.
Two things that sneaked in (sorry :-) is the change of some routines from
NTSTATUS to WERROR the removed "parent" argument to regkey_open_internal.
Volker
(This used to be commit fea52801de8c7b85c578d200c599475680c5339f)
2007-10-10 12:16:18 -05:00
Volker Lendecke
e57de5730c
r19990: Fix comment
...
(This used to be commit 8b3d860f27d166f1a0b8019f9c9c91355c6becdf)
2007-10-10 12:16:18 -05:00
Simo Sorce
dc2ed4c830
r19986: ooops
...
(This used to be commit 97f150fbbbee4837c15de121b418881241f321e2)
2007-10-10 12:16:17 -05:00
Simo Sorce
c81c8cb4a7
r19984: Must have been drunk yesterday.
...
Freeing memctx is all we need, fix double free stupidity
(This used to be commit 2a7454959e93e5bd11161707d0bd16a431b92351)
2007-10-10 12:16:17 -05:00
Stefan Metzmacher
d908a897ed
r19982: From Michael Adam (ma@sernet.de) (thanks!:-)
...
Metze: as noted by "shattered" and discussed on the irc,
here is a patch to lib/sysquotas_linux.c replacing some
"get"s by "set"s. The other lib/sysquotas*.c files look
ok to me. But in the linux variant, the problem is not
in the actual call of quotactl but in the preparation of
the respective "D" structs. This makes the difference
between the get and set calls for SMB_USER_FS_QUOTA_TYPE
and SMB_GROUP_FS_QUOTA_TYPE.
metze
(This used to be commit d303cc7e620d8879e153c6a145c331453cf6552f)
2007-10-10 12:16:17 -05:00
Simo Sorce
cb0402c2d3
r19980: Implement pam account stack checks when obey pam restrictions is true.
...
It was missing for security=server/domain/ads
Simo.
(This used to be commit 550f651499c22c3c11594a0a39061a8a9b438d82)
2007-10-10 12:16:17 -05:00
Simo Sorce
ef8d6bf5f7
r19979: Fix memleak on pw and change talloc_destroy to TALLOC_FREE for mem_ctx
...
(This used to be commit defa0a352b32469984126ec5d47aab9ef8d6b61c)
2007-10-10 12:16:17 -05:00
Volker Lendecke
e2bebe4865
r19978: More "net sam policy" improvements. Thanks to Karolin Seeger <ks@sernet.de>
...
Volker
(This used to be commit fde042f29e9e9ac19ed3380e8fbe45fa8441e705)
2007-10-10 12:16:17 -05:00
Gerald Carter
0d38f8af39
r19977: * Fix a crash in the secure DNS update code. Don't free
...
the host_principal memory while it is still being referenced
by the gss code.
(This used to be commit 7a5a12e892171f0e1b6355f84ee920307834c81f)
2007-10-10 12:16:16 -05:00
Jeremy Allison
4c98afb2de
r19975: Deal with 2 keytypes I messed previously (DR/DE).
...
Fix code that mistakenly assumed tdb_traverse
returned 0 or -1, it actually returns -1 or the
number of entries traversed. Add a static as another
way to return the bad cache value.
Jeremy.
(This used to be commit 5266a70ae9971eb54fa769f89bec7c688285e811)
2007-10-10 12:16:16 -05:00
Jeremy Allison
913222d76a
r19974: Add freelist check for cache. Fix testing of entry
...
names (all except SEQNUM are *not* null terminated
strings).
Jeremy.
(This used to be commit bcb68260ba4e6a1ae6b681603367008309b9bfde)
2007-10-10 12:16:16 -05:00
Volker Lendecke
575845ccbe
r19963: Add 'registry shares = yes' and registry key security descriptors.
...
(This used to be commit 6cab254c49e07b11c170511ec613f0f33914c3e6)
2007-10-10 12:16:16 -05:00
James Peach
3fda843ac1
r19962: Revert bogus change in r19961. In future I will check configure.in
...
as well as Makefile.in :(
(This used to be commit 5d000fed595252d7b703af70b73f5a1d5d920918)
2007-10-10 12:16:16 -05:00
James Peach
1b25dd38c7
r19961: Remove VARDIR. Nothing is ever installed into this, so there's no
...
need to create it.
(This used to be commit f440efd961688116f304cebdef17bb681ed534c9)
2007-10-10 12:16:15 -05:00
Jeremy Allison
cc13e21dbe
r19959: Allow tdb to be built standalone in Samba3.
...
Add code to check for loops in the free list.
Should help us validate tdb's against corruption.
Jeremy.
(This used to be commit f8e7386773cbbb31e2f42ffcbae9b979c1197635)
2007-10-10 12:16:15 -05:00
Jeremy Allison
2941b044b3
r19958: Add check for WINBIND_OFFLINE key.
...
Jeremy.
(This used to be commit 270e84db6de66b4f20dc0a564f706dae4c00b0b2)
2007-10-10 12:16:15 -05:00
Jeremy Allison
ed34ffb147
r19957: Initial framework to make winbindd robust
...
against tdb corruption. Needs fleshing out
(and I forgot one record type) and needs helpful
suggestion from Volker to validate freelist,
but should give an idea of how this will look.
Jeremy.
(This used to be commit 8eb53f74e414483afde7b1e38ea2a3f56ae3ec66)
2007-10-10 12:16:15 -05:00
Volker Lendecke
5893c0215d
r19950: talloc_destroy is replaced these days
...
(This used to be commit b6bf2e42672cc84e5c3af6f8b15a9d39c408db13)
2007-10-10 12:16:15 -05:00
Volker Lendecke
4a42371c20
r19948: Fix a memleak
...
(This used to be commit fd429c8c06e01452f04700518c93ecfaa51c3140)
2007-10-10 12:16:15 -05:00
Volker Lendecke
1c91cca86e
r19947: Change regkey_open_internal to take the parent key and a talloc_ctx as
...
arguments. This also replaces regkey_close_internal by TALLOC_FREE.
Volker
(This used to be commit a177bbb2d5611f03cec25b7577c2e6a542f94a69)
2007-10-10 12:16:14 -05:00
Volker Lendecke
443421828a
r19946: in SetKeySec, sd is just a [in,ref] ptr
...
(This used to be commit 38a88ed5d71c5781286ed12a858dcfb135b33c90)
2007-10-10 12:16:14 -05:00
Volker Lendecke
d746c3b781
r19945: Fix a segfault -- lookup_rids needs to init the names even on failure
...
(This used to be commit eba404e668c270f2d31e3a8ab0721064eda39b40)
2007-10-10 12:16:14 -05:00
Volker Lendecke
dd813b6b29
r19944: Fix from Don Watson -- thanks
...
(This used to be commit c27e48594abecc4e67f3be457a4b942ae7ff4db5)
2007-10-10 12:16:12 -05:00
Volker Lendecke
817151c87f
r19943: Fix bug 4267 -- Thanks to David!
...
(This used to be commit 714971b34aad01cd855484d550c41bc0265ef051)
2007-10-10 12:16:12 -05:00
Volker Lendecke
1c2ed58302
r19942: Fix Coverity id 333, a dereference before a NULL check.
...
Metze, you wanted to port talloc_get_type_abort() to 4. Should I just use it
in 3-ldb?
Volker
(This used to be commit ba0df1c915c49afad629df789375440225968633)
2007-10-10 12:16:12 -05:00
James Peach
760c7a6534
r19941: One copy of this code should be sufficient.
...
(This used to be commit 493ba681e541292f1c2c6b6670bb2c48f63a0aa3)
2007-10-10 12:16:11 -05:00
Gerald Carter
e6467907ed
r19939: ,fix compile warning about unused functions when not using heimdal
...
(This used to be commit f53983079bc285ad8ced8fc4dd40df66fad13718)
2007-10-10 12:16:11 -05:00
Jeremy Allison
fb1430d6c9
r19936: Patch from Kai Blin <kai.blin@gmail.com> to
...
match Windows NTLMSSP flags.
Jeremy.
(This used to be commit 786318f84bef76c6acffa1ddf7cdba947509fbac)
2007-10-10 12:16:11 -05:00
Stefan Metzmacher
762b86ff0d
r19935: always use discard_const_p() in lib/ldb/
...
metze
(This used to be commit 4a5da57306ad8cce5522ee72349cb85b447e295c)
2007-10-10 12:16:11 -05:00
Volker Lendecke
15974508e8
r19932: Add some const
...
(This used to be commit be3c444c37dc6f0ab91a2815a2efe6f7c38818c5)
2007-10-10 12:16:11 -05:00
Volker Lendecke
f1d492d11f
r19930: Revert the winreg idl changes. At least enumkey does not work anymore today.
...
With more than 5 different trees I can't swear that I did test this properly
yesterday. Sorry for the noise.
Volker
(This used to be commit 978a6196bf0a2280c7f74b4a6d9fa7941c3aa049)
2007-10-10 12:16:10 -05:00
Volker Lendecke
7ef185fae7
r19929: Fix indentation
...
(This used to be commit 2369ad08529d31bb77b9cb5378d0114669cdf8a8)
2007-10-10 12:16:10 -05:00
Volker Lendecke
985248b638
r19928: Fix klokwork id 4509, 4573, 4574.
...
(This used to be commit c004d041817f0bdf99a205090c8b026dfb0d81bc)
2007-10-10 12:16:10 -05:00
Volker Lendecke
78a0932145
r19927: Fix klokwork ID 4702
...
(This used to be commit 820a64af25799c19f1731a08b8e4651aea8a516b)
2007-10-10 12:16:10 -05:00
Gerald Carter
16a076ae74
r19921: Add license and copyright info
...
(This used to be commit a3e1682ba3196d7c8aec8f2c72f9e12a3707db40)
2007-10-10 12:16:10 -05:00
Volker Lendecke
8e8821b1da
r19919: Convert winreg_EnumKey to use ref ** instead of a unique *.
...
Volker
(This used to be commit b714b51884af0d79de8568410676d4889f23ffb6)
2007-10-10 12:16:10 -05:00
Volker Lendecke
4a361ffd7f
r19918: Convert winreg_CreateKey to use a ref ** instead of a unique *. W2k3 can still
...
create keys on Samba and vice versa.
Jelmer, please check.
Thanks,
Volker
(This used to be commit 1b460d6cdfe0cadd915a5299e6ca9bb359bf0075)
2007-10-10 12:16:09 -05:00
Volker Lendecke
847644bdac
r19917: Fix warnings
...
(This used to be commit cf4309b9048a8417104cac660421a3dcd2e96ffe)
2007-10-10 12:16:09 -05:00
Volker Lendecke
fb5d4f9c86
r19916: Fix some c++ warnings
...
(This used to be commit fb5bcb826ecd10a81e7b19c0ce134ec88d341843)
2007-10-10 12:16:09 -05:00
Volker Lendecke
2d6e409dc2
r19915: Fix two type-punned warnings
...
(This used to be commit f1266475daa3687e0b0dc5333a6fbd12a9640c3a)
2007-10-10 12:16:09 -05:00