1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

66076 Commits

Author SHA1 Message Date
Jelmer Vernooij
c5449c9298 pidl: Factor out generation of interface type name. 2010-09-03 00:35:29 +02:00
Simo Sorce
804aaad526 s3-kerberos: use krb5 compat macros in fill_keytab_from_password()
This one uses the compat macro in the right way, without actually
breaking the code.

Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-02 22:48:09 +02:00
Simo Sorce
d9c63fbe92 Revert "s3-kerberos: use krb5 compat macros in fill_keytab_from_password()."
This reverts commit 9986d25ed1.

This patch was causing us to free unallocated memory.

Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-02 22:48:09 +02:00
Volker Lendecke
ac317eba25 s3: Remove unused nss_info_adex_init() 2010-09-02 22:14:55 +02:00
Andrew Tridgell
4ca96834f3 s3-param: added lp_set_cmdline() and --option= parameter
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-02 13:37:08 +10:00
Andrew Tridgell
f6a631bdec s4-resolve: added resolve_name_ex_send()
this allows access to the flags that control name resolution

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-02 13:37:08 +10:00
Andrew Tridgell
cecc58e058 s4-auth: make the disabled acct messages a bit less verbose
raise the debug level

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-02 13:37:08 +10:00
Andrew Tridgell
b7060c7c5c s4-selftest: try DNS before bcast in selftest
this better reflects real usage
2010-09-02 13:37:08 +10:00
Andrew Tridgell
efbc702b1e s4-resolve: add a default domain for unqualified names in file backend
this better emulates what happens with real DNS
2010-09-02 13:37:08 +10:00
Andrew Tridgell
39599e949b s4-pidl: added a test for all generated rpc interfaces
this tries to instantiate all types in all generated python RPC
interfaces, then checks that all attributes can be read, written and
compared.
2010-09-02 13:37:07 +10:00
Andrew Tridgell
71f2ebcae0 pidl: cope with dom_sid28 in python generator
treated the same as dom_sid2
2010-09-02 13:37:07 +10:00
Andrew Tridgell
eccb22c9fb doc: patched bind9 is no longer needed
bind9.7.2rc1 contains all the patches needed to work with Samba4 krb5
DNS updates with w2k8r2.
2010-09-02 13:37:07 +10:00
Andrew Tridgell
e2fdcf1a7a pynet: fixed ref count error on Py_None
ensure we don't run out of None ...

Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-09-02 13:37:07 +10:00
Andrew Tridgell
58d92cefe2 pidl-python: cope with NULL pointers in more places
NULL is converted to Py_None
2010-09-02 13:37:07 +10:00
Andrew Tridgell
e7e39584a9 pytalloc: treat a NULL ptr as Py_None 2010-09-02 13:37:07 +10:00
Andrew Tridgell
9f5dcb2235 s4-net: use CommandError() in net rodc
this integrates better with the net command

Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-09-02 13:37:07 +10:00
Andrew Bartlett
768475d571 s4:dsdb Fix attribute being searched for in dereference against Fedora DS
The problem here is that these attributes are not mapped in the
simple_ldap_map, and they were changed a while back.

Andrew Bartlett
2010-09-02 10:40:34 +10:00
Andrew Bartlett
68c61dfa3f s4:dsdb Make the dereference control critical if input is critical
This helps us ensure that the backend knows about and respects the
dereference control if our caller has asked that the extended DN control
be considered critical.

Andrew Bartlett
2010-09-02 10:40:34 +10:00
Andrew Bartlett
379d073444 s4:dsdb Don't reload the schema against OpenLDAP backend
The schema should be considered read-only when we are using the OL
backend, as we can't update the backend schema in real time anyway.

Andrew Bartlett
2010-09-02 10:40:34 +10:00
Andrew Bartlett
896553a1a8 s4:provision Allow OpenLDAP backend to provision again
OpenLDAP does not have any post-setup requirements at the moment.

