samba.git
16 years agor5188: Add config.mk file for swig.
Tim Potter [Thu, 3 Feb 2005 04:03:24 +0000 (04:03 +0000)]
r5188: Add config.mk file for swig.
(This used to be commit c40fb6625d5cc6b3ddadfdc3c63d7856a45ec134)

16 years agor5187: ordered the timed events in the events code, which makes processing
Andrew Tridgell [Thu, 3 Feb 2005 04:02:48 +0000 (04:02 +0000)]
r5187: ordered the timed events in the events code, which makes processing
events much more efficient (no linked lists need to be traversed, so
large numbers of timers are no problem)
(This used to be commit b45b9436d78b0ad288b27a1023579bb566ca6202)

16 years agor5185: make all the events data structures private to events.c. This will
Andrew Tridgell [Thu, 3 Feb 2005 02:35:52 +0000 (02:35 +0000)]
r5185: make all the events data structures private to events.c. This will
make it possible to add optimisations to the events code such as
keeping the next timed event in a sorted list, and using epoll for
file descriptor events.

I also removed the loop events code, as it wasn't being used anywhere,
and changed timed events to always be one-shot (as adding a new timed
event in the event handler is so easy to do if needed)
(This used to be commit d7b4b6de51342a65bf46fce772d313f92f8d73d3)

16 years agor5173: Refer to a proper zone file name in resulting message
Alexander Bokovoy [Wed, 2 Feb 2005 12:02:16 +0000 (12:02 +0000)]
r5173: Refer to a proper zone file name in resulting message
(This used to be commit 0c96cc8babf222731375a59e86c64468c6dbda33)

16 years agor5172: actually bind to the right address for the wildcard interface ....
Andrew Tridgell [Wed, 2 Feb 2005 10:35:25 +0000 (10:35 +0000)]
r5172: actually bind to the right address for the wildcard interface ....
(This used to be commit 7720d247fed3343a5bf39b2eedf34604f9203a37)

16 years agor5171: added support for "bind interfaces only" in nbtd. The solution was to
Andrew Tridgell [Wed, 2 Feb 2005 10:29:50 +0000 (10:29 +0000)]
r5171: added support for "bind interfaces only" in nbtd. The solution was to
bind twice on each interface, once using the broadcast address and
once using the specific IP. We then only listen on the wildcard
address if we don't have "bind interface only" set. This also happens
to simplify the code that finds the right interface for an incoming
request.
(This used to be commit b3edf17281c5d82abb40dab817bf2de43f9f6c3f)

16 years agor5170: fixed a bug handling events that have already timed out - they were
Andrew Tridgell [Wed, 2 Feb 2005 10:24:47 +0000 (10:24 +0000)]
r5170: fixed a bug handling events that have already timed out - they were
being treated as events that never time out, so they happened on the
next other event
(This used to be commit 2eefe4f8dea4a9060f229417777435133c684a0c)

16 years agor5169: As provisioning script generates everything under $newdb/ directory, put gener...
Alexander Bokovoy [Wed, 2 Feb 2005 09:59:01 +0000 (09:59 +0000)]
r5169: As provisioning script generates everything under $newdb/ directory, put generated domain zone there as well
(This used to be commit f4fc885c14da517051cbcf7296b804da0f5f70b4)

16 years agor5156: started on test driven development of the nbt server. This adds a
Andrew Tridgell [Tue, 1 Feb 2005 06:16:12 +0000 (06:16 +0000)]
r5156: started on test driven development of the nbt server. This adds a
NBT-REGISTER test that tests that a server correctly defends its name
against broadcast name registrations.

Jeremy, you might like to look at this. Samba3 nmbd fails to respond.
(This used to be commit bb1298a2eb192ec2cd547a299334cc82a63a5acc)

16 years agor5155: define ipv4address as a based IDL type, mapped to a "const char *" in
Andrew Tridgell [Tue, 1 Feb 2005 04:12:44 +0000 (04:12 +0000)]
r5155: define ipv4address as a based IDL type, mapped to a "const char *" in
the header, and defined on the wire as a 4 byte network byte order
IP. This means the calling code doesn't have to worry about network
byte order conversions.
(This used to be commit 72048e37179dd5b9ada0c5280d2f0d8c23d1a17d)

16 years agor5148: use ipv4_addr also in epmapper idl
Stefan Metzmacher [Mon, 31 Jan 2005 21:44:39 +0000 (21:44 +0000)]
r5148: use ipv4_addr also in epmapper idl

metze
(This used to be commit cbc1f172822363e1fc4495d27248464403748cae)

16 years agor5147: remove unused var
Stefan Metzmacher [Mon, 31 Jan 2005 17:26:47 +0000 (17:26 +0000)]
r5147: remove unused var

metze
(This used to be commit 79e79552e62bbef61eb4f3dff104c6415c3e2ef8)

