svn commit: samba r4355 - in branches/SAMBA_4_0/source: include ldap_server libads libcli/auth librpc/rpc passdb smb_server

2004-12-24 Thread abartlet
Author: abartlet
Date: 2004-12-24 09:54:23 + (Fri, 24 Dec 2004)
New Revision: 4355

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=4355

Log:
More work from the elves on Christmas eve:

 - Update Samba4's kerberos code to match the 'salting' changes in
   Samba3 (and many other cleanups by jra).

 - Move GENSEC into the modern era of talloc destructors.  This avoids
   many of the memory leaks in this code, as we now can't somehow
   'forget' to call the end routine.
  - This required fixing some of the talloc hierarchies.

 - The new krb5 seems more sensitive to getting the service name
   right, so start actually setting the service name on the krb5 context.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/include/secrets.h
   branches/SAMBA_4_0/source/ldap_server/ldap_bind.c
   branches/SAMBA_4_0/source/libads/config.m4
   branches/SAMBA_4_0/source/libcli/auth/clikrb5.c
   branches/SAMBA_4_0/source/libcli/auth/gensec.c
   branches/SAMBA_4_0/source/libcli/auth/gensec.h
   branches/SAMBA_4_0/source/libcli/auth/gensec_krb5.c
   branches/SAMBA_4_0/source/libcli/auth/gensec_ntlmssp.c
   branches/SAMBA_4_0/source/libcli/auth/kerberos.c
   branches/SAMBA_4_0/source/libcli/auth/kerberos.h
   branches/SAMBA_4_0/source/libcli/auth/kerberos_verify.c
   branches/SAMBA_4_0/source/libcli/auth/ntlmssp.c
   branches/SAMBA_4_0/source/libcli/auth/spnego.c
   branches/SAMBA_4_0/source/librpc/rpc/dcerpc_schannel.c
   branches/SAMBA_4_0/source/passdb/secrets.c
   branches/SAMBA_4_0/source/smb_server/sesssetup.c


Changeset:
Sorry, the patch is too large (1869 lines) to include; please use WebSVN to see 
it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=4355


Re: svn commit: samba r4355 - in branches/SAMBA_4_0/source: include ldap_server libads libcli/auth librpc/rpc passdb smb_server

2004-12-24 Thread Stefan (metze) Metzmacher
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[EMAIL PROTECTED] schrieb:
| Author: abartlet
| Date: 2004-12-24 09:54:23 + (Fri, 24 Dec 2004)
| New Revision: 4355
|
| WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=4355
|
| Log:
| More work from the elves on Christmas eve:
|
|  - Update Samba4's kerberos code to match the 'salting' changes in
|Samba3 (and many other cleanups by jra).
|
|  - Move GENSEC into the modern era of talloc destructors.  This avoids
|many of the memory leaks in this code, as we now can't somehow
|'forget' to call the end routine.
|   - This required fixing some of the talloc hierarchies.
Hi Andrew!
nice work!
it would be very nice if you could you also remove gensec_end() and replace it 
with talloc_free()
so we could get rid of the destructor for gensec_spnego and some others...
I'll try to do this for the auth subsystem with my coming patch...
- --
metze
Stefan Metzmacher metze at samba.org www.samba.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3-nr1 (Windows XP)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBzH1bm70gjA5TCD8RAt2XAKDK6Gs/mPXMkSctr24ZoQMcSy+lugCffjk+
uodkw40anQQ+h6bEZVux/QI=
=kXhQ
-END PGP SIGNATURE-