summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ldb:ldb_tdb.c - fix warnings in "ltdb_init_rootdse"Matthias Dieter Wallnöfer2011-12-231-7/+1
| | | | | | We should ignore the LDB result. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:drsuapi/getncchanges: the default for isRecycled is FALSEStefan Metzmacher2011-12-231-1/+1
| | | | | | | metze Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Dec 23 09:30:09 CET 2011 on sn-devel-104
* s4-drsuapi: we store boolean in upppercase so we need to test them in uppercaseMatthieu Patou2011-12-231-4/+4
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-kcc: Remove also deleted objects that are not in the Deleted Object containerMatthieu Patou2011-12-232-2/+38
| | | | | | | | For the configuration container we do a full scan at every run of the kcc-delete service. For the base DN we introduce a new parameter that avoid the full scan to kick just when samba starts. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-ldb: Add isRecycled when is defined in the schemaMatthieu Patou2011-12-231-3/+9
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:rpc-dnsserver: Set the rank for the new DNS record correctlyAmitay Isaacs2011-12-231-0/+8
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Dec 23 07:56:34 CET 2011 on sn-devel-104
* test:dnsserver: Add zone creation and deletion testAmitay Isaacs2011-12-231-0/+51
|
* samba-tool:dns: Fix a typoAmitay Isaacs2011-12-231-1/+1
|
* samba-tool:dns: Add zone create/delete commandsAmitay Isaacs2011-12-231-0/+85
|
* ldif-handler: Fix the case for attribute dnspropertyAmitay Isaacs2011-12-231-1/+1
|
* s4:rpc-dnsserver: Add commentsAmitay Isaacs2011-12-231-0/+7
|
* s4:rpc-dnsserver: Make sure that zone information is filled inAmitay Isaacs2011-12-231-0/+10
| | | | | This fixes the problem of NULL zone in zone operations when specific zone is specified and no zone filter is specified.
* s4:rpc-dnsserver: Implement zone management RPC operationsAmitay Isaacs2011-12-233-2/+436
| | | | | | | - ZoneCreate operation to create zone. - DeleteZoneFromDs operation to delete zone When a zone is deleted, all the records in that zone are also deleted.
* s4:rpc-dnsserver: Add multiple DNS records in a single operationAmitay Isaacs2011-12-231-11/+16
| | | | | | This allows to add dnsNode objectclass with multiple DNS records in a single operation. Useful for creating @ record which has NS and SOA records.
* s4:rpc-dnsserver: Use handy macros for error checkingAmitay Isaacs2011-12-231-11/+3
|
* s4:rpc-dnsserver: Implement DirectoryPartitionInfo RPC operationAmitay Isaacs2011-12-233-1/+151
|
* s4:rpc-dnsserver: Fix the enumeration of DNS recordsAmitay Isaacs2011-12-231-0/+10
| | | | | If a node has data and children, do not return the children unless the node is the top level node.
* s4:rpc-dnsserver: Use cached zone information to get rootserversAmitay Isaacs2011-12-231-9/+6
| | | | | This removes the hardcoded search for DC=RootDNSServers, and uses the cached zone information.
* idl:dnsserver: Add DNS_DP_STATE enumeration for diretory partition stateAmitay Isaacs2011-12-231-1/+8
|
* s4:rpc-dnsserver: Implement EnumDirectoryPartition operationAmitay Isaacs2011-12-232-1/+36
|
* s4:rpc-dnsserver: Cache DNS partition informationAmitay Isaacs2011-12-234-89/+151
| | | | | This information will be used for the RPC calls for partition information.
* s4:rpc-dnsserver: If a zone is reverse zone, set the fReverse flagAmitay Isaacs2011-12-232-3/+14
| | | | And use fReverse flag in the enumeration of zones.
* s4:rpc-dnsserver: For PTR records, use dns_name_equal instead of strcmp to ↵Amitay Isaacs2011-12-231-1/+1
| | | | compare
* samba-tool:dns: Add support for reverse names (PTR records)Amitay Isaacs2011-12-231-5/+33
|
* s4-provision: Set dNSProperty attribute for dns zonesAmitay Isaacs2011-12-231-2/+71
|
* s3-librpc Use gensec_sig_size() instead of a fixed NTLMSSP_SIG_SIZEAndrew Bartlett2011-12-221-2/+7
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 22 20:57:27 CET 2011 on sn-devel-104
* s3-rpc_server: Rework pipe_ntlmssp_auth_bind() to be genericAndrew Bartlett2011-12-223-25/+63
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-rpc_server: Allow gensec mechanisms to return NT_STATUS_OKAndrew Bartlett2011-12-221-2/+2
| | | | | | | | If a kerberos mechanism is added, then it can return OK after just one packet. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-rpc_server: rename pipe_ntlmssp_verify_final() to ↵Andrew Bartlett2011-12-221-3/+3
| | | | | | pipe_auth_generic_verify_final() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-rpc_server: Rename dcesrv_ntlmssp.[ch] to dcesrv_auth_generic.[ch]Andrew Bartlett2011-12-226-5/+5
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-rpc_server rename NTLMSSP functions to auth_generic..()Andrew Bartlett2011-12-224-11/+11
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-rpc_server rename ntlmssp_server_auth_start() -> auth_generic_server_start()Andrew Bartlett2011-12-224-5/+9
| | | | | | | | | By adding an OID parameter we can make this routine generic to any gensec module that may be made available. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-rpc_server remove unused headerAndrew Bartlett2011-12-221-1/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-auth split the auth_generic functions into a seperate fileAndrew Bartlett2011-12-225-159/+194
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-rpc_server request both sign and seal for clarityAndrew Bartlett2011-12-221-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-auth remove auth_ntlmssp_start(), call auth_generic_start() directlyAndrew Bartlett2011-12-225-14/+9
| | | | | | | | This makes it clear that this can support more than just NTLMSSP. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-auth rename auth_ntlmssp_prepare() -> auth_generic_prepare()Andrew Bartlett2011-12-227-13/+13
| | | | | | | | | This function handles more than NTLMSSP now, at least when we are an AD DC and so changing the name may avoid some confusion in the future. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-auth rename auth_ntlmssp_state -> auth_generic_stateAndrew Bartlett2011-12-2214-35/+35
| | | | | | | | | This structure handles more than NTLMSSP now, at least when we are an AD DC and so changing the name may avoid some confusion in the future. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-rpc_server request the DCE_STYLE feature in ntlmssp_server_auth_startAndrew Bartlett2011-12-221-0/+4
| | | | | | | | | This is not used or honoured by NTLMSSP, but I hope to make this routine more generic in the future. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-netlogon: use dsgetdcname() instead of get_dc_name()Sumit Bose2011-12-221-2/+7
| | | | | | | | Sometimes the domain parameter might not contain the NetBIOS name of the remote domain but the DNS name. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Dec 22 19:21:21 CET 2011 on sn-devel-104
* s3-netlogon: Add support to authenticate trusted domains.Sumit Bose2011-12-221-0/+13
|
* s4-torture: Test rpc schannel netr_LogonGetCapability.Stefan Metzmacher2011-12-222-0/+62
| | | | metze
* s3-rpc_server: Pass in our flags to netlogon_creds_server_init().Stefan Metzmacher2011-12-221-1/+1
| | | | metze
* s3-netlogon: Add support for LogonGetCapabilities.Stefan Metzmacher2011-12-221-1/+21
| | | | | | This is also needed to support AES. metze
* s4-librpc: Fix netlogon schannel client connect.Andreas Schneider2011-12-221-0/+2
| | | | | | | As a client we request as much flags as possible. The server checks which flags it supports and returns the same negotiation flags or less. So we need to store the negotiate flags from the server. We need them later if we have to call netr_LogonGetCapabilities.
* s3:torture/test_smb2: also try PROTOCOL_SMB2_24Stefan Metzmacher2011-12-221-6/+9
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 22 17:47:17 CET 2011 on sn-devel-104
* lib/param: add support for "SMB2_24" in smb.conf optionsStefan Metzmacher2011-12-221-0/+1
| | | | metze
* s3:smb2_negprot: add support for PROTOCOL_SMB2_24Stefan Metzmacher2011-12-221-0/+15
| | | | metze
* libcli/smb: add PROTOCOL_SMB2_24 supportStefan Metzmacher2011-12-222-1/+3
| | | | metze
* libcli/smb: add SMB2_DIALECT_REVISION_224Stefan Metzmacher2011-12-221-0/+1
| | | | | | This is specified in the new [MS-SMB2] preview document. metze