16 years agor5145: define struct ipv4_addr in misc.idl,
Stefan Metzmacher [Mon, 31 Jan 2005 17:16:45 +0000 (17:16 +0000)]
r5145: define struct ipv4_addr in misc.idl,
so we can use it in nbt.idl and
get a nicer debug output

metze
(This used to be commit abacbc9192646f6f3c720758ab65889b82b9ae7b)

16 years agor5144: add more forward declarations
Stefan Metzmacher [Mon, 31 Jan 2005 16:47:47 +0000 (16:47 +0000)]
r5144: add more forward declarations

metze
(This used to be commit c5a24792db61b688f23cf7d2509993049cad4a75)

16 years agor5143: don't generate prototypes for lib/tdb/
Stefan Metzmacher [Mon, 31 Jan 2005 16:46:48 +0000 (16:46 +0000)]
r5143: don't generate prototypes for lib/tdb/

metze
(This used to be commit 1c48c30aaf58d069cdba2f59b5c012bc4bdd3efc)

16 years agor5142: fix compiler warning
Stefan Metzmacher [Mon, 31 Jan 2005 16:36:57 +0000 (16:36 +0000)]
r5142: fix compiler warning

metze
(This used to be commit d8aeb69ea85cc0df89e213482c446eb8e793bc86)

16 years agor5141: fix compiler warnings
Stefan Metzmacher [Mon, 31 Jan 2005 16:36:17 +0000 (16:36 +0000)]
r5141: fix compiler warnings

metze
(This used to be commit 12b0841b30fdb6d7ba8c3dc9991c172f7fb3d31f)

16 years agor5139: fix types
Stefan Metzmacher [Mon, 31 Jan 2005 16:10:36 +0000 (16:10 +0000)]
r5139: fix types

metze
(This used to be commit 8507a57b88c6acce84d9ccc580e17c7f96c6d7af)

16 years agor5138: don't create prototypes for samba3's winbind client lib
Stefan Metzmacher [Mon, 31 Jan 2005 16:07:56 +0000 (16:07 +0000)]
r5138: don't create prototypes for samba3's winbind client lib
they're in hand declared

metze
(This used to be commit fcc690a274963565d13fc358edc61db57c4111b9)

16 years agor5137: fix types
Stefan Metzmacher [Mon, 31 Jan 2005 16:06:21 +0000 (16:06 +0000)]
r5137: fix types

metze
(This used to be commit add1c579375d08040f722946da31ee3862f9e7ac)

16 years agor5136: fix types
Stefan Metzmacher [Mon, 31 Jan 2005 16:02:58 +0000 (16:02 +0000)]
r5136: fix types

metze
(This used to be commit 344367cc4cdb232c394ce45ab64cc357cce4259f)

16 years agor5135: I prepare a clean up in includes.h
Stefan Metzmacher [Mon, 31 Jan 2005 16:01:22 +0000 (16:01 +0000)]
r5135: I prepare a clean up in includes.h

metze
(This used to be commit 670e088e94468a5311353dbbaa7e34d200999313)

16 years agor5134: - fix types to always use _t types
Stefan Metzmacher [Mon, 31 Jan 2005 15:58:54 +0000 (15:58 +0000)]
r5134: - fix types to always use _t types

- add #include "system/filesys.h" where needed

metze
(This used to be commit 6bb07a0ed8a4baaeaa1d63bde8ce773364860fd2)

16 years agor5133: fix type mapping to internal types
Stefan Metzmacher [Mon, 31 Jan 2005 15:54:42 +0000 (15:54 +0000)]
r5133: fix type mapping to internal types

metze
(This used to be commit 4cebc7a85810395a0b095127925bd88c7caddb63)

16 years agor5130: added a single NBT name query benchmark. It keeps 10 queries in flight at...
Andrew Tridgell [Mon, 31 Jan 2005 09:54:39 +0000 (09:54 +0000)]
r5130: added a single NBT name query benchmark. It keeps 10 queries in flight at a time.
(This used to be commit 2d23c665ffda7619dc9b9c2dbcbc422b0854998c)

16 years agor5129: make sure we don't spin chewing CPU time due to my last change
Andrew Tridgell [Mon, 31 Jan 2005 09:53:21 +0000 (09:53 +0000)]
r5129: make sure we don't spin chewing CPU time due to my last change
(This used to be commit 69e97ad9c397261cd6edb6f7504021942f16c0ec)

16 years agor5126: the composite code is no longer client specific or smb specific, so
Andrew Tridgell [Mon, 31 Jan 2005 08:30:44 +0000 (08:30 +0000)]
r5126: the composite code is no longer client specific or smb specific, so
rename the core structure to composite_context and the wait routine to
composite_wait() (suggestion from metze)
(This used to be commit cf11d05e35179c2c3e51c5ab370cd0a3fb15f24a)

16 years agor5123: fixed a bug in the timed events handling. It was possible for a timed
Andrew Tridgell [Mon, 31 Jan 2005 08:18:52 +0000 (08:18 +0000)]
r5123: fixed a bug in the timed events handling. It was possible for a timed
event handler to trigger a free that could cause a timer to be
triggered twice. This changs fixes it properly by marking timer events
to be removed using a zero next_event time.

