1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

5191 Commits

Author SHA1 Message Date
Simo Sorce
1702f52498 r7936: new ldb_dn_explode and ldb_dn_casefold functions and co
(This used to be commit 7ccf21ab4e)
2007-10-10 13:18:52 -05:00
Andrew Bartlett
14b0722edf r7935: auth_unix now uses crypt(), so depend on -lcrypt.
This builds on the work tridge did to make -lcrypt conditional, rather
than globally linked.  This was needed for Heimdal stuff, but then I
'fixed' heimdal, and we now reintroduce it here.

Andrew Bartlett
(This used to be commit 83d9d8f482)
2007-10-10 13:18:52 -05:00
Simo Sorce
b30d59c3bf r7934: ported samba3 pass_check functions to auth_unix.c
not having these platforms they are untested,
let's hope the buildfarm can catch any problem
(This used to be commit 08ec299dcb)
2007-10-10 13:18:52 -05:00
Andrew Tridgell
d634966f20 r7933: darn, forgot to add this
(This used to be commit 773f7afb7a)
2007-10-10 13:18:52 -05:00
Stefan Metzmacher
a6853cf5c6 r7932: don't use the nbt called name as server name, for dcerpc_server_name()
in the ncacn_np trnaport

it's now supported to use the ip address in smbtorture for ncacn_np tests
that use dcerpc_server_name(),

and we can now pass the dns host name in the tree connect when we have the dns name
on the smbtorture command line

metze
(This used to be commit e29edbc7e6)
2007-10-10 13:18:52 -05:00
Andrew Tridgell
173909efd5 r7931: fixed a bug in the cifs backend found with the new test code
(This used to be commit 447d5fcc1b)
2007-10-10 13:18:52 -05:00
Andrew Tridgell
6afb06d8e1 r7930: - added testing of the cifs passthru backend
- removed redundent $ADDARG code in selftest
(This used to be commit e431d0e952)
2007-10-10 13:18:51 -05:00
Andrew Tridgell
bd23956fa5 r7929: yet another attempt at fixing installswat on freebsd 5
nodie assures me this works now ...
(This used to be commit 3c17207487)
2007-10-10 13:18:51 -05:00
Tim Potter
c36e1ae46c r7928: Add rename, unlink and list commands.
list() returns a list of strings, but maybe it should be a list of
objects with size, attrib, short name etc.
(This used to be commit 696aa182d5)
2007-10-10 13:18:51 -05:00
Andrew Tridgell
382fc485b2 r7927: fixed an error on partial socket writes in the rpc server
(This used to be commit 3c7b5de672)
2007-10-10 13:18:51 -05:00
Andrew Tridgell
6a7119fc83 r7926: poptGetNextOpt() returns int, not char
this was breaking ldbadd on some platforms
(This used to be commit dd0ac3f68d)
2007-10-10 13:18:51 -05:00
Andrew Tridgell
e83fb4fa1b r7925: small tidyup (please keep lines at a reasonable length)
(This used to be commit 0bfd91c32a)
2007-10-10 13:18:51 -05:00
Tim Potter
ae73a40ad4 r7924: Add mkdir() and rmdir() functions.
Write a macro to check tree handle parameters.
(This used to be commit 043feb131f)
2007-10-10 13:18:51 -05:00
Andrew Tridgell
25f8fac091 r7923: removed dependence on Data::Dumper
please use util::MyDumper() rather than adding this back in
(This used to be commit 155da538f9)
2007-10-10 13:18:50 -05:00
Tim Potter
864de2a4ab r7922: Comment out complicated connect/session/tree API for the moment. Replace
with tree_connect() and tree_disconnect() functions.
(This used to be commit 9ed763f7fa)
2007-10-10 13:18:50 -05:00
Andrew Tridgell
122bb5642c r7921: fixed newuser script (letting samldb module allocate the sid)
(This used to be commit 45d08e94d2)
2007-10-10 13:18:50 -05:00
Andrew Tridgell
0add9cb6fc r7920: another attempt at making installswat.sh portable
(This used to be commit 46416ebd9d)
2007-10-10 13:18:50 -05:00
Andrew Tridgell
de85d70a4a r7919: use more portable shell syntax for MALLOC_CHECK_
(This used to be commit 694882ffa6)
2007-10-10 13:18:50 -05:00
Andrew Tridgell
3214f2e212 r7918: fixed a crash bug in the ldap server
(This used to be commit 44ded17bc2)
2007-10-10 13:18:50 -05:00
Andrew Tridgell
40f1ddfded r7917: macosx doesn't have a group called 'users'
(This used to be commit 2b39736c35)
2007-10-10 13:18:50 -05:00
Andrew Tridgell
2a90c448bd r7916: - got rid of the in_client global
- make not finding smb.conf a level 1 message, not level 0. Most of our
  tools handle no smb.conf, and those that don't should check for the
  specific parameters they need, or use the defaults
(This used to be commit 8c17b61f8e)
2007-10-10 13:18:49 -05:00
Andrew Tridgell
244882311b r7915: report the number of failed tests so far when running 'make test' interactively
(This used to be commit 56aff58e93)
2007-10-10 13:18:49 -05:00
Andrew Tridgell
71f057adb7 r7914: - we don't need to override the database locations in selftest any more
- make sure we create the tls directory
(This used to be commit 0b1323f086)
2007-10-10 13:18:49 -05:00
Andrew Tridgell
eb11eeb5db r7913: prevent recursion in the socket wrapper code
(This used to be commit c1a0c2042d)
2007-10-10 13:18:49 -05:00
Andrew Tridgell
8c53aba485 r7912: make private_path() recognise a non-relative filename, so we can have
sam database = sam.ldb

and it will know to put it in the private dir, but if you use

  sam database = ldap://server

it knows to use it as-is
(This used to be commit c5bccbc366)
2007-10-10 13:18:48 -05:00
Andrew Tridgell
b3e493470f r7911: task_terminate() is defined in the macosx headers, so change the name
to task_server_terminate()
(This used to be commit a7447e25ac)
2007-10-10 13:18:48 -05:00
Andrew Tridgell
fbb0ecd418 r7910: fixed typo in _SAMBA_BUILD_ macro
(This used to be commit d2e9e95ea2)
2007-10-10 13:18:48 -05:00
Andrew Tridgell
2ea96684bc r7909: don't consider not finding a list of network interfaces from the kernel a fatal error,
the individual services that need at least one known interface check for it anyway

