samba.git
16 years agoVista SP1-rc1 appears to break against Samba-3.0.27a
Guenther Deschner [Wed, 12 Dec 2007 12:38:28 +0000 (13:38 +0100)]
Vista SP1-rc1 appears to break against Samba-3.0.27a

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Jason,

Jason Haar wrote:
> Patched 3.0.28, compiled, installed and here's the log file.
>
> Hope it helps. BTW I don't think it matters, but this is on 32bit
> CentOS4.5 systems.

yes, it helps. Thanks for that.

Very interesting, there are two auth data structures where the first one
is a PAC and the second something unknown (yet).

Can you please try the attached fix ? It should make it work again.

Guenther
- --
Günther Deschner                    GPG-ID: 8EE11688
Red Hat                         gdeschner@redhat.com
Samba Team                              gd@samba.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHX9ZESOk3aI7hFogRAivSAJ9bMcD+PcsIzjYYLtAUoLNfVVEl1QCfV/Qd
MPsZW4G31VOVu64SPjgnJiI=
=Co+H
-----END PGP SIGNATURE-----
(This used to be commit c9adc07ca2a3bb1e0ea98e3b4f68e1a87e5c0196)

16 years agoFix logic and prevent segfaults in secrets trustdom tdb pack code.
Michael Adam [Wed, 12 Dec 2007 12:50:48 +0000 (13:50 +0100)]
Fix logic and prevent segfaults in secrets trustdom tdb pack code.

New size calculation logic in tdb_trusted_dom_pass_pack()
and tdb_sid_pack() used accumulated sizes as successive offsets
to buffer pointer.

Michael
(This used to be commit 9c24713b402978e74dc8691be5cab71d8666eb41)

16 years agoFix secrets_store_trusted_domain_password() after pstring removal.
Michael Adam [Wed, 12 Dec 2007 12:37:46 +0000 (13:37 +0100)]
Fix secrets_store_trusted_domain_password() after pstring removal.

Jeremy, this small "&" sign has given me a headache... :-)

Michael
(This used to be commit 7590b12a994cc3c5f299ce7f3299c76adad1c599)

16 years agoAllow cliconnect to loop through multiple ip addresses
Jeremy Allison [Wed, 12 Dec 2007 17:42:58 +0000 (09:42 -0800)]
Allow cliconnect to loop through multiple ip addresses
for a server. We should have been doing this for a while,
but it's more critical with IPv6.
Original patch fixed up by James.
Jeremy.
(This used to be commit 5c7f7629a97ef0929e00e52f1fae4386c984000b)

16 years agoDon't restart winbind if a corrupted tdb is found during initialization.
Andreas Schneider [Fri, 23 Nov 2007 09:54:48 +0000 (10:54 +0100)]
Don't restart winbind if a corrupted tdb is found during initialization.

The tdb is validated before it gets initialized. Since then sighandlers changed
a restart isn't needed anymore.
(This used to be commit aabe9b33fcaed8af98b1ed6b736253e196d87d48)

16 years agowinbindd: remove unused WINBINDD_DUMP_MAPS support
Stefan Metzmacher [Wed, 12 Dec 2007 08:51:56 +0000 (09:51 +0100)]
winbindd: remove unused WINBINDD_DUMP_MAPS support

Also the design of this function was really bad,
instead do the dump into a file, the client should get
back the list of mappings.

metze
(This used to be commit ce7fe8acf41e90553431c7cda6823700701835c7)

16 years agowinbindd: remove unused WINBINDD_DUAL_NAME2*ID and WINBINDD_DUAL_*ID2NAME calls
Stefan Metzmacher [Wed, 12 Dec 2007 08:02:23 +0000 (09:02 +0100)]
winbindd: remove unused WINBINDD_DUAL_NAME2*ID and WINBINDD_DUAL_*ID2NAME calls

WINBINDD_DUAL_UID2NAME
WINBINDD_DUAL_NAME2UID
WINBINDD_DUAL_GID2NAME
WINBINDD_DUAL_NAME2GID

metze
(This used to be commit fd4499ee438e4947990200db529363d51bd2c956)

16 years agoAdd lp_include_registry_globals().
Günther Deschner [Tue, 11 Dec 2007 16:40:52 +0000 (17:40 +0100)]
Add lp_include_registry_globals().

Guenther
(This used to be commit d30b945e99390761e405492e40c90e84da4fe482)

