1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

6350 Commits

Author SHA1 Message Date
Jelmer Vernooij
a0e672af9e r9828: Fix path to testdata (tests are always run from source/)
(This used to be commit 76666d401071bf9b67b0402efc1d647f45533259)
2007-10-10 13:36:16 -05:00
Jelmer Vernooij
d991196655 r9827: Convert 'passdb backend' rather then 'passdb backends'
Be a bit more verbose
(This used to be commit fb2fd8da10b281b2064d4cae5d5a0630e8a207da)
2007-10-10 13:36:16 -05:00
Jelmer Vernooij
adf31c5042 r9826: Add some more OOM checks
(This used to be commit 213bcb7e16290da0c26492ced65509a63942d4ce)
2007-10-10 13:36:15 -05:00
Jelmer Vernooij
06db539696 r9825: Correctly handle length argument to substr()
(This used to be commit edf380cb5fa2c168fc05dd54580f024239ef835f)
2007-10-10 13:36:15 -05:00
Derrell Lipman
181fde4729 r9824: r9495@cabra: derrell | 2005-08-31 09:33:55 -0400
add a readme file to indicate what the smbc directory is for
(This used to be commit c1a9ea47a326adf529dbf207a75d23f326887a14)
2007-10-10 13:36:15 -05:00
Jelmer Vernooij
f58a74aaba r9816: Work on testsuite for upgrade
Add 'paths' object to provision code.
(This used to be commit 488d737fb0ebbc2535d0ec17c14f0dc1eaf2a578)
2007-10-10 13:35:04 -05:00
Jelmer Vernooij
40f85ace04 r9813: Conver testsuite for samba3sam module to EJS
(This used to be commit 77f24ed131bf57c30bb500e1d8d387bd4b403ddc)
2007-10-10 13:35:04 -05:00
Jelmer Vernooij
34305d74e1 r9808: Improve code that selects what "passdb backend" to import from.
(This used to be commit 7739d092d5ca99bd44a1612cc783e38a2f09a67f)
2007-10-10 13:35:04 -05:00
Jelmer Vernooij
10ee597a78 r9807: Use talloc in fd_lines_load() and file_lines_load(). The return
value now can be freed using talloc(). I couldn't find the free_lines_list()
function that was supposed to free it before.
(This used to be commit f6f31661d05e392a9f2819c5a0ceff92c1b7656a)
2007-10-10 13:35:03 -05:00
Jelmer Vernooij
81952ea4e8 r9806: Some more test data
(This used to be commit 96a511b6de08385d58998f5ae5f4f569c9b730cf)
2007-10-10 13:35:03 -05:00
Jelmer Vernooij
cf016f972b r9805: Add 'data' property to param EJS object
Write out new smb.conf file. Parameters that have disappeared
between Samba 3 and 4 will optionally be prefixed with 'samba3:'
(This used to be commit 27eefbd9059fe0a3daca15a71da7b4cb88ed22ec)
2007-10-10 13:35:03 -05:00
Jelmer Vernooij
9f4b32996c r9800: Add EJS interface to param. tridge, sorry this overlaps a bit
with your loadparm interface. :-/
(This used to be commit bb0cef581a09a86113f3212c776c011ae73def14)
2007-10-10 13:35:03 -05:00
Jelmer Vernooij
a3a7881d39 r9798: Add generic functions for handling smb.conf files (the parameters don't to be pre-declared). Also doesn't use any globals, so multiple files can be loaded at once.
Currently uses the prefix "param" for all functions and structures; suggestions for better ones are welcome...

Remove old smb.conf-parsing code from libsamba3.
(This used to be commit 414e5f7f6dc38a8fde3b61d524a664f56f9ea592)
2007-10-10 13:35:02 -05:00
Stefan Metzmacher
f3c121eb74 r9797: - let us parse replication packets with linked attributes fine,
- also resolve the 0x1f ('member') attid for nicer debugging

metze
(This used to be commit f6cf38d608d727e2065035604b537e07cb88ded9)
2007-10-10 13:35:02 -05:00
Stefan Metzmacher
172089214e r9795: fix the ndr_pull_string code to handle, some special cases,
where the idl was something like this:

uint32 size;
[size_is(size+1)] wchar_t *string;

we always need a pair of NDR_PULL_NEEDED_BYTES() and ndr_pull_advance(),
with the same size passed in.

metze
(This used to be commit 8eb75bd5ac5869f11f930ec872ec8a46fba9361b)
2007-10-10 13:35:02 -05:00
Andrew Tridgell
89e550ba34 r9794: r11627@blu: tridge | 2005-08-30 22:55:27 +1000
fill in correct error code for zero length and too large IPC reads
(This used to be commit bf6558b8971ccda080d463753ddae977967e7093)
2007-10-10 13:35:02 -05:00
Jelmer Vernooij
6cf1b0c07c r9793: Be more verbose, check for errors in upgrade script.
(This used to be commit b7c09df9e506f8048f69c4bdd1c3351e3b554e18)
2007-10-10 13:35:02 -05:00
Jelmer Vernooij
b674411eb4 r9792: Rename StrCaseCmp -> strcasecmp_m. All these years I was thinking
StrCaseCmp was sys_strcasecmp, while it is in fact strcasecmp_m!
(This used to be commit 200a8f6652cb2de7a8037a7a4c2a204b50aee2b1)
2007-10-10 13:35:01 -05:00
Andrew Tridgell
b75ca9aa2c r9791: r11611@blu: tridge | 2005-08-30 21:48:22 +1000
recognise any case combination of 'localhost' as 127.0.0.1
(This used to be commit 1d8dae5167a1a08b69274fc17e6e010174420ab5)
2007-10-10 13:35:01 -05:00
Jelmer Vernooij
81e130b592 r9789: Patch from Volker that fixes the build on AIX.
(This used to be commit 9a1a7fb60e6531ff74e6817313548f3cee37a990)
2007-10-10 13:35:01 -05:00
Jelmer Vernooij
f9447d2a17 r9786: Move ldb_map into ldb/modules/
Move samba3sam to dsdb/
(This used to be commit eb9d615bcd49328131613f64745760a90553b7f2)
2007-10-10 13:35:01 -05:00
Jelmer Vernooij
391f9aaf05 r9785: Add some testdata
(This used to be commit 721431cff73b06d6e74ca47d25adbf89b900fd5a)
2007-10-10 13:35:00 -05:00
Deryck Hodge
37db11885d r9779: Add a contextmenu function to be used by all window/widget objects.
deryck
(This used to be commit f0c7b43767b713f15d9c50fc744da0a6582618b2)
2007-10-10 13:35:00 -05:00
Andrew Bartlett
24dd21c498 r9778: Test for particular error returns, rather than just OK/not OK.
Andrew Bartlett
(This used to be commit fccbc15555871059e62bf720f115b2307a171667)
2007-10-10 13:35:00 -05:00
Andrew Tridgell
0a5126fd16 r9776: r11609@blu: tridge | 2005-08-30 12:20:11 +1000
make the selftest script a bit less existential
(This used to be commit f8a17063a26487ea22caf0a3651f0ecee5d506df)
2007-10-10 13:35:00 -05:00
Andrew Tridgell
5c6528336c r9775: r11607@blu: tridge | 2005-08-30 12:16:19 +1000
fixed the help message
(This used to be commit 5e3d9708f6592bf35f491f4ae979c20ad99e8358)
2007-10-10 13:35:00 -05:00
Andrew Tridgell
8012fb2cfe r9774: r11605@blu: tridge | 2005-08-30 12:02:19 +1000
make sure we don't walk off the end of the hash array
(This used to be commit 3c32f24e2c6a99ec294fb16e1684cd22b08f2df4)
2007-10-10 13:34:59 -05:00
Andrew Tridgell
cae788d560 r9773: r11599@blu: tridge | 2005-08-30 11:55:57 +1000
optimise this case a bit more. The total speedup using non-indexed
 ldbtest is now around a factor of 80x. The code is ugly as hell, but
 I think this speed is worth it.

 Of course, if we only ever do indexed searches in ldb then this
 doesn't help, but it seems all too common that we get unindexable
 searches, so the optimisation is worthwhile
(This used to be commit 2e14fb893dd9815cdb2488c630131dc549e5c361)
2007-10-10 13:34:59 -05:00
Andrew Bartlett
6f9b901fa0 r9772: Make credentials callbacks more consistant with the abstraction
function interface used in the credentials code.

Fix bug in ntlm_auth, where we would overwrite the PW specified as a
first input.  (Reported and chased by Kai Blin <blin@gmx.net>, bug
#3040)

Andrew Bartlett
(This used to be commit 04af95bd31de39ad6aff349a4838dd77cb300034)
2007-10-10 13:34:59 -05:00
Jelmer Vernooij
c0293aa715 r9771: - Prevent ldb crash when a invalid DN is added
- Don't silently drop records with empty attributes

tridge/simo: Could you please verify this patch is correct?
(This used to be commit 505c9b1d3d39475da141d3b3c156a7e5ba06790c)
2007-10-10 13:34:59 -05:00
Jelmer Vernooij
7be4cf8c1d r9770: Couple other bugfixes
Update TODO-list
(This used to be commit d9541535e3f9e1c058410eeb0a54d60181572f2b)
2007-10-10 13:34:58 -05:00
Andrew Tridgell
3719422441 r9769: r11592@blu: tridge | 2005-08-30 10:40:19 +1000
added a tdb optimisation that speeds up non-indexed ldb by a large
 margin (often 10x or more). I'd be interested in any comments on the
 safety of this optimisation. See the comment in the code for an
 explanation.
(This used to be commit 7f9efaceb6d6dfc0c82923344cc45ec34493f2ed)
2007-10-10 13:34:58 -05:00
Jelmer Vernooij
584f3aeb7e r9768: Arrrgh.. Right this time.
(This used to be commit 8bded3fc926b8eb6285e06fd4b4706b779edb386)
2007-10-10 13:34:58 -05:00
Jelmer Vernooij
2f6fd1d45c r9767: Fix typo
(This used to be commit 0602e8b3e7b5921fa99bfe788fe290f03b3dc7ac)
2007-10-10 13:34:58 -05:00
Jelmer Vernooij
fe1ee4494e r9766: Prevent erroneous OOM message
ldb_dup_val() sets out->data to NULL if in->length == 0
(This used to be commit 7ecb6988e74f4273b2ca3ea76562117e1be54b08)
2007-10-10 13:34:57 -05:00
Deryck Hodge
33f4328c69 r9763: Add the start bar as a widget from the
desktop file.  This is more portable to IE, though
there are still some IE issues hanging around.

deryck
(This used to be commit a70b52bb04689de90ee5ec59109d669175b91c04)
2007-10-10 13:34:57 -05:00
Jelmer Vernooij
ec934124db r9762: Add support for reading good old smbpasswd files
Fix password support
Make base64 decode/encode functions available to EJS
(This used to be commit 1376a1fe44cd6b01709819095a711c14626b1d3e)
2007-10-10 13:34:57 -05:00
Deryck Hodge
721b22f9cd r9761: Move initial widget setup to desktop library. Now, just by including
desktop.js, you get the basic desktop layout.

deryck
(This used to be commit 6acc7ec7c2957e1487ee72f883079e1680dd9896)
2007-10-10 13:34:57 -05:00
Deryck Hodge
c1909be224 r9759: Create some wrappers for QxWidget. This gives us some pre-fabbed
windows, which set size and positioning.

To use:

var myWin = new Window.large("Some Window Title");
var myWin = new Window.standard("Some Window Title");
var myWin = new Window.small("Some Window Title");

You can omit the title if you don't need one.  Also,
var myWin = new Window();  will give you the random
positioning and no predetermined sizing.

deryck
(This used to be commit 92d6bb90a64591b13f4d1bec77ebebcd1198914d)
2007-10-10 13:34:57 -05:00
Jelmer Vernooij
c9ace93ce2 r9756: One-way upgrade from Samba3->Samba4 basically works now
Still need to polish some rough edges
(This used to be commit a8f309aa812533f57a90410722dfb342c8cf3b48)
2007-10-10 13:34:56 -05:00
Jelmer Vernooij
d4f22109ee r9755: Fix crash bug in SWAT login
(This used to be commit 6e3e964fb4529260c2fcb09b41eda1a100e690eb)
2007-10-10 13:34:56 -05:00
Jelmer Vernooij
11f3f0fa6c r9754: Upgrading with the command line utility now works, at least partially (-:
Upgrading using SWAT should work as well now.
(This used to be commit 8baa2ac377315ae8b365f58c2bda0bf3d0c5aec3)
2007-10-10 13:34:56 -05:00
Jelmer Vernooij
615e1c55bf r9751: Remove C version of samba3dump (the EJS version works nicely as well).
Fix a couple of bugs in ldb_map.
(This used to be commit 66df76a63433aea4081eab8b20bf3ba86e0a606d)
2007-10-10 13:34:56 -05:00
Jelmer Vernooij
442d147f6d r9746: Add "staff" as possible alternative to wheel
(should fix standard provisioning on AIX)
(This used to be commit b1d9ef899821376d7883fa126a14c06ed1b16601)
2007-10-10 13:34:56 -05:00
Jelmer Vernooij
0a72d9a5f7 r9744: - [upgrade.js] Start working on smb.conf conversion.
- [ldb_map] Support storing non-mappable data in a fallback LDB
(This used to be commit 435e4c6389b9d9b545beec8036289620ee5883db)
2007-10-10 13:34:55 -05:00
Jelmer Vernooij
0549763600 r9735: More work on generating a valid Samba4 configuration using the
Samba3 data (both console and SWAT)
(This used to be commit d569465dc4def55c27878028f2fc762960f453d8)
2007-10-10 13:34:55 -05:00
Tim Potter
054f206599 r9734: The ethereal parser generator was generating duplicate functions for
fields in structures with the same name as a structure (i.e
security_ace.object and security_ace_object).  I've twiddled the naming
scheme a bit and things are a bit more unique but there is still may be
some naming conflicts in other IDL files.

We are now getting confused over fields with the same name in unions
(e.g security_ace_object_ctr.object) plus some other union weirdness.
(This used to be commit c2ad9f49a204d0075a3b460c5ea2ca9741fc7125)
2007-10-10 13:34:55 -05:00
Andrew Bartlett
4b94118968 r9733: Test conversion from known sids in CrackNames.
Andrew Bartlett
(This used to be commit ad60d4571568d5b3edd98199462812a2f30c36cd)
2007-10-10 13:34:55 -05:00
Andrew Bartlett
efcba52ae5 r9731: Fix typo
(This used to be commit e4492951e56d89a2b805f644d83d4bd4be31a6b0)
2007-10-10 13:34:54 -05:00
Andrew Bartlett
24186a80eb r9728: A *major* update to the credentials system, to incorporate the
Kerberos CCACHE into the system.

This again allows the use of the system ccache when no username is
specified, and brings more code in common between gensec_krb5 and
gensec_gssapi.

It also has a side-effect that may (or may not) be expected: If there
is a ccache, even if it is not used (perhaps the remote server didn't
want kerberos), it will change the default username.

Andrew Bartlett
(This used to be commit 6202267f6ec1446d6bd11d1d37d05a977bc8d315)
2007-10-10 13:34:54 -05:00