amitay/samba.git
16 years agoRemove some globals
Volker Lendecke [Sat, 24 Nov 2007 16:27:54 +0000 (17:27 +0100)]
Remove some globals
(This used to be commit 31d0a846db08d845e6cdfd85def4ac1c34031e02)

16 years agoMake share_info_db_init static
Volker Lendecke [Sat, 24 Nov 2007 21:50:36 +0000 (22:50 +0100)]
Make share_info_db_init static
(This used to be commit 111502d3a2901abcff25792bed3c4038a7592410)

16 years agoRemove a static, and "signal_received" needs to be sig_atomic_t
Volker Lendecke [Sun, 25 Nov 2007 08:33:29 +0000 (09:33 +0100)]
Remove a static, and "signal_received" needs to be sig_atomic_t
(This used to be commit 8acd4a202f6b4518c2ce9cdd30f5dfb14b86c07c)

16 years agoMove create_file to open.c
Volker Lendecke [Sun, 2 Dec 2007 14:35:22 +0000 (15:35 +0100)]
Move create_file to open.c

I'm checking in this long sequence of micro-checkins for review, the overall
patch from 3b057022a5 to this is not too large.
(This used to be commit 51db8d09a4652d626c093f7bacf075c1c168fc33)

16 years agoFix an uninitialized variable
Volker Lendecke [Sun, 2 Dec 2007 13:55:01 +0000 (14:55 +0100)]
Fix an uninitialized variable
(This used to be commit ca3add2d65a242029f08482f3b82ea56b7059538)

16 years agoFix debug
Volker Lendecke [Sun, 2 Dec 2007 13:56:57 +0000 (14:56 +0100)]
Fix debug
(This used to be commit c268be54ee3bdd59980a6217a0e8e59dd3ec5ce2)

16 years agoFix attribute calculation for ntcreate&x
Volker Lendecke [Sun, 2 Dec 2007 13:37:44 +0000 (14:37 +0100)]
Fix attribute calculation for ntcreate&x
(This used to be commit 9ef81cb14952cad96c71409c04a2cc6579e3311c)

16 years agoFix error returns
Volker Lendecke [Sun, 2 Dec 2007 12:34:59 +0000 (13:34 +0100)]
Fix error returns
(This used to be commit f5cdaacd1784d3801d638fa9984b52c57dad6ebd)

16 years agoFix debugs
Volker Lendecke [Sun, 2 Dec 2007 12:34:27 +0000 (13:34 +0100)]
Fix debugs
(This used to be commit 77b31ef44a9f7c1c9b80d90653a49affee8e0372)

16 years agoImplement create_file()
Volker Lendecke [Sat, 1 Dec 2007 21:36:17 +0000 (22:36 +0100)]
Implement create_file()

Rip out the cores of reply_ntcreate_and_X and call_nt_transact_create

Volker
(This used to be commit 8cd27e4a7a1a2df0ff686ebe0b1a779511effd27)

16 years agoReformatting, also allow quotas for transact_create
Volker Lendecke [Sat, 1 Dec 2007 20:31:52 +0000 (21:31 +0100)]
Reformatting, also allow quotas for transact_create
(This used to be commit 956aae7a57364debf724a7ef0bd0074119a24d24)

16 years agoTiny refactorings
Volker Lendecke [Sat, 1 Dec 2007 19:03:47 +0000 (20:03 +0100)]
Tiny refactorings
(This used to be commit f3421c3b86aece4f8303e864c5df97485db77f88)

16 years agoSplit out sd parsing
Volker Lendecke [Sat, 1 Dec 2007 18:16:52 +0000 (19:16 +0100)]
Split out sd parsing
(This used to be commit 5a9d147e41b260cb620f026291786eeb95ebc64f)

16 years agoReformatting
Volker Lendecke [Sat, 1 Dec 2007 18:03:25 +0000 (19:03 +0100)]
Reformatting
(This used to be commit 719941605333a453c4219aed45780862c94a5c7c)

16 years agoAlign formatting, one TALLOC_FREE is enough
Volker Lendecke [Sat, 1 Dec 2007 14:07:58 +0000 (15:07 +0100)]
Align formatting, one TALLOC_FREE is enough
(This used to be commit 5bf4647dea71305d9a92875a751b24c8a2e4a916)