16 years agoSome cleanups for "net dom join".
Günther Deschner [Tue, 11 Dec 2007 20:22:04 +0000 (21:22 +0100)]
Some cleanups for "net dom join".

Guenther
(This used to be commit 3f426f394f3b1454c52d92331c14f41dd1474516)

16 years agoAdd split_domain_user() (not to mix with winbind variants).
Günther Deschner [Tue, 11 Dec 2007 23:42:22 +0000 (00:42 +0100)]
Add split_domain_user() (not to mix with winbind variants).

Guenther
(This used to be commit bd5308e5f63e4f692761557d0ecdee7226b66a15)

16 years agoMake decode_wkssvc_join_password_buffer() return WERRORs.
Günther Deschner [Tue, 11 Dec 2007 23:44:10 +0000 (00:44 +0100)]
Make decode_wkssvc_join_password_buffer() return WERRORs.

Guenther
(This used to be commit 88e9da2f14b41a62bdb478f9ffc2de66643bbf14)

16 years agoFix warning message about data type always true.
Jeremy Allison [Tue, 11 Dec 2007 23:10:37 +0000 (15:10 -0800)]
Fix warning message about data type always true.
Jeremy.
(This used to be commit 0a3be0aad7220eb97fe39460e20f36c8ae9ce474)

16 years agoAdd patches for bug #4866 from jiri sasek - Sun Microsystems - Prague Czech Republic...
Jeremy Allison [Tue, 11 Dec 2007 21:16:35 +0000 (13:16 -0800)]
Add patches for bug #4866 from jiri sasek - Sun Microsystems - Prague Czech Republic <Jiri.Sasek@Sun.COM>
- slightly modified - Jiri please check !  to allow Solaris to get passwords > 8 chars.
Jeremy.
(This used to be commit 657bf8c3479d6192f269e3daef1517e77a9fa9cb)

16 years agowinbindd: pass const char *logfile to winbindd_dump_maps_async()
Stefan Metzmacher [Tue, 11 Dec 2007 14:08:18 +0000 (15:08 +0100)]
winbindd: pass const char *logfile to winbindd_dump_maps_async()

metze
(This used to be commit a52237e3a10aa4ac15cd9e7b859a54c46bfa9cdf)

16 years agoConvert the posix_pending_close_db to dbwrap_rbt
Volker Lendecke [Mon, 10 Dec 2007 20:36:28 +0000 (21:36 +0100)]
Convert the posix_pending_close_db to dbwrap_rbt
(This used to be commit 841f4ccbfb5f79ac4f447342e9dd6ef73cacbc65)

16 years agoseparate out create_file_unixpath()
Volker Lendecke [Tue, 11 Dec 2007 10:14:30 +0000 (11:14 +0100)]
separate out create_file_unixpath()
(This used to be commit deaacf971e0fbffd0e5fe24f225ebf645a77e133)

16 years agoMove more stuff out of the way
Volker Lendecke [Tue, 11 Dec 2007 09:49:26 +0000 (10:49 +0100)]
Move more stuff out of the way
(This used to be commit ae422fce01cd7520d6dd72e08719a5cd003cb640)

16 years agoMove INTERNAL_OPEN_ONLY calculation out of the way
Volker Lendecke [Tue, 11 Dec 2007 09:36:59 +0000 (10:36 +0100)]
Move INTERNAL_OPEN_ONLY calculation out of the way
(This used to be commit 0e96549b56e288c596ed8772197f97ffa5ade300)

16 years agoWhen building nsswitch, make sure to also build smbcontrol.
Günther Deschner [Tue, 11 Dec 2007 13:57:30 +0000 (14:57 +0100)]
When building nsswitch, make sure to also build smbcontrol.

Guenther
(This used to be commit 3954313d4e3d3a782f0ba41afa5d81b7cc5adac9)

16 years agoReplace "unknown" with access_mask when calling samr_CreateUser2().
Günther Deschner [Tue, 11 Dec 2007 11:28:10 +0000 (12:28 +0100)]
Replace "unknown" with access_mask when calling samr_CreateUser2().

Guenther
(This used to be commit cfc6e7a2e657ee55364b739d9fe0093e4f7c8b27)

16 years agowinbindd: rename child table struct elements
Stefan Metzmacher [Fri, 7 Dec 2007 15:00:45 +0000 (16:00 +0100)]
winbindd: rename child table struct elements

