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

117 Commits

Author SHA1 Message Date
Jelmer Vernooij
ba8be2dfc0 r26576: Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
2007-12-24 01:51:06 -06:00
Jelmer Vernooij
15038d9586 r26572: Fix warnings in the Python code. 2007-12-24 01:51:04 -06:00
Jelmer Vernooij
c550c03372 r26570: - Trim size of the swig-generated Python bindings by removing a bunch of {}'s.
- Start working on Python equivalents for various EJS tests.
- Fix regression in argument order for reg_diff_apply() in EJS bindings.
2007-12-24 01:51:03 -06:00
Jelmer Vernooij
c4b1df0476 r26504: Don't rely on system-provided kerberos headers. 2007-12-21 05:51:07 +01:00
Jelmer Vernooij
6ca2b35085 r26484: Don't rely on removed header. 2007-12-21 05:50:42 +01:00
Jelmer Vernooij
85eeecf997 r26483: Merge ldb module dependency fixes, fix auth python module. 2007-12-21 05:50:41 +01:00
Jelmer Vernooij
e26d0fff6d r26474: Move credentials-specific kerberos file to credentials subsystem. Fixes missing symbols in some of the python bindings. 2007-12-21 05:50:34 +01:00
Jelmer Vernooij
2b7cfa5d9a r26464: Tighten dependencies. 2007-12-21 05:50:29 +01:00
Jelmer Vernooij
760fcc8bfa r26454: Add simple SWIG macro for wrapping talloced types. 2007-12-21 05:50:22 +01:00
Jelmer Vernooij
7a78d4cbed r26445: Fix credentials python bindings. 2007-12-21 05:50:12 +01:00
Jelmer Vernooij
1b947fe0e6 r26430: require explicit specification of loadparm context. 2007-12-21 05:49:58 +01:00
Jelmer Vernooij
3378b6a559 r26399: Use -O option for SWIG (less evil generated code). 2007-12-21 05:49:29 +01:00
Jelmer Vernooij
78bb444b4b r26385: Integrate gensec-socket into gensec. 2007-12-21 05:49:19 +01:00
Jelmer Vernooij
6d4c598534 r26382: Remove more uses of global_loadparm. 2007-12-21 05:49:17 +01:00
Jelmer Vernooij
0bd01aca00 r26323: Regenerated credentials SWIG. 2007-12-21 05:48:34 +01:00
Jelmer Vernooij
f9bf02fd5c r26321: Fix python tests. 2007-12-21 05:48:34 +01:00
Jelmer Vernooij
9fdfe1ad8c r26320: Clean up properly after error. 2007-12-21 05:48:33 +01:00
Jelmer Vernooij
3809113d86 r26274: Some syntax fixes, remove more global_loadparm instances. 2007-12-21 05:47:58 +01:00
Jelmer Vernooij
1ab76ecc53 r26272: Remove global_loadparm in some more places. 2007-12-21 05:47:55 +01:00
Jelmer Vernooij
e9875fcd56 r26271: Remove some more uses of global_loadparm. 2007-12-21 05:47:53 +01:00
Jelmer Vernooij
e52710d679 r26270: Require specifying the loadparm_context or NULL to cli_credentials_guess(). 2007-12-21 05:47:50 +01:00
Jelmer Vernooij
1cb849dfba r26269: Fix a couple more references to global_loadparm. 2007-12-21 05:47:49 +01:00
Jelmer Vernooij
08501fbef3 r26248: Check in SWIG output so SWIG is not required when running out of svn. 2007-12-21 05:47:26 +01:00
Jelmer Vernooij
7780bf285f r26233: Pass loadparm context when creating krb5 contexts. 2007-12-21 05:47:11 +01:00
Jelmer Vernooij
4b46888bd0 r26231: Spell check: credentails -> credentials. 2007-12-21 05:47:09 +01:00
Jelmer Vernooij
37d05fdc7b r26229: Set loadparm context as opaque pointer in ldb, remove more uses of global_loadparm. 2007-12-21 05:47:06 +01:00
Jelmer Vernooij
5718b6cfee r26205: Pass loadparm_context to secrets_db_connect() rather than using global context. 2007-12-21 05:46:51 +01:00
Jelmer Vernooij
ab6be3086f r26204: Binsings for some more functions. 2007-12-21 05:46:50 +01:00
Jelmer Vernooij
97bb235cc8 r26069: Import python bindings for credentials. 2007-12-21 05:45:52 +01:00
Jelmer Vernooij
e96c722cbf r26004: Add some simple credentials tests. 2007-12-21 05:45:40 +01:00
Jelmer Vernooij
56dfcb4f2f r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies. 2007-12-21 05:45:40 +01:00
Andrew Bartlett
3480dc71a9 r25703: Use less entropy by using the pointer value as a process-unique token.
Andrew Bartlett
2007-12-21 05:43:21 +01:00
Jelmer Vernooij
b8d6b82f12 r25552: Convert to standard bool type. 2007-10-10 15:07:54 -05:00
Jelmer Vernooij
3468952e77 r25446: Merge some changes I made on the way home from SFO:
2007-09-29 More higher-level passing around of lp_ctx.
2007-09-29 Fix warning.
2007-09-29 Pass loadparm contexts on a higher level.
2007-09-29 Avoid using global loadparm context.
2007-10-10 15:07:34 -05:00
Jelmer Vernooij
3fcc960839 r25398: Parse loadparm context to all lp_*() functions. 2007-10-10 15:07:25 -05:00
Jelmer Vernooij
20b70fbb7a r25193: Update headers to easy use by external apps. 2007-10-10 15:06:50 -05:00
Jelmer Vernooij
abe8349f9b r25026: Move param/param.h out of includes.h 2007-10-10 15:05:38 -05:00
Andrew Bartlett
7865d10a29 r24730: Allow secrets entries to be for service principals.
Andrew Bartlett
2007-10-10 15:02:59 -05:00
Jelmer Vernooij
1ce32673d9 r24712: No longer expose the 'BOOL' data type in any interfaces. 2007-10-10 15:02:54 -05:00
Andrew Bartlett
a650ad8b37 r24282: Try to fix the occasional Samba4 crash in BASE-BENCH-READWRITE, as
seen in particular on opi.

