1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-09 20:23:51 +03:00
Commit Graph

6759 Commits

Author SHA1 Message Date
Rafal Szczesniak
f9c436bbdf r11281: Initial ejs interface for libnet functions.
rafal
2007-10-10 13:45:13 -05:00
Stefan Metzmacher
81447f440c r11279: it should be only possible to register a 0x1C name, when the NBT_NM_GROUP flag is set
metze
2007-10-10 13:45:13 -05:00
Stefan Metzmacher
716e6b0c88 r11278: fix compiler warnings
metze
2007-10-10 13:45:12 -05:00
Stefan Metzmacher
4d956b17c1 r11277: fix compiler warning
metze
2007-10-10 13:45:12 -05:00
Stefan Metzmacher
2f1930fb62 r11276: fix compiler warnings
metze
2007-10-10 13:45:12 -05:00
Volker Lendecke
bcc71fc1de r11274: Start a connection attempt to the DC's port 389. To do this properly, make
socket_connect and ldap_connect properly async.

Volker
2007-10-10 13:45:12 -05:00
Andrew Bartlett
bc6f6f9381 r11273: Initialise the new server_info->logon_server element.
Andrew Bartlett
2007-10-10 13:45:11 -05:00
Andrew Bartlett
11b1d78cc5 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
2007-10-10 13:45:11 -05:00
Volker Lendecke
7bc855359a r11271: Fix a warning and an infinite recursion 2007-10-10 13:45:11 -05:00
Andrew Bartlett
c9d5d8e45d 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
2007-10-10 13:45:11 -05:00
Volker Lendecke
3a9f2291ae r11267: Fix a memleak and an uninitialized variable. Andrew Bartlett, this was the one
I sent to you. Sorry for bothering you.

Volker
2007-10-10 13:45:10 -05:00
Stefan Metzmacher
c8d3c2f1a1 r11265: add a bunch of owned vs. replica conflict tests
metze
2007-10-10 13:45:10 -05:00
Volker Lendecke
c26b432c27 r11264: Winbind does not rely on the hostname resolution mechanisms of
composite_connect, so in io.in.dest_host I'm setting the IP address. Gensec
does not like that as a target hostname, so if a called name is present, use
that. So we can session setup using kerberos now.

Volker
2007-10-10 13:45:10 -05:00
Volker Lendecke
4fe3c9871b r11263: Some cleanup 2007-10-10 13:45:10 -05:00
Tim Potter
d770f85347 r11262: Try to get the equivalent of a subcontext in pidl ethereal conformance
files working.  It doesn't quite work though.  (-:

This patch also allows a struct.field format to be used in an IMPORT
statement instead of a type name.

Jelmer, what do you think?
2007-10-10 13:45:10 -05:00
Tim Potter
8eb582b578 r11261: Rename access_required field in winreg idl to access_mask so it matches
the other interfaces.
2007-10-10 13:45:09 -05:00
Tim Potter
7b750a785b r11260: Delete a leftover scons file. 2007-10-10 13:45:09 -05:00
Tim Potter
9be707bc4d r11259: Map system_name and handle fields to new hf fields. 2007-10-10 13:45:09 -05:00
Tim Potter
4365462dc6 r11258: Dissect all access_required fields as hex using the same hf. 2007-10-10 13:45:09 -05:00
Jelmer Vernooij
734da63a4e r11257: Add and use output function 2007-10-10 13:45:09 -05:00
Jelmer Vernooij
21e355d031 r11254: Remove support for [TARGET:foo]-like .mk-file entries
(it is already possible to include verbatim make data)
2007-10-10 13:45:08 -05:00
Jelmer Vernooij
c53b32e093 r11252: Make makefile.pm OO and descend from env 2007-10-10 13:45:08 -05:00
Jelmer Vernooij
f76374eba7 r11250: Fix a couple of issues in the heimdal/ dirs. 2007-10-10 13:45:08 -05:00
Jelmer Vernooij
118e3bc507 r11249: More OpenBSD make fixes... 2007-10-10 13:45:08 -05:00
Volker Lendecke
13ebdea115 r11248: Fix anon fallback with spnego 2007-10-10 13:45:07 -05:00
Jelmer Vernooij
90c3f8b3be r11247: Add environment class 2007-10-10 13:45:07 -05:00
Jelmer Vernooij
f04072f7a9 r11246: Another fix for OpenBSD's make 2007-10-10 13:45:07 -05:00
Jelmer Vernooij
33c71c0fb1 r11245: Hopefully fix heimdal build on some hosts
Fix manpage locations
2007-10-10 13:45:06 -05:00
Jelmer Vernooij
24e1030090 r11244: Relative path names in .mk files 2007-10-10 13:45:06 -05:00
Jelmer Vernooij
99444c129d r11243: length and size can now be filled in automatically. 2007-10-10 13:45:06 -05:00
Stefan Metzmacher
4f999625a1 r11241: - fix compiler warning
- fix comment

