Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-11-29 | s4:libcli/raw: copy smbcli_transport_connect_* to clisocket.c | Stefan Metzmacher | 2 | -124/+123 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 29 17:34:52 CET 2011 on sn-devel-104 | |||||
2011-11-29 | s4:libcli/raw: add transport->ev as copy of transport->socket->event.ctx | Stefan Metzmacher | 8 | -6/+9 | |
We'll remove transport->socket soon, but removing transport->ev will take a bit longer. metze | |||||
2011-11-29 | s4:torture: use tctx->ev as event context for polling | Stefan Metzmacher | 6 | -22/+14 | |
metze | |||||
2011-11-29 | s4:gentest: get the tid from the smbcli_tree struct | Stefan Metzmacher | 1 | -2/+4 | |
metze | |||||
2011-11-29 | s4:libcli/smb2: make sure only one idle event runs at a time | Stefan Metzmacher | 2 | -9/+17 | |
metze | |||||
2011-11-29 | s4:python: add --machinepass option to 'samba-tool domain join' | Stefan Metzmacher | 1 | -5/+11 | |
metze | |||||
2011-11-29 | s4:python/samba/join.py: add optional 'machinepass' parameter to join_*() | Stefan Metzmacher | 1 | -6/+12 | |
metze | |||||
2011-11-29 | s4:python/samba/join.py: add optional 'machinepass' parameter to class dc_join | Stefan Metzmacher | 1 | -2/+6 | |
metze | |||||
2011-11-29 | s4:py_net: add optional 'machinepass' parameter to py_net_join_member() | Stefan Metzmacher | 1 | -3/+4 | |
metze | |||||
2011-11-29 | s4:libnet: make it possible to join with a given machine password | Stefan Metzmacher | 2 | -4/+16 | |
metze | |||||
2011-11-29 | s4:libnet/py_net: ZERO_STRUCT() struct libnet_Join_member in ↵ | Stefan Metzmacher | 1 | -0/+2 | |
py_net_join_member() metze | |||||
2011-11-29 | s4:torture/rpc: use talloc_zero() in torture_join_domain() | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2011-11-29 | s4:libnet: use talloc_zero(struct libnet_JoinDomain) in libnet_Join_member() | Stefan Metzmacher | 1 | -2/+1 | |
metze | |||||
2011-11-29 | s4-samba-tool: Add --principal argument to samba-tool domain exportkeytab | Andrew Bartlett | 5 | -70/+163 | |
This allows only a particular principal to be exported to the keytab. This is useful when setting up unix servers in a Samba controlled domain. Based on a request by Gémes Géza <geza@kzsdabas.hu> Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 29 09:20:55 CET 2011 on sn-devel-104 | |||||
2011-11-29 | s4-provision: Fix the security ace for DnsAdmins group on DNS records | Amitay Isaacs | 1 | -12/+19 | |
Find the objectSid for DnsAdmins group and use that instead of a fixed sid. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Nov 29 07:38:06 CET 2011 on sn-devel-104 | |||||
2011-11-29 | s4-repl: Check if GC SPN exists before using it for replication | Amitay Isaacs | 1 | -3/+54 | |
Sometimes windows DC will set up dNSHostname before setting up GC SPN and that causes replication errors since samba tries to use GC SPN, which does not yet exist locally. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> | |||||
2011-11-29 | s4-provision: Make BIND9_DLZ as the default backend for DNS | Amitay Isaacs | 4 | -6/+6 | |
2011-11-29 | dlz_bind9: Added access check to verify dynamic update | Amitay Isaacs | 2 | -17/+167 | |
This creates session info from kerberos ticket and verifies if the signer has write access to a particular DN corresponding to the name in dynamic update. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> | |||||
2011-11-29 | dlz_bind9: Use the sam database in dns/ as default | Amitay Isaacs | 2 | -60/+14 | |
This change is introduced to access samdb copy directly, rather than over ildap. The advantage is that the samba server does not need to be running for bind9 to start. | |||||
2011-11-29 | s4-provision: Create a samdb copy for access by dlz_bind9 module | Amitay Isaacs | 4 | -56/+158 | |
This creates a copy of rootdse, configuration and schema partitions for dlz_bind9 use in dns/ directory. Since dlz_bind9 requires write access to DNS partitions (DomainDnsZones and ForestDnsZones), those partitions are hard-linked (or symlinked) to the actual partitions. An empty domain partition is created so samdb layer can work. | |||||
2011-11-29 | s4-provision: Extract security descriptors in separate file | Amitay Isaacs | 2 | -77/+111 | |
Need to use domain security descriptor from sambadns.py also. | |||||
2011-11-29 | s4-test: Remove metadata and ldb.d directory on clean up | Amitay Isaacs | 1 | -0/+5 | |
When using partitions, metadata.tdb automatically gets created in ${prefix}ldb.d/ directory. To correctly clean up check if metadata.tdb exists, then remove metadata.tdb and directory. | |||||
2011-11-29 | s4-samdb: seqence_number() operation must be in a transaction | Amitay Isaacs | 1 | -0/+14 | |
2011-11-29 | s4-dsdb: Added metadata to partition module for global sequence number | Amitay Isaacs | 5 | -17/+612 | |
This adds support for global sequence number which is independent of partition information. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-11-29 | s4-dsdb: use dsdb_module_extended instead of duplicate code | Amitay Isaacs | 2 | -31/+13 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-11-29 | s4-dsdb: Return ldb_result context in dsdb_module_extended | Amitay Isaacs | 1 | -3/+20 | |
The result of the extended operation is now available in the calling routine. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-11-29 | s4-dsdb: Remove LDB_SEQ_HIGHEST_TIMESTAMP sequence number support | Amitay Isaacs | 2 | -140/+13 | |
This was a hack for LDAP backends to store a sequence number as a timestamp. It is still supported in standalone ldb tdb backend. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-11-27 | s4:torture/ldap/cldap.c - remove the ↵ | Matthias Dieter Wallnöfer | 1 | -87/+4 | |
"test_cldap_netlogon_flag_ds_dns_forest" test The test is wrong since the DNS_* (DS_DNS_CONTROLLER, DS_DNS_DOMAIN, DS_DNS_FOREST_ROOT) flags are never set on the plain CLDAP pipe. They get added only over the DsRGetDCName* calls over NETLOGON RPC. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Nov 27 16:23:27 CET 2011 on sn-devel-104 | |||||
2011-11-27 | s4:selftest/test_samba_tool.sh - add a basic unit test for the new "domain ↵ | Matthias Dieter Wallnöfer | 2 | -6/+9 | |
info" command Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-11-27 | samba-tool: domain info - add basic exception handling | Matthias Dieter Wallnöfer | 1 | -2/+4 | |
It is nicer to get an error message rather than a stacktrace on wrong IP addresses. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-11-27 | samba-tool: add a domain info command to get basic info | Matthieu Patou | 1 | -1/+24 | |
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-11-27 | s4:netlogon RPC server - DsRGetDcNameEx - set the DNS name flags correctly | Matthias Dieter Wallnöfer | 2 | -12/+14 | |
The rules are explained in MS-NRPC 2.2.1.2.1. Patch inspired by Matthieu Patou. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-11-27 | s4-netlogon: return WERR_NO_SUCH_DOMAIN instead of WERR_DS_UNAVAILABLE if we ↵ | Matthieu Patou | 1 | -1/+1 | |
are unable to translate the domain to a dn Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-11-27 | s4:cldap_server/netlogon.c - DS_SERVER_CLOSEST handling | Matthias Dieter Wallnöfer | 1 | -2/+5 | |
DS_SERVER_CLOSEST is only set when the client and server site coincide. MS-NRPC 2.2.1.2.1 Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-11-27 | s4:netcmd/common.py: add a "netcmd" function to do a cldap netlogon request | Matthias Dieter Wallnöfer | 1 | -0/+9 | |
This is useful for a new "samba-tool domain info" command. Patch inspired by Matthieu Patou. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-11-26 | s4:libnet/py_net.c: "py_net_finddc" - add an "address" parameter | Matthias Dieter Wallnöfer | 4 | -14/+25 | |
This is useful for a new "samba-tool domain info" command. Patch inspired by Matthieu Patou. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-11-26 | s4:libnet/py_net.c - initialise optional keyword arguments | Matthias Dieter Wallnöfer | 1 | -1/+3 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-11-26 | s4:libcli/finddcs_cldap.c - let "finddcs_cldap" work either with the IP ↵ | Matthias Dieter Wallnöfer | 1 | -14/+27 | |
address or the domain name This will be useful for a new "samba-tool domain info" command. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-11-26 | smbtorture: avoid sigsev if the password is not correct | Matthieu Patou | 1 | -1/+1 | |
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-11-26 | s4:update_keytab LDB module - no need to filter for the DN | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
We launch a search request with base scope on exactly the same DN (see downwards). Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-11-24 | s4:libcli/smb2: use talloc_zero() in smb2_request_init() | Stefan Metzmacher | 1 | -16/+3 | |
metze | |||||
2011-11-24 | s4:libcli/smb2: fix compiler warning in smb2_push_o16s16_string() | Stefan Metzmacher | 1 | -1/+3 | |
metze | |||||
2011-11-24 | s4:libcli/smb2: implement on top of smbXcli_conn/req | Stefan Metzmacher | 15 | -882/+452 | |
metze | |||||
2011-11-24 | s4:torture/smb2: use tctx->ev as event context for polling | Stefan Metzmacher | 3 | -8/+7 | |
metze | |||||
2011-11-24 | s4 dns: Test QCLASS_NONE query | Kai Blin | 1 | -0/+14 | |
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Nov 24 14:10:45 CET 2011 on sn-devel-104 | |||||
2011-11-24 | s4 dns: Test QTYPE_ALL query | Kai Blin | 1 | -0/+25 | |
2011-11-24 | s4 dns: Check more of the returned values for the A query | Kai Blin | 1 | -0/+3 | |
2011-11-24 | s4 dns: Move dns_transaction_udp to other helper functions | Kai Blin | 1 | -13/+14 | |
2011-11-22 | s4-dns: added --no-credentials option to samba_dnsupdate | Andrew Tridgell | 1 | -3/+10 | |
this is for a user who is doing DNS updates via key files rather than GSSAPI. This allows the update to go through without a kerberos error Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Nov 22 06:34:59 CET 2011 on sn-devel-104 | |||||
2011-11-21 | Fix a bunch of "warning: variable ‘XXXX’ set but not used ↵ | Jeremy Allison | 9 | -40/+28 | |
[-Wunused-but-set-variable]" warnings from the new gcc. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Nov 21 23:39:08 CET 2011 on sn-devel-104 |