I also changed the default timeout for events.c to be infinite, so if
there are no events to handle then smbd will sit forever doing
nothing. That allows it to be swapped out completely when idle.
(This used to be commit 0f1fb7017ee441cbebcad45900435adb57ca1760)

16 years agor5122: fixed name of winbind stream ops
Andrew Tridgell [Mon, 31 Jan 2005 07:24:00 +0000 (07:24 +0000)]
r5122: fixed name of winbind stream ops
(This used to be commit 984c737c1b5e9106979be95738c11f52ae6cddc2)

16 years agor5121: added periodic name refresh requests for all our registered names, reporting any
Andrew Tridgell [Mon, 31 Jan 2005 06:55:25 +0000 (06:55 +0000)]
r5121: added periodic name refresh requests for all our registered names, reporting any
name conflicts
(This used to be commit 69e6a1cd4bac665debb10601d1a3ddc0ae86e779)

16 years agor5120: encode outgoing nbt packets when queueing them rather than in the send
Andrew Tridgell [Mon, 31 Jan 2005 04:53:53 +0000 (04:53 +0000)]
r5120: encode outgoing nbt packets when queueing them rather than in the send
event code, as elements of the callers packet structure could go away
while the queue is pending (if for example a name was de-registered
while a packet referencing that name is queued)
(This used to be commit 6726f15cf44388e5787eec223a8c9778110a508f)

16 years agor5119: fflush after talloc reports to ensure they are fully on disk when using tee
Andrew Tridgell [Mon, 31 Jan 2005 04:51:50 +0000 (04:51 +0000)]
r5119: fflush after talloc reports to ensure they are fully on disk when using tee
(This used to be commit e73e49aaa64f6f976918f087cf196b00eecc3eb2)

16 years agor5118: added support for node status replies in nbtd. nmblookup -S now works against...
Andrew Tridgell [Mon, 31 Jan 2005 04:15:58 +0000 (04:15 +0000)]
r5118: added support for node status replies in nbtd. nmblookup -S now works against Samba4.
Also added support for the '*' wildcard name
(This used to be commit 2dd7ccf72444db668fa970c3a95de1448baea224)

16 years agor5117: used a composite function to add 4 stage name registration. We send 3
Andrew Tridgell [Mon, 31 Jan 2005 03:14:15 +0000 (03:14 +0000)]
r5117: used a composite function to add 4 stage name registration. We send 3
broadcast name registration demands per name per interface at 1 second
intervals, then send a name overwrite request and demand. Any name
conflict replies are reported.
(This used to be commit d656fba6f1a2e9d8c03893741327e5fb59c5271e)

16 years agor5116: fixed build of the nbtlist code
Andrew Tridgell [Mon, 31 Jan 2005 02:50:49 +0000 (02:50 +0000)]
r5116: fixed build of the nbtlist code
(This used to be commit 506e1e823cd3f652a793db9f4c43147d298b9b8b)

16 years agor5115: enable the nbt daemon by default
Andrew Tridgell [Mon, 31 Jan 2005 02:02:34 +0000 (02:02 +0000)]
r5115: enable the nbt daemon by default
(This used to be commit 4c0cc5fc11241c8a19081c4944b162c29da31603)

16 years agor5114: the nbtd task can now act as a basic B-node server. It registers its
Andrew Tridgell [Mon, 31 Jan 2005 01:57:58 +0000 (01:57 +0000)]
r5114: the nbtd task can now act as a basic B-node server. It registers its
names on the network and answers name queries. Lots of details are
still missing, but at least this now means you don't need a Samba3
nmbd to use Samba4.

missing pieces include:

 - name registrations should be "shout 3 times, then demand"

 - no WINS server yet

 - no master browser code
(This used to be commit d7d31fdc6670f026f96b50e51a4de19f0b920e5b)

16 years agor5109: - fixed handling of zero-length subcontexts in the ndr library
Andrew Tridgell [Sun, 30 Jan 2005 10:41:15 +0000 (10:41 +0000)]
r5109: - fixed handling of zero-length subcontexts in the ndr library

- added error checking on socket startup in nbtd
(This used to be commit 5707ebc9ecdce5c195a2788ab1e4214788a086ea)

16 years agor5108: the beginnings of a nbtd server for Samba4. Currently just displays
Andrew Tridgell [Sun, 30 Jan 2005 10:24:36 +0000 (10:24 +0000)]
r5108: the beginnings of a nbtd server for Samba4. Currently just displays
the packets it receives, but it at least shows how the server
structure will work.

To implement it I extended the libcli/nbt/ library to allow for an
incoming packet handler to be registered. That allows the nbt client
library to be used for low level processing of the nbtd server packets.

Other changes:

 - made the socket library always set SO_REUSEADDR when binding to an
   interface, to ensure that restarts of a server don't have to wait
   for a couple of minutes.

 - made the nbt port configurable. Defaults to 137, but other ports
   will be useful for testing.