Add struct_ prefix to struct based protocol specific
elemetens struct winbindd_child_dispatch_table.

metze
(This used to be commit 4ab9a8aab72a8406659a72e87b2d2a1ec2a2eabf)

16 years agoidmap: add a const to idmap_dump_maps()
Stefan Metzmacher [Mon, 10 Dec 2007 18:19:54 +0000 (19:19 +0100)]
idmap: add a const to idmap_dump_maps()

metze
(This used to be commit de31913f0a4fd407d935ec4e27a6123ab7847ab5)

16 years agovlp: Build vlp (virtual line printer) against current git on make
Kai Blin [Mon, 10 Dec 2007 21:30:24 +0000 (22:30 +0100)]
vlp: Build vlp (virtual line printer) against current git on make
everything.
(This used to be commit 212ab58a3a7f03bb97c6ad3430e2776f9faba7c9)

16 years agoDon't need an fstring here, we can talloc.
Jeremy Allison [Mon, 10 Dec 2007 23:31:05 +0000 (15:31 -0800)]
Don't need an fstring here, we can talloc.
Jeremy.
(This used to be commit 3f6cc826378729c9157ea68e7cf5c7b584bbb585)

16 years agoEnsure we have a non-null flags. Pointed out by Andreas Schneider <anschneider@suse...
Jeremy Allison [Mon, 10 Dec 2007 23:06:31 +0000 (15:06 -0800)]
Ensure we have a non-null flags. Pointed out by Andreas Schneider <anschneider@suse.de>.
Jeremy.
(This used to be commit cafde6c37259de587d3775a2d229abd253d2376d)

16 years agoFix errors from next_token conversion. Spotted by
Jeremy Allison [Mon, 10 Dec 2007 22:21:28 +0000 (14:21 -0800)]
Fix errors from next_token conversion. Spotted by
Andreas Schneider <anschneider@suse.de>.
Jeremy.
(This used to be commit b40efc2fe63a3420b62fbf1ea8936112c5a24bdc)

16 years agoFix bug leftover from pstring conversion noticed by ceez
Jeremy Allison [Mon, 10 Dec 2007 21:43:12 +0000 (13:43 -0800)]
Fix bug leftover from pstring conversion noticed by ceez
on irc.
Jeremy.
(This used to be commit 70950b419a57465c38bb36722644b95b1d14f76d)

16 years agoRemove two completely unnecessary globals
Volker Lendecke [Sun, 9 Dec 2007 16:40:48 +0000 (17:40 +0100)]
Remove two completely unnecessary globals

Can someone look over this? To me it looks as if bufr was only made static to
save a malloc during an included smb.conf file. I think that's pretty much
pointless.
(This used to be commit 068e8de72ceb49ef2e02cca1913b6d2197bab5e0)

16 years agoFix return values for invalid printers. Found by kblin
Jeremy Allison [Mon, 10 Dec 2007 20:11:45 +0000 (12:11 -0800)]
Fix return values for invalid printers. Found by kblin
spoolss test.
Jeremy.
(This used to be commit bb8c044d425cf62b76e487103c8fb0b6cd4c83c2)

16 years agoForgot build options was generated... fix.
Jeremy Allison [Mon, 10 Dec 2007 19:37:20 +0000 (11:37 -0800)]
Forgot build options was generated... fix.
Jeremy.
(This used to be commit d78e081043124bbd80cf56d4a991ddf24ff46ef6)

16 years agoRemove the char[1024] strings from dynconfig. Replace
Jeremy Allison [Mon, 10 Dec 2007 19:30:37 +0000 (11:30 -0800)]
Remove the char[1024] strings from dynconfig. Replace
them with malloc'ing accessor functions. Should save a
lot of static space :-).
Jeremy.
(This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)

16 years agouse dbwrap_rbt in loadparm.c
Volker Lendecke [Sat, 24 Nov 2007 20:42:46 +0000 (21:42 +0100)]
use dbwrap_rbt in loadparm.c
(This used to be commit e81629339589e2e7f464b3dca55730ff2d0877e4)

16 years agoConvert ServiceHash to dbwrap
Volker Lendecke [Sat, 24 Nov 2007 18:56:41 +0000 (19:56 +0100)]
Convert ServiceHash to dbwrap
(This used to be commit 66bd6837b593a7127bd5098afc990d3fb7a5a35a)

