kai/samba.git
16 years agor11410: Fix rejoin as a BDC by modifying, rather than trying to recreate, the
Andrew Bartlett [Mon, 31 Oct 2005 03:44:29 +0000 (03:44 +0000)]
r11410: Fix rejoin as a BDC by modifying, rather than trying to recreate, the
server reference.

Andrew Bartlett
(This used to be commit 302219928f47cdc3822c3a7d9444339092d9d33c)

16 years agor11409: The use of 'password server = ' here is still bogus, but for now at
Andrew Bartlett [Mon, 31 Oct 2005 03:06:13 +0000 (03:06 +0000)]
r11409: The use of 'password server = ' here is still bogus, but for now at
least don't allow binding to become uninitialised.

Andrew Bartlett
(This used to be commit e754234a17ebc601720caa66a229d9a842dfebda)

16 years agor11408: fixed the mapping of ldb errors to ldap errors in the ldap server
Andrew Tridgell [Mon, 31 Oct 2005 03:05:26 +0000 (03:05 +0000)]
r11408: fixed the mapping of ldb errors to ldap errors in the ldap server
(This used to be commit 647cb90360d1a790c8da34d48c46737762046e1b)

16 years agor11407: Push 'recreate account' logic into libnet/libnet_join.c. We don't
Andrew Bartlett [Mon, 31 Oct 2005 03:03:32 +0000 (03:03 +0000)]
r11407: Push 'recreate account' logic into libnet/libnet_join.c.  We don't
return the pesky USER_EXISTS 'error' code any more, and it is much
easier to handle this inline.

Andrew Bartlett
(This used to be commit a7eb796cf544db3fe16986d8e233d2defe7a7d1b)

16 years agor11406: Clean up uninitialised value warnings found by -01.
Andrew Bartlett [Mon, 31 Oct 2005 03:00:36 +0000 (03:00 +0000)]
r11406: Clean up uninitialised value warnings found by -01.

The warnings were caused by the structure assignements, which we don't
need to do.  The actual values are filled in by the NDR layer later.

Andrew Bartlett
(This used to be commit f140117535c3281f0a0a7970ea4127498737d112)

16 years agor11405: Ensure we can never have secret4 be uninitialised. Found after
Andrew Bartlett [Mon, 31 Oct 2005 02:58:29 +0000 (02:58 +0000)]
r11405: Ensure we can never have secret4 be uninitialised.  Found after
volker's urging on the use of -O1.

Andrew Bartlett
(This used to be commit 6a7bb391ba62a4f90f57aa76c5dcc0d35fca54a4)

16 years agor11404: Another torture test and a new WERR.
Andrew Bartlett [Mon, 31 Oct 2005 02:46:15 +0000 (02:46 +0000)]
r11404: Another torture test and a new WERR.

Andrew Bartlett
(This used to be commit de83b8cd187b28ecb30550c44f9f84e373df692e)

16 years agor11403: improved the error handling in the ildap ldb backend. Now passes
Andrew Tridgell [Mon, 31 Oct 2005 02:13:02 +0000 (02:13 +0000)]
r11403: improved the error handling in the ildap ldb backend. Now passes
through all ldap errors except on search. Search errors are only
available via ldb_errstring() until we decide how to fix ldb_search().
(This used to be commit c192bcb79dda44b5b7a3bc257ba92addf769c8d9)

16 years agor11402: In response to comments by volker, expand our Netlogon DsRGetDCName
Andrew Bartlett [Mon, 31 Oct 2005 02:12:13 +0000 (02:12 +0000)]
r11402: In response to comments by volker, expand our Netlogon DsRGetDCName
IDL and testsuites.  The server-side of this remains a stub, we should
probably be doing ldb searches for the server reference record.

Andrew Bartlett
(This used to be commit 0141ed309a664e7a9893c95232c2dcb9768f9315)

16 years agor11401: A simple hack to have our central credentials system deny sending LM
Andrew Bartlett [Mon, 31 Oct 2005 00:23:38 +0000 (00:23 +0000)]
r11401: A simple hack to have our central credentials system deny sending LM
authentication for user@realm logins and machine account logins.

This should avoid various protocol downgrade attacks.

Andrew Bartlett
(This used to be commit 76c2d204d0a1ec66d1ef3c935688c7571b051f46)

16 years agor11400: fix compiler warnings
Stefan Metzmacher [Sun, 30 Oct 2005 10:39:52 +0000 (10:39 +0000)]
r11400: fix compiler warnings

metze
(This used to be commit a29a107d95b67248ccd6036084829b080c892e40)

16 years agor11399: Add another case where we need to fallback, if the KDC isn't there.
Andrew Bartlett [Sun, 30 Oct 2005 00:56:39 +0000 (00:56 +0000)]
r11399: Add another case where we need to fallback, if the KDC isn't there.

