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

3858 Commits

Author SHA1 Message Date
Stefan Metzmacher
00da7414d7 r5445: move FormInfo1 struct to the place where it's used
metze
(This used to be commit 748c456641bfc6717a0aaa9d1da903b041c7de5a)
2007-10-10 13:10:46 -05:00
Jelmer Vernooij
1c3140b336 r5443: Fix HeaderProperties(). Not re-enabling yet because I don't know why it
was disabled in the first place.
(This used to be commit e52256aec27e2aba8893cd2e570874482696b230)
2007-10-10 13:10:46 -05:00
Jelmer Vernooij
06a19b39d1 r5442: Use argument list generator functions from NdrParser in NdrHeader
(This used to be commit e912f36dc827d7ad38994b93967fe48aade27b2b)
2007-10-10 13:10:46 -05:00
Jelmer Vernooij
f42376b725 r5441: Put push, pull and print arguments in hash as well
(This used to be commit a5bf662b52e270d45bba2605f844625cc30c7f89)
2007-10-10 13:10:45 -05:00
Jelmer Vernooij
5772a99832 r5440: Some more generalizations
(This used to be commit cf1208471247e2d734f90008d29827541f177952)
2007-10-10 13:10:45 -05:00
Jelmer Vernooij
8f65c54a81 r5439: (hopefully) fix build on older perls. Thanks to tridge for pointing this out.
(This used to be commit 0a78a1f90887afc695204f67af38138271aab2b8)
2007-10-10 13:10:45 -05:00
Jelmer Vernooij
7c65b81ed4 r5438: Keep new CFLAGS if the compiler accepted them.
(This used to be commit d0a6b973307ba3b740f18214f14682495a607c63)
2007-10-10 13:10:45 -05:00
Jelmer Vernooij
c52fb55903 r5437: Allow Samba4 to be compiled by tcc (www.tinycc.org). It still crashes when linking though.
(This used to be commit 2e1e8db6dc877eb32b51cfc3d9c8f463d14530ec)
2007-10-10 13:10:45 -05:00
Jelmer Vernooij
a2aa220709 r5427: NTSTATUS is treated by pidl as a 'real' scalar now.
(This used to be commit fa97059d000859b3d0192ed4a0135770888aba6f)
2007-10-10 13:10:45 -05:00
Jelmer Vernooij
a2a7869d06 r5426: Warn about embedded ref pointers.
(This used to be commit 40547ed33fea57ee8f68a8f864f8f10c9a6d24dc)
2007-10-10 13:10:45 -05:00
Rafal Szczesniak
308c7d26c1 r5425: Convert function tables to new structure (with description)
and remove unnecessary help functions as help is generated
automatically. Usage functions with precise information about
usage of each leaf node remain.

rafal
(This used to be commit eb66180d14a14cafbfc0df2b39eeaf4ad7bb43a9)
2007-10-10 13:10:44 -05:00
Rafal Szczesniak
a19b2e84f8 r5424: Automatically generate basic help display on basis of name
and description from function table.

rafal
(This used to be commit 24f7a3860e82bf632ebd6b3416e5e874e832be5f)
2007-10-10 13:10:44 -05:00
Rafal Szczesniak
16f64ae6d6 r5423: Change function table structure to allow short description
of command groups. Also give up help function pointer in the
structure since it's needed only in leaf nodes of command tree,
and leaf nodes decide about help on their own. Usage function
is still available on all levels.

rafal
(This used to be commit 48568959a86ee60c188b84078eb3872b8e185b6c)
2007-10-10 13:10:44 -05:00
Jelmer Vernooij
01af8299ec r5422: Fix ethereal parser generator.
(This used to be commit f5224d40c01b495f2607199f0d85a8c9afb056b0)
2007-10-10 13:10:44 -05:00
Andrew Tridgell
12d4b8a951 r5418: - added version numbers to WINS database records in preparation for adding server side
replication support

- on a WACK registration success, check that the database record
  hasn't changed during the WACK processing. If it has, then fail
  the registration
(This used to be commit 2acd79b95931b57efae9f7c239bc08dc143f5225)
2007-10-10 13:10:44 -05:00
Jelmer Vernooij
a0667e11ae r5417: Add wrapper function for typedefs hash rather then using the "our" keyword,
move pointer parsing to seperate function.
(This used to be commit ea872b9a2b9a51ba9f6c2842303d067e9e85d11a)
2007-10-10 13:10:44 -05:00
Andrew Tridgell
97dcee677e r5416: nicer output when trying to replicate with a server that hasn't been setup as
a partner
(This used to be commit b94301b357801767e65e19be5d9464c58ecf621e)
2007-10-10 13:10:44 -05:00
Andrew Tridgell
14bd4b8184 r5415: added a NBT-WINSREPLICATION torture test. It asks the server for the
list of partners, and for each partner dumps the complete list of
names
(This used to be commit dacf5f166a0d5a7bc1d96e730748811c9f47bba6)
2007-10-10 13:10:44 -05:00
Andrew Tridgell
a6878f6c6e r5414: - added libcli/wins/, a basic client library for WINS replication
- added a new IDL type "udlongr", which is like udlong, but with the
  two uint32 halves reversed