16 years agodbwrap_rbt
Volker Lendecke [Fri, 9 Nov 2007 22:43:24 +0000 (23:43 +0100)]
dbwrap_rbt

This is meant as a replacement for the internal tdb. To me it seems a bit silly
that for in-memory structures we do our own memory management. With this rbt
based approach we can make use of the system-supplied malloc.
(This used to be commit 54e5d4404619443caed32e2acff8921cdbff9ed1)

16 years agoMake the Linux rbtrees compile within Samba
Volker Lendecke [Mon, 10 Dec 2007 12:20:24 +0000 (13:20 +0100)]
Make the Linux rbtrees compile within Samba
(This used to be commit c871fd802f3c0c5ef1f63b2d01a636c885f22b23)

16 years agoAdd rbtree.[ch] from the Linux kernel
Volker Lendecke [Mon, 10 Dec 2007 12:11:51 +0000 (13:11 +0100)]
Add rbtree.[ch] from the Linux kernel

These are copies taken from 94545baded0bfbabdc30a3a4cb48b3db479dd6ef from Linus' kernel tree
(This used to be commit 8a3289f913fc0432211b0e9937da1d71d4e18893)

16 years agoAdd db_tdb_fetch
Volker Lendecke [Sat, 24 Nov 2007 19:21:19 +0000 (20:21 +0100)]
Add db_tdb_fetch
(This used to be commit efa8764c21edfbd09f535900ba37359d72903bf8)

16 years agoAdd dbwrap bystring service routines
Volker Lendecke [Sat, 24 Nov 2007 18:56:16 +0000 (19:56 +0100)]
Add dbwrap bystring service routines
(This used to be commit 1e214b536b0628db299d701839e62a4ac52727c9)

16 years agoCorrectly unbecome_root() on error
Volker Lendecke [Mon, 10 Dec 2007 10:47:17 +0000 (11:47 +0100)]
Correctly unbecome_root() on error
(This used to be commit aec5f1512660953168a2c55b2890cd6c076b8a92)

16 years agoSimplify add_session_user
Volker Lendecke [Sun, 9 Dec 2007 18:03:49 +0000 (19:03 +0100)]
Simplify add_session_user
(This used to be commit f98082ccf048a2de6fea8d922264879305b3d2c8)

16 years agoIncrease debug level
Volker Lendecke [Fri, 7 Dec 2007 09:45:33 +0000 (10:45 +0100)]
Increase debug level
(This used to be commit 4e6df5547167fc235971498cb296a5f74dec8b8b)

16 years agoMove stuff from data to text
Volker Lendecke [Wed, 5 Dec 2007 20:09:57 +0000 (21:09 +0100)]
Move stuff from data to text
(This used to be commit 49f06a2fa70e469bcb5fe17852af011dac32994b)

16 years agoint->bool
Volker Lendecke [Wed, 5 Dec 2007 19:58:25 +0000 (20:58 +0100)]
int->bool
(This used to be commit 874258195278bc8c6bb3011c153c5d646fff9e75)

16 years agoTiny simplifications
Volker Lendecke [Wed, 5 Dec 2007 19:53:22 +0000 (20:53 +0100)]
Tiny simplifications

locking.c:open_read_only was unused

don't export the silly boolean flag locking_init(bool read_only)
(This used to be commit 2f3c865707010bc7c463a02782dbee3dc2479da1)

16 years agoRemove a static
Volker Lendecke [Wed, 5 Dec 2007 19:41:24 +0000 (20:41 +0100)]
Remove a static
(This used to be commit 1f317f471af72f8bbc6c9fdd3e79a27c59e6fb6e)

16 years agoRemove two statics
Volker Lendecke [Wed, 5 Dec 2007 19:30:53 +0000 (20:30 +0100)]
Remove two statics
(This used to be commit 8ee502e1e59960fd8db037f0adf1171b2a18cec5)

16 years agoremove a static
Volker Lendecke [Wed, 5 Dec 2007 17:46:53 +0000 (18:46 +0100)]
remove a static
(This used to be commit 0006b14d38b80562458b37f616c9b68a3168fe64)

16 years agoMany systems don't have sa_len as part of struct sockaddr.
Jeremy Allison [Sun, 9 Dec 2007 22:59:07 +0000 (14:59 -0800)]
Many systems don't have sa_len as part of struct sockaddr.
Revert 5c347cb46d85d04bbba7c99dca7ff9628f977d84
"Choose a better default for sockaddr length.".
Jeremy.
(This used to be commit 677ac6adc38b0747f825ee597e0502277a8f74b1)