this should fix provisioning on macosx
(This used to be commit 5ad0dc97d0)
2007-10-10 13:18:48 -05:00
Andrew Tridgell
2f454d2905 r7907: the old solaris perl doesn't handle mkdir() without a mode
(This used to be commit 54d698c488)
2007-10-10 13:18:48 -05:00
Andrew Tridgell
033def25af r7906: some portability fixes for ldap testing on solaris (solaris grep doesn't handle ^)
(This used to be commit b196502ffb)
2007-10-10 13:18:48 -05:00
Andrew Tridgell
f0b6563e33 r7905: this should fix installswat on FreeBSD. Thanks to nodie for testing this for me
(This used to be commit 858ed1c463)
2007-10-10 13:18:47 -05:00
Andrew Tridgell
5e3ce33188 r7901: check if system supports UTF-16LE at all in LOCAL-ICONV test
(This used to be commit aa9e7cf63a)
2007-10-10 13:18:47 -05:00
Andrew Tridgell
3284fe8571 r7900: the existing ltdb indexing code does in fact cope with binary fields, so re-enable
indexing on objectSid
(This used to be commit 5781c83ba4)
2007-10-10 13:18:47 -05:00
Andrew Tridgell
b28e927466 r7899: fixed a crash bug in the RAW-CONTEXT test
(This used to be commit 470ad9a93f)
2007-10-10 13:18:47 -05:00
Andrew Tridgell
7ea949e7ab r7898: don't die on bad iconv libs in LOCAL-ICONV test
(This used to be commit fe7055df94)
2007-10-10 13:18:47 -05:00
Derrell Lipman
1603fd9466 r7897: work in progress
(This used to be commit 8e1431efcf)
2007-10-10 13:18:47 -05:00
Andrew Tridgell
1af480a32d r7896: don't output null rules for blank targets (caued make failure on irix)
(This used to be commit 8b299e1518)
2007-10-10 13:18:47 -05:00
Andrew Tridgell
3699e58f1f r7895: hopefully this will fix the popt build on solaris
(This used to be commit 8f0b4ece48)
2007-10-10 13:18:46 -05:00
Andrew Tridgell
8b7c772ab2 r7894: remove portability experiments until its working in the smb-build test project
(this change broke irix)
(This used to be commit ac807d0aef)
2007-10-10 13:18:46 -05:00
Jelmer Vernooij
a80e0cb4c2 r7891: Improve output of unused macro find script
Remove duplicate find-missing-doc script (already in samba-docs repository)
(This used to be commit aa5ade4342)
2007-10-10 13:18:46 -05:00
Stefan Metzmacher
5ad76adc63 r7875: try to see if this is portable
metze
(This used to be commit a3439d9365)
2007-10-10 13:18:46 -05:00
Andrew Tridgell
172b62c342 r7874: reverted metzes patch svn 7837 as it is not portable to make on
several platforms (such as FreeBSD)
(This used to be commit 8cdebf5ce3)
2007-10-10 13:18:46 -05:00
Andrew Tridgell
49736de46a r7873: hopefully fixed build of ldb_explode_dn() on AIX
I'd really rather see this code completely replaced, but I'll leave
that to simo (he has volunteered) :-)
(This used to be commit cc2e08d68e)
2007-10-10 13:18:46 -05:00
Andrew Tridgell
f04545f5d2 r7872: another place we were relying on the old behaviour of value()
(This used to be commit 25a64f8946)
2007-10-10 13:18:46 -05:00
Andrew Tridgell
9078eff919 r7871: setup spoolss, wins and hklm dbs correctly in selftest
(This used to be commit 59a0fe2c04)
2007-10-10 13:18:45 -05:00
Andrew Tridgell
7fc49243f3 r7870: fixed the RPC-SCHANNEL test. It turned out it was my const changes, as
they slightly changed the semantics of value() in pidl, which broke
a optimisation hack in some of our IDL files.

I've changed the idl files to remove the hack for now. Sometime we
need to find a better way to handle these :-)
(This used to be commit 765f75ea63)
2007-10-10 13:18:45 -05:00
Andrew Tridgell
4cb6899428 r7869: revert the configure changes from jelmers commit for heimdal_build
(they are needed when you use the in-tree heimdal)
(This used to be commit 53b2cdcda5)
2007-10-10 13:18:45 -05:00
Andrew Tridgell
b818ff3ede r7868: canonicalise the message before using ldb_add() in the ldbadd utility.
(This used to be commit 56f4af5f21)
2007-10-10 13:18:45 -05:00
Andrew Tridgell
a6e921fc81 r7867: a couple of bug fixes for newuser.pl from kukks
I'm looking forward to deleting this file when we can add users using
the web intgerface (and maybe ejs scripts for the command line)
(This used to be commit 836e5782fd)
2007-10-10 13:18:45 -05:00
Jelmer Vernooij
d5888fbb60 r7866: Remove some unused autoconf macro calls.
Some of these should probably be re-added again later when
we need them. They should then be added to the appropriate config.m4 file
in the source tree rather then in rewrite.m4.
(This used to be commit 4eca613470)
2007-10-10 13:18:45 -05:00
Andrew Tridgell
152a6a00c3 r7865: changed pidl to take a "const void *" instead of a "void *" for the
structure in ndr_push_*() and ndr_print_*(). The push and print
functions really should not modify the structure.

metze, to make this work I had to change your spoolss hand
marshaller. Can you please check it is OK? I think that the IN and OUT
sides of that function are not ever called on the same structure, so I
think that attempt at remembering the value by assigning to
r->in._offered was not doing anything anyway, but please correct me if
I have misunderstood it.

If you really do need to remember something on those structures I'd
suggest the ndr_token_store() and ndr_token_retrieve() functions,
which are used by pidl for just this sort of thing.
(This used to be commit eee528be97)
2007-10-10 13:18:44 -05:00
Andrew Tridgell
d60b11c1f0 r7864: fixed some const bugs
(This used to be commit 616f54015f)
2007-10-10 13:18:44 -05:00
Andrew Tridgell
37e3d02621 r7863: removed an unused variable
(This used to be commit 9ee3dbad6b)
2007-10-10 13:18:44 -05:00
Andrew Bartlett
8bbb77d88a r7862: Updates to the Kerberos notes, based on recent changes and discoveries.
Andrew Bartlett
(This used to be commit 7d791d13bc)
2007-10-10 13:18:44 -05:00
Jelmer Vernooij
9e99838d5c r7861: Nicer output, remove some false warnings.
(This used to be commit f5587fe567)
2007-10-10 13:18:44 -05:00
Andrew Tridgell
bdee131f30 r7860: switch our ldb storage format to use a NDR encoded objectSid. This is
quite a large change as we had lots of code that assumed that
objectSid was a string in S- format.