This looked like a Heimdal problem, but I think it was simply that we
didn't do a talloc_reference() to keep tabs on the memory we were
using, and in between obtaining the pointer and using it, it was
assigned to unrelated memory.

Andrew Bartlett
2007-10-10 15:01:35 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Andrew Bartlett
d285bd927c r23132: Resolve an issue where we would use the ccache after we free()ed it.
The problem was, we would set the ccache, then invalidate it as we set
details from it (like the principal name from the ccache).

Instead, set the ccache onto the credentials structure after we are
done processing it.

Andrew Bartlett
2007-10-10 14:52:53 -05:00
Andrew Bartlett
3b1dfb9306 r23063: Make sure to invalidate the ccache when we set a
username/password/realm/etc from the command line.

Also make sure it can't 'come back' from a later call to
cli_credentials_guess(), buy setting a threshold.

This should fix the issues with the build farm...

Andrew Bartlett
2007-10-10 14:52:46 -05:00
Andrew Bartlett
ec2014f08b r23034: Thanks to metze for providing some vital clues in the 'kerberos ccache
on credentials don't do anything' bug.

The problem was simple, we didn't set the ccache as having been
initialised, so we always created a new one.

Andrew Bartlett
2007-10-10 14:52:43 -05:00
Andrew Tridgell
c0f65eb656 r22969: fix some more places where we could end up with more than one event
context. We now have an event context on the torture_context, and we
can also get one from the cli_credentials structure
2007-10-10 14:52:34 -05:00
Andrew Bartlett
0fd74ada22 r22558: Move to a static list of enctypes to put into our keytab. In future,
I'll allow this to be configured from the secrets.ldb, but it should
fix some user issues.

Andrew Bartlett
2007-10-10 14:51:43 -05:00
Stefan Metzmacher
fbf1b1bfa0 r22387: see if this fixes the build on the aix1 hosts
metze
2007-10-10 14:51:12 -05:00
Andrew Bartlett
16a2bb87a8 r22187: Test kerberos logins in the smbclient blackbox tests, including with a
machine account.

Andrew Bartlett
2007-10-10 14:50:01 -05:00
Andrew Bartlett
305d1421ef r22115: I don't like the DOMAIN environment variable. It really isn't a good
match for what we are using it for here.

Andrew Bartlett
2007-10-10 14:49:51 -05:00
Andrew Bartlett
3430d8c072 r21736: Fix the smbclient test to do something more interesting with the last
few authentication tests.  Now that the tests correctly 'fail', I was
able to fix the credentials subsystem to honour USER and PASSWD.

To get --machine-pass working, I needed ldb to always load it's static
modules, so I put this in ldb_connect().

Andrew Bartlett
2007-10-10 14:49:20 -05:00