(This used to be commit 2fedca6adfd4df9e85cc86896dfa79630777a917)

16 years agor5107: moved the horrible ldap socket code, and the even worse
Andrew Tridgell [Sun, 30 Jan 2005 07:22:16 +0000 (07:22 +0000)]
r5107: moved the horrible ldap socket code, and the even worse
asn1-tied-to-blocking-sockets code into the ldap client and torture
suite, and out of the generic libs, so nobody else is tempted to use
it for any new code.
(This used to be commit 39d1ced21baeca40d1fca62ba65243ca8f15757e)

16 years agor5106: removed a bunch of unused socket functions. We still need
Andrew Tridgell [Sun, 30 Jan 2005 07:08:08 +0000 (07:08 +0000)]
r5106: removed a bunch of unused socket functions. We still need
open_socket_out() as its used by the ldap client code (uggh)
(This used to be commit 95d9766be8b08b7ca52c24d4ed3313e147edb159)

16 years agor5105: removed some unused events functions. These are no longer needed as
Andrew Tridgell [Sun, 30 Jan 2005 07:07:11 +0000 (07:07 +0000)]
r5105: removed some unused events functions. These are no longer needed as
destructors are used to remove pending socket events
(This used to be commit ce62105434ab02e94e38897409c3512905c48f02)

16 years agor5104: - added support for task based servers. These are servers that within
Andrew Tridgell [Sun, 30 Jan 2005 02:55:30 +0000 (02:55 +0000)]
r5104: - added support for task based servers. These are servers that within
  themselves are run as a single process, but run as a child of the
  main process when smbd is run in the standard model, and run as part
  of the main process when in the single mode.

- rewrote the winbind template code to use the new task services. Also
  fixed the packet queueing

- got rid of event_context_merge() as it is no longer needed
(This used to be commit 339964a596689278d2138cff05d7d444798a3504)

16 years agor5103: forgot to add two new files
Andrew Tridgell [Sun, 30 Jan 2005 00:55:49 +0000 (00:55 +0000)]
r5103: forgot to add two new files

these are the stream server helper functions
(This used to be commit 3c5a7650a9730d74503b759bccafbb0fa3bbce78)

16 years agor5102: This is a major simplification of the logic for controlling top level
Andrew Tridgell [Sun, 30 Jan 2005 00:54:57 +0000 (00:54 +0000)]
r5102: This is a major simplification of the logic for controlling top level
servers in smbd. The old code still contained a fairly bit of legacy
from the time when smbd was only handling SMB connection. The new code
gets rid of all of the smb_server specific code in smbd/, and creates
a much simpler infrastructures for new server code.

Major changes include:

 - simplified the process model code a lot.

 - got rid of the top level server and service structures
   completely. The top level context is now the event_context. This
   got rid of service.h and server.h completely (they were the most
   confusing parts of the old code)

 - added service_stream.[ch] for the helper functions that are
   specific to stream type services (services that handle streams, and
   use a logically separate process per connection)

 - got rid of the builtin idle_handler code in the service logic, as
   none of the servers were using it, and it can easily be handled by
   a server in future by adding its own timed_event to the event
   context.

 - fixed some major memory leaks in the rpc server code.

 - added registration of servers, rather than hard coding our list of
   possible servers. This allows for servers as modules in the future.

 - temporarily disabled the winbind code until I add the helper
   functions for that type of server

 - added error checking on service startup. If a configured server
   fails to startup then smbd doesn't startup.

 - cleaned up the command line handling in smbd, removing unused options
(This used to be commit cf6a46c3cbde7b1eb1b86bd3882b953a2de3a42e)

16 years agor5095: uint32 -> uint32_t
Tim Potter [Sat, 29 Jan 2005 05:05:17 +0000 (05:05 +0000)]
r5095: uint32 -> uint32_t

%include misc.i to get definition of struct policy_handle

Remove #includes we aren't using just now.
(This used to be commit e561bc3efa2a5307a3940a32058ca00d5dfc2fc5)

16 years agor5094: Use builtin swig types for converting between fixed width integer types.
Tim Potter [Sat, 29 Jan 2005 05:04:23 +0000 (05:04 +0000)]
r5094: Use builtin swig types for converting between fixed width integer types.
(This used to be commit f2a1b237bcc824bd3e84da69f472ffb3c9055d00)

16 years agor5093: Make debugs less confusing when a 0 NTTIME is printed.
Andrew Bartlett [Sat, 29 Jan 2005 04:11:04 +0000 (04:11 +0000)]
r5093: Make debugs less confusing when a 0 NTTIME is printed.

Andrew Bartlett
(This used to be commit 9493c47b1833a4a7781303f8139f1636f86bf126)

16 years agor5092: Add a bit more const - moving it further into the LDB layer.
Andrew Bartlett [Sat, 29 Jan 2005 04:04:38 +0000 (04:04 +0000)]
r5092: Add a bit more const - moving it further into the LDB layer.

