1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-17 15:33:16 +03:00
Commit Graph

6034 Commits

Author SHA1 Message Date
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
Andrew Tridgell
b3d491b210 r9702: r9680@blu: tridge | 2005-08-27 18:45:08 +1000
- fixed ncacn_ip_tcp to use the generic async name resolution methods,
   so NBT names now work (as requested several times by abartlet!)

 - changed resolve_name() to take an event_context, so it doesn't cause
   the whole process to block

 - cleaned up the talloc_find_parent_bytype() calls to go via a cleaner
   event_context_find() call
2007-10-10 13:34:51 -05:00
Andrew Bartlett
1cd62944f1 r9701: Provide correct parameters.
Andrew Bartlett
2007-10-10 13:34:50 -05:00
Jelmer Vernooij
3709def353 r9700: Change DATA_BLOB in ejs back to struct datablob
Support writing idmap mappings to winbind.ldif
2007-10-10 13:34:49 -05:00
Jelmer Vernooij
5100ae211c r9699: Add as much attributes the current Samba4 SAM has to the mapping table (ignoring most of them, currently..) 2007-10-10 13:34:49 -05:00
Jelmer Vernooij
b7b079167d r9698: Fix a bit of memory management
More minor bugfixes
Support mapping objectclasses and do mapping on 'dn' field as well (not just msg->dn)
2007-10-10 13:34:42 -05:00
Andrew Bartlett
cc35cd5ee2 r9696: Update prototypes for new name of short parsing function.
Andrew Bartlett
2007-10-10 13:34:42 -05:00
Andrew Bartlett
c7a44518ad r9693: Move the smb_krb5_context setup code to use the new pattern of
tmp_ctx, then steal at the last moment, on success.

andrew Bartlett
2007-10-10 13:34:41 -05:00
Jelmer Vernooij
0cff0e03fc r9690: Extend test + fix several bugs 2007-10-10 13:34:41 -05:00
Jelmer Vernooij
40ea2af427 r9689: valgrind-clean now. Editing works now mostly, you just lose half of your
database every time you do it...
2007-10-10 13:34:41 -05:00
Jelmer Vernooij
786379064f r9686: Another round of bugfixes. Works somewhat now, when running under valgrind ;-) 2007-10-10 13:34:41 -05:00
Jelmer Vernooij
7f864d446d r9685: Add tests for samba3sam mapping module
Fix a couple of bugs
Move samba3sam backend to lib/ldb/
Remove some more unused parameters
2007-10-10 13:34:41 -05:00
Jelmer Vernooij
4a51a31571 r9684: Remove unused parameters (about 70) 2007-10-10 13:34:40 -05:00
Tim Potter
b33774b693 r9683: OK that last fix was too good to be true. (-: 2007-10-10 13:34:40 -05:00
Tim Potter
e9bb695e74 r9682: Jelmer, I think this fixes another case where the parser generator was
producing duplicate function definitions.  Can you check this out?
2007-10-10 13:34:40 -05:00
Andrew Bartlett
47699019db r9681: We don't need the full smb_krb5_context here, so just pass the krb5_context.
Andrew Bartlett
2007-10-10 13:34:40 -05:00
Andrew Bartlett
913924a499 r9680: Update Heimdal to current lorikeet-heimdal (which was itself updated
to Heimdal CVS as of 2005-08-27).

Andrew Bartlett
2007-10-10 13:34:39 -05:00
Andrew Bartlett
50e6229c7a r9678: Remove unused variables.
Andrew Bartlett
2007-10-10 13:34:39 -05:00
Tim Potter
1b0e65359c r9677: Don't generate duplicate function names when processing structure elements
that are bitmaps or enums.
2007-10-10 13:34:39 -05:00
Jelmer Vernooij
c2211df586 r9672: Fix build for compilers that don't like undefined-length arrays at the end of structs... 2007-10-10 13:34:39 -05:00
Andrew Tridgell
efa143cb3b r9671: patch from Kai Blin fixing a bug in our base64 encoder 2007-10-10 13:34:38 -05:00