samba.git
16 years agor19870: Simplify code
Simo Sorce [Thu, 23 Nov 2006 22:11:47 +0000 (22:11 +0000)]
r19870: Simplify code
(This used to be commit c1737f9a52d9e4d118f969a0953a458188143d0d)

16 years agor19869: fix memleaks
Simo Sorce [Thu, 23 Nov 2006 22:06:07 +0000 (22:06 +0000)]
r19869: fix memleaks
(This used to be commit 3a662a2d985bf801284c5dc1123dec6705e6d092)

16 years agor19868: Fix more tests.
Jelmer Vernooij [Thu, 23 Nov 2006 20:59:09 +0000 (20:59 +0000)]
r19868: Fix more tests.
(This used to be commit 01a4fb1b22d09f38636c211a93efc4099f4766b3)

16 years agor19866: Fix test compilation.
Jelmer Vernooij [Thu, 23 Nov 2006 18:26:55 +0000 (18:26 +0000)]
r19866: Fix test compilation.
(This used to be commit 2a3196db9dae9f15bbe2ffa36ce1204daf4e701c)

16 years agor19863: Create -uninstalled.pc files. This should reenable compilation and running
Jelmer Vernooij [Thu, 23 Nov 2006 18:03:11 +0000 (18:03 +0000)]
r19863: Create -uninstalled.pc files. This should reenable compilation and running
of the pidl testsuite as part of the testsuite.
(This used to be commit db237ad52f3a42c7b35753df99549ed6d540cec2)

16 years agor19862: Fix list concatenation
Jelmer Vernooij [Thu, 23 Nov 2006 17:50:47 +0000 (17:50 +0000)]
r19862: Fix list concatenation
(This used to be commit a26da5182e5618a70bc4a05af6fa2a7304138330)

16 years agor19861: Add simple pkg-config replacement.
Jelmer Vernooij [Thu, 23 Nov 2006 17:27:04 +0000 (17:27 +0000)]
r19861: Add simple pkg-config replacement.
(This used to be commit a42220c35673317c637e27d59c1a307bedb711a6)