metze and simo tried to convince me to use NDR format months ago, but
I didn't listen, so its fair that I have the pain of fixing all the
code now :-)

This builds on the ldb_register_samba_handlers() and ldif handlers
code I did earlier this week. There are still three parts of this
conversion I have not finished:

 - the ltdb index records need to use the string form of the objectSid
   (to keep the DNs sane). Until that it done I have disabled indexing on
   objectSid, which is a big performance hit, but allows us to pass
   all our tests while I rejig the indexing system to use a externally
   supplied conversion function

 - I haven't yet put in place the code that allows client to use the
   "S-xxx-yyy" form for objectSid in ldap search expressions. w2k3
   supports this, presumably by looking for the "S-" prefix to
   determine what type of objectSid form is being used by the client. I
   have been working on ways to handle this, but am not happy with
   them yet so they aren't part of this patch

 - I need to change pidl to generate push functions that take a
   "const void *" instead of a "void*" for the data pointer. That will
   fix the couple of new warnings this code generates.

Luckily it many places the conversion to NDR formatted records
actually simplified the code, as it means we no longer need as many
calls to dom_sid_parse_talloc(). In some places it got more complex,
but not many.
(This used to be commit d40bc2fa8d)
2007-10-10 13:18:44 -05:00
Jelmer Vernooij
3022bfef70 r7859: Merge a few scripts to one script that checks for the following unused
(used in configure.in, but their output is never used) autoconf macros:
- AC_DEFINE
- AC_CHECK_FUNC
- AC_CHECK_FUNCS
- AC_CHECK_HEADER
- AC_CHECK_HEADERS
(This used to be commit 897d7b7d39)
2007-10-10 13:18:43 -05:00
Andrew Tridgell
3e47620776 r7858: removed some unused variables
(This used to be commit 8d43eb5b97)
2007-10-10 13:18:43 -05:00
Andrew Tridgell
f39440e060 r7857: improved the handling of end-of-file on sockets in the smb server
(This used to be commit 6ee98c5f65)
2007-10-10 13:18:43 -05:00
Andrew Tridgell
21d6a163a3 r7856: fixed warning of 'methods' shadowed variable
(This used to be commit c435843c66)
2007-10-10 13:18:43 -05:00
Andrew Tridgell
acd04c9281 r7855: fixed a typo
(This used to be commit a1155651e7)
2007-10-10 13:18:43 -05:00
Andrew Tridgell
63811f0cb8 r7854: only enable wrapping in the ldap server if it was negotiated by gensec
(This used to be commit 355983493b)
2007-10-10 13:18:43 -05:00
Simo Sorce
ce2e35309e r7851: We are case preserving let the DN be returned the same the user put it into.
sss
(This used to be commit 5b41e32024)
2007-10-10 13:18:42 -05:00
Jelmer Vernooij
66a52992ff r7850: Support mkdir() with just one parameter. Patch from
Steven Edwards <steven_ed4153@yahoo.com>.

I've moved the Win32-specific tests to win32.m4 so it does not
make any of the POSIX configure stuff more complicated.
(This used to be commit bf85fdd015)
2007-10-10 13:18:42 -05:00
Stefan Metzmacher
f877a7fdf5 r7845: remove unused files
and remove all generated files with make distclean and make realdistclean

metze
(This used to be commit f964e228c9)
2007-10-10 13:18:42 -05:00
Derrell Lipman
f1a853664c r7844: eliminate superfluous attribute tables
(This used to be commit 863beef35b)
2007-10-10 13:18:42 -05:00
Andrew Bartlett
4432cc73ae r7843: Use the new Heimdal gsskrb_acquire_creds API. This has the right
lifetime constraints, and works with the in-memory keytab.

Move initialize_krb5_error_table() into our kerberos startup code,
rather than in the GSSAPI code explitly.  (Hmm, we probably don't need
this at all..)

Andrew Bartlett
(This used to be commit bedf92da5c)
2007-10-10 13:18:42 -05:00
Stefan Metzmacher
3cb74e995e r7837: use some more 'make' features
(I just commit this to see how portable it is)

I have a patch that remove the need of the recursiv make
and also fixes the HEIMDAL_EXTERNAL stuff cleanly

metze
(This used to be commit 21d930cfc3)
2007-10-10 13:18:42 -05:00
Andrew Tridgell
9f51b5716d r7834: added comment about the "((" search test
(This used to be commit 42c42f6611)
2007-10-10 13:18:41 -05:00
Andrew Tridgell
0eb6bc1257 r7833: changed ldbsearch and ldbedit to have command line syntax closer to
ldapsearch. They look for an '=' in the first argument to see if it is
a search expression, and if not then it does an 'all records' search
(This used to be commit 91cc009fed)
2007-10-10 13:18:41 -05:00
Andrew Tridgell
3b9eabc2f3 r7832: missed one
(This used to be commit 20c84f5c52)
2007-10-10 13:18:41 -05:00
Andrew Tridgell
c97e6081e6 r7831: use cn=TEST as base of test DNs so we don't interfere with potentially real records
(This used to be commit 2a426f654d)
2007-10-10 13:18:41 -05:00
Derrell Lipman
fdc0450db2 r7828: Although there is still plenty to do, ldb_sqlite3 now passes the set of tests
in tests/test-sqlite3.sh (tests/test-generic.sh).

There are lots of optimizations still TBD, and some things are REALLY slow
right now (e.g. each add() operation takes 1/3 - 1/2 second) but it's ready for
interested parties to poke it and prod it and see how (un)reasonable it is.
Play away.

Still to be implemented or improved:
 - tdb specials (@MODULES, @SUBCLASSES, etc.)
 - all DNs are case-folded in their entirty right now (since doing otherwise
   would require @ATTRIBUTES to be implemented)
 - speed improvements and optimizations.  I am quite confident that the
   excessively slow add() operation can be much improved, and other areas
   can be somewhat improved.
