summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-10-23s4 dns: Fix a data corruption in the dns_string parsingKai Blin1-8/+4
2010-10-23dnsp: Can't have two memebers of a union with the same nameKai Blin1-2/+2
2010-10-23s4 dns: Reply to a name request with an A record.Kai Blin4-29/+247
The first real answer to a DNS request. Still uses hardcoded reply.
2010-10-23ndr dns: Add simple parserKai Blin10-9/+253
2010-10-23s4 dns: Add a boilerplate DNS server implementationKai Blin6-0/+581
2010-10-23dns/nbt: Fix spelling of the "authoritative" flag.Kai Blin5-30/+30
2010-10-23idl: Add idl describing DNS structuresKai Blin4-3/+188
2010-10-23netlogon.idl: Switch to explicit constants to remove dependency on nbt.idlKai Blin2-16/+17
2010-10-23s4 dns: Import DNS win32 error codes from MS-ERREFKai Blin2-0/+282
2010-10-23s4 dsdb kcc: Prefer msDS-hasMasterNCs over hasMasterNCs when replicatingKai Blin1-5/+10
2010-10-23s4 socket: increase the debuglevel to make add interface debug messages less ↵Kai Blin1-1/+1
verbose
2010-10-23s4:rpc_server/netlogon: netr_ServerAuthenticate3 should return ↵Stefan Metzmacher1-8/+8
NO_TRUST_SAM_ACCOUNT If we can't find the account we should return NT_STATUS_NO_TRUST_SAM_ACCOUNT instead of NT_STATUS_ACCESS_DENIED. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 23 10:05:35 UTC 2010 on sn-devel-104
2010-10-23s4:rpc_server/netlogon: netr_ServerAuthenticate3 should reject invalid ↵Stefan Metzmacher1-3/+15
sec_channel_types early metze
2010-10-23s4:rpc_server/netlogon: netr_ServerAuthenticate3 should check the challenge ↵Stefan Metzmacher1-5/+5
after the account metze
2010-10-23s4:rpc_server/netlogon: fix comment in netr_DsRGetDCName()Stefan Metzmacher1-1/+1
metze
2010-10-23s4:rpc_server/netlogon: handle DC_RETURN_NETBIOS and DC_RETURN_DNS in ↵Stefan Metzmacher1-3/+28
netr_DsRGetDCNameEx2() metze
2010-10-23s4:rpc_server/netlogon: validate flags in netr_DsRGetDCNameEx2() and callersStefan Metzmacher1-2/+37
Thanks to Tarun Chopra for the help of looking up all the bits in the docs. metze
2010-10-23s4:rpc_server/netlogon: netr_GetDcName should return WERR_DCNOTFOUND for ↵Stefan Metzmacher1-0/+19
invalid names Only netbios domain names are allowed. metze
2010-10-23misc.idl: add SEC_CHAN_LOCAL and SEC_CHAN_LANMANStefan Metzmacher1-0/+2
MsvApSecureChannel and UasServerSecureChannel in [MS-NRPC] metze
2010-10-23lib/util: Add tevent WERROR wrappersKai Blin5-2/+128
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 23 07:35:28 UTC 2010 on sn-devel-104
2010-10-23tsocket: let tstream_inet_tcp_connect_recv() optionally return the used ↵Stefan Metzmacher3-6/+12
local address tstream_inet_tcp_connect_send() usually only gets no local port number and it may use the wildcard address '0.0.0.0' or '::'. tstream_inet_tcp_connect_recv() provides the used local address and port which are used on the wire. metze
2010-10-23tsocket: ask the kernel for the specific local address after a tcp connectStefan Metzmacher1-3/+54
metze
2010-10-23lib/replace: use snprintf() in test code to avoid warnings in the IBM-CheckerStefan Metzmacher1-2/+2
metze
2010-10-23lib/replace: fix rep_strtoull() prototypeStefan Metzmacher2-3/+3
metze
2010-10-22Revert "Wrap security_token_has_privilege() with a check for ↵Jeremy Allison11-38/+29
lp_enable_privileges(). Needed" Not needed - privileges code prevents "enable privileges = no" from adding privileges anyway. This reverts commit a8b95686a7bde3f96f141b6938e24e101567ef54. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 22 23:41:36 UTC 2010 on sn-devel-104
2010-10-22s4-dsdb_syntax: Setup "String(Case Sensitive)" syntaxKamen Mazdrashki1-3/+10
Currently it is mapped to Octet String LDAP syntax for comparison purposes. According to LDAP rfc we should be using same comparison as Directory String (LDB_SYNTAX_DIRECTORY_STRING), but case sensitive. But according to ms docs binary compare should do the job: http://msdn.microsoft.com/en-us/library/cc223200(v=PROT.10).aspx Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Fri Oct 22 22:19:50 UTC 2010 on sn-devel-104
2010-10-22Wrap security_token_has_privilege() with a check for lp_enable_privileges(). ↵Jeremy Allison11-29/+38
Needed to maintain compatibility with smb.conf manpage. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 22 18:15:48 UTC 2010 on sn-devel-104
2010-10-22Fix const warning. Allocate off NULL as we always talloc_free().Jeremy Allison1-1/+1
2010-10-21s4-dsdb/schema_syntax: Separate validation for numericoid OID valuesKamen Mazdrashki1-3/+47
This implementation doesn't use prefixMap/Schema to validate numericoid OIDs. We may not have this OID yet, so I see no point checking schema for if we have it. Side effect of using prefixMap/Schema for validating numericoids is that we mistakenly add the OID to the prefixMap. This led to a corrupted prefixMap in LDB. Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Thu Oct 21 23:32:26 UTC 2010 on sn-devel-104
2010-10-22asn1_tests: Implement negative unit-tests for ber_write_OID_String()Kamen Mazdrashki1-0/+22
2010-10-22asn1: ber_write_OID_String() to be more picky about supplied OIDKamen Mazdrashki1-0/+5
Now function will check for invalid OID handling cases where: - sub-identifier has invalid characters (non-digit) - 'dot' separator found on unexpected place. For instance '.' at start or end of the OID. Two '.' in a row.
2010-10-21waf: Mark the replacement zlib private so that it can build on machine ↵Matthieu Patou1-0/+1
without a system zlib Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Oct 21 21:47:46 UTC 2010 on sn-devel-104
2010-10-22replace: use replace for non 'samba' compliant strptimeMatthieu Patou1-0/+19
2010-10-22replace: use a wrapper around strtoll if it didn't behave as expectedMatthieu Patou3-2/+77
2010-10-21Lowercase socket_wrapper name.Jelmer Vernooij7-7/+9
Avoid linking against socket_wrapper outside of developer mode. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 21 20:26:11 UTC 2010 on sn-devel-104
2010-10-21s4-dsdb extended_dn_out: Move lazy dereference control creation to lazy-initAndrew Bartlett1-54/+77
We didn't seem to get the control created by the time we do searches here. Andrew Bartlett Autobuild-User: Anatoliy Atanasov <anatoliy@samba.org> Autobuild-Date: Thu Oct 21 12:29:54 UTC 2010 on sn-devel-104
2010-10-21tdb: Set _PUBLIC_ in C file rather than header files (Debian bug 600898)Jelmer Vernooij12-128/+126
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 21 11:47:22 UTC 2010 on sn-devel-104
2010-10-21s4-waf: we don't need the smbtorture.static for s3 any moreAndrew Tridgell1-11/+0
this breaks the build farm Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 21 11:04:21 UTC 2010 on sn-devel-104
2010-10-21autobuild: don't cleanup the pid file within the retry loopAndrew Tridgell1-1/+2
if we rebase and retry we need to keep the pid file
2010-10-21waf: RPC_NDR_WINBIND is samba4 specificAndrew Tridgell2-1/+9
this caused problems with the s3 waf build
2010-10-21ldb:ldb_modules.c - "dlclose" could cause inference on "dlerror"Matthias Dieter Wallnöfer1-1/+1
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Oct 21 09:28:19 UTC 2010 on sn-devel-104
2010-10-21waf: check the linker accepts a set of ldflags before using themAndrew Tridgell1-1/+10
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 21 08:45:49 UTC 2010 on sn-devel-104
2010-10-21s4-dsdb: force LDB_ERR_NO_SUCH_ATTRIBUTE on missing schemaInfoAndrew Tridgell1-2/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-ldb: make ldb_options_find() publicAndrew Tridgell3-2/+231
we need to make this symbol public to allow for -Wl,-no-undefined, as otherwise the pyldb module can't find the symbol when it creates the module
2010-10-21waf: loosen the restriction on depending on python libsAndrew Tridgell1-1/+3
the pidl generated python code can generate dependencies between two python modules, so we have to allow this for now
2010-10-21waf-python: make the pyext flag add the pyembed features for librariesAndrew Tridgell1-1/+3
this is rather strange, but we get build errors without it. There may be a bug in the waf python tool, or I may misunderstand how to use it
2010-10-21waf: fixed the handling of -Wl,-no-undefinedAndrew Tridgell4-14/+6
this flag was not being propogated to our link rules, so we were not in fact enforcing no undefined symbols in libraries.
2010-10-21s4-librpc: fixed depenencies for libcli/securityAndrew Tridgell1-5/+4
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21libcli: LIBSECURITY depends on NDR_SECURITYAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-dsdb: fixed depenencies for -no-undefinedAndrew Tridgell2-5/+5
added some depenencies needed for -Wl,-no-undefined