summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r4816: Note that NTTIME is 4-byte aligned which makes the comment about ↵Tim Potter1-1/+1
alignment for NTTIME_hyper make a bit more sense. (This used to be commit 03c1dcb59658e92da6f7643350c06f9efa42f6c4)
2007-10-10r4815: Handle uint8 and uint16 bitmap types.Tim Potter1-3/+10
Break out arguments to proto_register_protocol() so they can be renamed easily. Unfortunately the "pidl_" prefix will have to stick around if/when the old dissectors are removed because the filter and short names clash. (This used to be commit f2ce80e3350337ef795eb32f2478d218c2e382c3)
2007-10-10r4814: cope with perl not being in /usr/bin for idl buildingAndrew Tridgell1-1/+1
(This used to be commit 1fc9448ccb0c2038c128e13535fce83d32f39058)
2007-10-10r4813: this is a temporary solution to a link problem we have on someAndrew Tridgell1-1/+2
platforms. The problem is that some loaders (for example the IRIX 6.5 machine us4 in the build farm) must have libs listed after object files that depend on them on the link line. If you put the libs first then all the symbols in the libs remain unresolved. I think the correct fix for this is to separate xxx_LINK_LIBS out from the current xxx_LINK_FLAGS, and use xxx_LINK_FLAGS followed by xxx_LINK_LIST followed by xxx_LINK_LIBS. I'm hoping metze or jelmer, as our build wizards, might take a look at this when they get time. This interim fix should work fine, but its rather ugly, as it lists the flags and libs twice in each link. (This used to be commit db7d43fbb95748c85316b41ad3dc4eb967ed8a08)
2007-10-10r4812: removed dependence on Data::DumperAndrew Tridgell1-1/+0
if you need Dumper for debugging (and it is damn useful!) then please use the require trick in MyDumper() from pidl so we don't end up depending on it. Too many systems don't have it. (This used to be commit b9f32d2812bde0a4389971487006f9c553b5e3c1)
2007-10-10r4811: now that the event context is at the socket level, the event cleanupAndrew Tridgell2-1/+13
should be there too (This used to be commit 058ae5527e3daeb50eeea9e0ecee858c84e7e17d)
2007-10-10r4810: fixed anonymous connections with smbclient. Thanks to jbm for ↵Andrew Tridgell1-2/+6
pointing this out. (This used to be commit 7da0af98a0e0bc743d3c64be30b37cbc45e00737)
2007-10-10r4806: - add some data to the configuration naming contextStefan Metzmacher2-15/+270
- add some stuff to make w2k3 dc join to get the correct values metze (This used to be commit d1490635622023f5c672eea70260265960ac48b6)
2007-10-10r4804: add more emuns and bitmapsStefan Metzmacher1-9/+26
metze (This used to be commit 3381617a031db1dfb9dc7fc30f13e260f1dc589a)
2007-10-10r4801: remove the two bogus ctype.h includesAndrew Tridgell1-2/+0
(This used to be commit b221c3dbb9a7af88f917562b6f907fd0617eb05f)
2007-10-10r4800: proper fix for the _GNU_SOURCE problem with comparison_fn_tAndrew Tridgell1-11/+1
(This used to be commit 4181b38fac426cfc786e52cdd43fdeddbc26651f)
2007-10-10r4799: comparison_fn_t is under __USE_GNU on GNU systems, therefore, we need ↵Alexander Bokovoy1-0/+5
_GNU_SOURCE defined in the test (This used to be commit b4200a462354cb605eb6af41427027147798de6e)
2007-10-10r4798: When dissecting structures, name the protocol tree after the field name,Tim Potter1-2/+2
not the field type (i.e DACL and SACL instead of dom_sid). (This used to be commit 2c0e77869f9f04a75785990c79e611134643f89e)
2007-10-10r4797: Add the name of what we are pointing to when dissecting pointers.Tim Potter1-3/+3
(This used to be commit 6fc162738f86f8f7df013623e57a21970a8b6f36)
2007-10-10r4796: Get rid of unecessary #includeTim Potter1-0/+2
(This used to be commit 2950dbd87c8ff535277b817268c8a601eee42ba2)
2007-10-10r4795: stronget type checking in composite connect functionAndrew Tridgell1-2/+4
(This used to be commit e16f67c931ba93011d52fdf14312d12a9b09c49a)
2007-10-10r4794: - disabled the ntacl command line utilities until they are rewritten ↵Andrew Tridgell5-852/+23
to use the same acl format as we use in pvfs (and hopefully use common code too) - removed a lot of old cruft from our autoconf tests. This may well break some builds, but then we can fix them properly instead of the "if solaris version 5.1.2" crap This was prompted by someone sending me solaris 10 patches that patched the configure script with if statements for several more versions of solaris to check for and do special stuff. That is just silly. (This used to be commit 1ea59d1146f041e9befbb435e901c6d7d497c52c)
2007-10-10r4793: minor doc updatesAndrew Tridgell1-15/+9
(This used to be commit ad1af519eb1a138e44cc94676f845b8ba65e3371)
2007-10-10r4792: use type safety int the test suite tooAndrew Tridgell1-6/+7
(This used to be commit 4a963e3b7aa38f0f6907bcd8acaaeb8c7982cafa)
2007-10-10r4791: used the new talloc type safety macros to make the "void *private"Andrew Tridgell5-25/+25
pointers in the composite code type safe. This is a bit of an experiement, I'd be interested in comments on whether we should use this more widely. (This used to be commit 0e1da827b380998355f75f4ef4f424802059c278)
2007-10-10r4790: added type checking helper macros in talloc. These take advantage ofAndrew Tridgell4-9/+107
the type names that talloc already keeps around for pointers, and allows the user to type check void* private pointers. It can also be used to implement polymorphism in C, as I'm sure someone would have pointed out to me sooner or later :-) (This used to be commit c283e1a3efac3a92e29a35856e20eb61ef4c221e)
2007-10-10r4787: Clean up gepdump code somewhat.Jelmer Vernooij1-64/+59
(This used to be commit 128e97cef614bc62ff3327aa15cd5eb636e67a58)
2007-10-10r4786: forgot to commit the exclusion for schema checking against our ↵Simo Sorce1-0/+8
control entries (This used to be commit e895fcf4a33aeaf228d8b4b367c4e768506275bb)
2007-10-10r4785: add schema objects to provisionSimo Sorce2-0/+37398
but let schema checking be disabled by default until we can pass all test with it enabled (This used to be commit e2c1ee1dd896c978e9be72fcbe4abce42482b7c9)
2007-10-10r4784: finally make schema module use a single ldbSimo Sorce6-52/+764
add the new test-schema test (This used to be commit 42a20f6fa4073fc5ea1ca6254137a4ef53caee01)
2007-10-10r4783: got rid of another void* in the composite code. This brings us down toAndrew Tridgell5-114/+88
the minimal level I think (one private pointer for the composite function, and one private pointer for the caller) (This used to be commit 0240bf928163e32e7c69be88fe3ed4987dd18778)
2007-10-10r4782: volker quite rightly pointed out that there is too much of aAndrew Tridgell5-130/+131
proliferation of void* in the composite code. This removes two of the void* pointers from the main composite structure. (This used to be commit 5a89a5ed0fa022fb380bf72065904633270f34aa)
2007-10-10r4781: the tolower() in schema.c is a premature optimisation. I suspect theAndrew Tridgell2-13/+8
"distinguishedName" checking in that module is incorrect and should be removed, but meanwhile, lets not make it slow down the compile of every other module. (This used to be commit 6534ce650bef7405e0926c9b75b185943429ed18)
2007-10-10r4780: tolower() requires ctype.hJelmer Vernooij1-0/+4
(This used to be commit e22bfa8ae295db009158292b87fe389afa13717e)
2007-10-10r4779: demonstrate doing 50 parallel loadfile operations, with a callback ↵Andrew Tridgell1-13/+40
for completion (This used to be commit b8c5269482cd7c2611d785bb8831eebae2f905d2)
2007-10-10r4778: I forgot to set the session key for the spnego path. Fixed.Andrew Tridgell1-0/+1
(This used to be commit 870af4e2f2055013424d9dbe2df2c51faa810eec)
2007-10-10r4777: added a smb_composite_sesssetup() async composite function. ThisAndrew Tridgell15-647/+519
encapsulates all the different session setup methods, including the multi-pass spnego code. I have hooked this into all the places that previously used the RAW_SESSSETUP_GENERIC method, and have removed the old RAW_SESSSETUP_GENERIC code from clisession.c and clitree.c. A nice side effect is that these two modules are now very simple again, back to being "raw" session setup handling, which was what was originally intended. I have also used this to replace the session setup code in the smb_composite_connect() code, and used that to build a very simple replacement for smbcli_tree_full_connection(). As a result, smbclient, smbtorture and all our other SMB connection code now goes via these composite async functions. That should give them a good workout! (This used to be commit 080d0518bc7d6fd4bc3ef783e7d4d2e3275d0799)
2007-10-10r4776: Add more debugs to SamSync test.Andrew Bartlett1-25/+64
Andrew Bartlett (This used to be commit 70860779ae4d6be6d592e3635b091f0a5f29df6a)
2007-10-10r4775: use schema_attr_cmp wrapper to check for the special ↵Simo Sorce1-35/+57
dn/distinguishedName case alias (This used to be commit 18cd6cb67404830b8a5d28fa4106dadb275a5222)
2007-10-10r4774: It appears the SensitiveData contains the password history, as theAndrew Bartlett1-1/+12
remaining data. Pity - I was looking for kerberos keys :-) Andrew Bartlett (This used to be commit 37a81aad74b9f7e982469cd36e56e6f9608b9123)
2007-10-10r4773: Handle arrays of scalar types as function arguments.Tim Potter1-24/+61
Add hf for function return value. Rename struct field members to be named after the structure name and element name rather than element name and element type. Remember which structure or function we are processing and use it to generate hf fields according to the naming scheme above. (This used to be commit fd14622d132c3f2dfd837ea7beccd0fc11a6bf3e)
2007-10-10r4772: fixed checking of the conformant size for dom_sid2Andrew Tridgell1-1/+7
(This used to be commit 0d31523aaed7a8995970dc9933a6a9d9b8536ee0)
2007-10-10r4771: Fix some indentation.Tim Potter1-6/+25
(This used to be commit b2a3b0221680fb54b058631846559e6151a7b562)
2007-10-10r4770: Change from processing ndr_*.[ch] files all at once to line-by-line.Tim Potter1-20/+16
I'm hoping this will allow better mapping hf fields to the structures they are present in which isn't possible at the moment. (Line mode allows us to use /foo/ .. /bar/ regexps and to store state during the processing. (This used to be commit 75b6df15f2edfac99fbcd7cefb7b404591a1ecb6)
2007-10-10r4769: added a smb_composite_connect() function that provides a simple asyncAndrew Tridgell6-4/+477
interface to a complete SMB connection setup. Internally it does: - socket connection - session request (if needed) - negprot - session setup - tcon This is the first example of a composite function that builds on other composite components (the socket connection is a composite function, which is used as a building block for this function). I think this will be quite common in composite functions in the future, building up ever more complex composite functions from smaller building blocks, while hiding the details from the caller. There are two things missing from this now. The first is async name resolution routines (wins, bcast, DNS etc), and the second is that this code currently only does a NT1 style session setup. I'll work on adding spnego and old style session setup support next. (This used to be commit 6bc9e17f5c5236f662c7c8f308d03e6d97379b23)
2007-10-10r4768: Until I can prove it, we should not have these elements marked asAndrew Bartlett1-4/+4
size_is() base arrays. Andrew Bartlett (This used to be commit 3d3063b1f65efe3b9eb814f7425afa3278095a68)
2007-10-10r4767: handle the different NBT session request refusals, and map them toAndrew Tridgell1-10/+41
reasonable NT_STATUS values (This used to be commit b193a9cb0c851a4ec55ad9956a815be93eea35e4)
2007-10-10r4766: Add another useful helper function: samdb_msg_set_value()Andrew Bartlett1-0/+15
Andrew Bartlett (This used to be commit a43f7392f791081f227a0e05aeed894885f33232)
2007-10-10r4765: simplify the async socket code to always go via the event handlerAndrew Tridgell1-18/+9
rather than short-circuiting in the unlikely event the OS returns an immediate success on a non-blocking connect (This used to be commit db4380717041485e216f965103f9e803518b45c3)
2007-10-10r4764: Add some more structs to keep the proto.h compile happy.Andrew Bartlett1-0/+2
Andrew Bartlett (This used to be commit e5e4dd0d3499e0c63cddd5669cf2875cee7d4e3f)
2007-10-10r4763: Join Samba4 to itself during the provision process.Andrew Bartlett3-1/+20
Andrew Bartlett (This used to be commit feca96fe5a1612592757f53f7aa4eb5a39fd24ff)
2007-10-10r4762: Store the results of a 'net join' in the LDB.Andrew Bartlett3-42/+255
Like Samba3, the storage of the primary domain password is keyed off the domain name, so we can join multiple domains, and just swap 'workgroup =' around. Andrew Bartlett (This used to be commit 54a231780e028c6433cac296f2fbc64e39632dfd)
2007-10-10r4759: use ldb_attr_cmp() to compare attribute namesSimo Sorce2-34/+53
check required attributes are not deleted on modify operation if the objectclass is deleted then deny the operation if orphan atributes are left behind (This used to be commit 8c11038d67c495f8d5f06cf1fdfe976088864b45)
2007-10-10r4758: - added async support to the session request codeAndrew Tridgell16-191/+152
- added async support to the negprot client code - removed two unused parameters from smbcli_full_connection() code - converted smbclient to use smbcli_full_connection() rather than reinventing everything itself (This used to be commit 71cbe2873473e039b4511511302cb63f1c50bce8)
2007-10-10r4757: added the ability of the clisocket level of libcli to handle asyncAndrew Tridgell8-100/+227
socket connections. This was complicated by a few factors: - it meant moving the event context from clitransport to clisocket, so lots of structures changed - we need to asynchronously handle connection to lists of port numbers, not just one port number. The code internally tries each port in the list in turn, without ever blocking - the man page on how connect() is supposed to work asynchronously doesn't work in practice (now why doesn't this surprise me?). The getsockopt() for SOL_ERROR is supposed to retrieve the error, but in fact the next (unrelated) connect() call on the same socket also gets an error, though not the right error. To work around this I need to tear down the whole socket between each attempted port. I hate posix. Note that clisocket.c still does a blocking name resolution call in smbcli_sock_connect_byname(). That will be fixed when we add the async NBT resolution code. Also note that I arranged things so that every SMB connection is now async internally, so using plain smbclient or smbtorture tests all the async features of this new code. (This used to be commit 468f8ebbfdbdf37c757fdc4863626aa9946a8870)