(This used to be commit 1dd8650055)
2007-10-10 13:18:41 -05:00
Andrew Bartlett
8a68f96f8c r7827: Add in-memory keytab to Samba4, using the new MEMORY_WILDCARD keytab
support in Heimdal.

This removes the 'ext_keytab' step from my Samba4/WinXP client howto.

In doing this work, I realised that the replay cache in Heimdal is
currently a no-op, so I have removed the calls to it, and therefore
the mutex calls from passdb/secrets.c.

This patch also includes a replacement 'magic' mechanism detection,
that does not issue extra error messages from deep inside the GSSAPI
code.

Andrew Bartlett
(This used to be commit c19d5706f4)
2007-10-10 13:18:41 -05:00
Rafal Szczesniak
cc98a92bb0 r7816: Implementation of "shortcut" function for those (probably many) who
don't like to bother with netbios type names when looking for common
types: hosts (servers) and domain controllers. Also, apropriate tests

rafal
(This used to be commit 50cd94be0f)
2007-10-10 13:18:40 -05:00
Rafal Szczesniak
49417aaed7 r7814: Propagate the change in resolve_name_send function.
(This used to be commit 7abd634701)
2007-10-10 13:18:40 -05:00
Rafal Szczesniak
338bc0f58a r7813: Make async request independent from config file routines.
rafal
(This used to be commit 84315cdf0d)
2007-10-10 13:18:38 -05:00
Andrew Tridgell
bec0058124 r7810: don't give errors when the ldap server sends us reference replies
(This used to be commit f2b2d2626f)
2007-10-10 13:18:38 -05:00
Andrew Tridgell
062e0f8325 r7808: fixed the build of ldb after the binary file support in ldif was added
(This used to be commit 0a8c722c80)
2007-10-10 13:18:38 -05:00
Simo Sorce
7f46f89257 r7806: add test for binary files as attribute values
(This used to be commit 2b2675055e)
2007-10-10 13:18:38 -05:00
Simo Sorce
064d71c9d4 r7805: add support to read binary files into attributes data like ldap tools does
(This used to be commit 38a1439626)
2007-10-10 13:18:37 -05:00
Andrew Tridgell
5be159f304 r7804: added the samba specific ldif handlers into the tree, but don't enable
them just yet. I have tested them, and they work fine, but enabling
them will break code in rpc_server/ and samdb, so we need to fix that
first
(This used to be commit 07d459406b)
2007-10-10 13:18:37 -05:00
Andrew Tridgell
eb0a13025a r7803: added support in ldb for callers to setup ldif read/write functions,
so that ldbedit, ldbsearch etc can display nice human readable ldif,
while storing the data as binary blobs. This will be used for storing
NDR encoded objectSid and similar attributes, while making the command
line interface sane
(This used to be commit 37e283089a)
2007-10-10 13:18:37 -05:00
Tim Potter
f29aa44d57 r7802: Remove a junk file.
(This used to be commit a2d60dd878)
2007-10-10 13:18:37 -05:00
Andrew Tridgell
a7bbc024ed r7801: the ldap server needs this logic too
(This used to be commit 1dbb5bf2c1)
2007-10-10 13:18:37 -05:00
Andrew Tridgell
f0420c0292 r7800: added the same request serialisation logic to our socket based rpc
servers as I added to the smb server yesterday. This means rpc server
code can assume it runs serially unless it explicitly sets the async
flag on the request and returns
(This used to be commit 8546adb56a)
2007-10-10 13:18:37 -05:00
Andrew Tridgell
5e40d0187b r7795: use a share specific allocation rounding
(This used to be commit 9adacb0d16)
2007-10-10 13:18:37 -05:00
Andrew Tridgell
9cc64156c4 r7793: allow integers in smb.conf to be specified in octal or hex
(This used to be commit ce6257b316)
2007-10-10 13:18:36 -05:00
Andrew Tridgell
51b1451cba r7792: make the allocation size rounding in pvfs configurable
(This used to be commit 1f35642bed)
2007-10-10 13:18:36 -05:00
Jelmer Vernooij
331aaa5256 r7790: Allow remembering more configure-level data (and
remember --enable-develop for now).
(This used to be commit f385753a52)
2007-10-10 13:18:36 -05:00
Andrew Tridgell
b7be627e35 r7784: give an error in ldb_tdb for invalid modify flags. The "whenChanged"
bug was being silently ignored with the tdb backend because of this
bug. A case where the ldap backend was right, and the tdb backend was
wrong!
(This used to be commit ddb26db763)
2007-10-10 13:18:36 -05:00
Andrew Tridgell
f0c1c51334 r7783: the whenChanged attribute is now handled by the timestamps module, and
should not be handled here as well. I had to remove it from here as it
was buggy anyway (it wasn't setting the modify flags, this making an
invalid ldb_modify() request)
(This used to be commit f267e9d5b7)
2007-10-10 13:18:36 -05:00
Andrew Tridgell
3dd67b9746 r7782: fixed an ordering problem with smb requests. I found this when I had "sam database"
set to the internal ldap server over loopback. The following happened:

  - DCERPC_AUTH3 request
     - auth requests calls ldb
     - ldb calls ldap
     - ldap calls our internal ldap server, triggering events
  - samrConnect from client
     - connect refused
  - SMBclose from client
     - causes dcerpc_pipe to be destroyed
  - AUTH3 continues
     - dies on freed pipe

I chose this solution as it provides a guarantee that backends only have to think about
async issues when they mark a request async. When they don't, this code guarantees that
a second request won't happen on the same connection while processing the first one
(This used to be commit 45487e8a14)
2007-10-10 13:18:36 -05:00
Andrew Tridgell
a124028b66 r7781: finding the parent of a talloc ptr is trickier than it looks due to the two-way
tree nature of the data structure. I think I've finally got it right

also added talloc_show_parents() for debugging
(This used to be commit 5760ed20ee)
2007-10-10 13:18:36 -05:00
Andrew Tridgell
bb8d0c76b4 r7780: fixed a bug in talloc_find_parent_byname()
(This used to be commit ee3fe42fb1)
2007-10-10 13:18:35 -05:00
Andrew Tridgell
e3eec57b06 r7779: use the parent event context in ldb_wrap_connect(). See the comment in
the previous commit for the method.
(This used to be commit b0ad505510)
2007-10-10 13:18:35 -05:00
Andrew Tridgell
545203d915 r7778: added talloc_find_parent_bytype() and talloc_find_parent_byname()
These provide a way to find a parent of a ptr that is of a given
type. I will be using this to find the event context in smbd, relying
on the fact that everything is a child of the top level event
context. I did look at the alternatives, and found that passing the
event context to just about every call in smbd was getting way too
complex (we need to get it to anything that can do a ldb operation, as
that can invoke ldap).