metze
2007-10-10 13:45:06 -05:00
Andrew Bartlett
ab5dbbe10a r11239: Use ${REALM} for the realm in rootdse.ldif
Add the kpasswd server to our KDC, implementing the 'original' and
Microsoft versions of the protocol.

This works with the Heimdal kpasswd client, but not with MIT, I think
due to ordering issues.  It may not be worth the pain to have this
code go via GENSEC, as it is very, very tied to krb5.

This gets us one step closer to joins from Apple, Samba3 and other
similar implementations.

Andrew Bartlett
2007-10-10 13:45:06 -05:00
Andrew Bartlett
4d9667f5a0 r11226: Cope with Samba3's behaviour on LDAP with GSS-SPNEGO.
Andrew Bartlett
2007-10-10 13:45:05 -05:00
Andrew Bartlett
30f4ece4d2 r11225: Remove pointless goto.
Andrew Bartlett
2007-10-10 13:45:05 -05:00
Andrew Bartlett
e3abbfca4a r11223: Only pass around the ldb handle (make this code easier to seperate
into a general lib).

Andrew Bartlett
2007-10-10 13:45:05 -05:00
Andrew Bartlett
10d692a1c2 r11222: Small provision fixes: canonicalName is now generated, and the DC=
list should be from the dnsdomain (ie lowercae).

Andrew Bartlett
2007-10-10 13:45:05 -05:00
Andrew Bartlett
629595f27c r11221: I don't quite know how I tested this before, but clearly I didn't.
The samdb_set_password_sid helper function now works.

Andrew Bartlett
2007-10-10 13:45:04 -05:00
Andrew Bartlett
cc9d167bab r11220: Add the ability to handle the salt prinicpal as part of the
credentials.  This works with the setup/secrets.ldif change from the
previous patch, and pretty much just re-invents the keytab.

Needed for kpasswdd work.

Andrew Bartlett
2007-10-10 13:45:04 -05:00
Andrew Bartlett
51d78de2b7 r11219: Now that we have the credentials hooked in here, we have a much more
reasonable value to fill in for the mechListMIC.

Andrew Bartlett
2007-10-10 13:45:04 -05:00
Andrew Bartlett
90642d54e0 r11218: Always return the mutual authentication reply (needed for kpasswd),
and remove now duplicated unwrap_pac().

Andrew Bartlett
2007-10-10 13:45:04 -05:00
Andrew Bartlett
0c29f0e30d r11217: Ensure the realm is substituted in UPPER case.
Andrew Bartlett
2007-10-10 13:45:04 -05:00
Andrew Bartlett
a7fe3078a6 r11216: Upgrade to gd's PAC extraction code from Samba3. While I still want
to make some this the kerberos library's problem, we may as well use
the best code that is around.

Andrew Bartlett
2007-10-10 13:45:04 -05:00
Andrew Bartlett
5bc10c4e47 r11215: Remove no-op prompter intended to work around bugs in old kerberos libs.
I'm also worried this might cause loops, if we get a 'force password
change', and the prompter tries to 'deal with it'.

Andrew Bartlett
2007-10-10 13:45:03 -05:00
Jelmer Vernooij
7fffc5c917 r11214: Remove scons files (see http://lists.samba.org/archive/samba-technical/2005-October/043443.html) 2007-10-10 13:45:03 -05:00
Andrew Bartlett
801cd6c6ff r11212: Enable sealing of data with raw krb5, consolidate some code into the
main gensec_krb5_start and always ask for sequence numbers.

Andrew Bartlett
2007-10-10 13:45:03 -05:00
Tim Potter
b70dd7a757 r11211: Append an error message to COL_INFO if the RPC call returned an error. 2007-10-10 13:45:03 -05:00
Tim Potter
3416a6d78f r11210: Log registry open function name when starting hive tests. 2007-10-10 13:45:02 -05:00
Andrew Bartlett
ee9a93688d r11209: We can't read the priorSecret unless we ask for it.
Andrew Bartlett
2007-10-10 13:45:02 -05:00
Andrew Bartlett
7e01ff11fd r11208: Add DNS entries for finding the kpasswd server to the default zone.
Andrew Bartlett
2007-10-10 13:45:02 -05:00
Andrew Bartlett
90cf4f8e1a r11207: Correct principal search define 2007-10-10 13:45:02 -05:00