Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | r11627: give the caller much more control over the stream to packet process, | Andrew Tridgell | 2005-11-10 | 3 | -14/+66 | |
| | | | | | | | allowing it to specify the initial read size (thus preventing over-reading) and to stop the recv process when needed. This is used by the dcerpc socket code, which relies on not getting packets when it isn't ready for them | |||||
* | r11626: Fix unhandled enum in case statement warnings by noting appropriately | Tim Potter | 2005-11-10 | 5 | -0/+83 | |
| | | | | | | that some values aren't handled. The remaining warnings I think are actual bugs or required functionality that is missing (mostly lack of server side Unix extensions). | |||||
* | r11625: NULL terminate list of strings. For some reason this wasn't causing a | Tim Potter | 2005-11-10 | 1 | -0/+1 | |
| | | | | crash on i386 but was on ia64. | |||||
* | r11624: Use enum names instead of magic numbers. | Tim Potter | 2005-11-10 | 1 | -2/+2 | |
| | ||||||
* | r11623: convert the dcerpc socket layer to the generic packet code | Andrew Tridgell | 2005-11-10 | 1 | -149/+61 | |
| | ||||||
* | r11622: convert the ldap server to the generic packet code | Andrew Tridgell | 2005-11-10 | 2 | -178/+103 | |
| | ||||||
* | r11621: some minor fixes from comments by metze | Andrew Tridgell | 2005-11-10 | 2 | -3/+7 | |
| | ||||||
* | r11620: switch the ldap client code over to using the generic packet code | Andrew Tridgell | 2005-11-10 | 4 | -173/+156 | |
| | ||||||
* | r11619: use the 32 bit length helper in the kdc. | Andrew Tridgell | 2005-11-10 | 1 | -23/+1 | |
| | ||||||
* | r11618: added a generic '32 bit length prefix' full packet helper to the ↵ | Andrew Tridgell | 2005-11-10 | 2 | -4/+21 | |
| | | | | packet code | |||||
* | r11616: Replace old crc32 code with one from the FreeBSD tree. | Jeremy Allison | 2005-11-09 | 1 | -56/+92 | |
| | | | | | | * COPYRIGHT (C) 1986 Gary S. Brown. You may use this program, or * code or tables extracted from it, as desired without restriction. Jeremy. | |||||
* | r11611: don't use unions without a instance name, not all compilers support ↵ | Stefan Metzmacher | 2005-11-09 | 1 | -2/+2 | |
| | | | | | | | | | | | that... fix the build with cc on IRIX 6.5 us4 tridge: we should post this to the appweb maintainers, also with my hex constant fix from a few weeks ago! metze | |||||
* | r11609: fixed handling of one way requests with new send code | Andrew Tridgell | 2005-11-09 | 1 | -3/+4 | |
| | ||||||
* | r11608: switched the kdc to use the generic packet send code | Andrew Tridgell | 2005-11-09 | 1 | -40/+10 | |
| | ||||||
* | r11607: switched the smb server to use the generic packet send code | Andrew Tridgell | 2005-11-09 | 3 | -51/+13 | |
| | ||||||
* | r11606: use the generic packet send code in libcli/raw/ | Andrew Tridgell | 2005-11-09 | 1 | -77/+23 | |
| | ||||||
* | r11605: added handling of the send queue to the generic packet handling code | Andrew Tridgell | 2005-11-09 | 2 | -0/+65 | |
| | ||||||
* | r11604: converted the kdc code to use the new packet lib. Andrew, I'm not sure | Andrew Tridgell | 2005-11-09 | 1 | -78/+67 | |
| | | | | | how to test this, can you have a look and see if it works for you? Is there some hidden switch to kinit to use tcp? | |||||
* | r11603: converted the smb server to use the new generic packet code | Andrew Tridgell | 2005-11-09 | 3 | -101/+36 | |
| | ||||||
* | r11602: added packet_set_serialise() to allow the generic packet layer to | Andrew Tridgell | 2005-11-09 | 2 | -0/+29 | |
| | | | | | handle optional request serialisation (this is something that is commonly needed on stream connections) | |||||
* | r11601: try to fix the build on IRIX 6.5 us4 | Stefan Metzmacher | 2005-11-09 | 1 | -0/+3 | |
| | | | | | | abartlet, tridge, lha: is there a better way? metze | |||||
* | r11600: remove unused code | Stefan Metzmacher | 2005-11-09 | 2 | -1678/+0 | |
| | | | | metze | |||||
* | r11599: remove local (and broken) version of strhaslower() strhasupper() | Stefan Metzmacher | 2005-11-09 | 1 | -24/+0 | |
| | | | | metze | |||||
* | r11598: fixed strhaslower() and strhasupper() to not falsely recognise | Andrew Tridgell | 2005-11-09 | 1 | -4/+10 | |
| | | | | caseless characters as lower/upper | |||||
* | r11597: revert a commit by mistake | Simo Sorce | 2005-11-09 | 1 | -0/+12 | |
| | ||||||
* | r11596: switched the libcli/raw/ code over to using the lib/stream/ generic | Andrew Tridgell | 2005-11-09 | 6 | -109/+55 | |
| | | | | | packet parsing code. This simplifies the logic in the raw client library a fair bit | |||||
* | r11595: added a helper layer to parse streams into individual packets. This is | Andrew Tridgell | 2005-11-09 | 3 | -0/+368 | |
| | | | | | | | | | | | | | something that Andrew Bartlett has been asking for for a while, and when I started having to re-invent this packet parsing code yet again for SMB2 I decided it was time to do it generically you use it by providing a "is this a full packet yet?" helper function to the packet_*() functions, which then handle all the logic of partial packet buffering. This also goes to great lengths to operate efficiently, minimising the number of recv system calls. | |||||
* | r11594: ensure ldb_search() sets *res to NULL on failure (some of the updated | Andrew Tridgell | 2005-11-09 | 1 | -0/+2 | |
| | | | | ldb_result code coud rely on that) | |||||
* | r11593: added a data_blob_realloc() function | Andrew Tridgell | 2005-11-09 | 1 | -0/+12 | |
| | ||||||
* | r11592: fixed a crash bug from the ldb_result changes (res was being used ↵ | Andrew Tridgell | 2005-11-09 | 1 | -4/+6 | |
| | | | | after being freed) | |||||
* | r11588: Remove unused (at the moment) variable and quiet compiler warning. | Rafal Szczesniak | 2005-11-09 | 1 | -1/+0 | |
| | | | | rafal | |||||
* | r11586: Further work on ejs interface for libnet. The idea is to split libnet | Rafal Szczesniak | 2005-11-08 | 2 | -4/+57 | |
| | | | | | | | | | | | | functionalities into groups of subcontexts of net subcontext just the way it's done in net tool. This way we can pass common arguments when creating subcontext. Also, this may allow easier writing net tool completely as a script. At the moment there's a name resolve code segfault to be fixed. rafal | |||||
* | r11572: Add support for accountExpires and password expiry (should cause the | Andrew Bartlett | 2005-11-08 | 1 | -2/+32 | |
| | | | | | | ticket to be reduced in validity). Andrew Bartlett | |||||
* | r11568: Debuging aids: Let the administrator know when a key/entry expired, | Andrew Bartlett | 2005-11-08 | 1 | -6/+28 | |
| | | | | | | rather than just the fact of the expiry. Andrew Bartlett | |||||
* | r11567: Ldb API change patch. | Simo Sorce | 2005-11-08 | 39 | -807/+1212 | |
| | | | | | | | | | | | | | | | This patch changes the way lsb_search is called and the meaning of the returned integer. The last argument of ldb_search is changed from struct ldb_message to struct ldb_result which contains a pointer to a struct ldb_message list and a count of the number of messages. The return is not the count of messages anymore but instead it is an ldb error value. I tryed to keep the patch as tiny as possible bu as you can guess I had to change a good amount of places. I also tried to double check all my changes being sure that the calling functions would still behave as before. But this patch is big enough that I fear some bug may have been introduced anyway even if it passes the test suite. So if you are currently working on any file being touched please give it a deep look and blame me for any error. Simo. | |||||
* | r11555: - change socket_wrapper to support multiple IP's | Stefan Metzmacher | 2005-11-07 | 3 | -61/+277 | |
| | | | | | | | | | | | | | - SOCKET_WRAPPER_DEFAULT_IFACE=X specifies the default interface for 127.0.0.X - we now use multiple interfaces for smbtorture in make test 127.0.0.26-127.0.0.31 - and 127.0.0.1 only for smbd the are more work needed for better support for broacast messages... but this is enough for the winsrepl tests metze | |||||
* | r11554: make us able to run without depending on 127.0.0.1 | Stefan Metzmacher | 2005-11-07 | 1 | -6/+8 | |
| | | | | metze | |||||
* | r11553: give an error when the lookup failed | Stefan Metzmacher | 2005-11-07 | 1 | -7/+19 | |
| | | | | metze | |||||
* | r11552: fix indent | Stefan Metzmacher | 2005-11-07 | 1 | -3/+3 | |
| | | | | metze | |||||
* | r11547: - don't do pull replication when pullIntervall is 0 | Stefan Metzmacher | 2005-11-07 | 3 | -9/+14 | |
| | | | | | | - don't do push replication when pushChangeCount is 0 metze | |||||
* | r11546: add more errno ntstatus mappings, to get more usefull errors from ↵ | Stefan Metzmacher | 2005-11-07 | 1 | -0/+15 | |
| | | | | | | socket_wrapper metze | |||||
* | r11545: Remove old #define. | Andrew Bartlett | 2005-11-07 | 1 | -8/+0 | |
| | | | | Andrew Bartlett | |||||
* | r11544: Allow delegation in a Samba4 realm. | Andrew Bartlett | 2005-11-07 | 1 | -0/+1 | |
| | | | | Andrew Bartlett | |||||
* | r11543: A major upgrade to our KDC and PAC handling. | Andrew Bartlett | 2005-11-07 | 14 | -238/+545 | |
| | | | | | | | | | | | | | | | | We now put the PAC in the AS-REP, so that the client has it in the TGT. We then validate it (and re-sign it) on a TGS-REQ, ie when the client wants a ticket. This should also allow us to interop with windows KDCs. If we get an invalid PAC at the TGS stage, we just drop it. I'm slowly trying to move the application logic out of hdb-ldb.c, and back in with the rest of Samba's auth system, for consistancy. This continues that trend. Andrew Bartlett | |||||
* | r11542: Add the netbios name type. We will need it when we start to handle | Andrew Bartlett | 2005-11-07 | 1 | -0/+1 | |
| | | | | | | allowedWorkstations on Krb5. Andrew Bartlett | |||||
* | r11541: More logical (I think...) delegation semantics. | Andrew Bartlett | 2005-11-07 | 1 | -10/+14 | |
| | | | | Andrew Bartlett | |||||
* | r11540: Some notes to myself on RFC complience. | Andrew Bartlett | 2005-11-07 | 1 | -0/+7 | |
| | | | | Andrew Bartlett | |||||
* | r11539: Fix indentation in templates. Always generate lower-case | Jelmer Vernooij | 2005-11-06 | 5 | -8/+10 | |
| | | | | | UUID strings as GUID_from_string seems to have trouble with uppercased ones. | |||||
* | r11538: More notes on things we need. | Andrew Bartlett | 2005-11-06 | 1 | -0/+3 | |
| | | | | Andrew Bartlett | |||||
* | r11537: Make the authsam_account_ok routine callable by external users (the ↵ | Andrew Bartlett | 2005-11-06 | 1 | -19/+21 | |
| | | | | | | KDC). Andrew Bartlett |