1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

16472 Commits

Author SHA1 Message Date
Stefan Metzmacher
93bc9f49a2 auth: don't force the build of auth_server as shared_module
metze
(This used to be commit b5187dd58ccae03e22ba8857c344a2d7d94f13b3)
2008-06-30 09:25:30 +02:00
Stefan Metzmacher
780fa9f9e6 lib/talloc: build as MERGED_OBJ instead of STATIC_LIBRARY
metze
(This used to be commit 5bf414efbdf279fd1b85eb47e7b47656bc435f11)
2008-06-30 09:25:30 +02:00
Stefan Metzmacher
27970ccc30 lib/events: build as MERGED_OBJ instead of STATIC_LIBRARY
metze
(This used to be commit a2a506ba2e044699d147486e987b11d839373784)
2008-06-30 09:25:29 +02:00
Stefan Metzmacher
4deff16ddb smb_build: use MERGED_OBJ instead of STATIC_LIBRARY
metze
(This used to be commit 54b06a1c839a9af4565635011e3e624271769cc7)
2008-06-30 09:25:29 +02:00
Stefan Metzmacher
b438d59eb5 smb_build: enable implicit make rules
metze
(This used to be commit be3f3e18d476431f991d08317eb94b4aebe927e6)
2008-06-30 09:25:28 +02:00
Stefan Metzmacher
5ccfd6a90e ldb: allow ldb modules to specify LDB_MODULE(name) or LDB_BACKEND(name)
metze
(This used to be commit 1d5b714438a955d76f92f4ccd8aa2f7f89ffa5fd)
2008-06-30 09:14:07 +02:00
Stefan Metzmacher
d7ac45f8b8 ldb: fix the init function names for some modules
metze
(This used to be commit a485a363c3dc1b6b4d12410ed8e390b4d64a739f)
2008-06-30 09:14:06 +02:00
Andrew Bartlett
6f55742b4c Rework samdb handling for 'netlogon' packets.
Don't reopen the samdb for every netlogon packet, and use the
system_session(), as we must access data not available to anonymous.
Perhaps we should consider a 'authenticated but not system' token, if
we want more control on this.

Andrew Bartlett
(This used to be commit d10c9b71ea7f2670c4ea5ec569bcb7f49ec41362)
2008-06-30 12:22:50 +10:00
Andrew Bartlett
71439c6283 Relax the ldap.py tests so that they pass against OpenLDAP CVS.
This requires a patched OpenLDAP checked out from their CVS HEAD.  I
hope to see the patches incorporated soon.

Andrew Bartlett
(This used to be commit 963bcfc777679ba122189ea6cf7f94b8d46cdce7)
2008-06-30 11:27:55 +10:00
Andrew Bartlett
8b6d8184a5 Loosen ldap.py tests on the LDAP backend.
Allow LDAP backend to return parts of the DN in a different case, when
verifying memberOf.

Andrew Bartlett
(This used to be commit daddfae9fd8b7375bd4f469808378edc60a55be0)
2008-06-30 09:38:52 +10:00
Jelmer Vernooij
63cfab25e9 Non-zero exit code on failure.
(This used to be commit 9c220c0dce31fbe4b2f6433f40a52162d21c03f7)
2008-06-28 15:26:46 +02:00
Andrew Bartlett
43bf8f4546 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 6479f481dbf2f5c83edec0702ece73e83b6c810e)
2008-06-28 22:04:19 +10:00
Andrew Bartlett
b5808e5d65 selftest changes for 'winbind privileged dir' change.
(This used to be commit c19b28f7579268133939aebe06e1c947d4415182)
2008-06-28 22:03:52 +10:00
Andrew Bartlett
03f51df570 dynconfig changes for 'winbind privileged dir' changes.
(This used to be commit 7e20919d5ba9244362503e450273938a7cc94796)
2008-06-28 22:02:58 +10:00
Andrew Bartlett
234413fbd9 Use a configure-specified directory for the winbind priv pipe
This makes it easier for RPMs to specify an group for access to that
directory.

Andrew Bartlett
(This used to be commit fa361354433fb9a5c09c84997a7c51f3052c294e)
2008-06-28 22:02:19 +10:00
Stefan Metzmacher
98014c5668 pvfs: create a pvfs_acl subsystem
That means that the pvfs_acl implementations no longer register
as ntvfs modules (which was wrong)

