1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

5111 Commits

Author SHA1 Message Date
Andrew Tridgell
de85d70a4a r7919: use more portable shell syntax for MALLOC_CHECK_
(This used to be commit 694882ffa62ae88e43e78e8e496720575630e523)
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 44ded17bc2501cd8d03fb3a94a3b7c502f5a2128)
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 2b39736c35168b2e6b1ef094de4d83b604ea39f1)
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 8c17b61f8e0f6eefa6a1f853abc06d023627bbbb)
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 56aff58e93cdaa9b9bd90827de8f9ea9cefc6c12)
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 0b1323f086acff331be20ee341966113a288393e)
2007-10-10 13:18:49 -05:00
Andrew Tridgell
eb11eeb5db r7913: prevent recursion in the socket wrapper code
(This used to be commit c1a0c2042d5bfce5781197919482481c007ff1b3)
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 c5bccbc366db144d3e1cb7b21f0e3284d841dd06)
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 a7447e25ac203f0ee09ffdf72df1094eb70e7c0c)
2007-10-10 13:18:48 -05:00
Andrew Tridgell
fbb0ecd418 r7910: fixed typo in _SAMBA_BUILD_ macro
(This used to be commit d2e9e95ea2cab80badc23f0f1d416295f0a4bf9c)
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 5ad0dc97d01e28dbce8bc9d6793db01809ad09b0)
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 54d698c4888ce453926aed6102621d20fe744031)
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 b196502ffbe24c8dcdce17dfcea79cd98e7ad3cb)
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 858ed1c463a0e60f00f94766c43b5bf7add9c5f3)
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 aa9e7cf63a0e5ce7c9b7d121a4df064cd6fae90f)
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 5781c83ba4ef919520e9668a40aafc8f74fe5700)
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 470ad9a93fcbf961d7d89fd96f751ded39660f74)
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 fe7055df94ecc81d6758ee7ff82534451d620d6a)
2007-10-10 13:18:47 -05:00
Derrell Lipman
1603fd9466 r7897: work in progress
(This used to be commit 8e1431efcf0df797bc50ef584c38fce6a03429b3)
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 8b299e1518b6864dc3ca5b86441290047ef6ed14)
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 8f0b4ece48b6bf28891dc89e47ebffa81c431bd7)
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 ac807d0aef3113e29796e2404eabb8165d44a197)
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 aa5ade43427eaa38e0d0a1d3d7880246b7f8152d)
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 a3439d9365c2af471a4669373c1a0b5327e6a01b)
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 8cdebf5ce3b5908bfc0032151f17ba0f0e59e785)
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 cc2e08d68e27aa203ccc26e8d544a86de3399877)
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 25a64f8946274e07ca233751bc745b160ff3e7c1)
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 59a0fe2c0451d1aa947fd74a5fe8c631dc951bf6)
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 765f75ea630b13b1605409ff47a52cc11a1e496b)
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 53b2cdcda56746256b2ede3f0f482e854c700b3f)
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 56f4af5f210da472d41d9bcf6918647181f6ad16)
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 836e5782fda9edef6746adc6453d8a40df2a1765)
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 4eca613470139f6425f454aea016566f9deffa3e)
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 eee528be97fa43ca53bdc5652b4d29a0a2caf563)
2007-10-10 13:18:44 -05:00
Andrew Tridgell
d60b11c1f0 r7864: fixed some const bugs
(This used to be commit 616f54015ff8c7b25fa500cb03d025a9950ed6cf)
2007-10-10 13:18:44 -05:00
Andrew Tridgell
37e3d02621 r7863: removed an unused variable
(This used to be commit 9ee3dbad6b0bc65f4f3ee64a52db765af8016738)
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 7d791d13bcd70288467bf3574d0394d34f973f18)
2007-10-10 13:18:44 -05:00
Jelmer Vernooij
9e99838d5c r7861: Nicer output, remove some false warnings.
(This used to be commit f5587fe5671fb28bcfb7b71acec0748e0e506993)
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 d40bc2fa8ddd43560315688eebdbe98bdd02756c)
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 897d7b7d390815778adea1adf5e73b94f75a3048)
2007-10-10 13:18:43 -05:00
Andrew Tridgell
3e47620776 r7858: removed some unused variables
(This used to be commit 8d43eb5b9790a6b24c792919386cac5c0b8ea7ac)
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 6ee98c5f6505824826955f9d60a7964471fa6c26)
2007-10-10 13:18:43 -05:00
Andrew Tridgell
21d6a163a3 r7856: fixed warning of 'methods' shadowed variable
(This used to be commit c435843c66a5dcc003d157374529c3c5ac733e36)
2007-10-10 13:18:43 -05:00
Andrew Tridgell
acd04c9281 r7855: fixed a typo
(This used to be commit a1155651e722e28496be02b729c950afae5db9a9)
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 355983493bc87b9e812152ef81773dccb23e03d5)
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 5b41e3202456549250e6e5b1c63bd45ea7500fa3)
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 bf85fdd01552f75b745fdf3159a7a87cd6521ed2)
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 f964e228c9ceeb3dc4d0afd1b6b092734e06e372)
2007-10-10 13:18:42 -05:00
Derrell Lipman
f1a853664c r7844: eliminate superfluous attribute tables
(This used to be commit 863beef35b769c5a531819c974754aea2a790921)
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 bedf92da5c81066405c87c9e588842d3ca5ba945)
2007-10-10 13:18:42 -05:00