summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-06-07ccan: Only build ccan-failtest when we are in developer modeAndrew Bartlett2-32/+50
From: Andrew Bartlett <abartlet@samba.org> This code is incredibly useful, but is only needed in test code and may not be perfectly portable. It has compiled on all systems bar Solaris so far, but rather than make it a requirement to build Samba, just keep it for development. Andrew Bartlett Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Thu Jun 7 18:53:12 CEST 2012 on sn-devel-104
2012-06-07lib/tdb2: build tests when built at toplevel.Rusty Russell1-23/+94
They weren't being built when we were at top-level, because the globs were wrong. Just open-code the test names, which always works. Reported-by: Andrew Bartlett Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-06-07waf: fix parsing krb5-config --version for MIT krb5Alexander Bokovoy1-2/+8
krb5-config --version may return a string that ends with a suffix after version number (1.X-prerelease or 1.X-beta1, for example). Detect and ignore the suffix. Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Thu Jun 7 17:03:01 CEST 2012 on sn-devel-104
2012-06-07waf: support --without-ad-dc for Heimdal (embedded and system) as wellAlexander Bokovoy4-6/+6
--without-ad-dc was hardwired to mean --with-system-mitkrb5. With this change it also possible to build source3/ code and source4/ client side without building AD DC functionality using Heimdal (embedded or system).
2012-06-07build: fix typo that breaks the HP-UX buildBjörn Jacke1-1/+1
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Thu Jun 7 12:49:17 CEST 2012 on sn-devel-104
2012-06-07build: Tidy up broken posix_fallocate testsAndrew Bartlett2-3/+3
This makes the code and output for in waf and autoconf identical. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Jun 7 08:35:33 CEST 2012 on sn-devel-104
2012-06-07s4-libcli: Remove unused finddcs_nbtAndrew Bartlett2-314/+3
This would only do the NBT getdc lookup for a single DC (but would find multiple DCs at first stage), but more particular it of course uses Netbios rather than DNS names. In any case it was also unused, as we use CLDAP for reliable DC location these days. Found by callcatcher Andrew Bartlett
2012-06-07build: Add missing deps and make MESSAGING a private libraryAndrew Bartlett6-9/+10
To remove finddcs_nbt these missing deps need to be added. These subsystems linked to to implicit dependencies provided by finddcs. Due to the new arrangmenet of subsystems, MESSAGING needs to be a private library to avoid being a source of duplicate symbols. Andrew Bartlett
2012-06-07util: fix build on platforms without IPv6 supportBjörn Jacke1-1/+1
something like this on World IPv6 Day II ... ;-) Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Thu Jun 7 03:09:49 CEST 2012 on sn-devel-104
2012-06-07s3: enable winbind also for upcoming FreeBSD/NetBSD releases >=10Björn Jacke1-2/+2
2012-06-07script/commit_mark.sh: add the current branch nameStefan Metzmacher1-4/+6
This will be useful once we have autobuild for a v4-0-test branch and want to cherry-pick commits from master metze Autobuild-User(master-autobuild): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master-autobuild): Mi 6. Jun 13:42:53 CEST 2012 on SERNOX11 Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Jun 7 01:18:55 CEST 2012 on sn-devel-104
2012-06-06s3:include: change lock_struct->fnum to uint64_tMichael Adam4-6/+7
Note: this changes the format of brlock.tdb! Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Jun 6 23:22:00 CEST 2012 on sn-devel-104
2012-06-06s3:include: change lock_context->tid to uint32_tMichael Adam1-1/+1
Note: this changes for format of brlock.tdb! Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-06-06s3:include: change connection_struct->cnum to uint32_tMichael Adam4-4/+4
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-06-06s3:include: change smb_request->tid to uint32_tMichael Adam1-1/+1
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-06-06s3:smb: change the value of TID_FIELD_INVALID from -1 to 0Michael Adam1-1/+1
This paves the way to change the tid/cnum types to systematic uint32_t. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-06-06s3:smb: introduce a name TID_FIELD_INVALID for the invalid value for a cnum/tidMichael Adam6-8/+9
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-06-06s3:connections: add a CNUM_OFFSET for mapping between cnum and the bitmap indexMichael Adam2-4/+12
This moves the start of the range of valid cnum values up from 0 to CNUM_OFFSET (currently 1), so that in a later step we can use 0 as invalid cnum value instead of the current -1. This will allow us to change the type of cnum to uint32_t from a mix of int and unsigned. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-06-06s3:smb.h: fix a comment typoMichael Adam1-1/+1
2012-06-06s4:dns-server: remove an extra blank line from handle_question()Michael Adam1-1/+0
2012-06-06auth-kerberos: avoid crash with MIT krb5 1.10.0 in gss_get_name_attribute()Alexander Bokovoy1-2/+18
gss_get_name_attribute() can return unintialized pac_display_buffer and later gss_release_buffer() will crash on attempting to release it. The fix on MIT krb5 side is in 1.10.1, reported in both Debian and MIT upstream: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658514 http://krbdev.mit.edu/rt/Ticket/Display.html?user=guest&pass=guest&id=7087 We need to initialize variables before using gss_get_name_attribute() Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Wed Jun 6 18:22:51 CEST 2012 on sn-devel-104
2012-06-06s4 dns: Correctly handle A questions for CNAMEsKai Blin2-5/+132
When an A/AAAA lookup is made for a name that actually is a CNAME record, we need to return the CNAME record, and then do the A/AAAA lookup for the name the CNAME points at. This still fails for CNAMEs pointing at records for domains we need to ask our forwarders for. Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Wed Jun 6 15:23:55 CEST 2012 on sn-devel-104
2012-06-06s4 dns: Structure tests a bit betterKai Blin1-0/+3
2012-06-06s3:smbd: change user_struct->vuid to uint64_tStefan Metzmacher8-35/+37
Only sconn->smb1.sessions.next_vuid remains as uint16_t, so that we do not generate larger values yet. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jun 6 12:07:33 CEST 2012 on sn-devel-104
2012-06-06s3:smbd: let file_close_pid/file_close_user take a uint64_t vuidStefan Metzmacher2-4/+4
metze
2012-06-06s3:smbd: pass down vuid as uint64_t in lanman.cStefan Metzmacher2-37/+37
metze
2012-06-06s3:smbd: pass down vuid as uint64_t in ipc.cStefan Metzmacher1-4/+4
metze
2012-06-06s3:smbd: change vuid to uint64_t in uid.cStefan Metzmacher2-14/+14
metze
2012-06-06s3:smbd: let fcb_or_dos_open() take a uint64_t vuidStefan Metzmacher1-1/+1
metze
2012-06-06s3:smbd: let close_cnum() take a uint64_t vuidStefan Metzmacher2-2/+2
metze
2012-06-06s3:smbd: use UID_FIELD_INVALID (0) instead of (uint16)-1 when calling ↵Stefan Metzmacher1-1/+1
close_cnum() The only thing that's important is that the value is invalid. metze
2012-06-06s3:smbd: let make_connection() take a uint64_t vuidStefan Metzmacher2-2/+2
metze
2012-06-06s3:smbd: let conn_clear_vuid_caches() take a uint64_t vuidStefan Metzmacher2-3/+3
metze
2012-06-06s3:smbd: let open_fake_file() take a uint64_t vuidStefan Metzmacher2-2/+2
metze
2012-06-06s3:printing: let print_spool_open() take a uint64_t vuidStefan Metzmacher2-2/+2
metze
2012-06-06s3:smbd: change conn_ctx->vuid to uint64_tStefan Metzmacher1-1/+1
metze
2012-06-06s3:include: change current_user->vuid to uint64_tStefan Metzmacher1-1/+1
metze
2012-06-06s3:smbd: change trans_state->vuid to uint64_tStefan Metzmacher1-1/+1
metze
2012-06-06s3:include: change smb_request->vuid to uint64_tStefan Metzmacher2-4/+5
metze
2012-06-06s3:include: move struct smb_request to vfs.hStefan Metzmacher2-61/+61
metze
2012-06-06s3:include: change files_struct->vuid to uint64_tStefan Metzmacher3-4/+5
metze
2012-06-06s3:include: change connection_struct->vuid to uint64_tStefan Metzmacher1-1/+1
metze
2012-06-06s3:includes: change vuid_cache_entry->vuid to uint64_tStefan Metzmacher1-1/+1
metze
2012-06-06s3:include: move sys_acl prototypes to smb_acls.hStefan Metzmacher2-30/+33
metze
2012-06-06s3:smbd: move struct user_struct to globals.hStefan Metzmacher2-13/+14
metze
2012-06-06s3:include: remove typedef user_structStefan Metzmacher1-2/+2
metze
2012-06-06s3:smbd: use 'struct user_struct' instead of typedef'ed 'user_struct'Stefan Metzmacher12-28/+28
metze
2012-06-06s3:smbd: move forward declaration of struct aio_extra to smbd.hStefan Metzmacher2-3/+1
metze
2012-06-06s3:printing: use smbd/smbd.h instead of just smbd/proto.h in queue_process.cStefan Metzmacher1-1/+1
This fixes compiler warnings regarding incomplete types. metze
2012-06-06s3:torture: use smbd/smbd.h instead of just smbd/proto.h in vfstest_chain.cStefan Metzmacher1-1/+1
This fixes compiler warnings regarding incomplete types. metze