summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-12-17s3: refactor _netr_LogonControl{2,2Ex} server side.Günther Deschner1-28/+32
Guenther
2008-12-17s4: fix smbtorture build after idl change.Günther Deschner1-4/+13
Guenther
2008-12-17s3: re-run make samba3-idl.Günther Deschner5-146/+360
Guenther
2008-12-17netlogon: remove netr_BinaryString (duplicate of lsa_BinaryString).Günther Deschner1-7/+1
Guenther
2008-12-17netlogon: fill in remaining levels in netr_CONTROL_DATA_INFORMATION.Günther Deschner1-0/+3
Guenther
2008-12-17netlogon: fix IDL for netr_LogonControl2Ex.Günther Deschner1-2/+2
Guenther
2008-12-17netlogon: add netr_NETLOGON_INFO_4.Günther Deschner1-0/+6
Guenther
2008-12-17netlogon: add all documented netlogon control codes.Günther Deschner1-5/+16
Guenther
2008-12-17s4:libcli/resolve: specify the port for the resulting socket_addressesStefan Metzmacher8-9/+25
metze
2008-12-17s4:libcli/resolve: optionally return the name that belongs to the returned ↵Stefan Metzmacher8-23/+82
address E.g. this helps for DNS CNAME and SRV results. metze
2008-12-17s4:libcli/resolve: pass down flags to the resolver backendsStefan Metzmacher8-8/+29
metze
2008-12-17s4:libcli/resolve: remove all backend specific sync functionsStefan Metzmacher5-85/+0
metze
2008-12-17s4:libcli/resolve: let the "host" module use the dns_ex.c codeStefan Metzmacher1-183/+11
That means we now return all ip addresses instead of just the first one. metze
2008-12-17s4:libcli/resolve: add getaddrinfo()/dns_looup() resolvingStefan Metzmacher2-0/+485
This "dns_ex" module provides flexible lookup methods for dns lookups. The getaddrinfo() part looks at /etc/hosts and dns. As it handles CNAME replies badly we fallback to use dns_lookup(name, "A"). The dns_lookup() makes DNS SRV lookups possible. This module is not a real resolve module, it's just a generic helper as the nbtlist.c code is. The next step will be that the "host" module will use the dns_ex.c code. metze
2008-12-17s4:libcli/resolve: don't use __RESOLVE_H__ it might be used by system ↵Stefan Metzmacher1-3/+3
headers too metze
2008-12-17s4:lib/socket: we need to lookup the #20 netbios name when we connect to a ↵Stefan Metzmacher2-2/+2
remote server metze
2008-12-17s4:lib/socket: remove unused codeStefan Metzmacher1-22/+0
metze
2008-12-17s4:headermap: dom_sid.h was renamed to server_id.hStefan Metzmacher2-3/+3
metze
2008-12-17Fix a valgrind errorVolker Lendecke1-1/+2
Reported by naga_kishore_kommuri@yahoo.com Derrel, please check! Thanks, Volker (cherry picked from commit 3356b95f72e26ede4ab16a12c334be90b8b1a639)
2008-12-17Tweak with pam defines of older Linux versionsLars Müller1-1/+8
PAM_AUTHTOK_RECOVERY_ERR is not defined by older Linux versions (SUSE Linux Enterprise 9 and RedHat Enterprise 4). Patch suggested by Philipp Thomas <pth at suse dot de>.
2008-12-17docs: Fix typo in man idmap_hash.Karolin Seeger1-1/+1
Karolin
2008-12-17s3/smb.h: Remove unused LDAP_SSL_ON.Karolin Seeger1-1/+1
LDAP_SSL_ON is not defined at all. Ldaps can be used by specifying an ldaps URL using the "passdb backend" parameter. Karolin
2008-12-17docs: Update section "ldap ssl" in man smb.conf.Karolin Seeger1-11/+8
Remove non-existent value "on". Change default value to "no". Add hint about ldaps. Karolin
2008-12-17s3/loadparm.c: Change default value for "ldap ssl".Karolin Seeger1-1/+1
LDAP_SSL_ON is not defined at all. That's why the actual default value was "" for a long time. Set a more sensible default value without chnging the default behaviour. -----8<------------------snip--------------8<-------------- user@host:/data/git/samba/v3-0-test/source> git grep LDAP_SSL_ON | cat include/smb.h:enum ldap_ssl_types {LDAP_SSL_ON, LDAP_SSL_OFF, LDAP_SSL_START_TLS}; param/loadparm.c: Globals.ldap_ssl = LDAP_SSL_ON; ----->8------------------snap-------------->8-------------- It's the same in 3.2 and 3.3 series. Karolin
2008-12-17docs: Fix some formatting issues in the "ldap ssl" section of man smb.conf.Karolin Seeger1-15/+17
Karolin
2008-12-17s4:headermap: we need the pathes for gen_ndr headers with and without ../Stefan Metzmacher1-25/+52
This should fix the OpenChange build metze
2008-12-17lib/util: make it possible to use debug.h with using xfile.hStefan Metzmacher2-2/+3
metze
2008-12-17s4:lib/tevent: add lib/events/ compat and let things compileStefan Metzmacher28-106/+125
metze
2008-12-17s4:lib/events: move to toplevel directory as lib/tevent/Stefan Metzmacher30-0/+0
This commit will not compile on its own. metze
2008-12-17net luaVolker Lendecke4-4/+401
This adds a lua command line interpreter with some sample code how to build your own data types based on our internal data types. Not meant as the final word, but as a playground for experiments for people. Might be removed later when we find this turns out to be too awkward.
2008-12-17Compile libluaVolker Lendecke3-0/+82
2008-12-17Add the Lua distibution from http://www.lua.org/ftp/lua-5.1.4.tar.gzVolker Lendecke100-0/+28089
Available under the MIT license. Adding it to see how the build farm likes it. They claim to be 100% pure ANSI C and compile everywhere. Lets see. If it breaks badly, we can remove it again.
2008-12-17s4: fix LIBEVENTS dependencies and use more forward declarationsStefan Metzmacher22-16/+23
We should only include events.h where we really need it and prefer forward declarations of 'struct event_context' metze
2008-12-17docs: Fix TOC of generated HTML docs.Karolin Seeger1-6/+2
This fixes bug #5968. Thanks to Christian Perrier <bubulle@debian.org> for reporting! Karolin
2008-12-16s3/s4: Fix DCOM idl bugTim Prouty1-1/+1
A build warning uncovered a bug where a pointer was being passed in instead of the dereferenced value of the pointer.
2008-12-17s4:testprogs: improve extended dn testing of the ldb blackbox testsAndrew Bartlett1-6/+8
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:ldb: add some python tests for extended dnsAndrew Bartlett1-27/+60
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:dsdb: remove normalise moduleAndrew Bartlett2-206/+0
The extended_dn_out module provides the functionality now. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:provision: use extended_dn_out_ldb or extended_dn_out_dereference ↵Andrew Bartlett2-4/+7
depending on the backend This just changes the existing stratagy of loading different modules for the OpenLDAP backend to also include extended_dn_out_* When we provision the OpenLDAP backend, we make sure to include the 'deref' overlay (which must be made available by the OpenLDAP build) Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:dsdb: split extended_dn into extended_dn_in, extended_dn_out and ↵Andrew Bartlett7-673/+1517
extended_dn_store. By splitting the module, the extended_dn_in and extended_dn_store moudles can use extended_dn_out to actually get the extended DN. This avoids code duplication. The extended_dn_out module also contains a client implementation of the OpenLDAP dereference control (draft-masarati-ldap-deref-00). This also introduces a new control 'DSDB_CONTROL_DN_STORAGE_FORMAT_OID' to ask the extended_dn_out module to return whatever the 'storage format' is. This allows us to work with both OpenLDAP (which performs a dereference at run time) and LDB (which stores the GUID and SID on disk). Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:dsdb: Make the linked_attributes module set an extended dnAndrew Bartlett1-192/+325
This means that linked attributes will always have the same case form as the actaul entry, as we search for that entry. We then also use the GUID and SID found on that entry to fill in the extended DN on disk. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:rootdse: fix the logic to indentify a rootdse searchAndrew Bartlett1-2/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:ldb: make it possible to return per entry controlsAndrew Bartlett25-27/+62
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:selftest: lower debug level for slapdAndrew Bartlett1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:setup: fix cut-n-paste error Builtin-Domain => Samba4-Local-DomainAndrew Bartlett1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:setup: don't set objectCategory: CN=Domain-DNS,${SCHEMADN}Andrew Bartlett1-3/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:torture: add ldb testsAndrew Bartlett3-1/+751
These tests are for both the new extended DN functionality (and were vital in finding bugs during implementation) and for the normal DN parsing and comparison routines. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:ldap_server: return the extended dn to the LDAP client if availableAndrew Bartlett1-1/+16
This uses an early peek at the extended_dn_control (in the request) to see what output format to use. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:ldb-samba: register samba specific extended dn handlersAndrew Bartlett1-51/+138
This provides the two extended DN handlers for the GUID and SID types, and makes the parsing more strict (where possible, it uses ndr_pull_struct_blob_all(), to cause an error if trailing data is found). Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:samldb: make use of dom_sid_split_rid()Andrew Bartlett1-4/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>