1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

20828 Commits

Author SHA1 Message Date
Jeremy Allison
5ea101f048 Allow STR_TERMINATE and -1 src_len for pull_ucs2_base_talloc().
Jeremy.
(This used to be commit 063358d87ac9a1d948c8d4b6358e926dd14bb3ac)
2007-12-04 15:21:14 -08:00
Jeremy Allison
e883c7040b Remove pstr_sprintf. Replace with snprintf.
Jeremy.
(This used to be commit bc9aa722231288c58554c2a48cd659c60bdcba63)
2007-12-04 14:31:57 -08:00
Jeremy Allison
bb9b754605 Back to pstring removal.
Jeremy.
(This used to be commit 95842ae4e113e304f652120b250a70a95c66e3bc)
2007-12-04 14:02:25 -08:00
Jeremy Allison
774a30989a Fix signing bug found by Volker. That one was *subtle*.
Jeremy
(This used to be commit 816aea6c1a426eb2450061b847729e22bdac33a0)
2007-12-04 13:30:22 -08:00
Jeremy Allison
0e9a1c24a0 Fix crash bug with vl's new trans handling in old transs
calls. Make this look like the (working) transs2 handling
(replace inbuf, not write to outbuf - outbuf isn't allocated
yet so you get a null deref).
Jeremy.
(This used to be commit f04e37a630f8e7538d670d34db4ea7fc7c0b50a3)
2007-12-04 12:53:21 -08:00
Jeremy Allison
3ab73eab49 Gone from usershare.
Jeremy.
(This used to be commit f1555f4f0d66e57fd19f200f842e4d05527accd5)
2007-12-03 19:19:19 -08:00
Jeremy Allison
d3609c4c89 Don't forget to delete the stackframe.
Jeremy.
(This used to be commit 0551ee3402daebe5b96a66162d7702ca5a31da52)
2007-12-03 18:56:54 -08:00
Jeremy Allison
adf6d848de Getting to the home stretch for elimination of pstrings...
Jeremy.
(This used to be commit 041163551194102ca67fef52c57d87020a1d09bc)
2007-12-03 18:48:41 -08:00
Jeremy Allison
328a57e1ca Remove more pstrings, from the winbindd protocol def and
inside winbindd. Remove unused pstring types.
Jeremy.
(This used to be commit 9ccac8abb0420393569dbca73e7daf2742aa1099)
2007-12-03 17:57:46 -08:00
Jeremy Allison
6f46f75dfc Make strhex_to_str clear on string limits. Remove pstring from web/*.c
Jeremy.
(This used to be commit f9c8d62389f8cb47837e5360209936176537df13)
2007-12-03 17:17:05 -08:00
Jeremy Allison
a22487025d Fix the build. fstrterminate was used in one place.
Jeremy.
(This used to be commit 0ccd87c56b34bdc34c73d700d21544fe269f9141)
2007-12-03 15:47:30 -08:00
Jeremy Allison
b9342eaaa6 Remove unused wpstring and macros. Stop using pstrcpy in smbd/*.c
Jeremy.
(This used to be commit e72bce5b62fb0a9d0ff4a3d76490219994f303cf)
2007-12-03 15:19:22 -08:00
Jeremy Allison
bcf033b38e Change tdb_unpack "P" to return a malloc'ed string rather
than expect a pstring space to put data into.
Fix the (few) callers.
Jeremy.
(This used to be commit 7722a7d2c63f84b8105aa775b39f0ceedd4ed513)
2007-12-03 14:54:06 -08:00
Jeremy Allison
df141905fa Last pstring here.
Jeremy.
(This used to be commit 98d86dcbd898f48748bbfbe1066a7014d25392d1)
2007-12-03 14:11:45 -08:00
Jeremy Allison
fe1a12b22f Remove pstring from clirap2 by completely rewriting the damn
thing :-). Now with added paranoia.
Jeremy.
(This used to be commit b6b5f92bc9457220df384bdb13530c393d294ce7)
2007-12-03 14:09:48 -08:00
Günther Deschner
6f1b4eb869 Fix shutdown callers.
Guenther
(This used to be commit de2fdc6b5a78932f8ea5cf4c4715296f18dae4d3)
2007-12-03 18:43:19 +01:00
Günther Deschner
6b37d8e627 Fix wkssvc callers.
Guenther
(This used to be commit b734cd8aab163d794b969c4e1e721e81a8b4d44c)
2007-12-03 18:43:19 +01:00
Günther Deschner
f942b8852d Fix dfs callers.
Guenther
(This used to be commit 0a8759d0118715ef1546ae5fc404a26f874f2d80)
2007-12-03 18:43:19 +01:00
Günther Deschner
9ab0038348 Fix svcctl callers.
Guenther
(This used to be commit 91bf2ac1af66acd8bcc831e758b3765fc94b2485)
2007-12-03 18:43:19 +01:00
Günther Deschner
82089a2e84 Fix winreg callers.
Guenther
(This used to be commit 677d9e6d86997a1ae10266e9bab3b18c3fdd2890)
2007-12-03 18:43:19 +01:00
Günther Deschner
58944aa5a5 Forgot header in previous commit.
Guenther
(This used to be commit 8a1b306b826c75dde9caadc93b022bfa9bf3c4e3)
2007-12-03 18:43:19 +01:00
Günther Deschner
59e9d5b449 Regenerate pidl rpc client calls that are WERROR based.
Guenther
(This used to be commit 298b0ce951f02705c5660a4171f7cc208de7a1db)
2007-12-03 18:43:19 +01:00
Michael Adam
66887ddfba Remove workaround for broken capabilites.h from lib/system.c - now in lib/replace.
Michael
(This used to be commit a3fbb5323222334c86c0dc360df8c6a39039bbe6)
2007-12-03 16:54:13 +01:00
Michael Adam
684a72c779 Reformat configure checks for broken capabilities.h.
Michael
(This used to be commit 834a16225a8fb905a8f870a17ba67670e622eccc)
2007-12-03 16:54:12 +01:00
Michael Adam
f5b071e3b0 Move check for broken system capabilites.h headers to lib/replace.
Michael
(This used to be commit 8ec10c4ab1aa890c9f03d34bd872c93ae5c4d84c)
2007-12-03 16:54:12 +01:00
Michael Adam
fc0a63153f Add check for ppc statfs.h header to workaround for broken capabilities.h.
Taken from s3:lib/system.c

Michael
(This used to be commit 07e6cfdc626c2778292e5b0b338a35046c482cf9)
2007-12-03 16:54:12 +01:00
Günther Deschner
41418ed682 Add decode_wkssvc_join_password_buffer().
Guenther
(This used to be commit ba2a544baf1e1cc3652512ed5df2bb408fa8bdfd)
2007-12-03 14:06:52 +01:00
Günther Deschner
9cc7b8e2a0 Reanimate rpcclient wkssvc command.
Guenther
(This used to be commit 1d615e3ac397106f47c51ace36c01a8f6e1d5d13)
2007-12-03 13:08:20 +01:00
Günther Deschner
e9e182feda Actually implement reboot feature for net dom join/unjoin.
Guenther
(This used to be commit bbbeeba163f173d774937103a36560a4a4f49d4b)
2007-12-03 11:17:57 +01:00
Volker Lendecke
107c1f854d Reformatting
(This used to be commit 28c0a77ec1eb4bc69679c00dcdacaa6ee4d8e3f5)
2007-12-03 10:53:29 +01:00
Volker Lendecke
b1a924a0fb Fix some bogus uninitialized variable warnings
(This used to be commit 48a162b709cc14632fd02c4cd40aa8cfafc53324)
2007-12-02 23:39:12 +01:00
Volker Lendecke
a2366187ad Bump up debug level
Fix bug 5115
(This used to be commit d3c839c22edeca2de68574a8f5dd328080577f3a)
2007-12-02 12:54:11 +01:00
Volker Lendecke
5066f7c878 In nttransact_create, we also need to check for delete readonly
(This used to be commit f4cc9cab518e97c1049aaad7516aba212ae15c95)
2007-12-01 10:43:54 -08:00
Volker Lendecke
bbf2cb6da9 Fix some C++ warnings
(This used to be commit 156c7f10bb63a610f85b52242cfd1b67bfa73c29)
2007-12-01 10:43:35 -08:00
Volker Lendecke
4a3ee48de5 Fix an uninitialized variable
(This used to be commit edce7bd7a9dd1064ba8aec34b334c7395228f40b)
2007-12-01 10:43:23 -08:00
Volker Lendecke
f4e4df66e7 Fix some C++ warnings
I think were are actually bugs.
(This used to be commit 1be19f07889ae09f79030f1ff8f2cf5e9a3d9dc5)
2007-12-01 10:43:11 -08:00
Jeremy Allison
a17a13f7ce Fix missing error cleanup noticed by Derrell.
Jeremy.
(This used to be commit 37f00926c29c22f27e7192c1fff0a08ce136cb86)
2007-11-30 21:57:43 -08:00
Jeremy Allison
d19861e29d Ensure we have 2 bytes of zeros as a pad-buffer at the
end of all returned trans/trans2/nttrans client replies.
Not included in a count - for safety purposes.
Jeremy.
(This used to be commit 3e65fa5bcf5d1af3983f2e576698eccaad79fcda)
2007-11-30 18:02:19 -08:00
Jeremy Allison
e23fea9201 Whitespace cleanup.
Jeremy.
(This used to be commit 4dfe19be1c3a63b8517c6580c9cd363c7271693d)
2007-11-30 16:45:44 -08:00
Jeremy Allison
4e266bd60f Remove pstring from clirap.c.
Jeremy.
(This used to be commit 6e27663cb44a79f729fa4366e000c43383f6d1b7)
2007-11-30 16:13:35 -08:00
Jeremy Allison
b37ae99c35 Removed all pstrings from libsmbclient. Derryl please
check. Passes valgrind tests I've run in examples/libsmbclient.
Jeremy.
(This used to be commit 9d0034faed939a4534637696f1631ac2da60e4a3)
2007-11-30 14:19:55 -08:00
Jeremy Allison
d1807be93c Fix restart after length count.
Jeremy.
(This used to be commit fa8115f32bfd37f75c284ff0f6906dbc2af0f40c)
2007-11-30 14:15:34 -08:00
Günther Deschner
cfbbeebbc6 Avoid to include net prototypes, just reference user creds.
Guenther
(This used to be commit 09e01a47164702f67403e61bc478d1cb54f0508e)
2007-11-30 22:25:01 +01:00
Günther Deschner
a43e3f98ad Add "net dom" command suite to "net".
Guenther
(This used to be commit a41f9aef843378b1f85f9b3d672d00f3399fa342)
2007-11-30 22:25:01 +01:00
Günther Deschner
c88263ab9e Add "net dom unjoin" code.
Guenther
(This used to be commit 58d49023b9bc7d27e770f18a25cc6cebdc95b300)
2007-11-30 22:25:01 +01:00
Günther Deschner
4b60045066 Add "net dom join" code.
Guenther
(This used to be commit 177dab0ce31970c851531ffd2a6c5946e329a048)
2007-11-30 22:25:01 +01:00
Günther Deschner
9433010f35 Add header file for NetJoinDomain() and friends.
Guenther
(This used to be commit 7cea527e8712cde34378ae8b32aad1e4aab0c17b)
2007-11-30 22:25:01 +01:00
Günther Deschner
9fdb8b82c9 Add NetUnjoinDomain().
Guenther
(This used to be commit fd9d73ad44b0f0b3656a50a663b60aa26e7f7376)
2007-11-30 22:25:01 +01:00
Günther Deschner
ac512a5bb2 Robustness-fixes for NetJoinDomain().
Guenther
(This used to be commit 2d5236cc37fe015ce9098a0ebe99cdc0ca3537ae)
2007-11-30 22:25:01 +01:00
Günther Deschner
1484b1d174 Give NetJoinDomain() enough time to finish.
Guenther
(This used to be commit 7f021b3cb7845c6eb142668f66599886cd92182f)
2007-11-30 22:25:01 +01:00