summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-07-27s4:kerberos Add 'net export keytab' command for wireshark decryptionAndrew Bartlett10-8/+361
It is much easier to do decryption with wireshark when the keytab is available for every host in the domain. Running 'net export keytab <keytab name>' will export the current (as pointed to by the supplied smb.conf) local Samba4 doamin. (This uses Heimdal's 'hdb' keytab and then the existing hdb-samba4, and so has a good chance of keeping working in the long term). Andrew Bartlett
2009-07-27s4:kdc Push context to hdb_samba4 by way of the 'name' of the DBAndrew Bartlett6-29/+39
This overloads the 'name' part of the keytab name to supply a context pointer, and so avoids 3 global variables! To do this, we had to stop putting the entry for kpasswd into the secrets.ldb. (I don't consider this a big loss, and any entry left there by an upgrade will be harmless). Andrew Bartlett
2009-07-27s4:setup add 'cn' attribute to Samba4 local schemaAndrew Bartlett1-0/+4
(We recently made the ms_schema.py script also add this attribute)
2009-07-27s4:heimdal Extend the 'hdb as a keytab' codeAndrew Bartlett1-4/+145
This extends the hdb_keytab code to allow enumeration of all the keys. The plan is to allow ktutil's copy command to copy from Samba4's hdb_samba4 into a file-based keytab used in wireshark. One day, with a few more hacks, we might even make this a loadable module that can be used directly... Andrew Bartlett
2009-07-27s4:kdc Tidy up hdb_samba4 some moreAndrew Bartlett5-63/+90
This removes the last use of the prefix hdb_ldb and makes it clear that we pass in 3 global variables to get state information into hdb_samba4 when used as a keytab. (And that they belong to hdb_samba4, not to the KDC) Andrew Bartlett
2009-07-27docs: fix typos in the net man page.Michael Adam1-3/+3
Noted by Oota Toshiya <t-oota@dh.jp.nec.com> . Michael
2009-07-27Fix some nonempty blank linesVolker Lendecke1-105/+103
2009-07-27Fix a valgrind error in cli_ctemp_doneVolker Lendecke1-1/+3
For performance reasons cli_smb_recv does not make copies of the buffers we received from the client, so both "vwv" and "bytes" vanish with TALLOC_FREE(subreq). I know this is a bit counter-intuitive, but I think in this case it's justified not to make copies. Comments?
2009-07-26Fix valgrind errors in DeleteDomainGroup and DeleteDomAliasVolker Lendecke1-4/+4
2009-07-26Fix a valgrind error in _samr_DeleteUserVolker Lendecke1-2/+2
The close_handle invalidates uinfo
2009-07-25Fix a 32/64bit stack corruption bugVolker Lendecke1-1/+1
2009-07-25Cleanup patch after "new VFS"Volker Lendecke1-1/+1
2009-07-25Cleanup patch after "struct stat_ex"Volker Lendecke1-2/+2
2009-07-25Remove a pointless static fstringVolker Lendecke1-5/+3
2009-07-25No explicit initialization necessary for a zero blobVolker Lendecke1-3/+1
2009-07-25Move 16 bytes from data to r/o text segmentVolker Lendecke1-1/+1
2009-07-25Fix a winbind memleakVolker Lendecke1-0/+1
2009-07-25Use a switch statement in charset_name()Volker Lendecke1-8/+24
2009-07-25Fix some nonempty blank linesVolker Lendecke1-17/+17
2009-07-25First patch for "new VFS" portabilityVolker Lendecke1-5/+5
2009-07-24s3: Convert a few callers of unix_convert() over to filename_convert()Tim Prouty8-112/+90
This patch also changes the unix convert flags to make sure the correct semantics are preservered for allowing/disallowing wildcards in the last component of the path.
2009-07-24s3: Remove a few callers of get_full_smb_filename()Tim Prouty2-45/+81
2009-07-24s3 onefs: Fix the onefs modules after the big refactoringTim Prouty5-22/+22
2009-07-24Factor out common code into vfs_acl_common.c.Jeremy Allison5-1274/+682
Jeremy.
2009-07-24s3: Simplify rename_internals() by passing in smb_filename structsTim Prouty4-157/+127
2009-07-24s3: Allow filename_convert() to pass through unix_convert_flags and let the ↵Tim Prouty8-42/+88
caller know if the path has a wildcard This also eliminates the need for resolve_dfspath().
2009-07-24Make acl_tdb match acl_xattr. Large duplication ofJeremy Allison1-68/+225
code here needs tidying up. Compiles but not yet tested. Jeremy.
2009-07-24For some strange reason using :Jeremy Allison3-6/+5
uint8 hash[XATTR_SD_HASH_SIZE]; doesn't have the same effect as : uint8 hash[64]; Jeremy.
2009-07-24Fix hash function in acl_xattr to be SHA256, makeJeremy Allison6-90/+249
the hash function selectable. Upgrade version. Compiles but not fully tested yet (coming). Make vfs_acl_tdb.c compile - this needs updating to match acl_xattr (also coming soon). Jeremy.
2009-07-24add my copyright after the VFS rewriteVolker Lendecke3-0/+3
2009-07-24Move the "enum _vfs_op_type" to full_auditVolker Lendecke2-142/+142
It's only used there now. Someone should now go in and simplify full_audit... :-)
2009-07-24Make the smbd VFS typesafeVolker Lendecke53-2411/+2660
2009-07-24Fix the chain2 testVolker Lendecke1-1/+3
2009-07-24In chain_reply, copy the subrequests' error to the main requestVolker Lendecke1-0/+15
2009-07-24Fix a few uninitialized variable warningsVolker Lendecke10-20/+20
I know those warnings are bogus, but both Coverity and gcc don't get it.
2009-07-24s4:gensec_gssapi: pass the correct oid to the gssapi layer.Stefan Metzmacher1-4/+11
metze
2009-07-24s4:gensec/spengo: make sure we send the blob with the micListMech signature ↵Stefan Metzmacher1-1/+1
to the peer We should even do this if the submech has no more data to send. metze
2009-07-24Some more VFS type errorsVolker Lendecke1-2/+2
2009-07-24Fix some nonempty blank linesVolker Lendecke1-4/+4
2009-07-24Fix some C++ warningsVolker Lendecke1-4/+7
2009-07-23s4:ldb: add support for the new Recycle Bin Feature LDAP controlsStefan Metzmacher2-0/+68
LDB_CONTROL_SHOW_RECYCLED_OID 1.2.840.113556.1.4.2064 LDB_CONTROL_SHOW_DEACTIVATED_LINK_OID 1.2.840.113556.1.4.2065 metze
2009-07-23s4:libcli/ldap: add support for new Recycle Bin Feature LDAP ControlsStefan Metzmacher1-0/+40
LDAP_SERVER_SHOW_RECYCLED_OID 1.2.840.113556.1.4.2064 LDAP_SERVER_SHOW_DEACTIVATED_LINK_OID 1.2.840.113556.1.4.2065 metze
2009-07-23frsrpc.idl: add definition of frsrpc_FrsNOP()Stefan Metzmacher1-1/+1
metze
2009-07-23frsrpc.idl: add idl for frsrpc_FrsVerifyPromotionParent()Stefan Metzmacher1-1/+9
metze
2009-07-23Fix typos reported by OPC Oota.John H Terpstra1-4/+4
2009-07-23Merge branch 'master' of ssh://jht@git.samba.org/data/git/sambaJohn H Terpstra388-6755/+13066
2009-07-23[SAMBA 4 / NETLOGON] Modify type of SAM contextsMatthias Dieter Wallnöfer1-9/+7
In the SAMBA 4 DCE/RPC NETLOGON server the SAM context references have generally the type "void *". But we know that those context objects are based on the "struct ldb_context" type. We've always to cast for using a SAM/LDB call. This I didn't find very appealing and so I assigned the right (detailed) type to each "sam_ctx". Therefore, the casts could disappear. Also this change is only cosmetic.
2009-07-22frstrans.idl: add new DFS-R FrsTransport interface with dummy functionsStefan Metzmacher2-1/+91
metze
2009-07-22frsrpc.idl: add definition for frsrpc_FrsStartPromotionParent()Stefan Metzmacher1-1/+22
metze
2009-07-22s3: Change unix_convert to use an smb_filename struct internallyTim Prouty2-138/+168
This allows SMB_VFS_[L]STAT to be called directly. Additionally, I changed NTSTATUS result to be named status for consistency. I also removed the stat_cache_add() from build_stream_path() because stat_cache_lookup() is never actually called on a file with a stream. There is no reason why the stat cache couldn't be consulted for streams in the future. Jeremy/Volker, please take a look at this one when you get a chance.