- modified the winsrepl.idl to cope with a wider range of packets
(This used to be commit bc8d60c918f2e268d591aac464fc6a78c38a4cf9)
2007-10-10 13:10:43 -05:00
Andrew Tridgell
845f5596c8 r5413: enable standard samba command line options in ndrdump (so -d works)
(This used to be commit 6f9eb74ef8536004d08ffd01ad41622b83526af6)
2007-10-10 13:10:43 -05:00
Andrew Tridgell
8f49e17044 r5412: don't force initial debug level up in ndrdump
(This used to be commit 9536936992795629d19d4004fcad78cec3a3caff)
2007-10-10 13:10:43 -05:00
Andrew Tridgell
4c7c38e930 r5411: make network interface selection a bit saner
- if we have no configured network interfaces, then don't start nbtd (when I add dynamic
  interface loading this will change to a delay until a network interface comes up)

- choose the best interface by netmask for torture tests that need a
  specific IP (such as the WINS test). Added iface_best_ip() for that.

- if specific interfaces are chosen in smb.conf, then keep that ordering, and
  default to the first one listed
(This used to be commit 4d08c114079ef6d1d10a96195046fe43631aefa2)
2007-10-10 13:10:43 -05:00
Jelmer Vernooij
e284054f65 r5410: Automatically determine indenting for the ndr parsers
(just like header.pm already did).
(This used to be commit 90b262398b471acf560a8d05765cab1f25e24b5a)
2007-10-10 13:10:43 -05:00
Stefan Metzmacher
2251186b5b r5409: - add a gtk events plugin
- this is used in our gtk apps
- make the main() functions of the gtk apps look
  more simular (we need to get rid of the globals
  in gregedit!)

metze
(This used to be commit 1051f9b32f4a5c69a1a6928e6849c8ada047032e)
2007-10-10 13:10:43 -05:00
Andrew Tridgell
39713c703d r5408: - added testing for the behaviour of the special 0x1c name
- added WINS server support for the 0x1c name
(This used to be commit 1558a545285ae0432c70e0a3e2b132a5132e7b3b)
2007-10-10 13:10:43 -05:00
Stefan Metzmacher
6d17fc3b3e r5407: - this patch makes samba's event loop code more generic and makes
using other implementations possible. This will be mostly usefull
  for client apps which have there own event loop and want to
  use our client libs