16 years agoMove pulling the ea list out of the way
Volker Lendecke [Sat, 1 Dec 2007 14:05:18 +0000 (15:05 +0100)]
Move pulling the ea list out of the way
(This used to be commit 753e640f49125c319d7b8f2db262e273a1727691)

16 years agoReformatting
Volker Lendecke [Sat, 1 Dec 2007 13:57:46 +0000 (14:57 +0100)]
Reformatting
(This used to be commit fb900184feeda37691cf9bd57c029988648de9f8)

16 years agoPut posix semantic calculation in the same place in both routines
Volker Lendecke [Sat, 1 Dec 2007 13:55:56 +0000 (14:55 +0100)]
Put posix semantic calculation in the same place in both routines
(This used to be commit f6d62226a33cdff41ad7881996d856b7130ef15c)

16 years agoTiny refactoring
Volker Lendecke [Sat, 1 Dec 2007 13:52:25 +0000 (14:52 +0100)]
Tiny refactoring

Reformatting, consolidate oplock calculation to the same place in both routines
(This used to be commit a855808f4851a800055bfee5df39ca72057e55f9)

16 years agoTiny refactoring
Volker Lendecke [Sat, 1 Dec 2007 13:49:58 +0000 (14:49 +0100)]
Tiny refactoring
(This used to be commit 481e35eba8e130041848887ec5fb6212e331eb14)

16 years agoTALLOC_FREE early
Volker Lendecke [Sat, 1 Dec 2007 13:38:19 +0000 (14:38 +0100)]
TALLOC_FREE early
(This used to be commit 4b1f0d1d93d1e7bd0b4fa641d4e9629af8234d71)

16 years agoconsolidate srvstr_get_path in ntcreate_and_X
Volker Lendecke [Thu, 29 Nov 2007 14:45:53 +0000 (15:45 +0100)]
consolidate srvstr_get_path in ntcreate_and_X
(This used to be commit 4a2d502903934f4c3dc6b31595fe77a2013dbc21)

16 years agoTiny refactoring
Volker Lendecke [Thu, 29 Nov 2007 14:38:00 +0000 (15:38 +0100)]
Tiny refactoring
(This used to be commit b79b16d637d41a356c036c6aac932e4504d2d7b0)

16 years agotiny refactoring
Volker Lendecke [Thu, 29 Nov 2007 14:15:33 +0000 (15:15 +0100)]
tiny refactoring
(This used to be commit 7f15a9f5a281052d2bed13a622b2fc9a24c62096)

16 years agoadd SESSSETUP_BENCH
Volker Lendecke [Tue, 4 Dec 2007 10:38:57 +0000 (11:38 +0100)]
add SESSSETUP_BENCH
(This used to be commit 3b057022a570a1fb68e03c477a6989e7d1e7cef2)

16 years agoMore pstring removal.
Jeremy Allison [Wed, 5 Dec 2007 02:47:20 +0000 (18:47 -0800)]
More pstring removal.
Jeremy.
(This used to be commit 905943137c2dafca4dc946f9b1f133fc5542eb37)

16 years agoFix sample gtk code. Does this compile ?
Jeremy Allison [Wed, 5 Dec 2007 02:24:19 +0000 (18:24 -0800)]
Fix sample gtk code. Does this compile ?
Jeremy.
(This used to be commit 750d26b7e9ab39663da0c3e6ccc1288fc08c81ea)

