1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

2634 Commits

Author SHA1 Message Date
Herb Lewis
e59e787b48 r20269: merge -r20264:20267 from SAMBA_3_0_24
more no previous prototype warnings
(This used to be commit 41be182f78762372ae13759ede5d2bd40a71d7f5)
2007-10-10 12:16:38 -05:00
Herb Lewis
55ed1d5945 r20261: merge 20260 from samba_3_0_24
clean up a bunch of no previous prototype warnings
(This used to be commit c60687db112405262adf26dbf267804b04074e67)
2007-10-10 12:16:37 -05:00
Herb Lewis
911413e7d7 r20248: merge 20247 from samba_3_0_24
get rid of warning: value computed is not used
(This used to be commit ebe16589cb6c45524b90abe5f9be5e4affa1598e)
2007-10-10 12:16:36 -05:00
Volker Lendecke
55e70f6987 r20215: Next step trying to fix the Solaris build.
I think "anonimous" is correctly spelled "anonymous". The Solaris compile is
referring to this as "anonymous" in line 814 of smbldap.c. Simo, please check.

Thanks,

Volker
(This used to be commit a77d8fa08e5a7c9c0c7c415ce3b7848b265b4b95)
2007-10-10 12:16:33 -05:00
Jeremy Allison
a179d2f495 r20208: Change sprintf_append() never to use malloc,
but always use a talloc context.
Thanks to simo for pointing this out.
Jeremy.
(This used to be commit 437cb7c88833d7eab0e3c3dcf175860df74a7a38)
2007-10-10 12:16:32 -05:00
Stefan Metzmacher
247e1667b0 r20197: merge talloc fixes from samba4:
- make most static functions inline
- handle NULL pointers in talloc_parent_chunk()
- use talloc_parent_chunk() in talloc_parent_name()
  to fix a bug found by the IBM checker

