1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-22 16:23:49 +03:00
Commit Graph

6054 Commits

Author SHA1 Message Date
Jelmer Vernooij
488d737fb0 r9816: Work on testsuite for upgrade
Add 'paths' object to provision code.
2007-10-10 13:35:04 -05:00
Jelmer Vernooij
77f24ed131 r9813: Conver testsuite for samba3sam module to EJS 2007-10-10 13:35:04 -05:00
Jelmer Vernooij
7739d092d5 r9808: Improve code that selects what "passdb backend" to import from. 2007-10-10 13:35:04 -05:00
Jelmer Vernooij
f6f31661d0 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.
2007-10-10 13:35:03 -05:00
Jelmer Vernooij
27eefbd905 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:'
2007-10-10 13:35:03 -05:00
Jelmer Vernooij
bb0cef581a r9800: Add EJS interface to param. tridge, sorry this overlaps a bit
with your loadparm interface. :-/
2007-10-10 13:35:03 -05:00
Jelmer Vernooij
414e5f7f6d 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.
2007-10-10 13:35:02 -05:00
Stefan Metzmacher
f6cf38d608 r9797: - let us parse replication packets with linked attributes fine,
- also resolve the 0x1f ('member') attid for nicer debugging

metze
2007-10-10 13:35:02 -05:00
Stefan Metzmacher
8eb75bd5ac 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
2007-10-10 13:35:02 -05:00
Andrew Tridgell
bf6558b897 r9794: r11627@blu: tridge | 2005-08-30 22:55:27 +1000
fill in correct error code for zero length and too large IPC reads
2007-10-10 13:35:02 -05:00
Jelmer Vernooij
b7c09df9e5 r9793: Be more verbose, check for errors in upgrade script. 2007-10-10 13:35:02 -05:00
Jelmer Vernooij
200a8f6652 r9792: Rename StrCaseCmp -> strcasecmp_m. All these years I was thinking
StrCaseCmp was sys_strcasecmp, while it is in fact strcasecmp_m!
2007-10-10 13:35:01 -05:00
Andrew Tridgell
1d8dae5167 r9791: r11611@blu: tridge | 2005-08-30 21:48:22 +1000
recognise any case combination of 'localhost' as 127.0.0.1
2007-10-10 13:35:01 -05:00
Jelmer Vernooij
9a1a7fb60e r9789: Patch from Volker that fixes the build on AIX. 2007-10-10 13:35:01 -05:00
Jelmer Vernooij
eb9d615bcd r9786: Move ldb_map into ldb/modules/
Move samba3sam to dsdb/
2007-10-10 13:35:01 -05:00
Andrew Bartlett
fccbc15555 r9778: Test for particular error returns, rather than just OK/not OK.
Andrew Bartlett
2007-10-10 13:35:00 -05:00
Andrew Tridgell
f8a17063a2 r9776: r11609@blu: tridge | 2005-08-30 12:20:11 +1000
make the selftest script a bit less existential
2007-10-10 13:35:00 -05:00
Andrew Tridgell
5e3d9708f6 r9775: r11607@blu: tridge | 2005-08-30 12:16:19 +1000
fixed the help message
2007-10-10 13:35:00 -05:00
Andrew Tridgell
3c32f24e2c r9774: r11605@blu: tridge | 2005-08-30 12:02:19 +1000
make sure we don't walk off the end of the hash array
2007-10-10 13:34:59 -05:00
Andrew Tridgell
2e14fb893d 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
2007-10-10 13:34:59 -05:00
Andrew Bartlett
04af95bd31 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
2007-10-10 13:34:59 -05:00
Jelmer Vernooij
505c9b1d3d 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?
2007-10-10 13:34:59 -05:00
Jelmer Vernooij
d9541535e3 r9770: Couple other bugfixes
Update TODO-list
2007-10-10 13:34:58 -05:00
Andrew Tridgell
7f9efaceb6 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.
2007-10-10 13:34:58 -05:00
Jelmer Vernooij
8bded3fc92 r9768: Arrrgh.. Right this time. 2007-10-10 13:34:58 -05:00
Jelmer Vernooij
0602e8b3e7 r9767: Fix typo 2007-10-10 13:34:58 -05:00
Jelmer Vernooij
7ecb6988e7 r9766: Prevent erroneous OOM message
ldb_dup_val() sets out->data to NULL if in->length == 0
2007-10-10 13:34:57 -05:00
Jelmer Vernooij
1376a1fe44 r9762: Add support for reading good old smbpasswd files
Fix password support
Make base64 decode/encode functions available to EJS
2007-10-10 13:34:57 -05:00
Jelmer Vernooij
a8f309aa81 r9756: One-way upgrade from Samba3->Samba4 basically works now
Still need to polish some rough edges
2007-10-10 13:34:56 -05:00
Jelmer Vernooij
6e3e964fb4 r9755: Fix crash bug in SWAT login 2007-10-10 13:34:56 -05:00
Jelmer Vernooij
8baa2ac377 r9754: Upgrading with the command line utility now works, at least partially (-:
Upgrading using SWAT should work as well now.
2007-10-10 13:34:56 -05:00
Jelmer Vernooij
66df76a634 r9751: Remove C version of samba3dump (the EJS version works nicely as well).
Fix a couple of bugs in ldb_map.
2007-10-10 13:34:56 -05:00
Jelmer Vernooij
b1d9ef8998 r9746: Add "staff" as possible alternative to wheel
(should fix standard provisioning on AIX)
2007-10-10 13:34:56 -05:00
Jelmer Vernooij
435e4c6389 r9744: - [upgrade.js] Start working on smb.conf conversion.
- [ldb_map] Support storing non-mappable data in a fallback LDB
2007-10-10 13:34:55 -05:00
Jelmer Vernooij
d569465dc4 r9735: More work on generating a valid Samba4 configuration using the
Samba3 data (both console and SWAT)
2007-10-10 13:34:55 -05:00
Tim Potter
c2ad9f49a2 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.
2007-10-10 13:34:55 -05:00
Andrew Bartlett
ad60d45715 r9733: Test conversion from known sids in CrackNames.
Andrew Bartlett
2007-10-10 13:34:55 -05:00
Andrew Bartlett
e4492951e5 r9731: Fix typo 2007-10-10 13:34:54 -05:00
Andrew Bartlett
6202267f6e 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
2007-10-10 13:34:54 -05:00
Andrew Bartlett
b1b0e26e53 r9727: A simplier test I can aim at passing when I get the cracknames code done.
Andrew Bartlett
2007-10-10 13:34:53 -05:00
Jelmer Vernooij
765a30a049 r9725: Fix full output mode of samba3dump as well. Thanks to tridge for
a bit for explanation about js.
2007-10-10 13:34:53 -05:00
Jelmer Vernooij
42605f4444 r9724: Rewrite samba3dump in JS. The summary works now, but the full output
is triggering some obscure EJS assert..
2007-10-10 13:34:53 -05:00
Jelmer Vernooij
7e3b94dfb9 r9722: Initial attempt at converting samba3dump to EJS.. 2007-10-10 13:34:53 -05:00
Jelmer Vernooij
b1844905d2 r9718: Work a bit on the SWAT interface 2007-10-10 13:34:53 -05:00
Jelmer Vernooij
67593bef7f r9712: Bunch of small fixes
Write out basic sam.ldif
2007-10-10 13:34:52 -05:00
Andrew Tridgell
a22d0d02ee r9707: r11080@blu: tridge | 2005-08-28 12:41:12 +1000
make sure we leave the account enabled after creating a new user
2007-10-10 13:34:52 -05:00
Andrew Tridgell
a8748cab86 r9706: r11042@blu: tridge | 2005-08-28 12:40:09 +1000
a NULL expression is valid in a ldb search
2007-10-10 13:34:52 -05:00
Andrew Tridgell
10ac273288 r9705: r9685@blu: tridge | 2005-08-27 19:43:44 +1000
set the backend_name on socket_accept() too
2007-10-10 13:34:52 -05:00
Andrew Tridgell
4bb3d36fe6 r9704: r9684@blu: tridge | 2005-08-27 19:38:31 +1000
don't try to call the name resolver on non-ipv4 names!
2007-10-10 13:34:52 -05:00
Andrew Tridgell
9c23008221 r9703: r9683@blu: tridge | 2005-08-27 18:56:05 +1000
added a comment about event_context_find()
2007-10-10 13:34:51 -05:00