16 years agoSupport fetching very long server lists with RAP_NetServerEnum3.
James Peach [Sun, 9 Dec 2007 22:18:54 +0000 (14:18 -0800)]
Support fetching very long server lists with RAP_NetServerEnum3.

Use the RAP_NetServerEnum3 server list continuation API for retrieving
server lists that are too long to fit in a single reply.

Patch from George Colley <gcolley@apple.com>.
(This used to be commit 40c26d55736ae08934e18c27168fff10dd15442f)

16 years agoChoose a better default for sockaddr length.
James Peach [Sun, 9 Dec 2007 22:02:23 +0000 (14:02 -0800)]
Choose a better default for sockaddr length.
(This used to be commit 5c347cb46d85d04bbba7c99dca7ff9628f977d84)

16 years agoSpecifically ask for IP4 addresses if we don't have IP6 support.
James Peach [Sun, 9 Dec 2007 22:01:57 +0000 (14:01 -0800)]
Specifically ask for IP4 addresses if we don't have IP6 support.
(This used to be commit 4786654992e3cb2280b77406f9217fcec981602c)

16 years agoMake sure NULL is defined to the IPv6 test doesn't spuriously fail.
James Peach [Sun, 9 Dec 2007 22:00:25 +0000 (14:00 -0800)]
Make sure NULL is defined to the IPv6 test doesn't spuriously fail.
(This used to be commit 87c302e250aacc4d5d6a3cce3f134dd13fa457bf)

16 years agoFix connect(2) callers to use correct sockaddr size.
James Peach [Sun, 9 Dec 2007 21:28:00 +0000 (13:28 -0800)]
Fix connect(2) callers to use correct sockaddr size.

Some systems (eg Mac OSX 10.5) require the length passed to match
the socket address family. This introduces sys_connect() that does
the right thing, and replaces all uses oc connect(2) with sys_connect().

Note that there are some LGPL callers that still call connect(2)
directly.
(This used to be commit e1bfdc17c49da582cdf907e260301ab1946b2ed3)

16 years agoMove load_case_tables() to after logging is set up. This can log
James Peach [Sun, 9 Dec 2007 21:22:19 +0000 (13:22 -0800)]
Move load_case_tables() to after logging is set up. This can log
errors.
(This used to be commit ffee51586cfc32a7e394f606e5021ee8fd198559)

16 years agoDon't copy the rpc function pointers
Volker Lendecke [Sun, 9 Dec 2007 18:46:06 +0000 (19:46 +0100)]
Don't copy the rpc function pointers

This actually shows up in a valgrind massif run with 4.1% of allocated memory.
I don't see why we would have to make a copy here.

Metze?
(This used to be commit 616d6b97e594a846e9b3ac4cbe48538d649462e9)

16 years agoC++ warning
Volker Lendecke [Sat, 8 Dec 2007 10:25:05 +0000 (11:25 +0100)]
C++ warning
(This used to be commit 85a7f800b6ff8a21d234cee1a24123fb48bafa13)

16 years agoGet rid of the msgbuf[1600]
Volker Lendecke [Sun, 9 Dec 2007 12:45:10 +0000 (13:45 +0100)]
Get rid of the msgbuf[1600]
(This used to be commit af228007915cc8bb65fa7968da25a1a36004bc22)

16 years agoFix C++ warnings
Volker Lendecke [Sat, 8 Dec 2007 10:21:08 +0000 (11:21 +0100)]
Fix C++ warnings
(This used to be commit 01a5c3ea4bf18d99ca1c35e8c38367046e4c867b)

16 years agoFix two incompatible pointer warnings
Volker Lendecke [Sat, 8 Dec 2007 10:20:53 +0000 (11:20 +0100)]
Fix two incompatible pointer warnings

Jeremy, please check
(This used to be commit 60500fac30911500eade7c2a9aa13569dcab0911)

16 years agoAdd define guards around FSTRING_LEN.
Jeremy Allison [Sat, 8 Dec 2007 01:44:42 +0000 (17:44 -0800)]
Add define guards around FSTRING_LEN.
Jeremy.
(This used to be commit ea8633689d43cc2fe15aedb430b4cac38fa73d14)