metze
(This used to be commit c718eb7a7c3cdc4acb25f303a73a3ca478c27af0)
2007-10-10 12:16:31 -05:00
Günther Deschner
69d4146042 r20183: Fix the build.
Guenther
(This used to be commit fe3ed63d29e7a68413bffc11d634b61a664ed1a2)
2007-10-10 12:16:31 -05:00
Jeremy Allison
3aec4cc13c r20181: Improve NT status to pam error mapping.
Jeremy.
(This used to be commit 794ebd8a84115a636d8fa4a9f859f8a999135e5e)
2007-10-10 12:16:30 -05:00
Jeremy Allison
728bee7ff3 r20179: Sync up with Samba4 - remove blank lines at the
end parsing a file.
Jeremy.
(This used to be commit ea8215935e5f3952a4480c1f7dafafa9458f66a9)
2007-10-10 12:16:30 -05:00
Jeremy Allison
806daad510 r20174: If we're only going to call one handler per message
then terminate the traversal once we've done that.
Jeremy.
(This used to be commit da3d0b62340b545950ea2081f30c252fd4609981)
2007-10-10 12:16:29 -05:00
Jeremy Allison
7f5fefb7bb r20165: Change messaging subsystem to only allow one message
per type - this is all we use right now and makes
re-entrancy problems with deleting handlers with
a message dispatch loop go away.
Jeremy.
(This used to be commit 2e9b6faeae1474d65a5c12f5a19b0ae045d47c2e)
2007-10-10 12:16:28 -05:00
Jeremy Allison
25f8970539 r20160: Fix long-standing (ie. from initial code I think) bug
in tdb message processing. If we're inside a dispatch
function and we delete our own handler we'd walk onto
the next pointer from a deleted memory block. Fixes
crash bug in winbindd (and goodness knows where else).
Jeremy.
(This used to be commit 27a4c1121404e346432d90b97b518861e038e9f2)
2007-10-10 12:16:28 -05:00
Jeremy Allison
050534827f r20148: Forgot to merge. Ensure open_any_socket_out()
is safe from signals.
Jeremy.
(This used to be commit c264a0aa4a83a3d47db33446b16a8766bc14824f)
2007-10-10 12:16:27 -05:00
Herb Lewis
8b4669c3c5 r20133: get rid of defined but not used warning - static function only used
inside the #ifdef HAVE_NATIVE_ICONV
(This used to be commit 43ab1d2ba5eb24fc22f8d53c650bf39e95fb133b)
2007-10-10 12:16:27 -05:00
Herb Lewis
6914b29daa r20131: get rid of a few no previous prototype warnings
(This used to be commit e710a7d39a662a1a339f3f71c4b051fde1bb5a16)
2007-10-10 12:16:26 -05:00
Simo Sorce
4225f9a4bd r20116: Start merging in the work done to create the new idmap subsystem.
Simo.
(This used to be commit 50cd8bffeeed2cac755f75fc3d76fe41c451976b)
2007-10-10 12:16:25 -05:00
Jeremy Allison
18f9156d96 r20110: Fix interaction between paranoid malloc checker
and lib/replace. Found by Herb - thanks !
Jeremy.
(This used to be commit 67c4d5e73fe066910f7b1ca4624541a9bbbf7750)
2007-10-10 12:16:25 -05:00
Jeremy Allison
63609fbb04 r20090: Fix a class of bugs found by James Peach. Ensure
we never mix malloc and talloc'ed contexts in the
add_XX_to_array() and add_XX_to_array_unique()
calls. Ensure that these calls always return
False on out of memory, True otherwise and always
check them. Ensure that the relevent parts of
the conn struct and the nt_user_tokens are
TALLOC_DESTROYED not SAFE_FREE'd.
James - this should fix your crash bug in both
branches.
Jeremy.
(This used to be commit 0ffca7559e07500bd09a64b775e230d448ce5c24)
2007-10-10 12:16:24 -05:00
Jeremy Allison
5ce139751b r20087: Ensure we clean up any random pending events we
may have inherited from our parent in the winbindd
forked child.
Jeremy.
(This used to be commit 0a1352f440a9d9b974ad8d571b2e48a43a15b6cc)
2007-10-10 12:16:23 -05:00
Volker Lendecke
4a1efb1abe r20054: Revert my changes, Simo promised to work on it :-)
(This used to be commit 4b5cf0c9cffe9903c86ac7e8b41c303fdbde5bac)
2007-10-10 12:16:22 -05:00
Volker Lendecke
c0d74d11bc r20050: Remove a bogus NULL check, LTDB_OBJECTCLASS is a static string
(This used to be commit f64866a43fbc21666e919cafdf3002a8e43c60af)
2007-10-10 12:16:22 -05:00
Volker Lendecke
8a20dd0ff1 r20049: Reformatting
(This used to be commit 75555ae1c8039b7bbca796dd16609de08230265a)
2007-10-10 12:16:22 -05:00
Volker Lendecke
91adcd0bae r20046: Add ldb_search_exp_fmt and port comment to 4
(This used to be commit 1fe41c96f53b0d83e8779050e2149a5e70b5dad0)
2007-10-10 12:16:22 -05:00
Volker Lendecke
1710dd1fe2 r20036: Merge ldb_search_exp_fmt -- Thanks simo
(This used to be commit fa6fa1268b33334d17869d0f096cf7600e88f993)
2007-10-10 12:16:21 -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
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
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
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
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
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
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
847644bdac r19917: Fix warnings
(This used to be commit cf4309b9048a8417104cac660421a3dcd2e96ffe)
2007-10-10 12:16:09 -05:00
Volker Lendecke
2685e167fa r19900: Fix klokwork ID 3148, 3149
(This used to be commit 1f3e20ef3985a0a16e8945907611654ef5e884c4)
2007-10-10 12:16:08 -05:00
Volker Lendecke
a12fb3afdd r19899: Fix some C++ warnings and klokwork ID 3147
(This used to be commit c5e041661ec6dd63188ad0a09a228192b6dfd2b3)
2007-10-10 12:16:08 -05:00
Volker Lendecke
ca3300cbd1 r19898: Fix klokwork ids 3127, 3128, 3129, 3130
(This used to be commit 3250d20d27d4f85421052e877077526975b16e02)
2007-10-10 12:16:07 -05:00
Volker Lendecke
f6dece8b4d r19896: Fix klokwork id 2279
(This used to be commit 558a13a755ff39c9f15ba4f0a2639ffe30c996ac)
2007-10-10 12:16:07 -05:00
Volker Lendecke
f494d7d31f r19895: Fix klokwork id 2278
(This used to be commit 8ccff6a4dd92dfad4942b562cd1bb27d22d59661)
2007-10-10 12:16:07 -05:00
Volker Lendecke
40dc09e009 r19894: Fix klokwork id 2192
(This used to be commit 4b075f347b5449b199be19221187ce66916384cf)
2007-10-10 12:16:06 -05:00
Volker Lendecke
7968602097 r19893: Fix klokwork id 2191
(This used to be commit a301a4a12d554d9d3ba00c2780deb9eafc44e1a8)
2007-10-10 12:16:05 -05:00
Volker Lendecke
7230ce8cd0 r19892: Fix klokwork id 2190
(This used to be commit 235e8c9653a9199f2766c5c4a2d1f1d4f2801a3b)
2007-10-10 12:16:05 -05:00
Volker Lendecke
76b2e7ba13 r19891: Fix klokwork id 2189
(This used to be commit b6933c3043b73b68a30f57f681185a79c8e205c2)
2007-10-10 12:16:05 -05:00
Volker Lendecke
d128defd31 r19890: Fix klokwork ID 2188
(This used to be commit 4d44388929f75d1480a8222a7cd2f575494a2b62)
2007-10-10 12:16:04 -05:00
Volker Lendecke
433869019b r19889: Fix klokwork ID 2187
(This used to be commit 1bd660fb9139238229fc6a80566c03f473cad094)
2007-10-10 12:16:04 -05:00
Volker Lendecke
7a19259051 r19841: Wrap regdb_store_keys and regdb_store_values in tdb transactions
(This used to be commit 5ec737922041b723b9e60c08049ace5fa2fa5dec)
2007-10-10 12:16:01 -05:00
Volker Lendecke
334c868b83 r19827: Move registry_push/pull_value to lib/util_reg.c
(This used to be commit 3047a4b92c7d5391a8f162f26ccc92ce30c35cee)
2007-10-10 12:16:00 -05:00
Volker Lendecke
202f63e476 r19811: Decode REG_MULTI_SZ and REG_BINARY
(This used to be commit 679330175185f8504bb5968339dcc7cb20d9140c)
2007-10-10 12:15:57 -05:00
Volker Lendecke
30db93664c r19786: My last checkin to winreg_StringBuf killed rpccli_winreg_EnumKeys against
W2k3. The server requires that size==0 in the [in] name. Somehow I get the
feeling that something is badly wrong here....

I did not yet recreate the gen_ndr equivalent, see next mail.

Volker
(This used to be commit 016ddce12005bb0829bf050e4d4851852751b3e5)
2007-10-10 12:15:55 -05:00
Volker Lendecke
e37200a82e r19774: Fix typo
(This used to be commit 842599a7fd1217b498dc2d241d39ed604cf0da7d)
2007-10-10 12:15:54 -05:00