So this method avoids a global, and seems to work nicely
(This used to be commit bdb55c7a10)
2007-10-10 13:18:35 -05:00
Andrew Tridgell
db6933323c r7777: allow for overriding the location of the sam databasein the ldap server, using
ldapsrv:samdb option. This allows the following:

          sam database=ldap://localhost
          ldapsrv:samdb=tdb:///home/tridge/samba/samba4/prefix/private/sam.ldb

which allows us to test putting the sam on an ldap server using our
own ldap server. This is a great stress test for the ldap code.
(This used to be commit 40948ba384)
2007-10-10 13:18:35 -05:00
Andrew Tridgell
bd7a474b19 r7776: add a method for getting arbitrary opaque data into a ldb context, for use by backends.
Currently only EventContext is used in this way.
(This used to be commit 9fa21b2458)
2007-10-10 13:18:35 -05:00
Andrew Tridgell
6b4f3e17f0 r7775: solaris uses 'lo0' for loopback network, so by using lo* we should cover both
(This used to be commit 1a80ac6aa8)
2007-10-10 13:18:35 -05:00
Andrew Tridgell
48e731000c r7774: put $CONFIGURATION in one more place
(This used to be commit 5e35c7a551)
2007-10-10 13:18:34 -05:00
Andrew Tridgell
30b68a0af2 r7773: fixed the tls code for the non-GNUTLS case
(This used to be commit bc6bc84ef4)
2007-10-10 13:18:34 -05:00
Andrew Tridgell
44e7892131 r7772: actually give the auth options to ldbsearch ....
(This used to be commit 29edfb9382)
2007-10-10 13:18:34 -05:00
Andrew Tridgell
720c8a8831 r7771: - added ldaps and NTLMSSP testing to ldap tests
- added testing of extended search operations
(This used to be commit 2dc511b09c)
2007-10-10 13:18:34 -05:00
Andrew Tridgell
5eccf719fb r7770: added ldaps support to our ldap client library
(This used to be commit 8f5c2e8682)
2007-10-10 13:18:34 -05:00
Andrew Tridgell
64bf731865 r7769: added client support in the tls library api
(This used to be commit 71ee6a1df5)
2007-10-10 13:18:33 -05:00
Andrew Tridgell
7290c4bb27 r7768: use _ALL_OBJS in clean target
(This used to be commit e3e028a362)
2007-10-10 13:18:33 -05:00
Andrew Tridgell
c4e7c6e2da r7767: fixed ldb dependencies
(This used to be commit 97e4ba84fb)
2007-10-10 13:18:33 -05:00
Jelmer Vernooij
18a1d6862f r7766: Treat NOPROTO as boolean.
Don't consider ALL_OBJS as a standard subsystem.
(This used to be commit 6b9a12249f)
2007-10-10 13:18:33 -05:00
Andrew Bartlett
f3661e2062 r7765: Thanks to Maurice Massar <massar@unix-ag.uni-kl.de> for spotting that
I missed one spot in moving from hdb_ent_type to the
internal-to-hdb-ldb hdb_ldb_ent_type, which results in a

Kerberos: Server has invalid flag set -- krbtgt/....@....

on kinit.

Andrew Bartlett
(This used to be commit 2358e0c0e4)
2007-10-10 13:18:33 -05:00
Jelmer Vernooij
1b69bc8996 r7764: Generate _ALL_OBJS list.
(This used to be commit ba41c0806a)
2007-10-10 13:18:33 -05:00
Andrew Tridgell
a40d966ff5 r7763: fixed some circular dependencies
(This used to be commit 3bdf89b0f7)
2007-10-10 13:18:32 -05:00
Jelmer Vernooij
6d1fedd199 r7762: Clean up make help files.
(This used to be commit fa1ab1982c)
2007-10-10 13:18:32 -05:00
Jelmer Vernooij
2a819d0dfc r7761: Don't let phony targets cause a rebuild of the binaries. Thanks
to tridge for the idea on how to do this.
(This used to be commit fc099f2479)
2007-10-10 13:18:32 -05:00
Andrew Tridgell
134a3075dd r7760: make client tools get the right config file in 'make test'
(This used to be commit 13fc167211)
2007-10-10 13:18:32 -05:00
Andrew Tridgell
1601b8e9f9 r7759: allow ldb_errstring() to be used when not connected
(This used to be commit 818ae965af)
2007-10-10 13:18:32 -05:00
Andrew Bartlett
616fbc543c r7758: When not running on the build farm, print out the failed command line again.
Add NTLMv2 varients to the echo and session key tests.

Andrew Bartlett
(This used to be commit 544a38824e)
2007-10-10 13:18:32 -05:00
Andrew Bartlett
e578c33c2c r7757: Add NTLMv2 support to the NT1 Session setup (ie, not SPNEGO/NTLMSSP)
Session Setup code.

Add a mem_ctx argument to a few of the NTLMv2 support functions, and
add smb.conf options to control client NTLMv2 behaviour.

Andrew Bartlett
(This used to be commit 3f35cdb218)
2007-10-10 13:18:32 -05:00
Andrew Bartlett
3e73885ba4 r7756: Don't segfault by trying to search for the NULL DN, if the wrong
password was entered.  We would not use the results of the search in
any case.

Andrew Bartlett
(This used to be commit edeb908aca)
2007-10-10 13:18:31 -05:00
Andrew Tridgell
f021c2da15 r7755: fixed an uninitialised event_ctx found by abartlet
(This used to be commit 1462da3b6d)
2007-10-10 13:18:31 -05:00
Andrew Tridgell
683f3bc96e r7754: fixed the local port of accepted sockets in socket_wrapper. This fixes
the problem with the ldap tests in 'make test'
(This used to be commit 56fe27623c)
2007-10-10 13:18:31 -05:00
Andrew Tridgell
b3e862b2d5 r7753: removed debugging code :-)
(This used to be commit 51ea22db2d)
2007-10-10 13:18:31 -05:00
Andrew Tridgell
7a17da2186 r7751: only enable tls on the ldaps port in ldap server, and reject non-tls
connections on that port
(This used to be commit 30da6a1cc4)
2007-10-10 13:18:31 -05:00
Andrew Tridgell
6720bd94b8 r7750: handle STATUS_MORE_ENTRIES on send in tls
(This used to be commit 135c3367ff)
2007-10-10 13:18:31 -05:00
Andrew Tridgell
7267cb3312 r7749: some bug fixes from testing with socket:testnonblock
- fixed some infinite loops in asn1.c