metze
(This used to be commit 89e90556ec57fce24faf0ed3d6fe262edd974b28)
2008-06-28 10:30:25 +02:00
Stefan Metzmacher
c9d2570ce3 pvfs: pvfs_aio should be a subsystem instead of an extra ntvfs module
metze
(This used to be commit c904e28bef95cb0d61bf86f2ba1cef2d4e018d5f)
2008-06-28 10:30:18 +02:00
Andrew Bartlett
485a6354e5 Fix the wbinfo test on the LDAP backend.
The problem was that we would do a blocking wait for the LDAP server,
which was also blocking on us returning (because we were in single
process mode).

The LDAP connection being made here is useless anyway, and will need
to be an async ldb_connect() before anybody reintroucues it (nobody in
their right mind would program a winbindd backend on pure LDAP, when
the ldb abstraction is available).

Andrew Bartlett
(This used to be commit 23280b2e6ed5afb968bf0b8c40febb085eed38a1)
2008-06-28 18:10:59 +10:00
Michael Adam
261d41a639 ntlm_auth: eliminate "cast pointer from integer of different size" warnings on 64bit.
Michael
(This used to be commit a0b2440c70a3f453c22159a02ff4a82fe6439cad)
2008-06-27 14:27:30 +02:00
Michael Adam
db7bd968da ntlmssp: get rid of "cast to pointer from integer of different size" warning on 64 bit
Not sure if this check is actually necessary, though:
the second should be sufficient.

Michael
(This used to be commit 2813882ef3cc3609a74ad83bcee6be0c2cd53494)
2008-06-27 14:27:30 +02:00
Michael Adam
bcc6a3786c tdb_unpack: Eliminate "cast to pointer from integer of different size" warning on 64bit.
The 'p' type is just a flag to mark the presence of a pointer,
not a real pointer itself.

The code is now the same as in Samba3's tdb_unpack.

Michael
(This used to be commit a516bc9a2d4ce86244d0e2fbfacf6fda5e12e987)
2008-06-27 12:46:11 +02:00
Stefan Metzmacher
3678411037 gsskrb5: just don't force, but allow the flags when GSS_CF_NO_CI_FLAGS is given
metze
(This used to be commit f10c9ca3612d7bdc4c2c221e959f8c48ec2f9349)
2008-06-27 12:43:04 +02:00
Stefan Metzmacher
eb192abd3a gsskrb5: fix gss_krb5_cred_no_ci_flags_x_oid_desc variable name
metze
(This used to be commit d88be1a1cb543b4e2cc5d15262da786558aa276d)
2008-06-27 12:43:04 +02:00
Stefan Metzmacher
78ed0f72a6 credentials: gss_set_cred_option() doesn't like GSS_C_NO_BUFFER
metze
(This used to be commit 31cf1a781efce932d0574d7840979fcd0a07ec08)
2008-06-27 12:43:04 +02:00
Julien Kerihuel
0c6ce977ff Fix if_version for interfaces with a if_version_minor field different from 0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 7b6927832a1118b142d0d8a3a5548761f5a04f1a)
2008-06-27 12:43:04 +02:00
Volker Lendecke
f5604ebd61 Fix a non-empty line with just spaces
(This used to be commit ba6394cb654f2a6683b5e97fad8e838d8e457e06)
2008-06-27 12:14:41 +02:00
Volker Lendecke
65cf74f7b5 Fix the definition of abspath for gnu make < 3.81
(This used to be commit f2725f14918b7d1cd7664fe41ad0fc184aa794c8)
2008-06-27 12:14:19 +02:00
Julien Kerihuel
2495690eb8 Remove events from require line:
The events library is not installed and prevent OpenChange from linking
with ldb. The following patch removes events reference from ldb pc file.

We are currently fixing this bug in openchange upstream using 'sed' in
our installsamba4.sh script, but this hack won't work with a packaged
version of samba4.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 0b8508f75eac84ef68850e91300fb837a621cc77)
2008-06-27 10:24:28 +02:00
Michael Adam
4cd722b912 pynbt: eliminate "initialization from incompatible pointer type" warning
by fixing the signature of py_nbt_node_init().

Jelmer - please check!

Michael
(This used to be commit a7ee17a10f330297dc4d9d15499276b3985c7a51)
2008-06-27 09:56:26 +02:00
Stefan Metzmacher
be46118091 nbt_server/wins: add forward declaration for struct event_context
metze
(This used to be commit 5ff4ffd162339583c7f6ebee0c8a2efc30d8b65f)
2008-06-27 09:46:24 +02:00
Stefan Metzmacher
1cea7ebe2e lib/ldb: add forward declaration for struct event_context
metze
(This used to be commit 9bbdc682a985f210874c008a0abc25645e7fbd50)
2008-06-27 09:46:22 +02:00
Michael Adam
65ce11c5f3 credentials: gss_set_cred_option() needs gss_cred_id_t * argument, not gss_cred_id_t.
This call was added in f573c1ff4443f3002c310d3ba29d8c343ad03907.
Metze, please check!