16 years agoRemove next_token - all uses must now be next_token_talloc.
Jeremy Allison [Sat, 8 Dec 2007 01:32:32 +0000 (17:32 -0800)]
Remove next_token - all uses must now be next_token_talloc.
No more temptations to use static length strings.
Jeremy.
(This used to be commit ec003f39369910dee852b7cafb883ddaa321c2de)

16 years agoA requiem for pstring.
Jeremy Allison [Fri, 7 Dec 2007 22:54:38 +0000 (14:54 -0800)]
A requiem for pstring.

                  --------------
                 /              \
                /      REST      \
               /        IN        \
              /       PEACE        \
             /                      \
             | The infamous pstring |
             |                      |
             |                      |
             |      7 December      |
             |                      |
             |         2007         |
            *|     *  *  *          | *
   _________)/\\_//(\/(/\)/\//\/\///|_)_______

Jeremy
(This used to be commit bca371bff8e1dd5099eda1774e5bb0fdbd6a1a77)

16 years agoMore null deref fixes.
Jeremy Allison [Fri, 7 Dec 2007 22:43:31 +0000 (14:43 -0800)]
More null deref fixes.
Jeremy.
(This used to be commit efaebdb141a841ec083f20f8905ae0294b81d0d6)

16 years agoMore null deref fixes.
Jeremy Allison [Fri, 7 Dec 2007 22:37:00 +0000 (14:37 -0800)]
More null deref fixes.
Jeremy
(This used to be commit 78c98796d9328723b7c46012adf5393134a4fea3)

16 years agoDon't deref null pointers.
Jeremy Allison [Fri, 7 Dec 2007 22:35:04 +0000 (14:35 -0800)]
Don't deref null pointers.
Jeremy.
(This used to be commit 686e4e5efe23e074b661e876b6b118c03ff0058d)

16 years agoAfter conversations with Jerry, remove smbctool until it's
Jeremy Allison [Fri, 7 Dec 2007 20:46:55 +0000 (12:46 -0800)]
After conversations with Jerry, remove smbctool until it's
maintained. Now I don't have to fix the pstrings in it :-).
Jeremy.
(This used to be commit 9da4f408433759b7d86d1954e2e7c1365d590389)

16 years agoWe don't need P_GSTRING or P_UGSTRING anymore.
Jeremy Allison [Fri, 7 Dec 2007 20:43:10 +0000 (12:43 -0800)]
We don't need P_GSTRING or P_UGSTRING anymore.
Jeremy.
(This used to be commit 78dc75600099b5b3b5a8ecffec747a227ff51d70)

16 years agoDon't build rpctorture anymore - not maintained. Just remove.
Jeremy Allison [Fri, 7 Dec 2007 20:26:32 +0000 (12:26 -0800)]
Don't build rpctorture anymore - not maintained. Just remove.
Remove all vestiges of pstring (except for smbctool as noted
in previous commit).
Jeremy
(This used to be commit 4c32a22ac50ada3275d2ffba3c1aa08bee7d1549)

16 years agoFix call to clistr_pull_talloc.
Jeremy Allison [Fri, 7 Dec 2007 20:08:55 +0000 (12:08 -0800)]
Fix call to clistr_pull_talloc.
Jeremy.
(This used to be commit 86700b7e2e79e634b41c272632e42b2e64f58ba3)

16 years agoDon't double define fstring.
Jeremy Allison [Fri, 7 Dec 2007 20:04:40 +0000 (12:04 -0800)]
Don't double define fstring.
Jeremy.
(This used to be commit 822b2ead9b0ee28d7ae147fc1ef67da099699cf8)

16 years agoRemove pstrings completely except for smbctool (what does this do ?).
Jeremy Allison [Fri, 7 Dec 2007 20:02:44 +0000 (12:02 -0800)]
Remove pstrings completely except for smbctool (what does this do ?).
Don't build this for now.
Jeremy.
(This used to be commit 46b67fd82c795d1a34a1efca9e409c0f3fa4f3a2)

16 years agoRemove pstring from clitar.c
Jeremy Allison [Fri, 7 Dec 2007 19:28:16 +0000 (11:28 -0800)]
Remove pstring from clitar.c
Jeremy
(This used to be commit 1d5fee5038413c90b367434f9066d947849bdaed)

16 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Fri, 7 Dec 2007 17:57:19 +0000 (09:57 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 0c21c5fa84e18d78801ab79abd726e5588902476)

