summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a typoVolker Lendecke2009-07-271-1/+1
|
* Fix a valgrind error in winbindVolker Lendecke2009-07-271-1/+2
| | | | | | When looking for idle clients, we dereferenced state->response. As this is dynamically allocated now, the proper test is whether state->response exists at all. This is the case when an async operation is in process at that moment.
* s4:kerberos Add test to show that we actually export the keytabAndrew Bartlett2009-07-273-1/+69
| | | | | | | | | | While it is hard to prove it is correct, at least the new 'nettestuser' principal and the Administrator principal are correct. We had to fix the case of 'Administrator' in the selftest code to match the DB, as the keytab lookup is case sensitive. Andrew Bartlett
* s4:kerberos Add 'net export keytab' command for wireshark decryptionAndrew Bartlett2009-07-2710-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
* s4:kdc Push context to hdb_samba4 by way of the 'name' of the DBAndrew Bartlett2009-07-276-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
* s4:setup add 'cn' attribute to Samba4 local schemaAndrew Bartlett2009-07-271-0/+4
| | | | (We recently made the ms_schema.py script also add this attribute)
* s4:heimdal Extend the 'hdb as a keytab' codeAndrew Bartlett2009-07-271-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
* s4:kdc Tidy up hdb_samba4 some moreAndrew Bartlett2009-07-275-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
* docs: fix typos in the net man page.Michael Adam2009-07-271-3/+3
| | | | | | Noted by Oota Toshiya <t-oota@dh.jp.nec.com> . Michael
* Fix some nonempty blank linesVolker Lendecke2009-07-271-105/+103
|
* Fix a valgrind error in cli_ctemp_doneVolker Lendecke2009-07-271-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?
* Fix valgrind errors in DeleteDomainGroup and DeleteDomAliasVolker Lendecke2009-07-261-4/+4
|
* Fix a valgrind error in _samr_DeleteUserVolker Lendecke2009-07-261-2/+2
| | | | The close_handle invalidates uinfo
* Fix a 32/64bit stack corruption bugVolker Lendecke2009-07-251-1/+1
|
* Cleanup patch after "new VFS"Volker Lendecke2009-07-251-1/+1
|
* Cleanup patch after "struct stat_ex"Volker Lendecke2009-07-251-2/+2
|
* Remove a pointless static fstringVolker Lendecke2009-07-251-5/+3
|
* No explicit initialization necessary for a zero blobVolker Lendecke2009-07-251-3/+1
|
* Move 16 bytes from data to r/o text segmentVolker Lendecke2009-07-251-1/+1
|
* Fix a winbind memleakVolker Lendecke2009-07-251-0/+1
|
* Use a switch statement in charset_name()Volker Lendecke2009-07-251-8/+24
|
* Fix some nonempty blank linesVolker Lendecke2009-07-251-17/+17
|
* First patch for "new VFS" portabilityVolker Lendecke2009-07-251-5/+5
|
* s3: Convert a few callers of unix_convert() over to filename_convert()Tim Prouty2009-07-248-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.
* s3: Remove a few callers of get_full_smb_filename()Tim Prouty2009-07-242-45/+81
|
* s3 onefs: Fix the onefs modules after the big refactoringTim Prouty2009-07-245-22/+22
|
* Factor out common code into vfs_acl_common.c.Jeremy Allison2009-07-245-1274/+682
| | | | Jeremy.
* s3: Simplify rename_internals() by passing in smb_filename structsTim Prouty2009-07-244-157/+127
|
* s3: Allow filename_convert() to pass through unix_convert_flags and let the ↵Tim Prouty2009-07-248-42/+88
| | | | | | caller know if the path has a wildcard This also eliminates the need for resolve_dfspath().
* Make acl_tdb match acl_xattr. Large duplication ofJeremy Allison2009-07-241-68/+225
| | | | | code here needs tidying up. Compiles but not yet tested. Jeremy.
* For some strange reason using :Jeremy Allison2009-07-243-6/+5
| | | | | | | uint8 hash[XATTR_SD_HASH_SIZE]; doesn't have the same effect as : uint8 hash[64]; Jeremy.
* Fix hash function in acl_xattr to be SHA256, makeJeremy Allison2009-07-246-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.
* add my copyright after the VFS rewriteVolker Lendecke2009-07-243-0/+3
|
* Move the "enum _vfs_op_type" to full_auditVolker Lendecke2009-07-242-142/+142
| | | | | It's only used there now. Someone should now go in and simplify full_audit... :-)
* Make the smbd VFS typesafeVolker Lendecke2009-07-2453-2411/+2660
|
* Fix the chain2 testVolker Lendecke2009-07-241-1/+3
|
* In chain_reply, copy the subrequests' error to the main requestVolker Lendecke2009-07-241-0/+15
|
* Fix a few uninitialized variable warningsVolker Lendecke2009-07-2410-20/+20
| | | | I know those warnings are bogus, but both Coverity and gcc don't get it.
* s4:gensec_gssapi: pass the correct oid to the gssapi layer.Stefan Metzmacher2009-07-241-4/+11
| | | | metze
* s4:gensec/spengo: make sure we send the blob with the micListMech signature ↵Stefan Metzmacher2009-07-241-1/+1
| | | | | | | | to the peer We should even do this if the submech has no more data to send. metze
* Some more VFS type errorsVolker Lendecke2009-07-241-2/+2
|
* Fix some nonempty blank linesVolker Lendecke2009-07-241-4/+4
|
* Fix some C++ warningsVolker Lendecke2009-07-241-4/+7
|
* s4:ldb: add support for the new Recycle Bin Feature LDAP controlsStefan Metzmacher2009-07-232-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
* s4:libcli/ldap: add support for new Recycle Bin Feature LDAP ControlsStefan Metzmacher2009-07-231-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
* frsrpc.idl: add definition of frsrpc_FrsNOP()Stefan Metzmacher2009-07-231-1/+1
| | | | metze
* frsrpc.idl: add idl for frsrpc_FrsVerifyPromotionParent()Stefan Metzmacher2009-07-231-1/+9
| | | | metze
* Fix typos reported by OPC Oota.John H Terpstra2009-07-231-4/+4
|
* Merge branch 'master' of ssh://jht@git.samba.org/data/git/sambaJohn H Terpstra2009-07-23388-6755/+13066
|\
| * [SAMBA 4 / NETLOGON] Modify type of SAM contextsMatthias Dieter Wallnöfer2009-07-231-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.