summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* r11627: give the caller much more control over the stream to packet process,Andrew Tridgell2005-11-103-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 Potter2005-11-105-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 aTim Potter2005-11-101-0/+1
| | | | crash on i386 but was on ia64.
* r11624: Use enum names instead of magic numbers.Tim Potter2005-11-101-2/+2
|
* r11623: convert the dcerpc socket layer to the generic packet codeAndrew Tridgell2005-11-101-149/+61
|
* r11622: convert the ldap server to the generic packet codeAndrew Tridgell2005-11-102-178/+103
|
* r11621: some minor fixes from comments by metzeAndrew Tridgell2005-11-102-3/+7
|
* r11620: switch the ldap client code over to using the generic packet codeAndrew Tridgell2005-11-104-173/+156
|
* r11619: use the 32 bit length helper in the kdc.Andrew Tridgell2005-11-101-23/+1
|
* r11618: added a generic '32 bit length prefix' full packet helper to the ↵Andrew Tridgell2005-11-102-4/+21
| | | | packet code
* r11616: Replace old crc32 code with one from the FreeBSD tree.Jeremy Allison2005-11-091-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 Metzmacher2005-11-091-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 codeAndrew Tridgell2005-11-091-3/+4
|
* r11608: switched the kdc to use the generic packet send codeAndrew Tridgell2005-11-091-40/+10
|
* r11607: switched the smb server to use the generic packet send codeAndrew Tridgell2005-11-093-51/+13
|
* r11606: use the generic packet send code in libcli/raw/Andrew Tridgell2005-11-091-77/+23
|
* r11605: added handling of the send queue to the generic packet handling codeAndrew Tridgell2005-11-092-0/+65
|
* r11604: converted the kdc code to use the new packet lib. Andrew, I'm not sureAndrew Tridgell2005-11-091-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 codeAndrew Tridgell2005-11-093-101/+36
|
* r11602: added packet_set_serialise() to allow the generic packet layer toAndrew Tridgell2005-11-092-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 us4Stefan Metzmacher2005-11-091-0/+3
| | | | | | abartlet, tridge, lha: is there a better way? metze
* r11600: remove unused codeStefan Metzmacher2005-11-092-1678/+0
| | | | metze
* r11599: remove local (and broken) version of strhaslower() strhasupper()Stefan Metzmacher2005-11-091-24/+0
| | | | metze
* r11598: fixed strhaslower() and strhasupper() to not falsely recogniseAndrew Tridgell2005-11-091-4/+10
| | | | caseless characters as lower/upper
* r11597: revert a commit by mistakeSimo Sorce2005-11-091-0/+12
|
* r11596: switched the libcli/raw/ code over to using the lib/stream/ genericAndrew Tridgell2005-11-096-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 isAndrew Tridgell2005-11-093-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 updatedAndrew Tridgell2005-11-091-0/+2
| | | | ldb_result code coud rely on that)
* r11593: added a data_blob_realloc() functionAndrew Tridgell2005-11-091-0/+12
|
* r11592: fixed a crash bug from the ldb_result changes (res was being used ↵Andrew Tridgell2005-11-091-4/+6
| | | | after being freed)
* r11588: Remove unused (at the moment) variable and quiet compiler warning.Rafal Szczesniak2005-11-091-1/+0
| | | | rafal
* r11586: Further work on ejs interface for libnet. The idea is to split libnetRafal Szczesniak2005-11-082-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 theAndrew Bartlett2005-11-081-2/+32
| | | | | | ticket to be reduced in validity). Andrew Bartlett
* r11568: Debuging aids: Let the administrator know when a key/entry expired,Andrew Bartlett2005-11-081-6/+28
| | | | | | rather than just the fact of the expiry. Andrew Bartlett
* r11567: Ldb API change patch.Simo Sorce2005-11-0839-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'sStefan Metzmacher2005-11-073-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.1Stefan Metzmacher2005-11-071-6/+8
| | | | metze
* r11553: give an error when the lookup failedStefan Metzmacher2005-11-071-7/+19
| | | | metze
* r11552: fix indentStefan Metzmacher2005-11-071-3/+3
| | | | metze
* r11547: - don't do pull replication when pullIntervall is 0Stefan Metzmacher2005-11-073-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 Metzmacher2005-11-071-0/+15
| | | | | | socket_wrapper metze
* r11545: Remove old #define.Andrew Bartlett2005-11-071-8/+0
| | | | Andrew Bartlett
* r11544: Allow delegation in a Samba4 realm.Andrew Bartlett2005-11-071-0/+1
| | | | Andrew Bartlett
* r11543: A major upgrade to our KDC and PAC handling.Andrew Bartlett2005-11-0714-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 handleAndrew Bartlett2005-11-071-0/+1
| | | | | | allowedWorkstations on Krb5. Andrew Bartlett
* r11541: More logical (I think...) delegation semantics.Andrew Bartlett2005-11-071-10/+14
| | | | Andrew Bartlett
* r11540: Some notes to myself on RFC complience.Andrew Bartlett2005-11-071-0/+7
| | | | Andrew Bartlett
* r11539: Fix indentation in templates. Always generate lower-case Jelmer Vernooij2005-11-065-8/+10
| | | | | UUID strings as GUID_from_string seems to have trouble with uppercased ones.
* r11538: More notes on things we need.Andrew Bartlett2005-11-061-0/+3
| | | | Andrew Bartlett
* r11537: Make the authsam_account_ok routine callable by external users (the ↵Andrew Bartlett2005-11-061-19/+21
| | | | | | KDC). Andrew Bartlett