1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

4403 Commits

Author SHA1 Message Date
Tim Potter
e1864a7ac9 r6851: Typo in comment. 2007-10-10 13:16:51 -05:00
Tim Potter
14510a0ce9 r6848: Remove some dead/unused code. 2007-10-10 13:16:50 -05:00
Tim Potter
448795607f r6847: Fix some unused variable warnings in the libnet torture test. 2007-10-10 13:16:50 -05:00
Andrew Tridgell
ddbb549563 r6846: make smbd terminate immediately on EOF from stdin
this will be used to make sure 'make test' kills smbd when finished
2007-10-10 13:16:50 -05:00
Andrew Tridgell
257027a571 r6845: make the talloc header align to 40 bytes, which costs us an extra 4
bytes per allocation, but makes it much more portable
2007-10-10 13:16:50 -05:00
Jelmer Vernooij
77f9c471ea r6842: Move to .mk file 2007-10-10 13:16:50 -05:00
Jelmer Vernooij
b9d0ae93ba r6839: Add support for building subsystems as shared libraries. This can be
done by setting:
OUTPUT_TYPE = SHARED_LIBRARY
in the [SUBSYSTEM::...] section belonging to a subsystem.

The idea is to allow multiple values to OUTPUT_TYPE simultaneously
(e.g. OUTPUT_TYPE = SHARED_LIBRARY, STATIC_LIBRARY, OBJLIST )
2007-10-10 13:16:50 -05:00
Jelmer Vernooij
2d980465af r6838: Remove unnecessary calls to gensec_gsskrb5
Make the build system give a proper warning about this in the future
2007-10-10 13:16:49 -05:00
Jelmer Vernooij
421e7feee9 r6836: Allow optionally passing in a destination filename for NDR parsers
and NDR headers
2007-10-10 13:16:49 -05:00
Andrew Tridgell
fa4f33558a r6833: split out the routine that calculates the diff between two ldb messages from ldbedit,
so other progs can use it.
2007-10-10 13:16:49 -05:00
Andrew Tridgell
aac86583a9 r6831: talloc now requires config.h (this fixes ldb build) 2007-10-10 13:16:49 -05:00
Andrew Tridgell
57c8db4f9a r6830: put header checks in config.m4 so when it is included by other projects the right
configure checks are done
2007-10-10 13:16:48 -05:00
Andrew Tridgell
3339a88617 r6829: include the talloc autoconf tests when building ldb standalone 2007-10-10 13:16:48 -05:00
Jelmer Vernooij
f46c532883 r6828: More portability fixes 2007-10-10 13:16:48 -05:00
Jelmer Vernooij
82be497811 r6825: Fall back to chsize if ftruncate is not available
patch from Steven Edwards
2007-10-10 13:16:47 -05:00
Andrew Bartlett
dbd8459987 r6819: More notes on krb5 requirements
Andrew Bartlett
2007-10-10 13:16:47 -05:00
Andrew Tridgell
eb7979d9de r6817: - fixed empty ldap search elements in filters
- added support for guids in cldap netlogon searches.

the cldap server now passes the LDAP-CLDAP torture test
2007-10-10 13:16:47 -05:00
Andrew Tridgell
7d19eb9433 r6816: - fixed debug display of ndr netlogon union
- send a username when scanning to make structure elements clearer
2007-10-10 13:16:47 -05:00
Andrew Tridgell
50cac2ce84 r6815: fill in values in cldap server as well 2007-10-10 13:16:47 -05:00
Andrew Tridgell
5ee46b44be r6814: fill in two more unknown values in cldap responses 2007-10-10 13:16:47 -05:00
Andrew Tridgell
450ac2e4de r6812: more talloc portability tweaks 2007-10-10 13:16:46 -05:00
Andrew Bartlett
f4b7484516 r6811: Another attempt at better kerberos/gssapi headers.
Andrew Bartlett
2007-10-10 13:16:46 -05:00
Tim Potter
f377c71e4f r6810: Rename auth/{ntlmssp,gensec,kerberos} mk and m4 files to be called
config.mk and config.m4 to be consistent with the rest of Samba.
2007-10-10 13:16:46 -05:00
Andrew Tridgell
f4bfc3a80e r6809: ifeq is not portable in make - jelmer, you'll need to find some other way of doing
this if you want detection of socket wrapper :-)
2007-10-10 13:16:46 -05:00
Andrew Tridgell
c8a274c873 r6808: - test for gcov not needed
- samba malloc wrapper avoidance not needed now we don't use includes.h

- make testsuite work when BOOL, True, False already defined
2007-10-10 13:16:46 -05:00
Jelmer Vernooij
3541ebe31b r6807: Fix in-tree build of talloc testsuite 2007-10-10 13:16:46 -05:00
Andrew Bartlett
5749b63f17 r6806: Try again to fix the build on various kerberos libs.
Andrew Bartlett
2007-10-10 13:16:46 -05:00
Jelmer Vernooij
a02e077397 r6805: Remove two remaining references to gensec_gsskrb5 2007-10-10 13:16:45 -05:00
Jelmer Vernooij
c2ce09d380 r6804: Add config.h for talloc (and use it) 2007-10-10 13:16:45 -05:00
Andrew Bartlett
a7e2ecfac9 r6803: Try to bring in the correct GSSAPI headers for the krb5 mech. This
should allow us to ditch the local static storage for OIDs, as well as
fix the build on non-heimdal platforms.