16 years agoOk, down to just the client/*.c code now.
Jeremy Allison [Wed, 5 Dec 2007 02:02:06 +0000 (18:02 -0800)]
Ok, down to just the client/*.c code now.
Jeremy.
(This used to be commit 7d3959f81a5439800b813ef052382e67424c90cd)

16 years agoRemove pstring from automount lookups. Remove premature optimization.
Jeremy Allison [Wed, 5 Dec 2007 01:48:38 +0000 (17:48 -0800)]
Remove pstring from automount lookups. Remove premature optimization.
Jeremy.
(This used to be commit 6863fe51b5afea234b04b073d3e1b7608d60620e)

16 years agoRemove tok pstring from util_str.c
Jeremy Allison [Wed, 5 Dec 2007 01:23:19 +0000 (17:23 -0800)]
Remove tok pstring from util_str.c
Do we even make rpctorture anymore ?
Jeremy.
(This used to be commit fecc3cc45af6145fad9a0570e6cae8422bd2443d)

16 years agopull_ascii_pstring is gone.
Jeremy Allison [Wed, 5 Dec 2007 01:05:33 +0000 (17:05 -0800)]
pull_ascii_pstring is gone.
Jeremy.
(This used to be commit 288aacce4b56d159218be311019cb951e5a232fd)

16 years agoThe usual !pstring...
Jeremy Allison [Wed, 5 Dec 2007 00:56:18 +0000 (16:56 -0800)]
The usual !pstring...
Jeremy.
(This used to be commit b676262a781363e7be49b21817668a53cca75c2d)

16 years agoMore pstring elimination.
Jeremy Allison [Wed, 5 Dec 2007 00:35:24 +0000 (16:35 -0800)]
More pstring elimination.
Jeremy.
(This used to be commit c1f70793d615df57dc7b766d67db3e9eedd0e25e)

16 years agoRemove pstrings.
Jeremy Allison [Tue, 4 Dec 2007 23:45:20 +0000 (15:45 -0800)]
Remove pstrings.
Jeremy.
(This used to be commit e3c02796f8cf49af388741d175c4011825670df0)

16 years agoAllow STR_TERMINATE and -1 src_len for pull_ucs2_base_talloc().
Jeremy Allison [Tue, 4 Dec 2007 23:21:14 +0000 (15:21 -0800)]
Allow STR_TERMINATE and -1 src_len for pull_ucs2_base_talloc().
Jeremy.
(This used to be commit 063358d87ac9a1d948c8d4b6358e926dd14bb3ac)

16 years agoRemove pstr_sprintf. Replace with snprintf.
Jeremy Allison [Tue, 4 Dec 2007 22:31:57 +0000 (14:31 -0800)]
Remove pstr_sprintf. Replace with snprintf.
Jeremy.
(This used to be commit bc9aa722231288c58554c2a48cd659c60bdcba63)

16 years agoBack to pstring removal.
Jeremy Allison [Tue, 4 Dec 2007 22:02:25 +0000 (14:02 -0800)]
Back to pstring removal.
Jeremy.
(This used to be commit 95842ae4e113e304f652120b250a70a95c66e3bc)

16 years agoFix signing bug found by Volker. That one was *subtle*.
Jeremy Allison [Tue, 4 Dec 2007 21:30:22 +0000 (13:30 -0800)]
Fix signing bug found by Volker. That one was *subtle*.
Jeremy
(This used to be commit 816aea6c1a426eb2450061b847729e22bdac33a0)

16 years agoFix crash bug with vl's new trans handling in old transs
Jeremy Allison [Tue, 4 Dec 2007 20:53:21 +0000 (12:53 -0800)]
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)

16 years agoGone from usershare.
Jeremy Allison [Tue, 4 Dec 2007 03:19:19 +0000 (19:19 -0800)]
Gone from usershare.
Jeremy.
(This used to be commit f1555f4f0d66e57fd19f200f842e4d05527accd5)

16 years agoDon't forget to delete the stackframe.
Jeremy Allison [Tue, 4 Dec 2007 02:56:54 +0000 (18:56 -0800)]
Don't forget to delete the stackframe.
Jeremy.
(This used to be commit 0551ee3402daebe5b96a66162d7702ca5a31da52)

16 years agoGetting to the home stretch for elimination of pstrings...
Jeremy Allison [Tue, 4 Dec 2007 02:48:41 +0000 (18:48 -0800)]
Getting to the home stretch for elimination of pstrings...
Jeremy.
(This used to be commit 041163551194102ca67fef52c57d87020a1d09bc)

16 years agoRemove more pstrings, from the winbindd protocol def and
Jeremy Allison [Tue, 4 Dec 2007 01:57:46 +0000 (17:57 -0800)]
Remove more pstrings, from the winbindd protocol def and
inside winbindd. Remove unused pstring types.
Jeremy.
(This used to be commit 9ccac8abb0420393569dbca73e7daf2742aa1099)

16 years agoMake strhex_to_str clear on string limits. Remove pstring from web/*.c
Jeremy Allison [Tue, 4 Dec 2007 01:17:05 +0000 (17:17 -0800)]
Make strhex_to_str clear on string limits. Remove pstring from web/*.c
Jeremy.
(This used to be commit f9c8d62389f8cb47837e5360209936176537df13)

16 years agoFix the build. fstrterminate was used in one place.
Jeremy Allison [Mon, 3 Dec 2007 23:47:30 +0000 (15:47 -0800)]
Fix the build. fstrterminate was used in one place.
Jeremy.
(This used to be commit 0ccd87c56b34bdc34c73d700d21544fe269f9141)

16 years agoRemove unused wpstring and macros. Stop using pstrcpy in smbd/*.c
Jeremy Allison [Mon, 3 Dec 2007 23:19:22 +0000 (15:19 -0800)]
Remove unused wpstring and macros. Stop using pstrcpy in smbd/*.c
Jeremy.
(This used to be commit e72bce5b62fb0a9d0ff4a3d76490219994f303cf)

16 years agoChange tdb_unpack "P" to return a malloc'ed string rather
Jeremy Allison [Mon, 3 Dec 2007 22:54:06 +0000 (14:54 -0800)]
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)

16 years agoLast pstring here.
Jeremy Allison [Mon, 3 Dec 2007 22:11:45 +0000 (14:11 -0800)]
Last pstring here.
Jeremy.
(This used to be commit 98d86dcbd898f48748bbfbe1066a7014d25392d1)

16 years agoRemove pstring from clirap2 by completely rewriting the damn
Jeremy Allison [Mon, 3 Dec 2007 22:09:48 +0000 (14:09 -0800)]
Remove pstring from clirap2 by completely rewriting the damn
thing :-). Now with added paranoia.
Jeremy.
(This used to be commit b6b5f92bc9457220df384bdb13530c393d294ce7)

16 years agoFix shutdown callers.
Günther Deschner [Mon, 3 Dec 2007 17:40:36 +0000 (18:40 +0100)]
Fix shutdown callers.

Guenther
(This used to be commit de2fdc6b5a78932f8ea5cf4c4715296f18dae4d3)

16 years agoFix wkssvc callers.
Günther Deschner [Mon, 3 Dec 2007 17:40:09 +0000 (18:40 +0100)]
Fix wkssvc callers.

Guenther
(This used to be commit b734cd8aab163d794b969c4e1e721e81a8b4d44c)

16 years agoFix dfs callers.
Günther Deschner [Mon, 3 Dec 2007 17:36:25 +0000 (18:36 +0100)]
Fix dfs callers.

Guenther
(This used to be commit 0a8759d0118715ef1546ae5fc404a26f874f2d80)

16 years agoFix svcctl callers.
Günther Deschner [Mon, 3 Dec 2007 17:25:13 +0000 (18:25 +0100)]
Fix svcctl callers.

Guenther
(This used to be commit 91bf2ac1af66acd8bcc831e758b3765fc94b2485)

16 years agoFix winreg callers.
Günther Deschner [Mon, 3 Dec 2007 17:21:40 +0000 (18:21 +0100)]
Fix winreg callers.

Guenther
(This used to be commit 677d9e6d86997a1ae10266e9bab3b18c3fdd2890)

16 years agoForgot header in previous commit.
Günther Deschner [Mon, 3 Dec 2007 17:20:02 +0000 (18:20 +0100)]
Forgot header in previous commit.

Guenther
(This used to be commit 8a1b306b826c75dde9caadc93b022bfa9bf3c4e3)

16 years agoRegenerate pidl rpc client calls that are WERROR based.
Günther Deschner [Mon, 3 Dec 2007 17:19:20 +0000 (18:19 +0100)]
Regenerate pidl rpc client calls that are WERROR based.

Guenther
(This used to be commit 298b0ce951f02705c5660a4171f7cc208de7a1db)

16 years agoRemove workaround for broken capabilites.h from lib/system.c - now in lib/replace.
Michael Adam [Mon, 3 Dec 2007 15:52:44 +0000 (16:52 +0100)]
Remove workaround for broken capabilites.h from lib/system.c - now in lib/replace.

Michael
(This used to be commit a3fbb5323222334c86c0dc360df8c6a39039bbe6)

16 years agoReformat configure checks for broken capabilities.h.
Michael Adam [Mon, 3 Dec 2007 15:50:55 +0000 (16:50 +0100)]
Reformat configure checks for broken capabilities.h.

Michael
(This used to be commit 834a16225a8fb905a8f870a17ba67670e622eccc)

16 years agoMove check for broken system capabilites.h headers to lib/replace.
Michael Adam [Mon, 3 Dec 2007 15:43:51 +0000 (16:43 +0100)]
Move check for broken system capabilites.h headers to lib/replace.

Michael
(This used to be commit 8ec10c4ab1aa890c9f03d34bd872c93ae5c4d84c)

16 years agoAdd check for ppc statfs.h header to workaround for broken capabilities.h.
Michael Adam [Mon, 3 Dec 2007 15:42:08 +0000 (16:42 +0100)]
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)

16 years agoAdd decode_wkssvc_join_password_buffer().
Günther Deschner [Mon, 3 Dec 2007 13:06:22 +0000 (14:06 +0100)]
Add decode_wkssvc_join_password_buffer().

Guenther
(This used to be commit ba2a544baf1e1cc3652512ed5df2bb408fa8bdfd)

16 years agoReanimate rpcclient wkssvc command.
Günther Deschner [Mon, 3 Dec 2007 11:42:17 +0000 (12:42 +0100)]
Reanimate rpcclient wkssvc command.

Guenther
(This used to be commit 1d615e3ac397106f47c51ace36c01a8f6e1d5d13)

16 years agoActually implement reboot feature for net dom join/unjoin.
Günther Deschner [Mon, 3 Dec 2007 10:07:27 +0000 (11:07 +0100)]
Actually implement reboot feature for net dom join/unjoin.

Guenther
(This used to be commit bbbeeba163f173d774937103a36560a4a4f49d4b)

16 years agoReformatting
Volker Lendecke [Mon, 3 Dec 2007 09:45:47 +0000 (10:45 +0100)]
Reformatting
(This used to be commit 28c0a77ec1eb4bc69679c00dcdacaa6ee4d8e3f5)

16 years agoFix some bogus uninitialized variable warnings
Volker Lendecke [Sat, 1 Dec 2007 10:41:44 +0000 (11:41 +0100)]
Fix some bogus uninitialized variable warnings
(This used to be commit 48a162b709cc14632fd02c4cd40aa8cfafc53324)

16 years agoBump up debug level
Volker Lendecke [Sun, 2 Dec 2007 11:54:11 +0000 (12:54 +0100)]
Bump up debug level

Fix bug 5115
(This used to be commit d3c839c22edeca2de68574a8f5dd328080577f3a)

16 years agoIn nttransact_create, we also need to check for delete readonly
Volker Lendecke [Sat, 1 Dec 2007 14:01:01 +0000 (15:01 +0100)]
In nttransact_create, we also need to check for delete readonly
(This used to be commit f4cc9cab518e97c1049aaad7516aba212ae15c95)

16 years agoFix some C++ warnings
Volker Lendecke [Sat, 1 Dec 2007 10:43:12 +0000 (11:43 +0100)]
Fix some C++ warnings
(This used to be commit 156c7f10bb63a610f85b52242cfd1b67bfa73c29)

16 years agoFix an uninitialized variable
Volker Lendecke [Sat, 1 Dec 2007 10:43:00 +0000 (11:43 +0100)]
Fix an uninitialized variable
(This used to be commit edce7bd7a9dd1064ba8aec34b334c7395228f40b)

16 years agoFix some C++ warnings
Volker Lendecke [Sat, 1 Dec 2007 10:42:32 +0000 (11:42 +0100)]
Fix some C++ warnings

I think were are actually bugs.
(This used to be commit 1be19f07889ae09f79030f1ff8f2cf5e9a3d9dc5)

16 years agoFix missing error cleanup noticed by Derrell.
Jeremy Allison [Sat, 1 Dec 2007 05:57:43 +0000 (21:57 -0800)]
Fix missing error cleanup noticed by Derrell.
Jeremy.
(This used to be commit 37f00926c29c22f27e7192c1fff0a08ce136cb86)

16 years agoEnsure we have 2 bytes of zeros as a pad-buffer at the
Jeremy Allison [Sat, 1 Dec 2007 02:02:19 +0000 (18:02 -0800)]
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)

16 years agoWhitespace cleanup.
Jeremy Allison [Sat, 1 Dec 2007 00:45:44 +0000 (16:45 -0800)]
Whitespace cleanup.
Jeremy.
(This used to be commit 4dfe19be1c3a63b8517c6580c9cd363c7271693d)

16 years agoRemove pstring from clirap.c.
Jeremy Allison [Sat, 1 Dec 2007 00:13:35 +0000 (16:13 -0800)]
Remove pstring from clirap.c.
Jeremy.
(This used to be commit 6e27663cb44a79f729fa4366e000c43383f6d1b7)

16 years agoRemoved all pstrings from libsmbclient. Derryl please
Jeremy Allison [Fri, 30 Nov 2007 22:19:55 +0000 (14:19 -0800)]
Removed all pstrings from libsmbclient. Derryl please
check. Passes valgrind tests I've run in examples/libsmbclient.
Jeremy.
(This used to be commit 9d0034faed939a4534637696f1631ac2da60e4a3)

16 years agoFix restart after length count.
Jeremy Allison [Fri, 30 Nov 2007 22:15:34 +0000 (14:15 -0800)]
Fix restart after length count.
Jeremy.
(This used to be commit fa8115f32bfd37f75c284ff0f6906dbc2af0f40c)

16 years agoAvoid to include net prototypes, just reference user creds.
Günther Deschner [Fri, 30 Nov 2007 19:33:51 +0000 (20:33 +0100)]
Avoid to include net prototypes, just reference user creds.

Guenther
(This used to be commit 09e01a47164702f67403e61bc478d1cb54f0508e)

16 years agoAdd "net dom" command suite to "net".
Günther Deschner [Fri, 30 Nov 2007 19:21:37 +0000 (20:21 +0100)]
Add "net dom" command suite to "net".

Guenther
(This used to be commit a41f9aef843378b1f85f9b3d672d00f3399fa342)

16 years agoAdd "net dom unjoin" code.
Günther Deschner [Fri, 30 Nov 2007 19:20:54 +0000 (20:20 +0100)]
Add "net dom unjoin" code.

Guenther
(This used to be commit 58d49023b9bc7d27e770f18a25cc6cebdc95b300)

16 years agoAdd "net dom join" code.
Günther Deschner [Fri, 30 Nov 2007 19:20:18 +0000 (20:20 +0100)]
Add "net dom join" code.

Guenther
(This used to be commit 177dab0ce31970c851531ffd2a6c5946e329a048)

16 years agoAdd header file for NetJoinDomain() and friends.
Günther Deschner [Fri, 30 Nov 2007 19:18:46 +0000 (20:18 +0100)]
Add header file for NetJoinDomain() and friends.

Guenther
(This used to be commit 7cea527e8712cde34378ae8b32aad1e4aab0c17b)

16 years agoAdd NetUnjoinDomain().
Günther Deschner [Fri, 30 Nov 2007 18:57:08 +0000 (19:57 +0100)]
Add NetUnjoinDomain().

Guenther
(This used to be commit fd9d73ad44b0f0b3656a50a663b60aa26e7f7376)

16 years agoRobustness-fixes for NetJoinDomain().
Günther Deschner [Fri, 30 Nov 2007 18:56:41 +0000 (19:56 +0100)]
Robustness-fixes for NetJoinDomain().

Guenther
(This used to be commit 2d5236cc37fe015ce9098a0ebe99cdc0ca3537ae)

16 years agoGive NetJoinDomain() enough time to finish.
Günther Deschner [Fri, 30 Nov 2007 18:55:40 +0000 (19:55 +0100)]
Give NetJoinDomain() enough time to finish.

Guenther
(This used to be commit 7f021b3cb7845c6eb142668f66599886cd92182f)

16 years agodomain_name is a ref pointer.
Günther Deschner [Fri, 30 Nov 2007 18:52:27 +0000 (19:52 +0100)]
domain_name is a ref pointer.

Guenther
(This used to be commit b350e482b9b211caf08c22c7528b51e47b4a5cce)

16 years agoMerge join error codes from Samba 4.
Günther Deschner [Fri, 30 Nov 2007 18:46:25 +0000 (19:46 +0100)]
Merge join error codes from Samba 4.

Guenther
(This used to be commit 88a01bd810c36631272c5db727334bdc6f12f07d)

16 years agoAdd NetJoinDomain call.
Günther Deschner [Fri, 30 Nov 2007 17:49:21 +0000 (18:49 +0100)]
Add NetJoinDomain call.

Guenther
(This used to be commit 08a5a036ba97d1f4830d73e95b8369aa9e6683e8)

16 years agoMove param helper routines to one place.
Günther Deschner [Fri, 30 Nov 2007 17:47:25 +0000 (18:47 +0100)]
Move param helper routines to one place.

Guenther
(This used to be commit 6bf2c8038c4bc7a52b7f260209ade0bdeb95c685)

16 years agoMake encode_wkssvc_join_password_buffer() non-static.
Günther Deschner [Fri, 30 Nov 2007 13:34:33 +0000 (14:34 +0100)]
Make encode_wkssvc_join_password_buffer() non-static.

Guenther
(This used to be commit 258ef17a266548bc02bed1870fd4ef5a272300b3)

16 years agoMerge encode_wkssvc_join_password_buffer() from samba4.
Günther Deschner [Fri, 30 Nov 2007 13:05:53 +0000 (14:05 +0100)]
Merge encode_wkssvc_join_password_buffer() from samba4.

Guenther
(This used to be commit b1d36cdb86978cb31d470fccf2dc24d366835c36)

16 years agoAdd talloc versions of all the next_token() functions.
Jeremy Allison [Fri, 30 Nov 2007 21:09:04 +0000 (13:09 -0800)]
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)

16 years agoRemove pstrings from clifile.c.
Jeremy Allison [Fri, 30 Nov 2007 01:47:31 +0000 (17:47 -0800)]
Remove pstrings from clifile.c.
Jeremy.
(This used to be commit d5658914c2d6ec878d9a11f8a1fa57f1697362e3)

16 years agoRemove PSTRING_LEN from smbd/ nmbd/.
Jeremy Allison [Fri, 30 Nov 2007 01:25:41 +0000 (17:25 -0800)]
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)

16 years agoFix _reg_perfcount_get_instance_info()
Günther Deschner [Fri, 30 Nov 2007 01:16:46 +0000 (02:16 +0100)]
Fix _reg_perfcount_get_instance_info()

Guenther
(This used to be commit 20c1ba23f2e2902ef7c2237c63addfef2ae75eac)

16 years agoMerge recent wkssvc changes from samba4.
Günther Deschner [Fri, 30 Nov 2007 00:44:44 +0000 (01:44 +0100)]
Merge recent wkssvc changes from samba4.

Guenther
(This used to be commit 7539fb4c840a9b4429f347cebbda9c631746267a)

16 years agoFix build warning.
Günther Deschner [Tue, 27 Nov 2007 17:09:50 +0000 (18:09 +0100)]
Fix build warning.

Guenther
(This used to be commit bf4881d7774681e22f270697c7623bde33c30fe0)

16 years agoFix memleak.
Jeremy Allison [Fri, 30 Nov 2007 00:30:18 +0000 (16:30 -0800)]
Fix memleak.
Jeremy.
(This used to be commit ccacd170472869391bd1e5bc850b1467492b8fa3)

16 years agoRemove the explicit TALLOC_CTX * from cli_struct.
Jeremy Allison [Thu, 29 Nov 2007 21:24:54 +0000 (13:24 -0800)]
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)

16 years agoRemove pstrings. Ensure we validate offsets.
Jeremy Allison [Thu, 29 Nov 2007 21:24:14 +0000 (13:24 -0800)]
Remove pstrings. Ensure we validate offsets.
Jeremy.
(This used to be commit ff06cc34e66a18ba71dd54f6c78b05a45b9f2d85)

16 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Thu, 29 Nov 2007 17:48:33 +0000 (09:48 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit aff5a52136b85fe82c4acb08d12009187d1fe6c7)