16 years agoAdd NT_STATUS_DOWNGRADE_DETECTED (thanks to Magnus Mertens).
Günther Deschner [Fri, 7 Dec 2007 15:19:34 +0000 (16:19 +0100)]
Add NT_STATUS_DOWNGRADE_DETECTED (thanks to Magnus Mertens).

Guenther
(This used to be commit 970daaa0a620d8e47475909cd7b5e54869602530)

16 years agoAttempt to fix make test :-)
Volker Lendecke [Fri, 7 Dec 2007 14:55:57 +0000 (15:55 +0100)]
Attempt to fix make test :-)
(This used to be commit de3a3e3745e58cbfa777ae426e38bad3d74230d4)

16 years agoPass only internal oplock request values to create_file
Volker Lendecke [Fri, 7 Dec 2007 11:57:11 +0000 (12:57 +0100)]
Pass only internal oplock request values to create_file

Other callers (e.g. reply_open_and_X) might have other ideas of the bit
shuffling
(This used to be commit 6a58d823e51ccc8efd6682005e367c9096abc993)

16 years agoMore parameter shuffling
Volker Lendecke [Fri, 7 Dec 2007 11:39:30 +0000 (12:39 +0100)]
More parameter shuffling
(This used to be commit 8f70f691ffa3e171a73d04a1c867aa6fca4d4583)

16 years agoRe-arrange create_file() parameters
Volker Lendecke [Fri, 7 Dec 2007 10:58:40 +0000 (11:58 +0100)]
Re-arrange create_file() parameters

This changes them to be a bit closer to open_file_ntcreate and thus provides
less surprises to developers
(This used to be commit d000258b96b9bb714efdfe982947370a6dfb5d55)

16 years agoMake fname arg to create_file a "const char *"
Volker Lendecke [Fri, 7 Dec 2007 09:46:11 +0000 (10:46 +0100)]
Make fname arg to create_file a "const char *"
(This used to be commit da94b5f9e37f38880e8ca4c2c7f8de6838864321)

16 years agoFix two unused variable warnings
Volker Lendecke [Fri, 7 Dec 2007 08:20:45 +0000 (09:20 +0100)]
Fix two unused variable warnings

I know this will be overwritten by the next "make idl", but it just bugs me
*now* :-)

Volker
(This used to be commit a0abb885214ed29659889e359aecb60fb6dec100)

16 years agoAllow to set custom message in wkssvc messagebuffer.
Günther Deschner [Fri, 7 Dec 2007 10:56:48 +0000 (11:56 +0100)]
Allow to set custom message in wkssvc messagebuffer.

Guenther
(This used to be commit 4c03cbdc816842f1d657fdc8499e3ad9a459f0d7)

16 years agoFix build with new werror based pidl rpc.
Günther Deschner [Mon, 3 Dec 2007 21:12:31 +0000 (22:12 +0100)]
Fix build with new werror based pidl rpc.

Guenther
(This used to be commit 0e8fdfac8a7754c105f01bd21816a7940c20e878)

16 years agoAdd cmd_wkssvc_messagebuffersend().
Günther Deschner [Thu, 6 Dec 2007 18:06:30 +0000 (19:06 +0100)]
Add cmd_wkssvc_messagebuffersend().

Guenther
(This used to be commit 71e512efabe833a850cce3ed827415b5d1c032d5)

16 years agoAdd getjoininformation to rpcclient.
Günther Deschner [Mon, 3 Dec 2007 12:12:26 +0000 (13:12 +0100)]
Add getjoininformation to rpcclient.

Guenther
(This used to be commit 699f6b1bc332b1e2834f5c384440b2501838c43f)

16 years ago*Really* fix the no password -N opt :-).
Jeremy Allison [Fri, 7 Dec 2007 03:15:56 +0000 (19:15 -0800)]
*Really* fix the no password -N opt :-).
Jeremy.
(This used to be commit 187d8a94eae87a32432c7c295698517b6ae31523)

16 years agoFix the '-N' option.
Jeremy Allison [Fri, 7 Dec 2007 03:06:34 +0000 (19:06 -0800)]
Fix the '-N' option.
Jeremy.
(This used to be commit b91b61b54f02f11d80fc25b268faa354fcd1f6e0)