Andrew Bartlett
(This used to be commit e82fbb58ddaa3d38615d9a2d5e804f614edb2ff3)

16 years agor11394: Allow KDC unreachable as another 'forget about gssapi' error on SPNEGO.
Andrew Bartlett [Sat, 29 Oct 2005 13:13:52 +0000 (13:13 +0000)]
r11394: Allow KDC unreachable as another 'forget about gssapi' error on SPNEGO.

Andrew Bartlett
(This used to be commit da24074860cb7029ef0ff45105170642174f45c1)

16 years agor11393: Avoid error messages and get more correctness with long plaintext passwords.
Andrew Bartlett [Sat, 29 Oct 2005 11:11:05 +0000 (11:11 +0000)]
r11393: Avoid error messages and get more correctness with long plaintext passwords.

Andrew Bartlett
(This used to be commit cb0b3c00572958f5ac8413cc651f627ca1871295)

16 years agor11392: After confirmation from Love, fix a compiler warning
Volker Lendecke [Sat, 29 Oct 2005 06:59:54 +0000 (06:59 +0000)]
r11392: After confirmation from Love, fix a compiler warning
(This used to be commit a0b4036ba6ae423bab3ec698d3e404f03bb0f9d5)

16 years agor11391: Add includedir to the list of directories to create
Jelmer Vernooij [Sat, 29 Oct 2005 00:45:40 +0000 (00:45 +0000)]
r11391: Add includedir to the list of directories to create
(This used to be commit dab450a50194181aed14e93130eb2a1c42e616d0)

16 years agor11388: Move dot-generating to a seperate perl executable
Jelmer Vernooij [Fri, 28 Oct 2005 23:28:37 +0000 (23:28 +0000)]
r11388: Move dot-generating to a seperate perl executable
(This used to be commit 31406f7aa540efc4c11e7546a12fdeee80e8db6c)

16 years agor11387: Remove pidl from the default 'install' target as it doesn't obey the
Jelmer Vernooij [Fri, 28 Oct 2005 23:16:27 +0000 (23:16 +0000)]
r11387: Remove pidl from the default 'install' target as it doesn't obey the
user specified install paths.
(This used to be commit d537a35ec3d5fb2dc5143c1fb880faab5c64a862)

16 years agor11386: Add install rule for pidl
Jelmer Vernooij [Fri, 28 Oct 2005 22:40:31 +0000 (22:40 +0000)]
r11386: Add install rule for pidl
(This used to be commit b740d0d28043e37ba3f0bec0c1bfbd68c0fb56e6)

16 years agor11385: Fix issues in module.c. Calling function should pass in path
Jelmer Vernooij [Fri, 28 Oct 2005 22:32:22 +0000 (22:32 +0000)]
r11385: Fix issues in module.c. Calling function should pass in path
to directory rather then subsystem name now.
(This used to be commit 2a868ab3b57f64a27416c7a24c8d1ae112fc0c53)

16 years agor11382: Require number of required M4 macros
Jelmer Vernooij [Fri, 28 Oct 2005 21:13:30 +0000 (21:13 +0000)]
r11382: Require number of required M4 macros
Make MODULE handling a bit more like BINARY, LIBRARY and SUBSYSTEM
Add some more PUBLIC_HEADERS
(This used to be commit 875eb8f4cc658e6aebab070029fd499a726ad520)

16 years agor11378: Fix an uninitialized variable warning. Tridge, I'm 99.999% sure this was a
Volker Lendecke [Fri, 28 Oct 2005 19:14:46 +0000 (19:14 +0000)]
r11378: Fix an uninitialized variable warning. Tridge, I'm 99.999% sure this was a
simple cut&paste error, but you might recheck this.

Volker
(This used to be commit 55b5b100e9ef7e04832d5ba4c10c45916be3513e)

16 years agor11377: Add support for building LIBRARY elements as shared libraries:
Jelmer Vernooij [Fri, 28 Oct 2005 18:26:26 +0000 (18:26 +0000)]
r11377: Add support for building LIBRARY elements as shared libraries:
 - Adds -rpath bin/ so you don't have to install Samba in order to use compiled binaries.
 - Writes out pkg-config files when building shared libs
 - Supports automatic fallback to MERGEDOBJ (which is the default) or
   OBJ_LIST (if ld -r is not supported)

Building with shared libs reduces the size of the Samba binaries from
197 Mb to 60 Mb (including libraries) on my system (GCC4, with debugging).

To build with shared libraries support enabled, run:

LIBRARY_OUTPUT_TYPE=SHARED_LIBRARY ./config.status

init functions don't get called correctly yet when using shared libs, so
you won't be able to actually run anything with success :-)

Once init functions are done, I'll look at support for loading shared
modules once again.

Based on a patch by Peter Novodvorsky (nidd on IRC).
(This used to be commit 0b54405685674a2b19a28d77aae5b1136b5a4728)