Andrew Bartlett
2007-10-10 13:16:45 -05:00
Andrew Tridgell
235f5c510b r6802: - fixed CFLAGS
- don't fail if we don't have xsltproc
2007-10-10 13:16:45 -05:00
Andrew Bartlett
c8e8fa129e r6801: It appears that krb5_make_principal, while convenient, is not portable.
Andrew Bartlett
2007-10-10 13:16:45 -05:00
Andrew Bartlett
0101728d8e r6800: A big GENSEC update:
Finally remove the distinction between 'krb5' and 'ms_krb5'.  We now
don't do kerberos stuff twice on failure.  The solution to this is
slightly more general than perhaps was really required (as this is a
special case), but it works, and I'm happy with the cleanup I achived
in the process.  All modules have been updated to supply a
NULL-terminated list of OIDs.

In that process, SPNEGO code has been generalised, as I realised that
two of the functions should have been identical in behaviour.

Over in the actual modules, I have worked to remove the 'kinit' code
from gensec_krb5, and placed it in kerberos/kerberos_util.c.

The GSSAPI module has been extended to use this, so no longer requires
a manual kinit at the command line.  It will soon loose the
requirement for a on-disk keytab too.

The general kerberos code has also been updated to move from
error_message() to our routine which gets the Heimdal error string
(which may be much more useful) when available.

Andrew Bartlett
2007-10-10 13:16:45 -05:00
Andrew Bartlett
0268d6c46b r6799: Remove a rudundent variable from the context structure - we can figure
this out by asking GENSEC, just like everybody else.

Andrew Bartlett
2007-10-10 13:16:45 -05:00
Andrew Bartlett
31ff2cd8e1 r6798: Valgrind pain is not something I look forward to - if we ever fall
back to the 'not /dev/urandom' method of random number generation, I
don't want to be chasing down 'use of uninitialised value' though all
the crypto code.

Andrew Bartlett
2007-10-10 13:16:44 -05:00
Rafal Szczesniak
0f9a2aef6c r6797: Typo fix.
rafal
2007-10-10 13:16:44 -05:00
Andrew Bartlett
e8cf3d58ec r6796: Remove the gensec_gsskrb5 module, which had had all of it's special
features merged back into gensec_gssapi.

(Removed because I've made some API changes, and it isn't worth
'fixing' the rudundent code to cope with changes)

Andrew Bartlett
2007-10-10 13:16:44 -05:00
Jelmer Vernooij
46509eb899 r6795: Make some functions static and remove some unused ones. 2007-10-10 13:16:44 -05:00
Simo Sorce
f5956d1501 r6794: spellfix 2007-10-10 13:16:44 -05:00
Andrew Bartlett
6b9020661a r6793: Move auth_sam to use the dnsDomain rather than the
soon-to-be-depricated 'realm'.

Add torture test for this behaviour.

Andrew Bartlet
2007-10-10 13:16:44 -05:00
Andrew Bartlett
9153d73061 r6792: Allow a mech to fail on the first pass at the packet, and still fall
back to the other options.

Andrew Bartlett
2007-10-10 13:16:43 -05:00
Andrew Bartlett
5fa9be75d9 r6791: My early notes on the particular things I have discovered as I learn
kerberos, and how Microsoft constructs their kerberos implementation.

Andrew Bartlett
2007-10-10 13:16:43 -05:00
Jelmer Vernooij
c1f1b5a945 r6790: Use config.h file for ldb and add test for stdint.h 2007-10-10 13:16:43 -05:00
Jelmer Vernooij
9f1b15832d r6787: Use debhelper for the debian packages 2007-10-10 13:16:43 -05:00
Stefan Metzmacher
58c6887da4 r6781: -add some comments on how attributes and objectClasses are identified in DRSUAPI
-and some comments on what the attribute syntaxes matches what internal datatypes

metze
2007-10-10 13:16:43 -05:00
Andrew Tridgell
52d10c8d99 r6776: make the cldap torture test not dependent on the realm being set
correctly - it gets the realm from an initial no-attribute search
2007-10-10 13:16:43 -05:00
Simo Sorce
2f80b2070f r6768: Fix wrong comment 2007-10-10 13:16:42 -05:00
Tim Potter
45a0692be1 r6767: Fix compiler warning. 2007-10-10 13:16:42 -05:00
Andrew Tridgell
1d6ab9aaef r6766: some more cldap tests ...
my best guess now is that w2k3 converts the & in the cldap query to an |
for the ldap search. at least it behaves roughly like that.
2007-10-10 13:16:42 -05:00
Andrew Tridgell
177c8becd2 r6765: expanded the cldap test suite to test the usage of the DomainGuid,
AAC, and User attributes in cldap netlogon queries

interestingly, while WinXP generated cldap filters with these set, the
w2k3 cldap server seems to completely ignore them, so I didn't need to
alter our cldap server at all to pass the test :-)
2007-10-10 13:16:42 -05:00