Michael
(This used to be commit 2b40fd7e950a7f06d2c589eadc0f604a4c65e325)
2008-06-27 09:26:35 +02:00
Stefan Metzmacher
06d38e58e8 mkversion.sh: printf %s is more portable than echo -e
metze
(This used to be commit 274ae4b06a3d2e99ee4fd7f04430d361d500d451)
2008-06-27 09:22:21 +02:00
Andrew Bartlett
7ca0386d0b Fix installation of Samba4 into an empty tree.
Jelmer's previous patch failed because sh is very fussy about it's
syntax, but only compaled in this case if you take the 'no existing
binary' path.

Andrew Bartlett
(This used to be commit 9cb5327ac9811b3c1309d0e4082da3f54ab2a050)
2008-06-27 12:56:20 +10:00
Andrew Bartlett
7a295c66c0 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 9607e79c3db9743617397c347bb69f87f6525801)
2008-06-27 12:03:23 +10:00
Jelmer Vernooij
d4172dac2c Use make magic for installing/uninstalling binaries.
(This used to be commit 97b724417fc8110f7c591779b0c17bd072be304f)
2008-06-26 11:51:22 +02:00
Jelmer Vernooij
0507e03c52 Use make template for installing binaries.
(This used to be commit 3fb35fc03d5cfb48d0d4f51564ef76e99e74f81c)
2008-06-26 11:39:59 +02:00
Jelmer Vernooij
26e9194e3a Move blackbox tests closer to what they're testing.
(This used to be commit c9b2e2aa861ccc01e5d92cfe468be1f6324ed294)
2008-06-26 10:56:59 +02:00
Jelmer Vernooij
4f4949a8f4 Only try to detect the events lib dir if it wasn't set earlier.
(This used to be commit 3f48f68800176d992a1bd9b6349f22ec152fc34a)
2008-06-26 10:11:49 +02:00
Jelmer Vernooij
9c6b7f760a Use variable for selftest directory.
(This used to be commit 78760606fa71c370ae3c05b077c5146166bdaa7b)
2008-06-25 20:04:35 +02:00
Jelmer Vernooij
aa8619dbea Fix another reference to ldbdir.
(This used to be commit 6416b637ea6570edd27eb8ef3005c408d311f3a3)
2008-06-25 19:58:41 +02:00
Jelmer Vernooij
70ebd680b3 Use ldbsrcdir rather than ldbdir.
(This used to be commit 25f500d2233198b88c1d54268f5f6f461cea75d9)
2008-06-25 19:39:50 +02:00
Jelmer Vernooij
da5c4143f8 Use variable for popt source dir.
(This used to be commit effc25e805facea001ebd64d383f1a536c61d0e3)
2008-06-25 19:06:59 +02:00
Jelmer Vernooij
750297a6d9 Use ldbsrcdir rather than ldbdir.
(This used to be commit a422c6c5ff47f36ef3376f54e707561c6a53ac23)
2008-06-25 19:04:03 +02:00
Jelmer Vernooij
456c3b760f Undefine HAVE_KRB5_ENCRYPT_BLOCK because Heimdal really doesn't have it.
(This used to be commit 55a6e852c77ffb91d2e0a0503dab06214f675db8)
2008-06-25 17:24:38 +02:00
Jelmer Vernooij
18ba7d7679 Use workaround for $(abspath)
(This used to be commit 21b4d017a2cccdaa6ab4ed32409f19c612293fd0)
2008-06-25 17:12:19 +02:00
Jelmer Vernooij
6ba3cffb48 Revert "Remove the dependency on $(abspath) in makefiles"
This reverts commit c85a3632623184cb97c2e8567ca77834e81070a4.
(This used to be commit 1a771c664444ff43e141238f473273700b392aa7)
2008-06-25 16:51:37 +02:00
Kai Blin
1dca64e26a wbinfo: Output string for sid type in lookupsid.
(This used to be commit 8b4c7fb200598b7f747fc681f76d464760f693ee)
2008-06-20 13:15:40 +02:00
Andrew Bartlett
1e36856ae5 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit edd9ecce9511871d9c9942d50eb91c68a8e04ec9)
2008-06-20 19:04:14 +10:00
Stefan Metzmacher
197c25487e smbd: make sure the parent smbd stays alive forever
The problem was that the parent smbd doesn't have
any event when the process model standard was in use.

Now we always add an fd event for stdin, but may not
ask for any events to trigger.

metze
(This used to be commit fa6c00734ccf9bfe7a962253ddb5e2a1722c9b09)
2008-06-20 11:03:12 +02:00