16 years agor19859: Reuse referrent ids when pushing full pointers (still need to
Jelmer Vernooij [Thu, 23 Nov 2006 16:02:20 +0000 (16:02 +0000)]
r19859: Reuse referrent ids when pushing full pointers (still need to
avoid pushing the referred object twice) and add test for full pointers.
(This used to be commit 1638c8d234dbc85298000685e49570f23dfd0bf8)

16 years agor19856: Use sptr as basis for full ptr implementation. Will add checks for duplicates...
Jelmer Vernooij [Thu, 23 Nov 2006 13:48:01 +0000 (13:48 +0000)]
r19856: Use sptr as basis for full ptr implementation. Will add checks for duplicates later.
(This used to be commit 006ab1d4a449c81680add57e0116a86b8317fbfb)

16 years agor19855: toplevel pointers are 'ref' by default:
Stefan Metzmacher [Thu, 23 Nov 2006 13:12:47 +0000 (13:12 +0000)]
r19855: toplevel pointers are 'ref' by default:
- we don't need to add 'ref' explicit
- we some toplevel pointers need to be 'ptr' ('sptr' for now) pointers

metze
(This used to be commit c95cd82de29f4102d72030780da785bf28e0de9e)

16 years agor19854: readd support for 'sptr' pointers, to work against windows servers
Stefan Metzmacher [Thu, 23 Nov 2006 13:11:08 +0000 (13:11 +0000)]
r19854: readd support for 'sptr' pointers, to work against windows servers
until jelmer commits his 'ptr' support

metze
(This used to be commit f5aa620b1bc5b0da866cbdb71947ef25a4bae0ad)

16 years agor19850: Fix IDL warnings.
Jelmer Vernooij [Thu, 23 Nov 2006 00:34:31 +0000 (00:34 +0000)]
r19850: Fix IDL warnings.
(This used to be commit 92b8bde561277a6b83048ce003cc29ff1b380255)

16 years agor19847: add idl for DsRemoveDSServer(), this is used when a server unbecomes a DC
Stefan Metzmacher [Wed, 22 Nov 2006 18:40:27 +0000 (18:40 +0000)]
r19847: add idl for DsRemoveDSServer(), this is used when a server unbecomes a DC

metze
(This used to be commit df133cd22a350d422c49844e50a67f4cc1fb61e4)

16 years agor19846: Fix bunch of IDL warnings.
Jelmer Vernooij [Wed, 22 Nov 2006 18:06:08 +0000 (18:06 +0000)]
r19846: Fix bunch of IDL warnings.
(This used to be commit 48e6df59444a78dc268b84c5f94787de09d41908)

16 years agor19845: Add warning for pointer_default_top()
Jelmer Vernooij [Wed, 22 Nov 2006 17:13:19 +0000 (17:13 +0000)]
r19845: Add warning for pointer_default_top()
(This used to be commit 3f0da2388d30959c93483b102fbfab75a8381fef)

16 years agor19844: Fix warnings and errors in epmapper IDL.
Jelmer Vernooij [Wed, 22 Nov 2006 16:55:21 +0000 (16:55 +0000)]
r19844: Fix warnings and errors in epmapper IDL.
(This used to be commit 0221d5b6c4250a3a2c86c623c534996d7decb1f6)

16 years agor19843: Fix warning.
Jelmer Vernooij [Wed, 22 Nov 2006 16:54:45 +0000 (16:54 +0000)]
r19843: Fix warning.
(This used to be commit 38067c1adf0f9c3974302a8481e23b6a63eb6d42)

16 years agor19842: Complain about unknown pointer types.
Jelmer Vernooij [Wed, 22 Nov 2006 16:53:30 +0000 (16:53 +0000)]
r19842: Complain about unknown pointer types.
Fallback to "unique" when "ptr" is specified instead of failing.
(This used to be commit a1b6308b21f3c38ffd4db4643a5e307fbf32a569)

16 years agor19836: Fix warnings in some IDL files.
Jelmer Vernooij [Wed, 22 Nov 2006 14:56:40 +0000 (14:56 +0000)]
r19836: Fix warnings in some IDL files.
(This used to be commit bd48f78b1d6dba73e44630ad930fd6089d2076b2)

16 years agor19834: Prevent some inaccurate warnings.
Jelmer Vernooij [Wed, 22 Nov 2006 13:59:14 +0000 (13:59 +0000)]
r19834: Prevent some inaccurate warnings.
(This used to be commit 21efd2bdb8df8e709259d429fc3ff35eaa332d02)

16 years agor19832: better prototypes for the linearization functions:
Simo Sorce [Wed, 22 Nov 2006 02:05:19 +0000 (02:05 +0000)]
r19832: better prototypes for the linearization functions:

- ldb_dn_get_linearized
  returns a const string

- ldb_dn_alloc_linearized
  allocs astring with the linearized dn
(This used to be commit 3929c086d5d0b3f08b1c4f2f3f9602c3f4a9a4bd)

16 years agor19831: Big ldb_dn optimization and interfaces enhancement patch
Simo Sorce [Wed, 22 Nov 2006 00:59:34 +0000 (00:59 +0000)]
r19831: Big ldb_dn optimization and interfaces enhancement patch

This patch changes a lot of the code in ldb_dn.c, and also
removes and add a number of manipulation functions around.

The aim is to avoid validating a dn if not necessary as the
validation code is necessarily slow. This is mainly to speed up
internal operations where input is not user generated and so we
can assume the DNs need no validation. The code is designed to
keep the data as a string if possible.

The code is not yet 100% perfect, but pass all the tests so far.
A memleak is certainly present, I'll work on that next.

Simo.
(This used to be commit a580c871d3784602a9cce32d33419e63c8236e63)

16 years agor19830: Warn about non-ref top-level pointers.
Jelmer Vernooij [Tue, 21 Nov 2006 23:21:08 +0000 (23:21 +0000)]
r19830: Warn about non-ref top-level pointers.
(This used to be commit 78153200ac45ce7333c91c48ded549b5eed5e077)

16 years agor19829: Update documentation.
Jelmer Vernooij [Tue, 21 Nov 2006 23:15:57 +0000 (23:15 +0000)]
r19829: Update documentation.
(This used to be commit 9d3c3ce540d6d9fbead201f4793339a1600c453e)

16 years agor19805: Add the (harmless, but apparently default)
Andrew Bartlett [Mon, 20 Nov 2006 20:58:00 +0000 (20:58 +0000)]
r19805: Add the (harmless, but apparently default)
NTLMSSP_NEGOTIATE_ALWAYS_SIGN flags into the default set.

Andrew Bartlett
(This used to be commit 04709c75afda0234c7236fba674bf53a265f8dbb)

16 years agor19790: Check in the PIDL change and the converted unixinfo and winbind pipes without
Volker Lendecke [Sun, 19 Nov 2006 17:56:35 +0000 (17:56 +0000)]
r19790: Check in the PIDL change and the converted unixinfo and winbind pipes without
waiting for comments. This is what version control is for, and it does fix a
segfault I ran into ;-)

Nevertheless, Jelmer & Jerry, please take a look!

Thanks,

Volker
(This used to be commit 10dcaf89ed07b9d5d1c89da33b50fcaadead32b2)

16 years agor19761: This may need work, but here is an initial implementation of
Andrew Bartlett [Fri, 17 Nov 2006 11:27:33 +0000 (11:27 +0000)]
r19761: This may need work, but here is an initial implementation of
DsWriteAccountSpn().

It passes the client toture test.