Andrew Bartlett
(This used to be commit ffad9b22be595279b247fa72d51145830fecbb06)

16 years agor5091: The Kerberos secrets are queried by realm
Andrew Bartlett [Sat, 29 Jan 2005 04:03:12 +0000 (04:03 +0000)]
r5091: The Kerberos secrets are queried by realm

Andrew Bartlett
(This used to be commit 8f38b5ae229984c9f9b0d7721d04da6a45c16f13)

16 years agor5090: Fix up the IDL for LogonGetDomainInfo in NETLOGON.
Andrew Bartlett [Sat, 29 Jan 2005 04:02:13 +0000 (04:02 +0000)]
r5090: Fix up the IDL for LogonGetDomainInfo in NETLOGON.

Andrew Bartlett
(This used to be commit e5afc3609382a7b534c9d845e809d135a0d4eb3a)

16 years agor5089: Fix indentation.
Andrew Bartlett [Sat, 29 Jan 2005 04:01:23 +0000 (04:01 +0000)]
r5089: Fix indentation.
(This used to be commit 2e31694f9e133ffee793de52b78a813b441acbc2)

16 years agor5088: Push some of the heimdal tests into a 'if we didn't have krb5-config' block.
Andrew Bartlett [Sat, 29 Jan 2005 04:00:29 +0000 (04:00 +0000)]
r5088: Push some of the heimdal tests into a 'if we didn't have krb5-config' block.

This lets krb5-config handle this without us stuffing things up.
Add back the test tridge removed

Andrew Bartlett
(This used to be commit 2206b0e8ca4b9d0be137bd6676e252c3b66faf81)

16 years agor5087: Add --swig to pidl flags so that swig .i files are generated with
Tim Potter [Sat, 29 Jan 2005 04:00:14 +0000 (04:00 +0000)]
r5087: Add --swig to pidl flags so that swig .i files are generated with
make idl.
(This used to be commit 7ba9f329aa8baa8e8c0efe742ad51eb5b3487cbc)

16 years agor5086: Fix list of binaries to install:
Andrew Bartlett [Sat, 29 Jan 2005 03:58:44 +0000 (03:58 +0000)]
r5086: Fix list of binaries to install:

 - nmblookup and net are generic, not torture programs.
 - Add ntlm_auth

Andrew Bartlett
(This used to be commit a2a49d1be00bdf33f941890399d6cbdf46968d9b)

16 years agor5085: add net and nmblookup to installed binaries
Andrew Tridgell [Sat, 29 Jan 2005 03:44:47 +0000 (03:44 +0000)]
r5085: add net and nmblookup to installed binaries

metze, can you look at automating this when you get time? We really
need a flag in config.mk for "BINARY::" sections for the install
location, something like:

[BINARY::nmblookup]
OBJ_FILES = \
utils/nmblookup.o
INSTALL_IN = bin
(This used to be commit a69c1a91307dc5bd13db94fdbb7cbaba90b074aa)

16 years agor5084: - handle arbitrary data in the NULL record reply type for nbt name queries
Andrew Tridgell [Sat, 29 Jan 2005 03:17:14 +0000 (03:17 +0000)]
r5084: - handle arbitrary data in the NULL record reply type for nbt name queries

- fixed unaligned pulls at the end of the packet in the ndr lib
(This used to be commit 61c43509f7a538541d87bd505ca241e08a50f605)

16 years agor5083: removed the libcrypto test that is forcing the pull in of the MIT krb5 libs...
Andrew Tridgell [Sat, 29 Jan 2005 03:12:00 +0000 (03:12 +0000)]
r5083: removed the libcrypto test that is forcing the pull in of the MIT krb5 libs when you
have openssl-dev installed
(This used to be commit 27d79059f809b00c122cfde1a7530a06ee57a471)

16 years agor5080: patch from ronnie to make our samr IDL a little more consistent
Andrew Tridgell [Sat, 29 Jan 2005 02:46:37 +0000 (02:46 +0000)]
r5080: patch from ronnie to make our samr IDL a little more consistent
(This used to be commit 7607ddda3f221bd5a68d28c0eae297569fbb58b1)

16 years agor5079: don't look for gss_display_status() in libgssapi_krb5 unless we
Andrew Tridgell [Sat, 29 Jan 2005 02:41:46 +0000 (02:41 +0000)]
r5079: don't look for gss_display_status() in libgssapi_krb5 unless we
haven't already got it from libgssapi. This should fix the problem of
building with heimdal when we have MIT installed
(This used to be commit bfa870262e5f5f803a33268fce04831b0670ab67)

16 years agor5074: Remove dead code.
Tim Potter [Sat, 29 Jan 2005 01:42:09 +0000 (01:42 +0000)]
r5074: Remove dead code.
(This used to be commit 36b46bb05aeffb2ba708e4653c131cecece01984)