- add a example plugin for liboop (see http://liboop.org)
  NOTE: this just compiles and is completly untested
        and is commited only as example

metze
(This used to be commit b3d0a410efe856e3bcf127f00c31905f5a23cc04)
2007-10-10 13:10:42 -05:00
Andrew Tridgell
d816db1bda r5406: fixed dependencies for the WREPL subsystem
(This used to be commit 00b0ec8a599c9467ba52aebf978dc33648d33136)
2007-10-10 13:10:42 -05:00
Andrew Tridgell
93cd3e9022 r5405: try to use NBT name pointers when a netbios name is repeated in a NBT
packet. This allows much longer names to fit within the limits of NBT
name packets (rfc1002.txt also says this should be done, although
Samba3 never generates them).

The main reason for doing this is it means that our NBT name pointer
decoding code is tested with the smbtorture tests
(This used to be commit 6e2feef125daceb143c44c0c4ab73b010b311792)
2007-10-10 13:10:42 -05:00
Andrew Tridgell
3bbe3fe4ce r5404: allow spaces in the string representation of nbt names
(This used to be commit dd3d4ded21e50130243de3b35927368875620d47)
2007-10-10 13:10:42 -05:00
Andrew Tridgell
82e6a6e46b r5403: a simple WINS benchmarking program
(This used to be commit d0f8b5bc6d64688cf9ad19d203d173ad2735f001)
2007-10-10 13:10:42 -05:00
Andrew Tridgell
b1db7877e2 r5402: a initial attempt at a IDL definition of the WINS replication protocol
on tcp port 42. This is enough to reasonably decode (with ndrdump) all
the packets I have seen on the wire. It will need some fine tuning
once I understand the protocol a bit more.
(This used to be commit 3f90bc132139815c23c7322d3d47268d92ba00ac)
2007-10-10 13:10:42 -05:00
Andrew Tridgell
4d980e56c4 r5401: using talloc_array() is neater here
(This used to be commit b35ee83536e01c000aace2f4764f6727efd63170)
2007-10-10 13:10:42 -05:00
Rafal Szczesniak
530d46f674 r5400: Slightly better handling of help messages in net tool.
rafal
(This used to be commit 5cebb4feedf7d6542c497fe55763d66f51b1c989)
2007-10-10 13:10:41 -05:00
Andrew Tridgell
e428eee91b r5398: fixed encoding of *SMBSERVER name (thanks to Karl Melcher for spotting this)
(This used to be commit 76c49851b921c137c59c45084c5dab95f1c16f58)
2007-10-10 13:09:51 -05:00
Andrew Tridgell
97b2a6f7ed r5397: added testing and server support for the special handling required for the 0x1d local master browser name
in WINS
(This used to be commit 2650b43ca903fb478d2943fa9bbdba8b2bf74966)
2007-10-10 13:09:51 -05:00
Andrew Tridgell
240829d53e r5396: fixed parsing of NBT type 0xc0 compressed name pointers
(This used to be commit 666cc65d10012fa2a413dfa619fbc4599f752728)
2007-10-10 13:09:51 -05:00
Andrew Tridgell
8c76eb2672 r5395: fixed some loadparm memory leaks
(This used to be commit b75f8fe1844c539d8a4e369225bcbe0e6f81e9de)
2007-10-10 13:09:51 -05:00
Stefan Metzmacher
4e43af6c69 r5394: as the timing should be fixed in the server now, don't accept to early replies
anymore, also print out usecs in the debug messages

metze
(This used to be commit 9a657f358e7aa3f96c414de033808de82fdb831a)
2007-10-10 13:09:51 -05:00
Stefan Metzmacher
c29141f10b r5393: trigger timed events not to early, better do it a bit to late
metze
(This used to be commit 67bf637e9a44202061fd71c92142f835ba76da89)
2007-10-10 13:09:50 -05:00
Andrew Tridgell
352de700ca r5392: added "secure" WINS server processing. Send a WACK on name
registrations from anyone who isn't a current owner, then query the
owner addresses to see if they still want it.
(This used to be commit 8dc2a028d3ca0115d3173df435d926d7b6a4d5d5)
2007-10-10 13:09:50 -05:00
Andrew Tridgell
85fd954145 r5391: cope with w2k3 getting the timeout wrong in wack replies
(This used to be commit 75766603e325d515a718b1d1ab0f08160ea1f790)
2007-10-10 13:09:50 -05:00
Andrew Tridgell
205071ddc6 r5390: use __location__ to make tracking down errors in RPC-SAMSYNC easier
(This used to be commit 40a8340f1b0fdb3b86f6330be4e1cec3959e89ee)
2007-10-10 13:09:50 -05:00
Andrew Tridgell
a065adeacb r5389: initialise the WINS ttl max/min values to something sensible
(This used to be commit ee61fab163ed7faccef908d7458a2038fdad0887)
2007-10-10 13:09:50 -05:00
Andrew Tridgell
df6d143e2e r5388: uppercase the server name on ncacn_ip_tcp
(This used to be commit c47eb38593f63ffe68f6bd51b101ea989eb8ee8e)
2007-10-10 13:09:50 -05:00
Andrew Tridgell
ca792c6e36 r5387: - added automatic WINS server record expiry
- added support for group names in registration and query
(This used to be commit 3690a65bef2b2791203c49d68c8268ff03434622)
2007-10-10 13:09:50 -05:00
Andrew Tridgell
bd00b5bd20 r5386: added testing of registration of group names
(This used to be commit 8afe4bd59916f9cc6b8eacd4668f93eb3b736839)
2007-10-10 13:09:49 -05:00
Andrew Tridgell
77cb8cd795 r5384: for RPC-NETLOGON to pass we need to set the realm as well as the domain to the target
realm.

A better fix would be to have a dcerpc_server_realm() helper
function. Andrew, maybe you could see how to extract that out of
gensec? Calling lp_realm() in our torture tests is the wrong approach
I think.
(This used to be commit 2b62840920b21fd9584bc5b3bda050c9a23d61a9)
2007-10-10 13:09:49 -05:00
Andrew Tridgell
803ce86db9 r5382: another place where we need to uppercase the called name for port 139 connects
(This used to be commit b13cea5b2b55ce3d4109666cf51af6ffd879d15d)
2007-10-10 13:09:49 -05:00
Rafal Szczesniak
082a568473 r5381: Added net_user.c with net tool interface for managing user accounts.
rafal
(This used to be commit 3005f0408c647fcab65c11de9bf680f7f5831492)
2007-10-10 13:09:49 -05:00
Rafal Szczesniak
1ad9bed79d r5380: Removed extra newline.
rafal
(This used to be commit d8fa9baf24852d87fcffee8bf353604b4507683d)
2007-10-10 13:09:49 -05:00