Andrew Bartlett
2010-09-02 10:40:34 +10:00
Zahari Zahariev
9aae50443d s4:provision Improved error handling in provisionbackend
When using OpenLDAP as a backend with Samba4 we get failure during
provision and this patch will help better determining the real error.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-02 10:40:34 +10:00
Kamen Mazdrashki
97246f7bbd s4-test-dssync: Print the reason for skipping FetchNT4Data test 2010-09-01 19:12:23 +03:00
Volker Lendecke
5b875a83a9 s3: Print the IP of the server that stopped responding 2010-09-01 12:57:16 +02:00
Björn Jacke
d45f901b93 s4/ldb: fix standalone build 2010-09-01 11:23:50 +02:00
Günther Deschner
5568ceda47 s3-ctdb: ctdbd_init_connection() is static to this file.
Guenther
2010-09-01 10:56:17 +02:00
Günther Deschner
7afa6675ee s3-auth: fix uninitialized error code in get_guest_info3().
Guenther
2010-09-01 10:51:13 +02:00
Günther Deschner
e5c7ec6698 winreg: add winreg_RestoreKeyFlags to IDL.
Guenther
2010-08-31 23:17:40 +02:00
Günther Deschner
95f9542e05 s3-auth: remove global include of krb5pac.h.
Guenther
2010-08-31 23:17:40 +02:00
Günther Deschner
16c2d9182d s3-printing: add debug to get_correct_cversion().
Guenther
2010-08-31 23:17:40 +02:00
Günther Deschner
bf3912be46 s3-libads: avoid crashing in ads_keytab_list().
Heimdal's krb5_kt_start_seq_get() will leave a non 0 fd in the krb5_kt_cursor
struct when it cannot find a given keytab.

Guenther
2010-08-31 23:17:39 +02:00
Günther Deschner
d5436c650c s3-auth: remove unused variable in check_sam_security().
Guenther
2010-08-31 23:17:39 +02:00
Günther Deschner
d8c9756d53 s3-kerberos: use more krb5 compat macros in get_mem_keytab_from_secrets().
Guenther
2010-08-31 23:17:39 +02:00
Günther Deschner
765bee9d7a s3-kerberos: use smb_get_enctype_from_kt_entry() in
get_mem_keytab_from_secrets().

Guenther
2010-08-31 23:17:39 +02:00
Günther Deschner
e26a936333 s3-kerberos: use get_kerberos_allowed_etypes in fill_keytab_from_password().
Guenther
2010-08-31 23:17:39 +02:00
Günther Deschner
9986d25ed1 s3-kerberos: use krb5 compat macros in fill_keytab_from_password().
Guenther
2010-08-31 23:17:39 +02:00
Günther Deschner
3d78279fd4 s3-kerberos: fix flush_keytab() compile with heimdal.
krb5_kt_cursor is not a pointer in heimdal but a struct.

Guenther
2010-08-31 23:17:39 +02:00
Björn Jacke
a20e94bb0e Revert "s4/heimdal_build: use GetTimeOfDay macro instead of gettimeofday"
This reverts commit 6598298517 which later on
needs some tweeks to not break some builds
2010-08-31 23:03:55 +02:00
Volker Lendecke
5648c3f67e s3: messaging_ctdbd_connection() was only called with procid_self()
Eventually we'll get this right...
2010-08-31 17:07:41 +02:00
Volker Lendecke
808ceac9f5 s3: messaging_ctdbd_init potentially modifies my_vnn
If we call messaging_ctdbd_connection() we end up with the wrong vnn in our
messaging context.

This is a bit of a hack, get_my_vnn() needs to go eventually along with
procid_self()
2010-08-31 17:07:41 +02:00
Volker Lendecke
301bf22eab s3: Make ctdbd_init_connection static 2010-08-31 17:07:41 +02:00
Björn Jacke
079baa7688 s3: use fine grained time in netprot response 2010-08-31 15:51:11 +02:00
Björn Jacke
6598298517 s4/heimdal_build: use GetTimeOfDay macro instead of gettimeofday 2010-08-31 13:11:13 +02:00
Björn Jacke
b4ae2efa96 s3: use monotonic clock for time deltas in smbget 2010-08-31 13:10:45 +02:00
Björn Jacke
20254221d2 tdb/waf: the deps for rt are provided by libreplace 2010-08-31 13:06:39 +02:00
Björn Jacke
7c88ccde30 replace/waf: add rt to deps at this place 2010-08-31 11:33:22 +02:00
Björn Jacke
f222387533 s4: use GetTimeOfDay macro instead of gettimeofday 2010-08-31 11:33:22 +02:00
Volker Lendecke
7eff519703 packaging: build fixes 2010-08-31 11:19:15 +02:00
Björn Jacke
4c8531b642 s4/torture: use monotonic clock for time deltas in denytest 2010-08-31 10:26:40 +02:00
Björn Jacke
60002600b8 s4/ldb: use monotonic clock for time deltas in ldbtest 2010-08-31 10:26:36 +02:00
Björn Jacke
8aa0b709d4 s3: use monotonic time in timeout of sys_select_intr() 2010-08-31 10:26:28 +02:00