- ensure asn1 callers know if an error is end of buffer or bad data

- handle npending 0 in ldap server
(This used to be commit f22c3b84c8)
2007-10-10 13:18:30 -05:00
Rafal Szczesniak
7b23cd4588 r7748: Use state structure in connection with io to get returned address.
rafal
(This used to be commit 345a71a08e)
2007-10-10 13:18:30 -05:00
Andrew Tridgell
c7496c6cdb r7747: - simplified the ldap server buffer handling
- got rid of the special cases for sasl buffers

- added a tls_socket_pending() call to determine how much data is waiting on a tls connection

- removed the attempt at async handling of ldap calls. The buffers/sockets are all async, but the calls themselves
  are sync.
(This used to be commit 73cb4aad22)
2007-10-10 13:18:30 -05:00
Andrew Tridgell
68853a1c7b r7746: - added TLS support to our ldap server
- this involved changing the buffer handling in the ldap server quite a
  lot, as it didn't handle partial packets at all

- removed completely bogus asn1_object_length() function. You can't
  do that with BER/DER
(This used to be commit fed6f4cc6c)
2007-10-10 13:18:30 -05:00
Andrew Tridgell
28fd9ea80b r7745: better handling of recv errors in tls library
(This used to be commit 42d8a1a222)
2007-10-10 13:18:30 -05:00
Andrew Tridgell
822498b7f5 r7744: converted the web server to use the lib/tls/ generic tls code
(This used to be commit 023fc567ba)
2007-10-10 13:18:30 -05:00
Andrew Tridgell
e485e80b51 r7743: be consistent in how stdin is supported for ldbadd and ldbmodify
(This used to be commit 3d60b3a8ee)
2007-10-10 13:18:29 -05:00
Andrew Tridgell
225d5a334f r7742: abstracted out the tls code from the web server, so that our other servers
can easily become tls enabled. This will be used to add support for ldaps
(This used to be commit 950500f603)
2007-10-10 13:18:29 -05:00
Andrew Tridgell
aa6b2dcb9b r7741: fixed the verbose option in ldbedit
(This used to be commit a440133140)
2007-10-10 13:18:29 -05:00
Andrew Tridgell
56cc328000 r7740: get rid of our duplicate base64 routines
(This used to be commit cf17f90a83)
2007-10-10 13:18:29 -05:00
Andrew Tridgell
814d5a5011 r7739: fixed an off by one bug in the base64 decoder for ldb ldif
(This used to be commit fe2b77af23)
2007-10-10 13:18:28 -05:00
Rafal Szczesniak
72acf91d44 r7738: It's actually an API function test.
rafal
(This used to be commit ec29a1ffa7)
2007-10-10 13:18:28 -05:00
Rafal Szczesniak
982b3d7412 r7737: Test for libnet_Lookup function.
rafal
(This used to be commit 4655881fac)
2007-10-10 13:18:28 -05:00
Rafal Szczesniak
7a8315bddc r7736: Propagate change in resolve_name function. Let's use default methods
in this case.

rafal
(This used to be commit b0bae584a4)
2007-10-10 13:18:28 -05:00
Rafal Szczesniak
b773ca709a r7735: Extend resolve_name function so that it's possible to pass resolve
methods explicitly or NULL for defaults saved in smb.conf.

rafal
(This used to be commit 121cf5ec3e)
2007-10-10 13:18:28 -05:00
Rafal Szczesniak
f7e3089c37 r7734: A few missing pieces...
rafal
(This used to be commit 15e2a67fe0)
2007-10-10 13:18:28 -05:00
Rafal Szczesniak
52f072865d r7733: New io structure for name lookup function.
rafal
(This used to be commit 12b468417d)
2007-10-10 13:18:27 -05:00
Rafal Szczesniak
204722b868 r7732: Implementation of very basic lookup function (to be used in more
specific routines like resolving a pdc).
Also, couple of formatting fixes.

rafal
(This used to be commit b9deaa995d)
2007-10-10 13:18:27 -05:00
Stefan Metzmacher
d52ce8ff0c r7731: change debug level to not spam the build-farm smbd log
metze
(This used to be commit 3a1ed83fd0)
2007-10-10 13:18:27 -05:00
Jelmer Vernooij
327a9ac650 r7729: Small fixes to the charset stuff.
(This used to be commit 5122b9f608)
2007-10-10 13:18:27 -05:00
Andrew Tridgell
0dde0612b4 r7728: handle 64 bit integers in INTEGER match
(This used to be commit 57132344b4)
2007-10-10 13:18:27 -05:00
Andrew Tridgell
a828bccd39 r7727: we need to mark some attributes as INTEGER, so that the standard searches
that w2k does work. For example, w2k asks for sAMAccountType=805306369 which
will only match if we know its an integer
(This used to be commit 941509ee58)
2007-10-10 13:18:27 -05:00
Andrew Tridgell
bf75ae4155 r7726: - removed some unused variables
- handle ldb_errstring() calls on failed connect
(This used to be commit 8698a20fcc)
2007-10-10 13:18:27 -05:00
Andrew Tridgell
e2bb0d0ba7 r7725: fixed a bug with partial asn1 frames in the ldap client
(This used to be commit 0f22306a9c)
2007-10-10 13:18:26 -05:00
Andrew Tridgell
be19641f30 r7724: added encoding of LDB_OP_NOT search components
(This used to be commit 82b1feeafe)
2007-10-10 13:18:26 -05:00
Andrew Tridgell
2a0a0f2551 r7723: - fix a mismatched asn1 push/pop on bind
- add error checking to ldap_encode()

- fixed the asn1 codes for extended search

- use asn1 context macros
(This used to be commit 25d500b6e5)
2007-10-10 13:18:26 -05:00
Andrew Tridgell
91a79f2b24 r7722: when we get a zero read, the connection is dead
(This used to be commit 0603235304)
2007-10-10 13:18:26 -05:00
Andrew Tridgell
7dcb8c26de r7721: solve a problem with null arguments to testit()
(This used to be commit 73a21737ce)
2007-10-10 13:18:26 -05:00
Andrew Tridgell
b4eee348c4 r7720: - simplify the asn1 decode of ldap_search() a lot, taking advantage of
the fact that the ldap data structures now use ldb_message_element.