16 years agoThese should be char *, but replace them with [1024] for now
Jeremy Allison [Fri, 7 Dec 2007 03:01:27 +0000 (19:01 -0800)]
These should be char *, but replace them with [1024] for now
to eliminate the pstring data type.
Jeremy
(This used to be commit d690ba77107d8c2b722972300272f9d540641ce9)

16 years agoMake all the tools use the proper accessor functions.
Jeremy Allison [Fri, 7 Dec 2007 02:58:01 +0000 (18:58 -0800)]
Make all the tools use the proper accessor functions.
Jeremy.
(This used to be commit 6d61bb87975839adb25c304e5e5041f91b12d236)

16 years agoFix typos in auth change.
Jeremy Allison [Fri, 7 Dec 2007 02:52:36 +0000 (18:52 -0800)]
Fix typos in auth change.
Jeremy.
(This used to be commit 440e9f5b51e42e5dc5ce3f8d10b9e43ca31e87ef)

16 years agoMissed smbmnt popt.
Jeremy Allison [Fri, 7 Dec 2007 02:51:10 +0000 (18:51 -0800)]
Missed smbmnt popt.
Jeremy.
(This used to be commit da558a7bdb40c755aee60198d1f9eb9efe4c5463)

16 years agoGet closer to building with smbmount. Move parameter line changes
Jeremy Allison [Fri, 7 Dec 2007 02:49:39 +0000 (18:49 -0800)]
Get closer to building with smbmount. Move parameter line changes
into lib/util.c
Jeremy.
(This used to be commit 6ac5d81655927ba8eabea35adaae5adfcbb821c9)

16 years agoAdd popt to binaries in makefile. Hack clitar to compile until I fix it.
Jeremy Allison [Fri, 7 Dec 2007 02:08:01 +0000 (18:08 -0800)]
Add popt to binaries in makefile. Hack clitar to compile until I fix it.
Jeremy.
(This used to be commit 252ef28bb8f1406fdd92edba8538cb9e88f0b77f)

16 years agoMake cmdline_auth_info private to lib/popt_common.c. Provide
Jeremy Allison [Fri, 7 Dec 2007 01:22:57 +0000 (17:22 -0800)]
Make cmdline_auth_info private to lib/popt_common.c. Provide
accessor functions.
Jeremy.
(This used to be commit 420195dd3e8b1b6771ab8be8bc974edaafc0cf8f)

16 years agoFix clidfs.c compile.
Jeremy Allison [Fri, 7 Dec 2007 01:17:03 +0000 (17:17 -0800)]
Fix clidfs.c compile.
Jeremy.
(This used to be commit 76034d1529a594837725cf599d97019eed7226b4)

16 years agoRemove pstrings from client/client.c by doing a large rewrite.
Jeremy Allison [Fri, 7 Dec 2007 01:16:33 +0000 (17:16 -0800)]
Remove pstrings from client/client.c by doing a large rewrite.
Mostly compiles....
Jeremy.
(This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)

16 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Thu, 6 Dec 2007 19:17:37 +0000 (11:17 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 48252d124d83aaa502b7821564978b9bf5babd03)

16 years agoAllow to set level in cmd_wkssvc_wkstagetinfo().
Günther Deschner [Thu, 6 Dec 2007 18:05:54 +0000 (19:05 +0100)]
Allow to set level in cmd_wkssvc_wkstagetinfo().

Guenther
(This used to be commit 2c287ce0507a019aaa4d8dec74bc5c515ec2e3c7)

16 years agoDon't understand this. I have no changes here....
Jeremy Allison [Thu, 6 Dec 2007 18:10:16 +0000 (10:10 -0800)]
Don't understand this. I have no changes here....
Jeremy.
(This used to be commit 49534432d4c63d0dfd7bf080c30adecef06deade)

16 years agoMake output of net getdomainsid more meaningful. Unify spelling of SID. Display usage...
Karolin Seeger [Thu, 6 Dec 2007 12:54:45 +0000 (13:54 +0100)]
Make output of net getdomainsid more meaningful. Unify spelling of SID. Display usage if superfluous arguments are given.

Karolin
(This used to be commit cb3a2dfeb047d45bb9eec8cb97d3ba288f21887e)

16 years agoRemove an incredible amount of whitespace.
Michael Adam [Thu, 6 Dec 2007 12:51:25 +0000 (13:51 +0100)]
Remove an incredible amount of whitespace.

Sorry - could not resist. Michael
(This used to be commit 1000c98eae0886dbdf60beb1fe64d66ec009746b)