1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

20949 Commits

Author SHA1 Message Date
Jeremy Allison
bb4fb75b22 r19823: "log" is an internal define in older versions of gcc.
Rename to log_ctx.
Jeremy.
(This used to be commit dbf0e58a1e7fa77ce0338104cf71c7a81214884b)
2007-10-10 12:16:00 -05:00
Volker Lendecke
ef4112922a r19822: Implement net rpc registry createkey, deletekey and deletevalue
(This used to be commit 419ebc92f02c9a927295ec7c54844bd5666e3f17)
2007-10-10 12:15:59 -05:00
Volker Lendecke
e56be1dead r19821: Make net_rpc_registry use net_run_function2.
Fix an erroneous NT_STATUS_NO_MEMORY found by Chetan S <cshring@gmail.com>.

Thanks :-)

Volker
(This used to be commit 30f02e73fd85faa89186511edab4d5396d5efb6a)
2007-10-10 12:15:59 -05:00
Volker Lendecke
eb96dddb28 r19820: Limit the stat cache to 1MB by default (Bug 4244). Thanks to Bjoern Jacke
<bj@sernet.de>

Volker
(This used to be commit b32c8356f783e0919f29b452be9417d7ff59b5bc)
2007-10-10 12:15:59 -05:00
Volker Lendecke
ead21a53ae r19819: Windows returns an empty string instead of NULL here
(This used to be commit c1083216c83f4236edb78484c6333ff1d1646c40)
2007-10-10 12:15:59 -05:00
Volker Lendecke
c63be3a4e7 r19818: Remove reg_split_hive, make use of registry_openkey
(This used to be commit 7fd1578a905d3c974cb88cc93452d43a03038d30)
2007-10-10 12:15:58 -05:00
Volker Lendecke
28bbef032f r19817: Implement net rpc registry setvalue (only dword and sz so far)
(This used to be commit 9ecb69c075060d199133520ac6a7627a5faba7f3)
2007-10-10 12:15:58 -05:00
Volker Lendecke
3b5d82cedd r19812: dump_regval_buf is not needed anymore
(This used to be commit f24e64160dc7d7b7434cbed15677c105fa7b60de)
2007-10-10 12:15:57 -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
Gerald Carter
95bfb97547 r19809: remove winbind blacklist parameter
(This used to be commit 40cff1449886449b34b896e31fd43b7dff436a3f)
2007-10-10 12:15:57 -05:00
Gerald Carter
932e95abde r19808: remove old smbwrapper references
(This used to be commit c142b629c8f08597519a754a8fb78b7708279f75)
2007-10-10 12:15:57 -05:00
Volker Lendecke
515dea007a r19807: First attempt at wrapping something sane around the registry API. Will be
extended.

Volker
(This used to be commit 40922eb924a8e21f28720f2651f087eefc3e3aed)
2007-10-10 12:15:57 -05:00
Volker Lendecke
ef012f8e7a r19804: Fix a valgrind error
(This used to be commit cb9e16c8389f25f487e627bbeb06ec45f25aef6b)
2007-10-10 12:15:57 -05:00
Volker Lendecke
ded7c032a3 r19803: Fix problem reported by Chetan S: QueryInfoKey needs to report the max name
length in *bytes* for UTF-16, not the string length. This got lost during the
conversion.

This took a while to figure out :-)

Thanks to Chetan!

Volker
(This used to be commit 8df6544fa855d2d07b1b69c8d448a1362e41733c)
2007-10-10 12:15:56 -05:00
Gerald Carter
53c6548fbc r19800: * Remove exmpty aix directory
* remove old, commented out commands from 'make clean'
(This used to be commit 4c96a387a283b52e4dc13cfe15190cbaa300bd1f)
2007-10-10 12:15:56 -05:00
Volker Lendecke
01367cdfd0 r19797: Convert the remaining pipes to the "new" unique out ptr handling
(This used to be commit bc4e0a388a2859d2ddcfb8f07920f3b121a37894)
2007-10-10 12:15:56 -05:00
Volker Lendecke
3372adce58 r19794: Convert DFS
(This used to be commit 2efd3b35097a780ce99abad8a10eca536f37fc26)
2007-10-10 12:15:56 -05:00
Volker Lendecke
28a01d3fdf r19793: Change the lsa calls to the new calling convention. Nobody uses the changed
calls yet.