- fixed null termination of elements in ildap
(This used to be commit 09060994c1)
2007-10-10 13:18:26 -05:00
Andrew Tridgell
97318cdb45 r7719: make the ildap ldb backend use the defaultNamingContext if the basedn
is not specified, so:

  ldbsearch ldap://hostname '(objectclass=user)'

works without knowing the domain name
(This used to be commit f6c2c51907)
2007-10-10 13:18:26 -05:00
Andrew Tridgell
ca91a8a691 r7717: fixed some typos
(This used to be commit fc8feee560)
2007-10-10 13:18:25 -05:00
Andrew Tridgell
1e99722d02 r7716: a single wrapped ldap blob can contain multiple ldap messages
(This used to be commit de5f265b6c)
2007-10-10 13:18:25 -05:00
Andrew Tridgell
90cf33953d r7715: ensure we don't print null strings in ldap_errstr()
(This used to be commit dc419fc899)
2007-10-10 13:18:25 -05:00
Andrew Tridgell
f40e69da26 r7714: enable samba credentials handling in ldb tools. So you can now do a
encrypted ldbedit against w2k3
(This used to be commit 6277c3923e)
2007-10-10 13:18:25 -05:00
Andrew Tridgell
56b79e945f r7713: fixed error display in ildap_search()
(This used to be commit abc9f4bd89)
2007-10-10 13:18:25 -05:00
Andrew Tridgell
f8b60c8b1a r7712: ldb/common/util.c is gone
(This used to be commit aec0544962)
2007-10-10 13:18:25 -05:00
Andrew Tridgell
74037cbe92 r7711: update callers of ldb_connect() for new syntax
(This used to be commit f852661463)
2007-10-10 13:18:24 -05:00
Andrew Tridgell
f52b42c75f r7710: new command line handling code for ldb
(This used to be commit 5e8db1c9b3)
2007-10-10 13:18:24 -05:00
Andrew Tridgell
ed3d8091ce r7709: - convert ldb to use popt, so that it can interact with the samba
cmdline credentials code (which will be done soon)

- added a ldb_init() call, and changed ldb_connect() to take a ldb
  context. This allows for much better error handling in
  ldb_connect(), and also made the popt conversion easier

- fixed up all the existing backends with the new syntax

- improved error handling in *_connect()

- fixed a crash bug in the new case_fold_required() code

- ensured that ltdb_rename() and all ltdb_search() paths get the read lock

- added a ldb_oom() macro to make it easier to report out of memory
  situations in ldb code
(This used to be commit f648fdf187)
2007-10-10 13:18:24 -05:00
Jelmer Vernooij
d4d6d0d2e5 r7706: Move ParseExpr() to util.
(This used to be commit 72efb69529)
2007-10-10 13:18:24 -05:00
Andrew Tridgell
777b4b0214 r7705: prevent SIGPIPE. this is what causes BASE-NEGNOWAIT to sometimes fail
(This used to be commit 0163d7fe99)
2007-10-10 13:18:24 -05:00
Andrew Tridgell
ee57c76a68 r7704: - fixed open_nbt_connection() to return NULL when the connection failed
- got rid of smbcli_shutdown() and use talloc_free() instead.
(This used to be commit 1011b1bf51)
2007-10-10 13:18:23 -05:00
Jelmer Vernooij
82dfe0b29b r7702: Implement [charset()] attribute.
(This used to be commit 7012e10bb6)
2007-10-10 13:18:23 -05:00
Jelmer Vernooij
cd39847e81 r7695: Add support for the [string] attribute that works in the traditional sense. Not
used anywhere yet.
(This used to be commit a73a35cfc7)
2007-10-10 13:18:23 -05:00
Andrew Bartlett
5b19286df0 r7690: Move the NT hash generation into the credentials system, rather than
in all the callers.  This also allows us to be more flexible in the
type of password we store.

Andrew Bartlett
(This used to be commit 00b8588c68)
2007-10-10 13:18:23 -05:00
Andrew Bartlett
a4bb5ae30c r7689: Add new file from previous commit (seperate file for session key test).
(This used to be commit fbec0ed13b)
2007-10-10 13:18:23 -05:00
Andrew Bartlett
8a6b60e1e4 r7688: Fix the internal heimdal build - push one #define back to
heimdal_build/config.h

Andrew Bartlett
(This used to be commit 337cb20ac4)
2007-10-10 13:18:22 -05:00
Andrew Bartlett
949deaf9e3 r7687: Some more tests that must be done only when krb5_config is absent.
Andrew Bartlett
(This used to be commit 898f72d196)
2007-10-10 13:18:22 -05:00
Andrew Bartlett
88fc8f243f r7686: Check for a type of invalid account name.
Andrew Bartlett
(This used to be commit 7520879bb0)
2007-10-10 13:18:22 -05:00
Andrew Bartlett
9db3f0cd5e r7685: Simply the test for session key logic, so we pass against NT4.
Now, to try and figure out why this logic failed for jra...

Andrew Bartlett
(This used to be commit a32066a9ec)
2007-10-10 13:18:22 -05:00
Andrew Bartlett
b0f5ac8248 r7684: Add a test aimed at checking we have agreement between client and
server as to the CIFS session key.

JRA had pain with this being wrong against NT4 (without spnego), hence
this specific test.

Andrew Bartlett
(This used to be commit 47f433708b)
2007-10-10 13:18:22 -05:00
Andrew Bartlett
dd39c8cedf r7683: The other file from the last commit. And it's include/system/kerberos.h that I'm putting the #defines in...
Andrew Bartlett
(This used to be commit 31f7ec38e6)
2007-10-10 13:18:22 -05:00
Andrew Bartlett
4482cf72d4 r7682: Move the properties of our heimdal build from heimdal_build/config.h
(which gets included by heimdal, or shoudl be) into
auth/kerberos/kerberos.h (which is used by Samba, but not by the
Heimdal code).

Andrew Barteltt
(This used to be commit 3f473a9377)
2007-10-10 13:18:22 -05:00
Andrew Bartlett
d2c2e0d3b7 r7681: This #define is unused.
Andrew Bartlett
(This used to be commit 2a22f413c9)
2007-10-10 13:18:21 -05:00
Andrew Bartlett
363e1143de r7680: Move to using our own private enum for the principal type inside the
hdb-ldb module.  This removes the need for the KRBTGT case to exist in
the broader heimdal code.