16 years agor11374: On request from VL, put the plaintext auth patch in.
Andrew Bartlett [Fri, 28 Oct 2005 13:42:00 +0000 (13:42 +0000)]
r11374: On request from VL, put the plaintext auth patch in.

I still have some gremlins that get in the my way in testing this.

Andrew Bartlett
(This used to be commit 3353e906adb3b3116551026e3ae18fd4d7ae1764)

16 years agor11373: Handle an apparent alias in NBT ntlogin replies.
Andrew Bartlett [Fri, 28 Oct 2005 13:22:09 +0000 (13:22 +0000)]
r11373: Handle an apparent alias in NBT ntlogin replies.

Andrew Bartlett
(This used to be commit 51d55d2211195fe5d345ce130001dff1bfbfcef3)

16 years agor11372: Now RPC-SAMLOGON works, place it into the default 'make test'.
Andrew Bartlett [Fri, 28 Oct 2005 12:08:03 +0000 (12:08 +0000)]
r11372: Now RPC-SAMLOGON works, place it into the default 'make test'.

Andrew Bartlett
(This used to be commit 381c4f9fef00cd65ebcbf41ab0cf62fd69ffc8cf)

16 years agor11371: Fix the ntlm_auth build.
Andrew Bartlett [Fri, 28 Oct 2005 11:21:33 +0000 (11:21 +0000)]
r11371: Fix the ntlm_auth build.

Andrew Bartlett
(This used to be commit 708476d0b2d178b9fd80583ac02fdadd4f9650b0)

16 years agor11370: Samba4 now passes it's own RPC-SAMLOGON test again.
Andrew Bartlett [Fri, 28 Oct 2005 11:20:48 +0000 (11:20 +0000)]
r11370: Samba4 now passes it's own RPC-SAMLOGON test again.

This avoids the nasty user@DOMAIN test for now, as it has very odd
semantics with NTLMv2.

Allow only user accounts to do an interactive login.

Andrew Bartlett
(This used to be commit 690cad8083e176b2e58fc243a11a003a78ce4074)

16 years agor11369: Implement socket_connect_multi: Connect to multiple ipv4 tcp ports in
Volker Lendecke [Fri, 28 Oct 2005 11:02:42 +0000 (11:02 +0000)]
r11369: Implement socket_connect_multi: Connect to multiple ipv4 tcp ports in
sequence, with a 2-millisecond timeout between firing the syn packets. Build
smbcli_sock_connect_send upon that.

Volker
(This used to be commit 5718df44d90d113304c5deed1e2e7f82ff9e928f)

16 years agor11367: Ensure to intialise the new logon_parameters (0 for session setups).
Andrew Bartlett [Fri, 28 Oct 2005 09:14:16 +0000 (09:14 +0000)]
r11367: Ensure to intialise the new logon_parameters (0 for session setups).

Andrew Bartlett
(This used to be commit abff53b6339b7924ff705c7e3685135e85d8ed7a)

16 years agor11366: Pass around the flags which indicate if we should support plaintext
Andrew Bartlett [Fri, 28 Oct 2005 08:54:37 +0000 (08:54 +0000)]
r11366: Pass around the flags which indicate if we should support plaintext
logins and NTLM machine account logins.

Andrew Bartlett
(This used to be commit 421e64c2b4192bb13d2857d6c8648ff687ed653e)

16 years agor11365: fixed a comment typo
Andrew Tridgell [Fri, 28 Oct 2005 07:05:56 +0000 (07:05 +0000)]
r11365: fixed a comment typo
(This used to be commit 3333d71ab6594c1e8977098c31c9437686039f1c)

16 years agor11364: added a ldb_attr_dn() function for testing if an attribute name is
Andrew Tridgell [Fri, 28 Oct 2005 07:05:32 +0000 (07:05 +0000)]
r11364: added a ldb_attr_dn() function for testing if an attribute name is
"dn" or "distinguishedName". This makes us a bit more consistent
(This used to be commit b41b374b55f9a056c47ffa2ff88aa5272dbc42fc)