Volker
(This used to be commit 144cddaef538cf151ec2c4989e7110c553ca63cb)
2007-10-10 12:15:56 -05:00
Volker Lendecke
9849f04868 r19790: Check in the PIDL change and the converted unixinfo and winbind pipes without
waiting for comments. This is what version control is for, and it does fix a
segfault I ran into ;-)

Nevertheless, Jelmer & Jerry, please take a look!

Thanks,

Volker
(This used to be commit 95c14a822cae2ddc2e6ed87f5f5505fa7b98e4f0)
2007-10-10 12:15:55 -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
bfad442144 r19780: Ok, regkey_open_internal needs a regkey_close_internal. Giving a talloc ctx is
misleading here. This needs fixing properly :-)

Volker
(This used to be commit f808182346aa16bb2f3a9383e28d318099a5e14e)
2007-10-10 12:15:55 -05:00
Volker Lendecke
76b320c8df r19779: Fail properly on talloc_strdup failure
(This used to be commit b57e446789530cb7e18e107478ca8b59a19d990f)
2007-10-10 12:15:55 -05:00
Volker Lendecke
e82cd437cc r19778: Make regkey_open_internal take a talloc ctx
(This used to be commit cb7f4211b8441642dce9594522dc9588475a7719)
2007-10-10 12:15:55 -05:00
Volker Lendecke
cbc03ec6df r19777: Make regsubkey_ctr_addkey return WERROR. Nobody checks this so far, but this
will change.