Andrew Bartlett
(This used to be commit a1e80eeb9561a856ac5aa1f5a991dcd648b152ff)

16 years agor19760: Create a DC account for the drsuapi tests to work on, rather than
Andrew Bartlett [Fri, 17 Nov 2006 11:19:15 +0000 (11:19 +0000)]
r19760: Create a DC account for the drsuapi tests to work on, rather than
choosing an existing DC.

Allow to skip some tests under Samba4.

Andrew Bartlett
(This used to be commit 705fbae325267fd0ed11f463f954f8e45802d6d5)

16 years agor19759: Allow a join to occour against ncacn_ip_tcp again (useful for torture
Andrew Bartlett [Fri, 17 Nov 2006 05:17:32 +0000 (05:17 +0000)]
r19759: Allow a join to occour against ncacn_ip_tcp again (useful for torture
tests).  The issue is that Win2k3 SP1 will not answer many LSA
requests on that port (I think this is as a security measure).

In this case, we need to skip ahead in the composite functions.

We were also checking the wrong variable to determine sucess/failure
of the LsaOpenPolicy2.

Andrew Bartlett
(This used to be commit 67c191305fa97470017e7e8a5b55fc0949d432ad)

16 years agor19757: Don't do the strrchr twice. Pointed out by Martin Kuhl.
Andrew Bartlett [Fri, 17 Nov 2006 01:21:13 +0000 (01:21 +0000)]
r19757: Don't do the strrchr twice.  Pointed out by Martin Kuhl.

Andrew Bartlett
(This used to be commit c4bf9cc09b36d8dcc465608b55bbf5dc07aed9e4)

16 years agor19753: verify result of received request before sending the next one.
Rafal Szczesniak [Thu, 16 Nov 2006 23:40:35 +0000 (23:40 +0000)]
r19753: verify result of received request before sending the next one.

I don't know why I forgot this...

rafal
(This used to be commit d5f7141a6c76d80d564500d59fd07cc8edb8127d)

16 years agor19752: Remove support for the `depends' attribute (use "import") instead.
Jelmer Vernooij [Thu, 16 Nov 2006 22:13:44 +0000 (22:13 +0000)]
r19752: Remove support for the `depends' attribute (use "import") instead.
(This used to be commit 324395afc725e90f44f286fd776b38a64bdc8e3b)

16 years agor19751: Add some tests for parsing the "include", "import" and "importlib" statements.
Jelmer Vernooij [Thu, 16 Nov 2006 22:11:32 +0000 (22:11 +0000)]
r19751: Add some tests for parsing the "include", "import" and "importlib" statements.
(This used to be commit 3a850bda962da9ce58227ea6d74e974f7654d734)

16 years agor19743: merge from samba3:
Stefan Metzmacher [Thu, 16 Nov 2006 11:15:02 +0000 (11:15 +0000)]
r19743: merge from samba3:

remove old unused schema module

metze
(This used to be commit 3c16951b0d88013b34a0213ced79087653713ddf)

16 years agor19742: fix compiler warnings
Stefan Metzmacher [Thu, 16 Nov 2006 11:11:30 +0000 (11:11 +0000)]
r19742: fix compiler warnings

metze
(This used to be commit 4edeef56dcd185869812bf622c5b496360eb6223)

16 years agor19740: fix compiler warning
Stefan Metzmacher [Thu, 16 Nov 2006 11:05:37 +0000 (11:05 +0000)]
r19740: fix compiler warning

metze
(This used to be commit 666e674504c514033390bf69746fb3c35baf4b2a)

16 years agor19738: tp3 is already released, so we have tp4-svn now
Stefan Metzmacher [Thu, 16 Nov 2006 10:52:17 +0000 (10:52 +0000)]
r19738: tp3 is already released, so we have tp4-svn now

metze
(This used to be commit e5671b75f2deab2d7979e5c394a942a511082f67)

16 years agor19737: - add some more CLDAP rootdse tests
Stefan Metzmacher [Thu, 16 Nov 2006 10:48:51 +0000 (10:48 +0000)]
r19737: - add some more CLDAP rootdse tests
- don't ignore CLDAP rootdse errors anymore

metze
(This used to be commit 712577d9e284445e9257b691aefb719511d6a57c)

16 years agor19736: handle rootdse call via CLDAP
Stefan Metzmacher [Thu, 16 Nov 2006 10:47:15 +0000 (10:47 +0000)]
r19736: handle rootdse call via CLDAP

metze
(This used to be commit 39dc94b219355ba774b309e26f1d93070d9d080b)

16 years agor19735: report the LDAP error code in the CLDAP replies to the caller
Stefan Metzmacher [Thu, 16 Nov 2006 10:42:07 +0000 (10:42 +0000)]
r19735: report the LDAP error code in the CLDAP replies to the caller

metze
(This used to be commit f4a6fade3a3113732ef66433c5739657f0bfdbee)

16 years agor19734: display LDAP error code nicer
Stefan Metzmacher [Thu, 16 Nov 2006 10:37:21 +0000 (10:37 +0000)]
r19734: display LDAP error code nicer

metze
(This used to be commit a0a45c3326560b9b31d0e17f1439d2638e91aee0)

16 years agor19733: More work to fix ldb_map. With the wildcard present,
Andrew Bartlett [Thu, 16 Nov 2006 09:55:58 +0000 (09:55 +0000)]
r19733: More work to fix ldb_map.  With the wildcard present,
map_attr_find_local() always returns, which is exactly what we don't
want.  Instead, rely on the overwrite behaviour.

Andrew Bartlett
(This used to be commit 9b9b7bae16a635d9a9ba72d21a4a4718d294c9b0)

16 years agor19732: The 'res' from ldb_search is only valid if the call returns LDB_SUCCESS.
Andrew Bartlett [Thu, 16 Nov 2006 09:34:19 +0000 (09:34 +0000)]
r19732: The 'res' from ldb_search is only valid if the call returns LDB_SUCCESS.

This seems to show up (as an abort() from talloc) particularly under
ldb_ildap.

Andrew Bartlett
(This used to be commit 9890af534d845d471d2a98268c408a907b29e016)

16 years agor19731: Modify the ldb_map infrustructure to always map from requested
Andrew Bartlett [Thu, 16 Nov 2006 09:16:17 +0000 (09:16 +0000)]
r19731: Modify the ldb_map infrustructure to always map from requested
attributes to backend (remote) attributes.

We can't do a reverse mapping safely where the remote attribute may be
a source for multiple local attributes.  (We end up with the wrong
attributes returned).

In doing this, I've modified the samba3sam.js test to be more
realistic, and fixed some failures in the handling of primaryGroupID.

I've added a new (private) helper function ldb_msg_remove_element() to
avoid a double lookup of the element name.

I've also re-formatted many of the function headers, to fit into
standard editor widths.

Andrew Bartlett
(This used to be commit 186766e3095e71ba716c69e681592e217a3bc420)

16 years agor19729: - split basedn related tests to a new function
Stefan Metzmacher [Wed, 15 Nov 2006 18:33:53 +0000 (18:33 +0000)]
r19729: - split basedn related tests to a new function
- and add some 'netlogon' attriubte related tests

metze
(This used to be commit d643c3cc5cd4547dbb7cead768993a9abee4e2eb)

16 years agor19727: make it possible to run the ldap.js tests against non global catalog servers
Stefan Metzmacher [Wed, 15 Nov 2006 18:14:37 +0000 (18:14 +0000)]
r19727: make it possible to run the ldap.js tests against non global catalog servers

metze
(This used to be commit 463ed4c0040f52ef2b06337e122aac325ec01026)

16 years agor19726: when a client explicit asks for the 'netlogon' attriubute on LDAP
Stefan Metzmacher [Wed, 15 Nov 2006 17:35:24 +0000 (17:35 +0000)]
r19726: when a client explicit asks for the 'netlogon' attriubute on LDAP
the result entry is skipped!

metze
(This used to be commit 62aa73f3d56596780fc82fecbc99c688ecbf5b08)

16 years agor19724: add a helper functions to return an CLDAP error
Stefan Metzmacher [Wed, 15 Nov 2006 17:08:45 +0000 (17:08 +0000)]
r19724: add a helper functions to return an CLDAP error

metze
(This used to be commit 0a1ecb911656f8170708ce13e1183557fe118794)

16 years agor19723: don't use [,],(,) in test names to make the build-farm output happy
Stefan Metzmacher [Wed, 15 Nov 2006 17:01:26 +0000 (17:01 +0000)]
r19723: don't use [,],(,) in test names to make the build-farm output happy

metze
(This used to be commit 8a0a92e2dc107797055421196f430269699510fe)

16 years agor19722: fix memory leaks and hierachie bugs
Stefan Metzmacher [Wed, 15 Nov 2006 16:53:32 +0000 (16:53 +0000)]
r19722: fix memory leaks and hierachie bugs

metze
(This used to be commit fddcbf5d4cce77705be43956ea93895432b64aa1)

16 years agor19721: ldapsrv_SearchCallback isn't needed any more
Stefan Metzmacher [Wed, 15 Nov 2006 16:36:14 +0000 (16:36 +0000)]
r19721: ldapsrv_SearchCallback isn't needed any more
ldb_search_default_callback does the same...

metze
(This used to be commit 0edac60ec6f1e67de8e08f4e71e56b674915ad6e)

16 years agor19720: - don't pass a pointer reference to ldb_search_default_callback()
Stefan Metzmacher [Wed, 15 Nov 2006 16:09:36 +0000 (16:09 +0000)]
r19720: - don't pass a pointer reference to ldb_search_default_callback()
  as it's ugly when it free's the callers memory on failure!

- only steal the controls on a LDB_REPLY_EXTENDED, LDB_REPLY_DONE
  and ignore them on LDB_REPLY_ENTRY, LDB_REPLY_REFERRAL as we currently
  have not way to return them in a ldb_result (we should fix this!)

metze
(This used to be commit 47da62b15abf48f97ce6fc8dc4627792728349ae)

16 years agor19719: don't use 'new' as var name samba3 doesn't like it...
Stefan Metzmacher [Wed, 15 Nov 2006 15:33:38 +0000 (15:33 +0000)]
r19719: don't use 'new' as var name samba3 doesn't like it...

metze
(This used to be commit 7a4f46c1c9ec8119db46ffc57d77fcf13ca0c5a8)

16 years agor19714: - add an explicit default target (needs to be the first target in the Makefile)
Stefan Metzmacher [Wed, 15 Nov 2006 14:31:47 +0000 (14:31 +0000)]
r19714: - add an explicit default target (needs to be the first target in the Makefile)
- let 'make nss' work alone

metze
(This used to be commit 5685b6c8a267251bb21f2cc0e768b00f615e0f1b)

16 years agor19708: add a script for running net tests separately
Rafal Szczesniak [Tue, 14 Nov 2006 23:17:39 +0000 (23:17 +0000)]
r19708: add a script for running net tests separately

rafal
(This used to be commit 0f913ef240dd3117197df1272e88ac195cd8e399)

16 years agor19699: - use better names for the site strings
Stefan Metzmacher [Mon, 13 Nov 2006 19:12:47 +0000 (19:12 +0000)]
r19699: - use better names for the site strings
- use the client_site when creating the server object

metze
(This used to be commit b02d0e1be343c7d609715237dc842702b6fbe231)

16 years agor19698: fix whitespaces...
Stefan Metzmacher [Mon, 13 Nov 2006 19:08:11 +0000 (19:08 +0000)]
r19698: fix whitespaces...

metze
(This used to be commit fa439f5655654b044eabb4657989d476aa9f5ea9)

16 years agor19697: use the same mailslot name as windows does,
Stefan Metzmacher [Mon, 13 Nov 2006 19:04:32 +0000 (19:04 +0000)]
r19697: use the same mailslot name as windows does,
this also let wireshark match the responses

metze
(This used to be commit 9e52b0b9b59e2c8ee7b1242a191cc37e462842c1)

16 years agor19684: Talloc_guide text on multithreading by Remi Turboult
Volker Lendecke [Mon, 13 Nov 2006 09:18:36 +0000 (09:18 +0000)]
r19684: Talloc_guide text on multithreading by Remi Turboult
(This used to be commit 7b9b2e5358030aed5cb69dbc93d3175c9cac4455)

16 years agor19683: Guard GUID_from_string from walking off the end.
Andrew Bartlett [Mon, 13 Nov 2006 03:21:13 +0000 (03:21 +0000)]
r19683: Guard GUID_from_string from walking off the end.

Andrew Bartlett
(This used to be commit 1c3e9b27a793971b096192204c54338b5e571521)

16 years agor19682: Fix comments.
Andrew Bartlett [Mon, 13 Nov 2006 03:20:24 +0000 (03:20 +0000)]
r19682: Fix comments.

Andrew Bartlett
(This used to be commit 4c349f44f8a018e1ad6ed8e92c5083abc4979324)

16 years agor19681: Update to current lorikeet-heimdal. I'm looking at using the realm
Andrew Bartlett [Mon, 13 Nov 2006 03:19:59 +0000 (03:19 +0000)]
r19681: Update to current lorikeet-heimdal.  I'm looking at using the realm
lookup plugin, the new PAC validation code as well as Heimdal's SPNEGO
implementation.

Andrew Bartlett
(This used to be commit 05421f45ed7811697ea491e26c9d991a7faa1a64)

16 years agor19680: Allow specifying basedir for test data.
Jelmer Vernooij [Sun, 12 Nov 2006 03:40:38 +0000 (03:40 +0000)]
r19680: Allow specifying basedir for test data.
Create temporary directories in base directory.
(This used to be commit f111feb1d2b82a9ec3a8b6fbcdbe297bf11edc42)

16 years agor19679: Fix shared library build as well.
Jelmer Vernooij [Sun, 12 Nov 2006 03:36:47 +0000 (03:36 +0000)]
r19679: Fix shared library build as well.
(This used to be commit ff9e1b4f0634847d0db178b2c283865c4fb39c9b)

16 years agor19678: Fix the build for now (ugly hack because of circular dependencies)
Jelmer Vernooij [Sun, 12 Nov 2006 03:26:11 +0000 (03:26 +0000)]
r19678: Fix the build for now (ugly hack because of circular dependencies)
(This used to be commit 0953bb7d5f2f2a81688f5421e1fbfa3bc38aa810)

16 years agor19677: Fix more dependencies.
Jelmer Vernooij [Sun, 12 Nov 2006 02:55:34 +0000 (02:55 +0000)]
r19677: Fix more dependencies.
(This used to be commit 17c2557834aad8c85fb640054c942f99bbce1d94)

16 years agor19676: Fix some more dependencies.
Jelmer Vernooij [Sun, 12 Nov 2006 02:49:05 +0000 (02:49 +0000)]
r19676: Fix some more dependencies.
(This used to be commit 8768bec81f57131a0c9754e8121b345c0be4a5d0)

16 years agor19675: the process model don't depend on heimdal anymore
Stefan Metzmacher [Sun, 12 Nov 2006 02:17:23 +0000 (02:17 +0000)]
r19675: the process model don't depend on heimdal anymore
and only have private depdendencies

metze
(This used to be commit f37c9f4d920c1a2dc160ce1c26cf70fbb45c653f)

16 years agor19674: auth didn't depdend on process_model!
Stefan Metzmacher [Sun, 12 Nov 2006 02:15:56 +0000 (02:15 +0000)]
r19674: auth didn't depdend on process_model!

metze
(This used to be commit 30963753fcd9d8db17ca5c8476cc85b7084b7e87)

16 years agor19673: Build shared libs against shared libs.
Jelmer Vernooij [Sun, 12 Nov 2006 01:30:45 +0000 (01:30 +0000)]
r19673: Build shared libs against shared libs.
(This used to be commit dad9156db9d53c51d7785139576dddcde7e34c56)

16 years agor19672: Make LIBSAMBA-UTIL a subsystem again for now because it has interdependencies
Jelmer Vernooij [Sun, 12 Nov 2006 00:54:43 +0000 (00:54 +0000)]
r19672: Make LIBSAMBA-UTIL a subsystem again for now because it has interdependencies
with LIBSAMBA-CONFIG.
(This used to be commit 4a044fb529075044755a0b5cc21446bf24bec72e)

16 years agor19671: Fix remaining unresolved symbols in shared library build.
Jelmer Vernooij [Sat, 11 Nov 2006 23:14:58 +0000 (23:14 +0000)]
r19671: Fix remaining unresolved symbols in shared library build.
Fix starting tests in shared library build.
(This used to be commit 3b65a0d6e491a57ed216dc0cd9c31d46e0cb6a35)

16 years agor19670: Reduce the number of unresolved symbols when building with shared libraries.
Jelmer Vernooij [Sat, 11 Nov 2006 22:44:28 +0000 (22:44 +0000)]
r19670: Reduce the number of unresolved symbols when building with shared libraries.
(This used to be commit 4422031d1d9307539832cee165c5071ff12943e7)

16 years agor19664: fix compiler warnings...
Stefan Metzmacher [Sat, 11 Nov 2006 15:11:21 +0000 (15:11 +0000)]
r19664: fix compiler warnings...

should _krb5_find_type_in_ad() also take a const?

metze
(This used to be commit addc31bd9309cb2b41cbb548c82c80de1cf96c4f)

16 years agor19663: merge changes from lorikeet heimdal:
Stefan Metzmacher [Sat, 11 Nov 2006 14:00:24 +0000 (14:00 +0000)]
r19663: merge changes from lorikeet heimdal:

support for netbios domain based realms

metze
(This used to be commit dcec6eebf1b474ae3055449efebf491b1106a458)

16 years agor19662: windows 2003 kdc's only rewrite the realm to the full form,
Stefan Metzmacher [Sat, 11 Nov 2006 12:52:04 +0000 (12:52 +0000)]
r19662: windows 2003 kdc's only rewrite the realm to the full form,
when the client is using the netbios domain name as realm.

we should match this and not rewrite the principal.

This matches what windows give:

metze@SERNOX:~/prefix/lorikeet-heimdal/bin> ./kinit administrator@SERNOXDOM4
administrator@SERNOXDOM4's Password:

metze@SERNOX:~/prefix/lorikeet-heimdal/bin> ./klist
Credentials cache: FILE:/tmp/krb5cc_10000
Principal: administrator@SERNOXDOM4.MX.BASE

Issued           Expires          Principal
Nov 11 13:37:52  Nov 11 23:37:52  krbtgt/SERNOXDOM4@SERNOXDOM4.MX.BASE

Note:
I need to disable the principal checks in heimdal's
_krb5_extract_ticket() for the kinit to work.

Any ideas how to change heimdal to support this.

For the service principal we should use
the realm and principal in req->kdc_rep.enc_part
instead of the unencrypted req->kdc.ticket.sname
and req->kdc.ticket.realm to have a trusted value.

I'm not sure what we can do with the client realm...

metze
(This used to be commit cfee02143f06ed6ff5832e95fa69634f5dd883da)

16 years agor19661: - add resolve stage to dcerpc connects over tcp
Stefan Metzmacher [Sat, 11 Nov 2006 11:00:19 +0000 (11:00 +0000)]
r19661: - add resolve stage to dcerpc connects over tcp
- remove ipv6 support untill the resolve layer can give ipv6 addresses

metze
(This used to be commit 1e518c3e675e6952044bc0fdf2537be432c0c56f)

16 years agor19660: Forgot to tell gsskrb5 not to canonicalize hostnames. Shoudl fix
Andrew Bartlett [Sat, 11 Nov 2006 03:41:50 +0000 (03:41 +0000)]
r19660: Forgot to tell gsskrb5 not to canonicalize hostnames.  Shoudl fix
valrind issues on fort, because we won't hit NSS any more.

Andrew Bartlett
(This used to be commit 6f67fa01ab4f946c9a9aae0d4e8d028153873e04)

16 years agor19650: Allow Samba to use Heimdal's SPNEGO code. Currently this can only
Andrew Bartlett [Fri, 10 Nov 2006 02:44:38 +0000 (02:44 +0000)]
r19650: Allow Samba to use Heimdal's SPNEGO code.  Currently this can only
negotiate krb5, but if this works, I'll add NTLM as a GSSAPI backend
by some means or other.

Andrew Bartlett
(This used to be commit 476452e143f61a3878a3646864729daaddccdf68)

16 years agor19649: Fix indentation.
Andrew Bartlett [Fri, 10 Nov 2006 02:41:00 +0000 (02:41 +0000)]
r19649: Fix indentation.

Andrew Bartlett
(This used to be commit ffce0087759d45a8dff8647feffa3bedbf42023b)

16 years agor19645: don't pass NULL as mem_ctx...
Stefan Metzmacher [Thu, 9 Nov 2006 01:11:45 +0000 (01:11 +0000)]
r19645: don't pass NULL as mem_ctx...

metze
(This used to be commit 643a38bc30a0df1582035b8d264e0dbbc2d2e152)

16 years agor19644: Merge up to current lorikeet-heimdal, incling adding
Andrew Bartlett [Thu, 9 Nov 2006 00:33:43 +0000 (00:33 +0000)]
r19644: Merge up to current lorikeet-heimdal, incling adding
gsskrb5_set_default_realm(), which should fix mimir's issues.

Andrew Bartlett
(This used to be commit 8117e76d2adee163925a29df872015ff5021a1d3)

16 years agor19643: make process_model thread compile again
Stefan Metzmacher [Thu, 9 Nov 2006 00:29:32 +0000 (00:29 +0000)]
r19643: make process_model thread compile again

metze
(This used to be commit f02f7ed19db2be8e23b1a5850082c9f9da35c028)

16 years agor19642: convert host.c to new composite api
Stefan Metzmacher [Wed, 8 Nov 2006 22:33:22 +0000 (22:33 +0000)]
r19642: convert host.c to new composite api

metze
(This used to be commit a5d36a6ddefb8c24e748b839391241da41e31440)

16 years agor19641: ldap_delete() is only allowed as user, we need to give credentials to the...
Stefan Metzmacher [Wed, 8 Nov 2006 22:28:28 +0000 (22:28 +0000)]
r19641: ldap_delete() is only allowed as user, we need to give credentials to the ildap backend

metze
(This used to be commit a996d2633600d32b2c2c04edebd0b901c627f00b)

16 years agor19640: add some comments
Rafal Szczesniak [Wed, 8 Nov 2006 21:40:11 +0000 (21:40 +0000)]
r19640: add some comments

rafal
(This used to be commit 1ea37bf3b32a7f534b3ae1918fc6336ef062f8ab)

16 years agor19639: convert nbtlist.c to new composite api
Stefan Metzmacher [Wed, 8 Nov 2006 21:20:45 +0000 (21:20 +0000)]
r19639: convert nbtlist.c to new composite api

metze
(This used to be commit 800999733eb2f35486a62fb8fa9d179c8ca312fa)

16 years agor19638: convert resolve.c to the new composite api
Stefan Metzmacher [Wed, 8 Nov 2006 21:18:24 +0000 (21:18 +0000)]
r19638: convert resolve.c to the new composite api

metze
(This used to be commit 617f9c70c1b61e0fd4338048bbd94e7a4722ad9d)

16 years agor19637: Leave --realm option only, as abartlet suggested.
Rafal Szczesniak [Wed, 8 Nov 2006 21:11:25 +0000 (21:11 +0000)]
r19637: Leave --realm option only, as abartlet suggested.

rafal
(This used to be commit 73e3f7efa71ca07a42215b044cd9a20762cf2694)

16 years agor19636: Add URLs to ldb and talloc pkg-config files.
Jelmer Vernooij [Wed, 8 Nov 2006 14:36:30 +0000 (14:36 +0000)]
r19636: Add URLs to ldb and talloc pkg-config files.
Always build and install .pc files as they make sense for static libs
as well.
(This used to be commit 82cb91e2dd50899050066cccee82cb5be52ec3fe)

16 years agor19635: It appears that under CFX, different keys are used in each direction
Andrew Bartlett [Wed, 8 Nov 2006 04:54:56 +0000 (04:54 +0000)]
r19635: It appears that under CFX, different keys are used in each direction
(or something like that).

In any case, we need to stick with the initiator subkey for now, until
we figure out what Vista uses for the CIFS session key.

Andrew Bartlett
(This used to be commit b91a921e1393581ca0102ad1f49a1075acb91b4e)

16 years agor19634: Only use --allow-undef-shlib for modules.
Jelmer Vernooij [Wed, 8 Nov 2006 02:01:31 +0000 (02:01 +0000)]
r19634: Only use --allow-undef-shlib for modules.
(This used to be commit e8f2a086be2a0553467738df711b1450ba559848)

16 years agor19633: Merge to lorikeet-heimdal, removing krb5_rd_req_return_keyblock in favour...
Andrew Bartlett [Wed, 8 Nov 2006 01:48:35 +0000 (01:48 +0000)]
r19633: Merge to lorikeet-heimdal, removing krb5_rd_req_return_keyblock in favour of a more tasteful replacement.

Remove kerberos_verify.c, as we don't need that code any more.
Replace with code for using the new krb5_rd_req_ctx() borrowed from
Heimdal's accecpt_sec_context.c

Andrew Bartlett
(This used to be commit 13c9df1d4f0517468c80040d3756310d4dcbdd50)

16 years agor19632: This got missed in the heimdal merge. Without this, we don't keep the
Andrew Bartlett [Wed, 8 Nov 2006 01:43:23 +0000 (01:43 +0000)]
r19632: This got missed in the heimdal merge.  Without this, we don't keep the
full database name.  The existing code (needed for when we use the HDB
as a keytab, such as for the kpasswd service) only works for HDB
keytabs not prefixed with a type.

Andrew Bartlett
(This used to be commit 12dc157daea4a20200f910d8e71c49670e35ef50)

16 years agor19631: Re-enable shared libraries, but don't use -rpath-link unless
Jelmer Vernooij [Wed, 8 Nov 2006 01:37:28 +0000 (01:37 +0000)]
r19631: Re-enable shared libraries, but don't use -rpath-link unless
shared libraries are actually used.
(This used to be commit 93e4f093b946cbb1b6deca82efdf0d5f033128b8)

16 years agor19630: Support specifying the realm name from command line.
Rafal Szczesniak [Tue, 7 Nov 2006 23:48:02 +0000 (23:48 +0000)]
r19630: Support specifying the realm name from command line.
Useful when testing calls against windows servers with krb auth.

rafal
(This used to be commit 0725e2ddebde9c170340d0284a1573222caa2159)

16 years agor19629: No need to special case use of DCE_STYLE sign and seal away any more...
Andrew Bartlett [Tue, 7 Nov 2006 21:08:33 +0000 (21:08 +0000)]
r19629: No need to special case use of DCE_STYLE sign and seal away any more...

Andrew Bartlett
(This used to be commit 247b9f1ca907cf921087e6840400ddf68289b8f2)

16 years agor19628: This hint via Love at the IETF meeting:
Andrew Bartlett [Tue, 7 Nov 2006 21:05:45 +0000 (21:05 +0000)]
r19628: This hint via Love at the IETF meeting:

Larry told me that most context flags needed to be set to, otherwise
it wouldn't work.

This fixes DCE_STYLE against Win2k3 SP1.  It seems they just tightened
up their end of the GSSAPI code, as DCE_STYLE is explicity rejected in
the session setup too (being the wrong layer).

Andrew Bartlett
(This used to be commit b2b77f34a4d0cebb828cac7bf9a73826fecab5b6)

16 years agor19625: not all linkers like -Wl,rpath-link, so don't use it till we have configure...
Stefan Metzmacher [Tue, 7 Nov 2006 16:14:14 +0000 (16:14 +0000)]
r19625: not all linkers like -Wl,rpath-link, so don't use it till we have configure checks
and working shared libraries

metze
(This used to be commit 25376f748c6f2da48a8bf7e0aa0d59befb9db4f3)

16 years agor19624: we have timegm in libreplace so heimdal should not replace it
Stefan Metzmacher [Tue, 7 Nov 2006 16:03:00 +0000 (16:03 +0000)]
r19624: we have timegm in libreplace so heimdal should not replace it

metze
(This used to be commit b6d1fd1b24d09049fcd432a804ad905e89fcc224)