16 years agor11363: fixed a problem with provisioning when hklm already exists (the
Andrew Tridgell [Fri, 28 Oct 2005 07:00:52 +0000 (07:00 +0000)]
r11363: fixed a problem with provisioning when hklm already exists (the
problem is really caused by hklm not having objectclass attributes on
its records, but this is a workaround)
(This used to be commit 62d5253a033f47335ceefade9ad7d98ddfc19584)

16 years agor11362: Remove attempt to decode uint8 array as a security descriptor. Pidl thinks
Tim Potter [Fri, 28 Oct 2005 06:51:44 +0000 (06:51 +0000)]
r11362: Remove attempt to decode uint8 array as a security descriptor.  Pidl thinks
that because it is an array, the import should also be an array, i.e of
security descriptors.
(This used to be commit fb313c19c60f6e0f69411a3bb96cd9d19fde7685)

16 years agor11361: Test user@DOMAIN userPrincipalNames
Andrew Bartlett [Fri, 28 Oct 2005 06:44:24 +0000 (06:44 +0000)]
r11361: Test user@DOMAIN userPrincipalNames

Andrew Bartlett
(This used to be commit 75b002746af3788c71f99854ce983ff807f12b37)

16 years agor11360: Pass down a flag indicating that this is an 'old password', and to
Andrew Bartlett [Fri, 28 Oct 2005 05:57:35 +0000 (05:57 +0000)]
r11360: Pass down a flag indicating that this is an 'old password', and to
expect funny buisness.

Andrew Bartlett
(This used to be commit b2810bd702b14375ddc237ba39be0badbae20aa5)

16 years agor11359: More lovely cracknames tests...
Andrew Bartlett [Fri, 28 Oct 2005 05:46:22 +0000 (05:46 +0000)]
r11359: More lovely cracknames tests...

Andrew Bartlett
(This used to be commit 35cbdd5c9ddb95a78fd56b854edca1b62f118fa7)

16 years agor11358: Ensure domains are always upper-case as well. Helps NTLMv2.
Andrew Bartlett [Fri, 28 Oct 2005 05:17:19 +0000 (05:17 +0000)]
r11358: Ensure domains are always upper-case as well.  Helps NTLMv2.

Andrew Bartlett
(This used to be commit 82527491b2212d34b676be1e26cc875ae2828e42)

16 years agor11357: Add more standard 'servicePrincaipalName' entries to our host account
Andrew Bartlett [Fri, 28 Oct 2005 05:16:25 +0000 (05:16 +0000)]
r11357: Add more standard 'servicePrincaipalName' entries to our host account
in provision.

Andrew Bartlett
(This used to be commit 8ed61562803f92eb110742ac45cff36c8fe8eca3)

16 years agor11356: More cracknames work. This copes with a lookup for a
Andrew Bartlett [Fri, 28 Oct 2005 05:14:51 +0000 (05:14 +0000)]
r11356: More cracknames work. This copes with a lookup for a
servicePrincipalName with a realm, which always returns 'domain only',
with the realm as the domain.

Andrew Bartlett
(This used to be commit 476cd0c649d69f682dee27c1ae2a73b870b300d0)

16 years agor11355: Test for error returns when we don't specify the newly discovered
Andrew Bartlett [Fri, 28 Oct 2005 04:58:33 +0000 (04:58 +0000)]
r11355: Test for error returns when we don't specify the newly discovered
'workstation for account on NTLM' flag.

Andrew Bartlett
(This used to be commit aa5b6cf7c4cabd25655dc11d90d00c5faec67d6c)

16 years agor11354: - generate a ejs error on bad ldif to add/modify
Andrew Tridgell [Fri, 28 Oct 2005 04:10:47 +0000 (04:10 +0000)]
r11354: - generate a ejs error on bad ldif to add/modify

- fixed a double free error in ldb.close()
(This used to be commit 7f797e7097cffa1f5b5bac34e100af77d4026f89)

16 years agor11353: a bit of an improvement to the ldb_tdb error handling
Andrew Tridgell [Fri, 28 Oct 2005 03:43:39 +0000 (03:43 +0000)]
r11353: a bit of an improvement to the ldb_tdb error handling
(This used to be commit 896704f5c139c8bce30dfc898bb3a12be10035ed)

16 years agor11352: Add newly discovered (via the radiator lists) flags for controlling
Andrew Bartlett [Fri, 28 Oct 2005 03:40:10 +0000 (03:40 +0000)]
r11352: Add newly discovered (via the radiator lists) flags for controlling
plaintext and machine account logins.

Update tests to confirm this behaviour.

Andrew Bartlett
(This used to be commit a0ed41d379f4b15a7f44ca93de9907f02bada163)

16 years agor11351: Another add-hoc test.
Andrew Bartlett [Fri, 28 Oct 2005 03:39:14 +0000 (03:39 +0000)]
r11351: Another add-hoc test.

Andrew Bartlett
(This used to be commit 326ffb2cc03bfde37b6fe34779848e9a191198e2)

16 years agor11350: Add some debugs to assist tracking down kerberos issues in future.
Andrew Bartlett [Fri, 28 Oct 2005 02:29:32 +0000 (02:29 +0000)]
r11350: Add some debugs to assist tracking down kerberos issues in future.
(Make it easy to see what was put into the keytab, so we can tell when
gssapi screams that it can't pull it out).

Andrew Bartlett
(This used to be commit c56142c4ac7541fc30bdf4c77e34f5a50d80da76)

16 years agor11349: Actually add all the new spns...
Andrew Bartlett [Fri, 28 Oct 2005 02:13:14 +0000 (02:13 +0000)]
r11349: Actually add all the new spns...

Andrew Bartlett
(This used to be commit 63eede2ad3f0238e1a925325c0be08d79f48c33b)

16 years agor11348: Fixes for 'net join':
Andrew Bartlett [Fri, 28 Oct 2005 02:09:35 +0000 (02:09 +0000)]
r11348: Fixes for 'net join':

 - Add more servicePrincipalNames
 - Always add them, not just for BDC accounts, and not just the first
   time the account is created (it might be an upgrade from an NT4
   account).

This should fix us for being a domain member in ADS again.
(This used to be commit 3821821d4cb459edd331d40be8b84b3c82616a0a)

16 years agor11343: Remove dependency on DEBUG()
Jelmer Vernooij [Thu, 27 Oct 2005 23:02:47 +0000 (23:02 +0000)]
r11343: Remove dependency on DEBUG()
(This used to be commit 407b5e615f80ab2f7a3d10bafd9284de7f02fe60)

16 years agor11342: Remove unused variables.
Andrew Bartlett [Thu, 27 Oct 2005 22:37:48 +0000 (22:37 +0000)]
r11342: Remove unused variables.

Andrew Bartlett
(This used to be commit eed8f4a03168a72910c829e490937c696c00b697)

16 years agor11339: Fix the build by adding the serviceprincial name cracknames helper.
Andrew Bartlett [Thu, 27 Oct 2005 22:27:51 +0000 (22:27 +0000)]
r11339: Fix the build by adding the serviceprincial name cracknames helper.

Andrew Bartlett
(This used to be commit 0a5bf9348ae179698daa291b94546c893e258097)

16 years agor11334: Print error status in debug.
Andrew Bartlett [Thu, 27 Oct 2005 14:33:12 +0000 (14:33 +0000)]
r11334: Print error status in debug.

Andrew Bartlett
(This used to be commit 3b5ef4208d8e9492fbed1b68251bc62063909854)

16 years agor11333: Push service principal lookups into the cracknames code, rather than
Andrew Bartlett [Thu, 27 Oct 2005 13:54:30 +0000 (13:54 +0000)]
r11333: Push service principal lookups into the cracknames code, rather than
in the hdb-ldb code.

Andrew Bartlett
(This used to be commit f71149c88d9648f5b2b1d1480dc8d45c551b0231)

16 years agor11331: add conflict cases owned,released vs. replica
Stefan Metzmacher [Thu, 27 Oct 2005 13:12:35 +0000 (13:12 +0000)]
r11331: add conflict cases owned,released vs. replica

metze
(This used to be commit d3049936a574e35eb00f072a3c378db0b69170aa)

16 years agor11330: - split up owned,active vs replica and owned,released vs. replica
Stefan Metzmacher [Thu, 27 Oct 2005 13:11:33 +0000 (13:11 +0000)]
r11330: - split up owned,active vs replica and owned,released vs. replica
- complete owned,released tests

metze
(This used to be commit ba82ffb261d5ef59216cec75fb617b4d7022aaee)

16 years agor11329: the 0x1C must be registered as group name
Stefan Metzmacher [Thu, 27 Oct 2005 13:09:52 +0000 (13:09 +0000)]
r11329: the 0x1C must be registered as group name

metze
(This used to be commit 657d45d3e0d57c3457c5e84b732914918db815e6)

16 years agor11325: Fix up some kerberos notes.
Andrew Bartlett [Thu, 27 Oct 2005 12:26:28 +0000 (12:26 +0000)]
r11325: Fix up some kerberos notes.

Andrew Bartlett
(This used to be commit 89623af30f25150da42a17f825e202b2ae9f7898)

16 years agor11322: Start moving towards using the cracknames code in the KDC.
Andrew Bartlett [Thu, 27 Oct 2005 10:45:16 +0000 (10:45 +0000)]
r11322: Start moving towards using the cracknames code in the KDC.

Andrew Bartlett
(This used to be commit cf67af421686e7a89334e10296a3a07c1f8f6298)

16 years agor11321: Fix typos in warnings.
Andrew Bartlett [Thu, 27 Oct 2005 10:44:41 +0000 (10:44 +0000)]
r11321: Fix typos in warnings.

Andrew Bartlett
(This used to be commit 81f020d3a4982842b770b9eeb82851cf2cd35fe2)

16 years agor11318: Tweak import statement for decoding KeySecurityData as a NT security
Tim Potter [Thu, 27 Oct 2005 07:32:04 +0000 (07:32 +0000)]
r11318: Tweak import statement for decoding KeySecurityData as a NT security
descriptor in ethereal.
(This used to be commit 5af1b6df0afac28fb041b5b374b5c5b5e4ef15b3)

16 years agor11317: An ugly hack to setup the global gssapi_krb5_context early, when we
Andrew Bartlett [Thu, 27 Oct 2005 05:33:49 +0000 (05:33 +0000)]
r11317: An ugly hack to setup the global gssapi_krb5_context early, when we
have easy access to the event context.

This stops Samba dead-locking against itself when the winbindd client
tries to contact the KDC.

Andrew Bartlett
(This used to be commit 57f811115ed768ea1f170dcd71038398bf2ab6e9)

16 years agor11316: Kill off a bit more of the old secrets system...
Andrew Bartlett [Thu, 27 Oct 2005 05:31:20 +0000 (05:31 +0000)]
r11316: Kill off a bit more of the old secrets system...

Andrew Bartlett
(This used to be commit c46ef43224ce0384297ffe1934f9ff0a00a4be45)

16 years agor11315: Sorry gd, I just removed all of your code that I just merged...
Andrew Bartlett [Thu, 27 Oct 2005 00:05:07 +0000 (00:05 +0000)]
r11315: Sorry gd, I just removed all of your code that I just merged...

(We now ask the kerberos libraries to handle getting and unwapping the PAC).

Andrew Bartlett
(This used to be commit 6a0beb29da2aaa4d432cf9643924db3c2e77a858)

16 years agor11314: Use a patch from lha to have the kerberos libs extract the PAC, rather
Andrew Bartlett [Wed, 26 Oct 2005 23:41:01 +0000 (23:41 +0000)]
r11314: Use a patch from lha to have the kerberos libs extract the PAC, rather
than doing ASN.1 parsing in Samba.

Also use the API function for getting a client from a ticket, rather
than just digging in the structure.

Andrew Bartlett
(This used to be commit 25d5ea6d724bd2b64a6086ae6e2e1c5148b8ca4a)

16 years agor11313: Typo
Andrew Bartlett [Wed, 26 Oct 2005 23:39:04 +0000 (23:39 +0000)]
r11313: Typo
(This used to be commit 204185576c6a4df5e43e5a97cb13227407c09e6e)

16 years agor11312: Make it clear we are looking at the 'domain ref', not the domain
Andrew Bartlett [Wed, 26 Oct 2005 23:38:37 +0000 (23:38 +0000)]
r11312: Make it clear we are looking at the 'domain ref', not the domain
itself in the auth_sam module.

Andrew Bartlett
(This used to be commit 0800942dbb1511586a896c6376c436a4552c54be)

16 years agor11311: Move some more logic to env
Jelmer Vernooij [Wed, 26 Oct 2005 23:36:04 +0000 (23:36 +0000)]
r11311: Move some more logic to env
(This used to be commit 990419bac7ce335ffcec84017614eb9642a6ece6)

16 years agor11310: Free the 'if_relevent' portion of the PAC when we build it.
Andrew Bartlett [Wed, 26 Oct 2005 23:34:15 +0000 (23:34 +0000)]
r11310: Free the 'if_relevent' portion of the PAC when we build it.

Andrew Bartlett
(This used to be commit ede638c00b574bf4149d11844c0adf8e0f5c4efb)

16 years agor11309: A trivial test script for ejs libnet interface.
Rafal Szczesniak [Wed, 26 Oct 2005 21:05:27 +0000 (21:05 +0000)]
r11309: A trivial test script for ejs libnet interface.

rafal
(This used to be commit deb561ea4a00730787d129ae5eda38ceefe129f6)

16 years agor11308: Correctly return status code in case of js error or libnet
Rafal Szczesniak [Wed, 26 Oct 2005 21:04:53 +0000 (21:04 +0000)]
r11308: Correctly return status code in case of js error or libnet
function execution error.

rafal
(This used to be commit a50a5bef6e4c0051d13ed59fe5ddade709a98ba7)

16 years agor11307: Add support for generating pkg-config files
Jelmer Vernooij [Wed, 26 Oct 2005 20:06:26 +0000 (20:06 +0000)]
r11307: Add support for generating pkg-config files
(This used to be commit 9c211507c15092ce09fd519cd0ffadf4b9f69492)

16 years agor11306: Move more static Makefile data to main.mk
Jelmer Vernooij [Wed, 26 Oct 2005 19:07:01 +0000 (19:07 +0000)]
r11306: Move more static Makefile data to main.mk
Clean up smb_build::makefile a bit
(This used to be commit 28931219a19317f6c7208086416bc675bb259179)

16 years agor11305: Use more recent guess and sub files
Jelmer Vernooij [Wed, 26 Oct 2005 18:12:47 +0000 (18:12 +0000)]
r11305: Use more recent guess and sub files
(This used to be commit 20870508dd3e3a41b8a531b0830003735803fddf)

16 years agor11304: Add support back in for loading shared modules (not used yet)
Jelmer Vernooij [Wed, 26 Oct 2005 15:07:13 +0000 (15:07 +0000)]
r11304: Add support back in for loading shared modules (not used yet)
(This used to be commit 90f49b6f70c4aaf0e4ab4fad2e6f9caeb0f6f3a6)

16 years agor11303: Support defining and installing public headers for libraries.
Jelmer Vernooij [Wed, 26 Oct 2005 14:18:27 +0000 (14:18 +0000)]
r11303: Support defining and installing public headers for libraries.
Support installing libraries.
Get rid of pkg-config file (will be autogenerated later on).
(This used to be commit b4745032a2c55752c527026feb221ccc3dce10c8)

16 years agor11300: Treat libraries as a special kind of subsystem
Jelmer Vernooij [Wed, 26 Oct 2005 13:19:15 +0000 (13:19 +0000)]
r11300: Treat libraries as a special kind of subsystem
(one that can also be built as a library and installed).
(This used to be commit 98d1f9b1dc523ed88c5aa8d066030b33d74f62bf)

16 years agor11299: Try to fix build on Stratos VOS (doesn't support ld -r)
Jelmer Vernooij [Wed, 26 Oct 2005 13:05:29 +0000 (13:05 +0000)]
r11299: Try to fix build on Stratos VOS (doesn't support ld -r)
(This used to be commit 65c71bf354612a589049753d854e154482957573)

16 years agor11298: Consolidate the 'short' samlogon tests, and move to using the
Andrew Bartlett [Wed, 26 Oct 2005 05:56:44 +0000 (05:56 +0000)]
r11298: Consolidate the 'short' samlogon tests, and move to using the
credentials system for password -> NTLM translation.

Andrew Bartlett
(This used to be commit d22cbf1b0cae9ca211c916320754d5edfe360c30)

16 years agor11297: Move the RPC-SCHANNEL test to using the credentials system for
Andrew Bartlett [Wed, 26 Oct 2005 05:37:35 +0000 (05:37 +0000)]
r11297: Move the RPC-SCHANNEL test to using the credentials system for
converting username/pass into the NTLM responses.

Andrew Bartlett
(This used to be commit 272861b8ede591073cc3a26635fefbc784976764)

16 years agor11294: Update Heimdal in Samba4 to lorikeet-heimdal (which is in turn updated
Andrew Bartlett [Tue, 25 Oct 2005 13:43:37 +0000 (13:43 +0000)]
r11294: Update Heimdal in Samba4 to lorikeet-heimdal (which is in turn updated
to CVS of 2005-10-24).

Andrew Bartlett
(This used to be commit 939d4f340feaad15d0a6a5da79feba2b2558f174)

16 years agor11293: Use the right search when forming the data for the PAC.
Andrew Bartlett [Tue, 25 Oct 2005 13:38:00 +0000 (13:38 +0000)]
r11293: Use the right search when forming the data for the PAC.

Andrew Bartlett
(This used to be commit ecacef213b28adb84d3ffb5b76bf1b079e25426c)

16 years agor11291: Fix implementation of LookupNames4.
Andrew Bartlett [Tue, 25 Oct 2005 12:39:14 +0000 (12:39 +0000)]
r11291: Fix implementation of LookupNames4.

Andrew Bartlett
(This used to be commit aef6800548e320c2ebb20ae345566a774d6acf8b)

16 years agor11290: Make it clear that Heimdal is always included, no need for the test
Andrew Bartlett [Tue, 25 Oct 2005 12:38:35 +0000 (12:38 +0000)]
r11290: Make it clear that Heimdal is always included, no need for the test
any more.

Andrew Bartlett
(This used to be commit ec56590b063caa99f29be2b18409a69c3f22cf29)

16 years agor11289: Fix comment.
Andrew Bartlett [Tue, 25 Oct 2005 12:37:20 +0000 (12:37 +0000)]
r11289: Fix comment.

Andrew Bartlett
(This used to be commit fc18276389d17684bd14a2012d18fb7a9695f69e)

16 years agor11288: Fill out LSA LookupNames4 and LookupSids3, including a server-side
Andrew Bartlett [Tue, 25 Oct 2005 12:15:29 +0000 (12:15 +0000)]
r11288: Fill out LSA LookupNames4 and LookupSids3, including a server-side
implementation.

Andrew Bartlett
(This used to be commit a6a615cc997cd3a71ea0d63994f6cd97096afc30)

16 years agor11287: Understand the new behaviour of the LSA pipe on ncacn_ip_tcp in Win2k3 SP1.
Andrew Bartlett [Tue, 25 Oct 2005 12:14:08 +0000 (12:14 +0000)]
r11287: Understand the new behaviour of the LSA pipe on ncacn_ip_tcp in Win2k3 SP1.

Only a few operations are supported (LookupSids3 and LookupNames4),
and these are only supported under schannel.  This appears to be the
operations Win2k3 SP1 uses to verify part of the PAC back to the
server.

The test is setup to pass, but not enforce (so far) this new
behaviour.

Andrew Bartlett
(This used to be commit e15e39866e9775ba662f669a19836d33f7633f6f)

16 years agor11285: fixed winreg.js for the recent change to winreg.idl
Andrew Tridgell [Tue, 25 Oct 2005 09:30:48 +0000 (09:30 +0000)]
r11285: fixed winreg.js for the recent change to winreg.idl
(This used to be commit 27f46b4f18346ea03d8626a380e417b00f7a88d1)

16 years agor11282: Fix memory leak in LOCAL-PAC test.
Andrew Bartlett [Tue, 25 Oct 2005 02:26:10 +0000 (02:26 +0000)]
r11282: Fix memory leak in LOCAL-PAC test.

Andrew Bartlett
(This used to be commit c8bf7d32ebdc9bc795ce45a6d250a2378ac803aa)

16 years agor11281: Initial ejs interface for libnet functions.
Rafal Szczesniak [Mon, 24 Oct 2005 21:10:53 +0000 (21:10 +0000)]
r11281: Initial ejs interface for libnet functions.

rafal
(This used to be commit f9c436bbdf0f071247da025f6984f9ee1c48dca8)

16 years agor11279: it should be only possible to register a 0x1C name, when the NBT_NM_GROUP...
Stefan Metzmacher [Mon, 24 Oct 2005 15:56:04 +0000 (15:56 +0000)]
r11279: it should be only possible to register a 0x1C name, when the NBT_NM_GROUP flag is set

metze
(This used to be commit 81447f440cb339bf8c72706a752b853d3acb0e2d)

16 years agor11278: fix compiler warnings
Stefan Metzmacher [Mon, 24 Oct 2005 15:38:07 +0000 (15:38 +0000)]
r11278: fix compiler warnings

metze
(This used to be commit 716e6b0c883836e50400413cccbeb6fab5cb5744)

16 years agor11277: fix compiler warning
Stefan Metzmacher [Mon, 24 Oct 2005 15:27:59 +0000 (15:27 +0000)]
r11277: fix compiler warning

metze
(This used to be commit 4d956b17c1f9e0d7a3c275b621380f1bc821b56e)

16 years agor11276: fix compiler warnings
Stefan Metzmacher [Mon, 24 Oct 2005 15:16:47 +0000 (15:16 +0000)]
r11276: fix compiler warnings

metze
(This used to be commit 2f1930fb62011303abf930da6b57e73b1b9601de)

16 years agor11274: Start a connection attempt to the DC's port 389. To do this properly, make
Volker Lendecke [Mon, 24 Oct 2005 09:34:12 +0000 (09:34 +0000)]
r11274: Start a connection attempt to the DC's port 389. To do this properly, make
socket_connect and ldap_connect properly async.

Volker
(This used to be commit bcc71fc1deeed443d7cf00220ce264011ddf588d)

16 years agor11273: Initialise the new server_info->logon_server element.
Andrew Bartlett [Mon, 24 Oct 2005 07:59:19 +0000 (07:59 +0000)]
r11273: Initialise the new server_info->logon_server element.

Andrew Bartlett
(This used to be commit bc6f6f9381b1038273f87feb35484dc61dd8bd8e)

16 years agor11272: In trying to track down why Win2k3 is again rejecting our PAC, ensure
Andrew Bartlett [Mon, 24 Oct 2005 07:11:40 +0000 (07:11 +0000)]
r11272: In trying to track down why Win2k3 is again rejecting our PAC, ensure
we can round-trip all the way back to a server_info structure, not
just a filled in PAC_DATA. (I was worried about generated fields being
incorrect, or some other logical flaw).

Andrew Bartlett
(This used to be commit 11b1d78cc550c60201d12f8778ca8533712a5b1e)

16 years agor11271: Fix a warning and an infinite recursion
Volker Lendecke [Mon, 24 Oct 2005 04:19:27 +0000 (04:19 +0000)]
r11271: Fix a warning and an infinite recursion
(This used to be commit 7bc855359a82010fefa9fd1d4c719292bfc83528)

16 years agor11270: Move the core CrackNames code from rpc_server/drsuapi to dsdb/samdb.
Andrew Bartlett [Sun, 23 Oct 2005 22:20:42 +0000 (22:20 +0000)]
r11270: Move the core CrackNames code from rpc_server/drsuapi to dsdb/samdb.
I'm sure this will not be the final resting place, but it will do for
now.

Use the cracknames code in auth/ for creating a server_info given a
principal name only (should avoid assumtions about spliting a
user@realm principal).

Andrew Bartlett
(This used to be commit c9d5d8e45dd7b7c99b6cf35b087bc18012f31222)

16 years agor11267: Fix a memleak and an uninitialized variable. Andrew Bartlett, this was the one
Volker Lendecke [Sun, 23 Oct 2005 17:22:00 +0000 (17:22 +0000)]
r11267: Fix a memleak and an uninitialized variable. Andrew Bartlett, this was the one
I sent to you. Sorry for bothering you.

Volker
(This used to be commit 3a9f2291ae6e96a715f463899957c6c598fc7627)