16 years agor5073: Call new autogenerator function for swig stuff instead of old one.
Tim Potter [Sat, 29 Jan 2005 01:39:50 +0000 (01:39 +0000)]
r5073: Call new autogenerator function for swig stuff instead of old one.
(This used to be commit a1c98101e4ebdcc4a9504d401a9d34c88c797e6e)

16 years agor5072: oDecrease the amount of autogenerated code (sorry tridge) and use swig's
Tim Potter [Sat, 29 Jan 2005 00:19:23 +0000 (00:19 +0000)]
r5072: oDecrease the amount of autogenerated code (sorry tridge) and use swig's
structure mapping features instead of doing it all ourselves.

This basically works, but has broken all the existing checked in Python
code.

Sample:

pipe = dcerpc.pipe_connect(binding,
        dcerpc.DCERPC_SAMR_UUID, int(dcerpc.DCERPC_SAMR_VERSION),
        domain, username, password)

r = dcerpc.samr_Connect2()
r.data_in.system_name = 'foo'
r.data_in.access_mask = 0x02000000

result = dcerpc.dcerpc_samr_Connect2(pipe, r)
(This used to be commit c2996ad910a24c977b4c0a1925118d36454514f7)

16 years agor5071: Reverted (per tridge request).
Jeremy Allison [Fri, 28 Jan 2005 23:57:03 +0000 (23:57 +0000)]
r5071: Reverted (per tridge request).
Jeremy.
(This used to be commit 554e27023f8222cb0e2791fac924bb5a0dc97ba2)

16 years agor5068: I'm pretty sure an old search request is allowed to return changed case
Jeremy Allison [Fri, 28 Jan 2005 23:16:19 +0000 (23:16 +0000)]
r5068: I'm pretty sure an old search request is allowed to return changed case
versions of filenames. Tridge please check I haven't screwed this up.
Jeremy.
(This used to be commit 40c1e16b5bcdf520db1b514d647a7c7048e13ecc)

16 years agor5054: added a nmblookup tool, based on the new nbt library
Andrew Tridgell [Fri, 28 Jan 2005 11:26:51 +0000 (11:26 +0000)]
r5054: added a nmblookup tool, based on the new nbt library
(This used to be commit 9587cbcb9ea5303b345c31a662e9cd75d7cd705d)

16 years agor5053: - fix up the library dependencies so that tools that need nbt don't
Andrew Tridgell [Fri, 28 Jan 2005 11:25:01 +0000 (11:25 +0000)]
r5053: - fix up the library dependencies so that tools that need nbt don't
  need to pull in the whole dcerpc subsystem

- moved smbencrypt.c code into libcli/auth/
(This used to be commit 3351c636af23ad88649e84f4cb88fc1167d5c654)

16 years agor5052: minor formatting fix
Andrew Tridgell [Fri, 28 Jan 2005 11:23:31 +0000 (11:23 +0000)]
r5052: minor formatting fix
(This used to be commit 4337901c1b38aaaf6cc09641ad51ff28e591b1f4)

