summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2012-06-06s3:utils: use smbd/smbd.h instead of just smbd/proto.hStefan Metzmacher1-1/+1
This fixes compiler warnings regarding incomplete types. metze
2012-06-06s3:modules: we don't need smbd/proto.h in vfs_shadow_copy2.cStefan Metzmacher1-1/+0
metze
2012-06-06s3:lib: we don't need smbd/proto.h in smbd_shim.cStefan Metzmacher1-1/+0
metze
2012-06-06examples/VFS: don't use smbd/proto.hStefan Metzmacher3-3/+0
metze
2012-06-06s3:include: move some prototypes (e.g. smb_register_vfs) to vfs.hStefan Metzmacher2-9/+10
These are called from vfs modules, which should not depend on smbd/proto.h metze
2012-06-06s3:include: remove unused forward declaration of deferred_open_record in smb.hStefan Metzmacher1-3/+0
metze
2012-06-06s3:smbd: move UCF_ defines to smbd.hStefan Metzmacher2-9/+9
metze
2012-06-06s3:include: move struct smb_filename to vfs.hStefan Metzmacher2-10/+10
metze
2012-06-06s3:include: move struct smb_file_time to vfs.hStefan Metzmacher2-8/+8
metze
2012-06-06s3:include: move struct connection_struct (and sub structs) to vfs.hStefan Metzmacher3-94/+94
metze
2012-06-06s3:include: move struct stream_struct to vfs.hStefan Metzmacher2-10/+10
metze
2012-06-06s3:include: move struct fd_handle/files_struct to vfs.hStefan Metzmacher2-82/+82
metze
2012-06-06s3:includes: move union unid_t to vfs.hStefan Metzmacher2-5/+5
metze
2012-06-06s3:smbd: move struct trans_state to smbd.hStefan Metzmacher2-30/+30
metze
2012-06-06s3:smbd: move struct privilege_paths to smbd.hStefan Metzmacher2-9/+9
metze
2012-06-06s3:smbd: make struct notify_change_buf private to notify.cStefan Metzmacher2-20/+20
metze