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

23842 Commits

Author SHA1 Message Date
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
Günther Deschner
5ee27320ce domain_name is a ref pointer.
Guenther
(This used to be commit b350e482b9b211caf08c22c7528b51e47b4a5cce)
2007-11-30 22:25:01 +01:00
Günther Deschner
22cf7f5ffa Merge join error codes from Samba 4.
Guenther
(This used to be commit 88a01bd810c36631272c5db727334bdc6f12f07d)
2007-11-30 22:25:01 +01:00
Günther Deschner
a51e682a21 Add NetJoinDomain call.
Guenther
(This used to be commit 08a5a036ba97d1f4830d73e95b8369aa9e6683e8)
2007-11-30 22:25:01 +01:00
Günther Deschner
4b9f336a62 Move param helper routines to one place.
Guenther
(This used to be commit 6bf2c8038c4bc7a52b7f260209ade0bdeb95c685)
2007-11-30 22:25:01 +01:00
Günther Deschner
c224118ffe Make encode_wkssvc_join_password_buffer() non-static.
Guenther
(This used to be commit 258ef17a266548bc02bed1870fd4ef5a272300b3)
2007-11-30 22:25:01 +01:00
Günther Deschner
5886f7c9f6 Merge encode_wkssvc_join_password_buffer() from samba4.
Guenther
(This used to be commit b1d36cdb86978cb31d470fccf2dc24d366835c36)
2007-11-30 22:25:00 +01:00
Jeremy Allison
810f760afd Add talloc versions of all the next_token() functions.
Now I can really start removing fixed length strings...
Jeremy.
(This used to be commit 0ae61e26547e594e94037d4474a008221e5df8cf)
2007-11-30 13:09:04 -08:00
Jeremy Allison
5b184c3525 Remove pstrings from clifile.c.
Jeremy.
(This used to be commit d5658914c2d6ec878d9a11f8a1fa57f1697362e3)
2007-11-29 17:47:31 -08:00
Jeremy Allison
f692694b99 Remove PSTRING_LEN from smbd/ nmbd/.
Remove pstring from libsmb/clidfs.c except for a nasty
hack (that will be removed when pstrings are gone from
client/).
Jeremy.
(This used to be commit cc257b71d13daa47e6f2315d0f07a60eb4aaeca6)
2007-11-29 17:25:41 -08:00
Günther Deschner
b05ffb5065 Fix _reg_perfcount_get_instance_info()
Guenther
(This used to be commit 20c1ba23f2e2902ef7c2237c63addfef2ae75eac)
2007-11-30 02:16:46 +01:00
Günther Deschner
7557964bee Merge recent wkssvc changes from samba4.
Guenther
(This used to be commit 7539fb4c840a9b4429f347cebbda9c631746267a)
2007-11-30 01:45:07 +01:00
Günther Deschner
4a1fbf7bbf Fix build warning.
Guenther
(This used to be commit bf4881d7774681e22f270697c7623bde33c30fe0)
2007-11-30 01:45:06 +01:00
Jeremy Allison
b7db7c8352 Fix memleak.
Jeremy.
(This used to be commit ccacd170472869391bd1e5bc850b1467492b8fa3)
2007-11-29 16:30:18 -08:00
Jeremy Allison
d2cf97aeba Remove the explicit TALLOC_CTX * from cli_struct.
Make us very explicit about how long a talloc ctx
should last.
Jeremy.
(This used to be commit ba9e2be2b5a59684e854609f9d82ea1633448c62)
2007-11-29 13:24:54 -08:00
Jeremy Allison
42c87fe6e6 Remove pstrings. Ensure we validate offsets.
Jeremy.
(This used to be commit ff06cc34e66a18ba71dd54f6c78b05a45b9f2d85)
2007-11-29 13:24:14 -08:00
Jeremy Allison
ce2844f30d Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit aff5a52136b85fe82c4acb08d12009187d1fe6c7)
2007-11-29 09:48:33 -08:00
Michael Adam
25a6a677df Allow calling "net rpc join" and "net rpc trustdom" without specifying server IP.
This was a logic bug (typo) in a call to get_pdc_ip() in net_find_server().

Michael
(This used to be commit 988c5ff3f47b7508b229464bbed2ca1948d6e27c)
2007-11-29 15:16:45 +01:00
Jeremy Allison
eced14c6e6 Remove unused code (and pstring).
Jeremy.
(This used to be commit a261a61226248b41be22dd4f2873b5ed82bc2a24)
2007-11-28 14:08:49 -08:00
Volker Lendecke
a605be7314 Add a warning for a potential bug I've run into
(This used to be commit 223352e32372f1b055298cfc6f2770043a845e3d)
2007-11-28 09:45:40 -08:00
Michael Adam
ddcaaae4ff Give rpcclient a talloc stackframe.
Michael
(This used to be commit 3330394d2d5d58576d9ddb52f60a3e27f31d5198)
2007-11-28 15:24:53 +01:00
Jeremy Allison
3daafc5662 Remove pstrings from asn1.c.
Jeremy.
(This used to be commit 82f393e60378eb42ddcc740241902eee495719d3)
2007-11-27 23:40:54 -08:00
Jeremy Allison
762fde90a0 Remove pstrings from namequery.c.
Jeremy.
(This used to be commit 71ccd0c42e0ae66172ca5797be3d3a01f4a67a69)
2007-11-27 23:10:20 -08:00
Jeremy Allison
9c8bd95acf Fixed obvious typo.
Jeremy.
(This used to be commit 9755c5311416f17bac0a848d027cafb3fd487618)
2007-11-27 23:00:11 -08:00
Jeremy Allison
1cd1c9db3f Remove unused prototype for smbldap_get_single_pstring().
Don't use pstr_sprintf() on an fstring - change to talloc.
Jeremy.
(This used to be commit 6cae4b5fa1bcb848cb2a28daaafeefd6bcd08274)
2007-11-27 22:22:35 -08:00
Jeremy Allison
b11e6f2158 Save one extra strdup per lp_string. Use talloc_sub_basic()
directly.
Jeremy.
(This used to be commit f1e401ef5c89ecf12921b7adb228da438521a693)
2007-11-27 19:12:42 -08:00
Jeremy Allison
0bc4ff7b28 Remove pstring from srv_spoolss_nt.c. All gone from rpc_server/*.c
Jeremy.
(This used to be commit b5a2a1e3f82a0d319fc9a1d76f5166150680f4d4)
2007-11-27 19:05:08 -08:00