16 years agor5051: initialise all elements of an array (thanks to Mike Allan for pointing
Andrew Tridgell [Fri, 28 Jan 2005 09:21:19 +0000 (09:21 +0000)]
r5051: initialise all elements of an array (thanks to Mike Allan for pointing
this out)
(This used to be commit 7bd4ced313592310475b7403b87c7606afb1b7c1)

16 years agor5050: make sure we translate the generic to the specific bits before doing a
Andrew Tridgell [Thu, 27 Jan 2005 23:22:12 +0000 (23:22 +0000)]
r5050: make sure we translate the generic to the specific bits before doing a
pvfs_access_check_unix().

Fixes a problem with the cifsfs filesystem
(This used to be commit 8ebc61a2297176515d767ef0f67ec912293ab905)

16 years agor5049: updated howto.txt with new provisioning instructions
Andrew Tridgell [Thu, 27 Jan 2005 22:36:25 +0000 (22:36 +0000)]
r5049: updated howto.txt with new provisioning instructions
(This used to be commit 82e331db5ffe3f5f96b734d84476119792a1b927)

16 years agor5048: made the provision.pl script much less error prone (you don't need to
Andrew Tridgell [Thu, 27 Jan 2005 22:32:44 +0000 (22:32 +0000)]
r5048: made the provision.pl script much less error prone (you don't need to
rename a bunch of files)
(This used to be commit 9aa5b076962c08cd54050526ecb41b2f613172e8)

16 years agor5047: Fix swig dependencies.
Tim Potter [Thu, 27 Jan 2005 20:50:17 +0000 (20:50 +0000)]
r5047: Fix swig dependencies.
(This used to be commit f9e56d39c943a3edd6a13b6d29fe4e614c32d289)

16 years agor5045: add TODO comment
Stefan Metzmacher [Thu, 27 Jan 2005 11:54:24 +0000 (11:54 +0000)]
r5045: add TODO comment

metze
(This used to be commit cbb6b80f41a7f9689d1ec5ea2d6caba147260089)

16 years agor5044: fix pidl--swig
Stefan Metzmacher [Thu, 27 Jan 2005 11:23:16 +0000 (11:23 +0000)]
r5044: fix pidl--swig

metze
(This used to be commit 030bfd8d7feb16fd6d5117d17913b77b1468a507)

16 years agor5043: this broke more systems than it helped. Remove it and try to work
Andrew Tridgell [Thu, 27 Jan 2005 11:07:23 +0000 (11:07 +0000)]
r5043: this broke more systems than it helped. Remove it and try to work
around broken solaris headers some other way.
(This used to be commit 1333522a6beea8d474aa36390acbd265b63413d3)

16 years agor5042: another attempt to get solaris10 building
Andrew Tridgell [Thu, 27 Jan 2005 10:18:31 +0000 (10:18 +0000)]
r5042: another attempt to get solaris10 building
(This used to be commit 11277ddb4ca8a2917565f4e211816cbba431b90d)

16 years agor5041: add more verbose output for the krb5 libs detection
Stefan Metzmacher [Thu, 27 Jan 2005 09:49:45 +0000 (09:49 +0000)]
r5041: add more verbose output for the krb5 libs detection

metze
(This used to be commit 917a3b214abd2d92ba8df3e72c4e8711fe523e09)

16 years agor5040: attempt to get solaris10 building by defining _XOPEN_SOURCE
Andrew Tridgell [Thu, 27 Jan 2005 09:33:16 +0000 (09:33 +0000)]
r5040: attempt to get solaris10 building by defining _XOPEN_SOURCE
(This used to be commit d9c1bf10608ecc3d6a4aace44fb0dce3547c5f53)

16 years agor5039: fixed eparser not to generate talloc_p()
Andrew Tridgell [Thu, 27 Jan 2005 07:13:31 +0000 (07:13 +0000)]
r5039: fixed eparser not to generate talloc_p()
(This used to be commit dd67a5d833d7e44ff0ec1ba9f5c55c2b1e121b9a)

16 years agor5038: we don't need these defines any more
Andrew Tridgell [Thu, 27 Jan 2005 07:09:42 +0000 (07:09 +0000)]
r5038: we don't need these defines any more
(This used to be commit 03697fc761d5f6a93de34c9eadc8fe2c45fa78ae)

16 years agor5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
Andrew Tridgell [Thu, 27 Jan 2005 07:08:20 +0000 (07:08 +0000)]
r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
large commit. I thought this was worthwhile to get done for
consistency.
(This used to be commit ec32b22ed5ec224f6324f5e069d15e92e38e15c0)

16 years agor5036: changed HYPER_T to the more standard "hyper"
Andrew Tridgell [Thu, 27 Jan 2005 06:33:07 +0000 (06:33 +0000)]
r5036: changed HYPER_T to the more standard "hyper"
(This used to be commit 1d1a9c11ee681540ef8a1029409bb24fc26f976c)

16 years agor5035: fixed composite test to use --num-ops command line option
Andrew Tridgell [Thu, 27 Jan 2005 06:18:20 +0000 (06:18 +0000)]
r5035: fixed composite test to use --num-ops command line option
(This used to be commit f36e4cf6862c9cbcd36563007efa8dc59912d896)

16 years agor5034: - added a type mapping function in pidl, so the type names in our IDL
Andrew Tridgell [Thu, 27 Jan 2005 06:16:59 +0000 (06:16 +0000)]
r5034: - added a type mapping function in pidl, so the type names in our IDL
  files don't need to match the type names in the generated headers

- with this type mapping we no longer need definitions for the
  deprecated "int32", "uint8" etc form of types. We can now force
  everyone to use the standard types int32_t, uint8_t etc.

- fixed all the code that used the deprecated types

- converted the IDL types "int64" and "uint64" to "dlong" and
  "udlong". These are the 4 byte aligned 64 bit integers that
  Microsoft internally define as two 32 bit integers in a
  structure. After discussions with Ronnie Sahlberg we decided that
  calling these "int64" was confusing, as it implied a true 8 byte
  aligned type

- fixed all the cases where we incorrectly used things like
  "NTTIME_hyper" in our C code. The generated API now uses a NTTIME for
  those. The fact that it is hyper-aligned on the wire is not relevant
  to the API, and should remain just a IDL property
(This used to be commit f86521677d7ff16bdc4815f9524e5286026f10f3)

16 years agor5033: Remove --with-eparserdir configure option and eparser_idl make target.
Tim Potter [Thu, 27 Jan 2005 04:41:40 +0000 (04:41 +0000)]
r5033: Remove --with-eparserdir configure option and eparser_idl make target.
This is all done in the lorikeet/ethereal Makefile now.
(This used to be commit 5ec9fad5cfc9c6010550aa1890e9d213030db55d)

16 years agor5032: get rid of the init fns in eparser
Andrew Tridgell [Thu, 27 Jan 2005 04:22:44 +0000 (04:22 +0000)]
r5032: get rid of the init fns in eparser
(This used to be commit dc8c7cb85cf87d5976573ea6e9de43c0c9d5f44a)

16 years agor5027: added the IDL license to the IDL directory
Andrew Tridgell [Thu, 27 Jan 2005 01:44:26 +0000 (01:44 +0000)]
r5027: added the IDL license to the IDL directory
(This used to be commit 765ede8ca6032ac1efdeca417eb62f34fdd7ed24)

16 years agor5026: Don't build the swig stuff by default until it's a bit more stable.
Tim Potter [Thu, 27 Jan 2005 01:06:50 +0000 (01:06 +0000)]
r5026: Don't build the swig stuff by default until it's a bit more stable.
(This used to be commit df35f1debf30682363399ee2a02063da695fff84)

16 years agor5024: Fix build.
Tim Potter [Wed, 26 Jan 2005 22:34:30 +0000 (22:34 +0000)]
r5024: Fix build.
(This used to be commit 425b988541fa669e7f2905fe959522f2d2d50da1)

16 years agor5019: Some tweaks to building the swig .i files.
Tim Potter [Wed, 26 Jan 2005 20:46:58 +0000 (20:46 +0000)]
r5019: Some tweaks to building the swig .i files.
(This used to be commit c252a286efcb9ca2024c8d234c8a65855522fb25)

16 years agor5018: Initialise required subsystems (by hand, generated by substituting
Tim Potter [Wed, 26 Jan 2005 20:43:55 +0000 (20:43 +0000)]
r5018: Initialise required subsystems (by hand, generated by substituting
BINARY for LIBRARY in config.mk).

Cut things down to just the samr pipe for the moment.
(This used to be commit 95d2a58e5b2cfc30304ca390de7073c214850984)

16 years agor5017: Fix bug in output typemap for uint32 (!)
Tim Potter [Wed, 26 Jan 2005 20:41:58 +0000 (20:41 +0000)]
r5017: Fix bug in output typemap for uint32 (!)
(This used to be commit dc845154ca1738f4c3959a1799cbbd6ce65b7d02)

16 years agor5016: Use LIBRARY instead of BINARY for inserting the swig stuff into the
Tim Potter [Wed, 26 Jan 2005 20:40:59 +0000 (20:40 +0000)]
r5016: Use LIBRARY instead of BINARY for inserting the swig stuff into the
build system.  This still generates bogus targets (i.e
bin/swig_dcerpc.so.0.0.1) and the subsystem initialisation needs to be
done by hand but it is less of a hack.
(This used to be commit e9b69d19a84b31966fb6e66e9d8682b0f9b40a47)

16 years agor5011: Do not use KRB5_CONFIG internally as it is used by MIT and Heimdal to find
Günther Deschner [Wed, 26 Jan 2005 13:19:47 +0000 (13:19 +0000)]
r5011: Do not use KRB5_CONFIG internally as it is used by MIT and Heimdal to find
the configfile (/etc/krb5.conf). Kerberos-Tests tend to segfault when
reading the krb5-config binary as configuration-file...
Also allow KRB5CONFIG to be passed over again
(KRB5CONFIG=/my/heimdal/bin/krb5-config ./configure...)

Guenther
(This used to be commit d925606bbf869a526a0189485f4011ac359e3323)

16 years agor5010: Handle weird-ass NTTIME_1sec and NTTIME_hyper types.
Tim Potter [Wed, 26 Jan 2005 07:06:22 +0000 (07:06 +0000)]
r5010: Handle weird-ass NTTIME_1sec and NTTIME_hyper types.
(This used to be commit a38db33713348e8a07d3fc932865b2f649dc962f)

16 years agor5009: Put bitmaps in their own subtree.
Tim Potter [Wed, 26 Jan 2005 06:51:39 +0000 (06:51 +0000)]
r5009: Put bitmaps in their own subtree.
(This used to be commit 8ca1e3aa3b5007f9da3e951e15e0380ae170a1cf)

16 years agor5008: 32-bits is the default bitmap size.
Tim Potter [Wed, 26 Jan 2005 06:29:10 +0000 (06:29 +0000)]
r5008: 32-bits is the default bitmap size.
(This used to be commit 493ba2da6bb93d080ff92c50d920df8c858f3010)

16 years agor5007: Fix bug in regexp where we were eating the strings "in" or "out" from
Tim Potter [Wed, 26 Jan 2005 05:24:13 +0000 (05:24 +0000)]
r5007: Fix bug in regexp where we were eating the strings "in" or "out" from
structure names if they started with those strings.
(This used to be commit e983de6ead6ed23b51c2df70e69586b1e7be5a60)

16 years agor5006: Implement parsing of pidl bitmaps in ethereal parsers. This works
Tim Potter [Wed, 26 Jan 2005 04:50:04 +0000 (04:50 +0000)]
r5006: Implement parsing of pidl bitmaps in ethereal parsers.  This works
well but needs to be stuck in a subtree.
(This used to be commit a34212247b5dfb87d87c1ce12aab1835c88a0651)