Andrew Bartlett
(This used to be commit fb83465dbc)
2007-10-10 13:18:21 -05:00
Stefan Metzmacher
fca7031da9 r7679: update the documentation of security_description_create()
metze
(This used to be commit 6ad7ffab04)
2007-10-10 13:18:21 -05:00
Andrew Tridgell
c04d826182 r7678: fixed typo
(This used to be commit df29f25140)
2007-10-10 13:18:21 -05:00
Andrew Tridgell
fa165a688c r7677: fixed ldap server to honor 'private path'
(This used to be commit f6abed5660)
2007-10-10 13:18:21 -05:00
Andrew Bartlett
8047db6e4b r7676: Make VUID and TID choice random, as this gives us protection against
replay attacks under SMB signing, where the session key is a fixed
derivitive of the user's password.

This removes the VID offset, but I'm not worried about random client
bytes mattering here, given the space (and the fact that it applies to
very, very old clients).

Andrew Bartlett
(This used to be commit eb1d37c5a9)
2007-10-10 13:18:21 -05:00
Andrew Bartlett
b523bde499 r7675: Use correct memory context for anonymous session setup auth context
(no need for it to hang around forever).

Add test for this behaviour.

Andrew Bartlett
(This used to be commit 36dc2491d7)
2007-10-10 13:18:21 -05:00
Andrew Bartlett
b11efd3e50 r7674: Fix the printf() attribute suggestion by correctly prototyping, then
declaring the static function.  The attribute only works on the
prototype, not the function.

Andrew Bartlett
(This used to be commit 4c254754d2)
2007-10-10 13:18:20 -05:00
Andrew Bartlett
876ed022c2 r7673: With current Heimdal we don't need this (correct) fix.
This will however still be useful when we have crypt() based
authentication.

Andrew Bartlett
(This used to be commit 005e2c0cfe)
2007-10-10 13:18:20 -05:00
Andrew Tridgell
416c9068a2 r7672: this should fix the crypt dependency problem (I hope!)
(This used to be commit 3fe00b6114)
2007-10-10 13:18:20 -05:00
Andrew Tridgell
08e23b36cb r7671: added ldap testing to the set of standard tests
(This used to be commit dcdf44024a)
2007-10-10 13:18:20 -05:00
Andrew Tridgell
cf4552761e r7670: fixed rootDSE search in ldap server
(This used to be commit 0981a375cf)
2007-10-10 13:18:20 -05:00
Andrew Tridgell
1f052665f3 r7669: removed ldap from our configure tests
This takes our link dependencies from this:

tridge@blu:~/samba/samba4/source$ ldd bin/ldbsearch
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb7fc9000)
        libldap_r.so.2 => /usr/lib/libldap_r.so.2 (0xb7f92000)
        liblber.so.2 => /usr/local/lib/liblber.so.2 (0xb7f85000)
        libpam.so.0 => /lib/libpam.so.0 (0xb7f7d000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7e48000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7fea000)
        libresolv.so.2 => /lib/tls/libresolv.so.2 (0xb7e36000)
        libcrypt.so.1 => /lib/tls/libcrypt.so.1 (0xb7e09000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7df3000)
        libgnutls.so.11 => /usr/lib/libgnutls.so.11 (0xb7d8c000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7d7d000)
        libtasn1.so.2 => /usr/lib/libtasn1.so.2 (0xb7d6d000)
        libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb7d20000)
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb7d1c000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7d09000)
        libnsl.so.1 => /lib/tls/libnsl.so.1 (0xb7cf5000)

to this:

tridge@blu:~/samba/samba4/source$ ldd bin/ldbsearch
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb7fc9000)
        libpam.so.0 => /lib/libpam.so.0 (0xb7fc0000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7e8b000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7fea000)

this finally gets rid of the implicit dependency on pthreads! Yay!
(This used to be commit 844d2a2083)
2007-10-10 13:18:20 -05:00
Andrew Tridgell
44a04d74cd r7668: - setup HAVE_ILDAP to enable the ildap backend in ldb
- fixed a bug in socket_connect_ev()
(This used to be commit 3f77b879a0)
2007-10-10 13:18:20 -05:00
Andrew Tridgell
03b0f279ed r7667: added a ldb ildap backend, using our internal ldap client library. Next step is to
remove the check for the ldap libraries in configure
(This used to be commit 74841dbb2a)
2007-10-10 13:18:19 -05:00
Andrew Tridgell
52400f0f7d r7666: fixed a memory leak in the ldap ldb backend
(This used to be commit ac3f33c615)
2007-10-10 13:18:19 -05:00
Andrew Tridgell
ab1e121b76 r7665: - added a ildap_*() interface to our internal ldap library. This
interface is very similar to the traditional ldap interface, and will
  be used as part of a ldb backend based on the current ldb_ldap backend

- fixed some allocation issues in ldb_msg.c
(This used to be commit b34a29dcf2)
2007-10-10 13:18:19 -05:00
Andrew Tridgell
2068037ba9 r7661: patch from tburdi1@uic.edu to fix autogen.sh on freebsd
(This used to be commit ffe1b5e6f4)
2007-10-10 13:18:18 -05:00
Andrew Tridgell
11bc3f3589 r7660: improved error handling in socket_connect_ev() (it matters when name
resolution fails)
(This used to be commit 4013c2ddea)
2007-10-10 13:18:18 -05:00
Andrew Tridgell
5c332f6e9d r7659: fixup the ordering of socket destruction for ncacn_ip_tcp so we don't try and
remove an epoll descriptor for a closed fd
(This used to be commit bec5e9f80a)
2007-10-10 13:18:18 -05:00
Andrew Tridgell
3422499a85 r7658: don't timeout at the smb level for rpc requests as otherwise some rpc
level sign/seal mechanisms can break
(This used to be commit 9df569f023)
2007-10-10 13:18:18 -05:00
Andrew Tridgell
07c395a40b r7657: test addone again after request timeout and destruction to ensure the pipe is still OK
(This used to be commit 9f7f70124f)
2007-10-10 13:18:18 -05:00
Andrew Tridgell
dc8961ad42 r7656: added testing of rpc request timeouts and destruction
(This used to be commit eddf41d5e4)
2007-10-10 13:18:18 -05:00