Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-06-08 | s3-rpcclient: add fsrvp commands | David Disseldorp | 5 | -3/+670 | |
fss_create_expose connects to an FSRVP server and negotiates the creation and exposure of a share shadow-copy. shadow-copies of multiple shares can be requested with a single fss_create_expose request. ddiss@plati:~> bin/rpcclient -k -U 'LURCH\administrator%password' \ ncacn_np:lutze[sign] rpcclient $> fss_create_expose backup ro hyper 381884f2-b578-45ea-b8d2-cf82491f4011: shadow-copy set created ... share hyper@{B6137E21-9CBB-4547-A21D-E7AD40D0874B} exposed as a snapshot of \\lutze\hyper fss_delete removes the shadow-copy share: rpcclient $> fss_delete hyper 381884f2-b578-45ea-b8d2-cf82491f4011 \ b6137e21-9cbb-4547-a21d-e7ad40d0874 Shadow-copies can be created read-write or read-only. Experimenting with Windows Server "8" beta, a recovery complete call is required after creating a read-write (ATTR_AUTO_RECOVERY) shadow copy. Otherwise subsequent creation requests fail with FSRVP_E_SHADOW_COPY_SET_IN_PROGRESS. | |||||
2012-06-08 | s3-winbindd: call dump_core_setup after command line option has been parsed | Matthieu Patou | 1 | -0/+2 | |
Without this fix in some situations winbindd can't coredump. Such cases append when samba is compiled in a custom prefix (ie. /home/build/mat/prod/1/) in this case get_dyn_LOGFILEBASE or basename(lp_logfile) before the configuration file and the command line is parsed will be something like /home/build/mat/prod/1/var which might not exists on the host where you run it (where it's most probably more "normal" directories). Specifying --log-basename didn't help as dump_core_setup is called before the command line and the config file is read so it didn't help getting a correct value in dump_core_setup. We fix this issue by calling dump_core_setup() also after the command line has been read and also after the configfile has been parsed so that the final location for the coredump is coherent with the final logile location. Autobuild-User(master): Matthieu Patou <mat@samba.org> Autobuild-Date(master): Fri Jun 8 06:33:33 CEST 2012 on sn-devel-104 | |||||
2012-06-08 | s3-waf: Fix the winbindd active directory idmap support build. | Ira Cooper | 1 | -1/+1 | |
This fixes the SAMBA3_MODULE for idmap_ad so it will actually attempt to build. Autobuild-User(master): Ira Cooper <ira@samba.org> Autobuild-Date(master): Fri Jun 8 04:38:04 CEST 2012 on sn-devel-104 | |||||
2012-06-07 | build: fix typo that breaks the HP-UX build | Björn Jacke | 1 | -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-07 | build: Tidy up broken posix_fallocate tests | Andrew Bartlett | 2 | -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-07 | s3: enable winbind also for upcoming FreeBSD/NetBSD releases >=10 | Björn Jacke | 1 | -2/+2 | |
2012-06-06 | s3:include: change lock_struct->fnum to uint64_t | Michael Adam | 4 | -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-06 | s3:include: change lock_context->tid to uint32_t | Michael Adam | 1 | -1/+1 | |
Note: this changes for format of brlock.tdb! Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-06 | s3:include: change connection_struct->cnum to uint32_t | Michael Adam | 4 | -4/+4 | |
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-06 | s3:include: change smb_request->tid to uint32_t | Michael Adam | 1 | -1/+1 | |
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-06 | s3:smb: change the value of TID_FIELD_INVALID from -1 to 0 | Michael Adam | 1 | -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-06 | s3:smb: introduce a name TID_FIELD_INVALID for the invalid value for a cnum/tid | Michael Adam | 6 | -8/+9 | |
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-06 | s3:connections: add a CNUM_OFFSET for mapping between cnum and the bitmap index | Michael Adam | 2 | -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-06 | s3:smb.h: fix a comment typo | Michael Adam | 1 | -1/+1 | |
2012-06-06 | s3:smbd: change user_struct->vuid to uint64_t | Stefan Metzmacher | 8 | -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-06 | s3:smbd: let file_close_pid/file_close_user take a uint64_t vuid | Stefan Metzmacher | 2 | -4/+4 | |
metze | |||||
2012-06-06 | s3:smbd: pass down vuid as uint64_t in lanman.c | Stefan Metzmacher | 2 | -37/+37 | |
metze | |||||
2012-06-06 | s3:smbd: pass down vuid as uint64_t in ipc.c | Stefan Metzmacher | 1 | -4/+4 | |
metze | |||||
2012-06-06 | s3:smbd: change vuid to uint64_t in uid.c | Stefan Metzmacher | 2 | -14/+14 | |
metze | |||||
2012-06-06 | s3:smbd: let fcb_or_dos_open() take a uint64_t vuid | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-06 | s3:smbd: let close_cnum() take a uint64_t vuid | Stefan Metzmacher | 2 | -2/+2 | |
metze | |||||
2012-06-06 | s3:smbd: use UID_FIELD_INVALID (0) instead of (uint16)-1 when calling ↵ | Stefan Metzmacher | 1 | -1/+1 | |
close_cnum() The only thing that's important is that the value is invalid. metze | |||||
2012-06-06 | s3:smbd: let make_connection() take a uint64_t vuid | Stefan Metzmacher | 2 | -2/+2 | |
metze | |||||
2012-06-06 | s3:smbd: let conn_clear_vuid_caches() take a uint64_t vuid | Stefan Metzmacher | 2 | -3/+3 | |
metze | |||||
2012-06-06 | s3:smbd: let open_fake_file() take a uint64_t vuid | Stefan Metzmacher | 2 | -2/+2 | |
metze | |||||
2012-06-06 | s3:printing: let print_spool_open() take a uint64_t vuid | Stefan Metzmacher | 2 | -2/+2 | |
metze | |||||
2012-06-06 | s3:smbd: change conn_ctx->vuid to uint64_t | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-06 | s3:include: change current_user->vuid to uint64_t | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-06 | s3:smbd: change trans_state->vuid to uint64_t | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-06 | s3:include: change smb_request->vuid to uint64_t | Stefan Metzmacher | 2 | -4/+5 | |
metze | |||||
2012-06-06 | s3:include: move struct smb_request to vfs.h | Stefan Metzmacher | 2 | -61/+61 | |
metze | |||||
2012-06-06 | s3:include: change files_struct->vuid to uint64_t | Stefan Metzmacher | 3 | -4/+5 | |
metze | |||||
2012-06-06 | s3:include: change connection_struct->vuid to uint64_t | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-06 | s3:includes: change vuid_cache_entry->vuid to uint64_t | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-06 | s3:include: move sys_acl prototypes to smb_acls.h | Stefan Metzmacher | 2 | -30/+33 | |
metze | |||||
2012-06-06 | s3:smbd: move struct user_struct to globals.h | Stefan Metzmacher | 2 | -13/+14 | |
metze | |||||
2012-06-06 | s3:include: remove typedef user_struct | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2012-06-06 | s3:smbd: use 'struct user_struct' instead of typedef'ed 'user_struct' | Stefan Metzmacher | 12 | -28/+28 | |
metze | |||||
2012-06-06 | s3:smbd: move forward declaration of struct aio_extra to smbd.h | Stefan Metzmacher | 2 | -3/+1 | |
metze | |||||
2012-06-06 | s3:printing: use smbd/smbd.h instead of just smbd/proto.h in queue_process.c | Stefan Metzmacher | 1 | -1/+1 | |
This fixes compiler warnings regarding incomplete types. metze | |||||
2012-06-06 | s3:torture: use smbd/smbd.h instead of just smbd/proto.h in vfstest_chain.c | Stefan Metzmacher | 1 | -1/+1 | |
This fixes compiler warnings regarding incomplete types. metze | |||||
2012-06-06 | s3:utils: use smbd/smbd.h instead of just smbd/proto.h | Stefan Metzmacher | 1 | -1/+1 | |
This fixes compiler warnings regarding incomplete types. metze | |||||
2012-06-06 | s3:modules: we don't need smbd/proto.h in vfs_shadow_copy2.c | Stefan Metzmacher | 1 | -1/+0 | |
metze | |||||
2012-06-06 | s3:lib: we don't need smbd/proto.h in smbd_shim.c | Stefan Metzmacher | 1 | -1/+0 | |
metze | |||||
2012-06-06 | s3:include: move some prototypes (e.g. smb_register_vfs) to vfs.h | Stefan Metzmacher | 2 | -9/+10 | |
These are called from vfs modules, which should not depend on smbd/proto.h metze | |||||
2012-06-06 | s3:include: remove unused forward declaration of deferred_open_record in smb.h | Stefan Metzmacher | 1 | -3/+0 | |
metze | |||||
2012-06-06 | s3:smbd: move UCF_ defines to smbd.h | Stefan Metzmacher | 2 | -9/+9 | |
metze | |||||
2012-06-06 | s3:include: move struct smb_filename to vfs.h | Stefan Metzmacher | 2 | -10/+10 | |
metze | |||||
2012-06-06 | s3:include: move struct smb_file_time to vfs.h | Stefan Metzmacher | 2 | -8/+8 | |
metze | |||||
2012-06-06 | s3:include: move struct connection_struct (and sub structs) to vfs.h | Stefan Metzmacher | 3 | -94/+94 | |
metze |