Volker
(This used to be commit 17c7c337f64b082c1bf1045a4093c279deeec958)
2007-10-10 12:15:54 -05:00
Volker Lendecke
09ec562a09 r19776: Hmmm. I should have done one instead of three commits. Sorry :-)
(This used to be commit e2a35ceffe35b25aafde987c50e63b89a3e3ec16)
2007-10-10 12:15:54 -05:00
Volker Lendecke
9bb1f909fd r19775: Fix typo
(This used to be commit 370e29ebb9da92c9072bdd4eec84980b5753089a)
2007-10-10 12:15:54 -05:00
Volker Lendecke
e37200a82e r19774: Fix typo
(This used to be commit 842599a7fd1217b498dc2d241d39ed604cf0da7d)
2007-10-10 12:15:54 -05:00
Volker Lendecke
5e48602456 r19773: TALLOC_FREE checks for NULL itself
(This used to be commit fb3983ae1fdd1935333ffee80bceb747228ac0f3)
2007-10-10 12:15:54 -05:00
Volker Lendecke
5f3b7ee713 r19766: Fix a const-warning. Jerry, what did you want to fix with this line?
Volker
(This used to be commit 55dc4741cfead0f21deb7ea2d28afb240505686b)
2007-10-10 12:15:54 -05:00
Gerald Carter
d596aa931b r19764: set version in 3.0 branch to 3.0.25
(This used to be commit d7179d945c24f1aa4fff243cc6c29a5545ce692a)
2007-10-10 12:15:53 -05:00
Gerald Carter
c2aae726ea r19762: libaddns/*[ch] code fixes donated by Centeris Corporation
(http://www.centeris.com/) under my copyright.

* Rework error reporting to use DNS_ERROR instead
  of int32
* Convert memory allocation to use talloc()
* Generalize the DNS request/response packet marshalling
* Fix the secure update requests
(This used to be commit c78798333616c3f823514df0f58da2eb3a30a988)
2007-10-10 12:15:53 -05:00
Gerald Carter
9a88644bb5 r19758: remove the LDAP_SCOPE_ONELEVEL define (not needed after svnup)
(This used to be commit e37132f219bb9ef52c7fc9b396bd272dd5abca70)
2007-10-10 12:15:53 -05:00
Gerald Carter
8fa0a80b49 r19754: * When using a krb5 session setup, we don't fill in the server_name
string the clis_state struct.  So call saf_store() after we
  have the short domain name in the lsa_query_inof_policy code.

* Remove unused server string in saf_delete()
(This used to be commit 3eddae2f2080f8dafec883cb9ffa2e578c242607)
2007-10-10 12:15:53 -05:00
Lars Müller
f5a1ec7407 r19748: Ensure to link against the required libraries.
(This used to be commit 85d8c73fbbf86f4d22244f8e2bb2fdd51fa6680b)
2007-10-10 12:15:53 -05:00
Lars Müller
571aca9927 r19747: Ensure to link with the required objects.
(This used to be commit 8d50fb3f5152b5daa62fde5bbf34f585631be397)
2007-10-10 12:15:52 -05:00
Günther Deschner
24faef672e r19745: For the fun of it, add an CLDAP client written in perl.
Guenther
(This used to be commit 8a2dded7fb6fff7080a77895803f28985bdf728b)
2007-10-10 12:15:52 -05:00
Stefan Metzmacher
9e7e5938ab r19744: merge from samba4
metze
(This used to be commit fe61e6ebf7d771ce6441198bf2e330d53bf7b10e)
2007-10-10 12:15:52 -05:00
Stefan Metzmacher
5a77ccfbfc r19741: fix compiler warnings
metze
(This used to be commit 18171cf54b22f9f2d73753db580934bd10e95e3d)
2007-10-10 12:15:52 -05:00
Stefan Metzmacher
0fa75c6797 r19739: fix compiler warning
metze
(This used to be commit b7965ac26cbfdfe60f929e2fa3a295b8c57d220d)
2007-10-10 12:15:51 -05:00
Stefan Metzmacher
81cf0a5cd8 r19730: as libreplace always provides dlopen(), we need to always define SHLIBEXT
this fix the build on hpisgr8 HPUX 11.23

metze
(This used to be commit b61269d7e39382d395e84bf2b488f6b40a8049a6)
2007-10-10 12:15:50 -05:00
Stefan Metzmacher
866a3b6e40 r19725: sync samba3's ldb with samba4
metze
(This used to be commit 207643e9c9c75546f38a09f12ea0b574b08086c5)
2007-10-10 12:15:50 -05:00
Stefan Metzmacher
06715191dd r19718: define SHLIBEXT (prepare ldb merge from samba4)
metze
(This used to be commit d8f9c200551038dad73be52bb066523312508089)
2007-10-10 12:15:49 -05:00
Jeremy Allison
8f723972ae r19710: Fix memory leak in get_conf_item_string(). As
we're just doing strchr on a const string there's
no need to strdup it before, we're never modifying
it. Just remove the variable "parm".
Jeremy.
(This used to be commit 1af18f613b1399220e38e7ab40665c2ca177c5a7)
2007-10-10 12:15:48 -05:00
Jeremy Allison
46e59a57eb r19709: Fix bug #4224 - deadtime timeout was broken
because of this. Probably a show-stopper for 3.0.23d.
Thanks to Alain GORLIER <alain.gorlier@altissemiconductor.com>
for the fix.
Jeremy.
(This used to be commit b167785cbd7911940e16fd2a54ec665857feef5e)
2007-10-10 12:15:48 -05:00
Jeremy Allison
d988af921d r19705: Fix blocker bug for 3.0.23d - find_forced_group could
return an uninitialized sid.
Jeremy.
(This used to be commit 57c60103e7dd8f9907bc2954369ea8db8b3b69ff)
2007-10-10 12:15:48 -05:00
Simo Sorce
b903eb231a r19703: Don't free a string if you want to return it!
(This used to be commit 3fed72ac3efd1fa7df8fb7d1e2cb9772d66bb4bd)
2007-10-10 12:15:48 -05:00
Simo Sorce
4d12d3a5c8 r19692: Another fix.
(This used to be commit a86a56fed3eb06b4b4a04329d42a9f57bad16271)
2007-10-10 12:15:47 -05:00
Simo Sorce
cccf8f0633 r19691: Fix the build
(This used to be commit fd70972ad943411f58ad9698b33b32e15eae88e4)
2007-10-10 12:15:47 -05:00
Simo Sorce
750947dbe4 r19690: Remove this ancient module, I never realized it was ported over.
(This used to be commit 3ef6ef7cc89b6421b9e8ec301cbd55ccd09e4d20)
2007-10-10 12:15:47 -05:00
Volker Lendecke
64bab725f0 r19689: Fix a NULL dereference found by coverity (the call to strlen).
Jerry, please check this. The way I understood alpha_strcpy the last arg needs
to be the size of the target, not of the source.

Thanks,

Volker
(This used to be commit 287d68daab89c78748b90849c9782473784b6a84)
2007-10-10 12:15:47 -05:00