summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Move reg_create_path() and reg_delete_path() to reg_api.cMichael Adam2008-01-172-95/+95
| | | | | | | | | | Michael (This used to be commit 4d82cc586c089a16d1d2db214f5e198062890b58)
| * Convert sync_eventlog_params() to use reg_api instead of reg_frontend.Michael Adam2008-01-171-20/+26
| | | | | | | | | | | | | | | | | | | | | | This is a step towards untangling the registry. All places should use reg_api.c, reg_frontend should actually more appropriately be named reg_backend_dispatcher and hidden from callers. :-) Michael (This used to be commit 92e95fe58500dc8bf89bb43c1d65559702363767)
| * Add some sectioning comments to reg_api.cMichael Adam2008-01-171-0/+15
| | | | | | | | | | Michael (This used to be commit d3c9c273740b42e5da101f53d4df3aee70cdacf7)
| * Make utility function reg_deletekey_recursive_internal() static.Michael Adam2008-01-171-4/+4
| | | | | | | | | | Michael (This used to be commit 3e661273229bcf021276cc0b71350acf8d8fed7c)
| * Use the proper boolean constants in reg_frontend_hilvl.cMichael Adam2008-01-171-6/+6
| | | | | | | | | | Michael (This used to be commit 5c0a1d5d45948fdc483d6f9de31cea39e12722c6)
| * Reformatting: Strip trailing white spaces from reg_frontent_hilvl.c.Michael Adam2008-01-171-21/+19
| | | | | | | | | | Michael (This used to be commit 36085d9004592e48b66b681f85346db15e6d9b3a)
| * idl: Update IDL for eventlog, misc, netlogon and security from Samba 4.Jelmer Vernooij2008-01-177-10/+20
| | | | | | | | (This used to be commit 48288869d314d8c91d07282b5536b231d95db159)
| * idl: Remove use of [ref], which is the default.Jelmer Vernooij2008-01-171-3/+3
| | | | | | | | (This used to be commit c22d47b3d58de45c2b686badb9fe6a6cd5a6b047)
| * idl: Update initshutdown and echo IDL from Samba 4.Jelmer Vernooij2008-01-175-18/+18
| | | | | | | | (This used to be commit 35d71a40b385a62b8c85ed68e64b6d38d80aeb3c)
| * idl: Update DFS IDL from Samba 4.Jelmer Vernooij2008-01-177-10/+526
| | | | | | | | (This used to be commit a6677b2e186212f723b24775293682ce5b94952e)
* | stop bothering me about example programs not checked inDerrell Lipman2008-01-171-0/+16
| | | | | | | | (This used to be commit 41ad5c7700c5ef3839c0629ee5eb42ec0fe61da6)
* | Fix bug 5185: repeated calls to smbc_getxattr() lose sid-name mappingDerrell Lipman2008-01-172-46/+38
| | | | | | | | | | | | | | | | If we're going to cache connections to IPC$, we'd better also cache the policy handle and not use a stack-based handle that's invalid on subsequent calls. Derrell (This used to be commit 67c415661f6466c21cd0eaafabe58cba049d2af3)
* | Add a program to test repeated calls to smbc_getxattr().Derrell Lipman2008-01-172-0/+67
|/ | | | (This used to be commit f5f46de404dba2e4a03d205a62cd5cf7ea4e075a)
* Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-testDerrell Lipman2008-01-178-64/+39
|\ | | | | | | (This used to be commit 15ef5e4884505bca7990e44200d0235764e9057f)
| * Remove is_remotestorage() call from VFS. We already have statvfs() there to ↵Alexander Bokovoy2008-01-177-35/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | handle FS capabilities. As discussed with Volker, it is better to calculate FS capabilities at connection time. We already do this with help of VFS statvfs() call which allows to fill-in system-specific attributes including FS capabilities. So just re-use it if you want to represent additional capabilities in your modules. The only caution is that you need to call underlying statvfs() call to actually get system-specific capabilities (and other fields) added. Then add module-specific ones. (This used to be commit e342ca0d931f9a5c8ec9e472dc9c63f1fe012b3a)
| * Rework of VFS is_offline() function to only return boolean offline/online ↵Alexander Bokovoy2008-01-177-26/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | result for a file. This makes sense as upper levels are only taking returned result of 0 (no error) into consideration when deciding whether to mark file offline/online as returned from is_offline. That means that we simply can move the decision down to VFS module and clean up upper levels so that they always see only file status. If there is an error when trying to identify file status, then VFS module could decide what to return (offline or online) by itself -- after all, it ought to have system-specific knowledge anyway. (This used to be commit 75cc08661473cce62756fa062071bb2bc1fb39ec)
| * Fix more VFS API mixup with offline filesAlexander Bokovoy2008-01-171-5/+4
| | | | | | | | | | I'm sorry for this mess. :-( (This used to be commit e1f5a8f10795831d3c7902d9803c9571c8ac811a)
| * Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-testAlexander Bokovoy2008-01-178-95/+231
| |\ | | | | | | | | | (This used to be commit 4256f8e093e81fbc2c1afd8f823725ae286945ce)
| * \ Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-testAlexander Bokovoy2008-01-16105-1102/+6280
| |\ \ | | | | | | | | | | | | (This used to be commit b01f34141509c90b12003786957790866c286cba)
| * \ \ Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-testAlexander Bokovoy2008-01-140-0/+0
| |\ \ \ | | | | | | | | | | | | | | | (This used to be commit a40f68eac1d421c96fc3e10e5a7494dc2c5a124e)
| * \ \ \ Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-testAlexander Bokovoy2008-01-147-6/+72
| |\ \ \ \ | | | | | | | | | | | | | | | | | | (This used to be commit 5c2d4c76d8b56be92edcee026f2289b8b46a4c27)
| * | | | | Fix crash in winbind clients: instead of talloc-based pointer we passed ↵Alexander Bokovoy2008-01-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | address of a local variable. (This used to be commit 0afd2153c7649e89d595cb7eff0f7b3c0b56ea15)
* | | | | | Fix stat results to be consistent between smbc_stat and smbc_fstat.Derrell Lipman2008-01-171-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We create a kludged inode based on the checksum of the path. We therefore need to use the same (full) path when calculating it in both smbc_stat() and smbc_fstat(). If struct stat has an rdev field, set it to zero. Derrell (This used to be commit b4282fbd6d27d868b2d5c04bb72d2d7421822da1)
* | | | | | Add some additional libsmbclient test programs.Derrell Lipman2008-01-173-1/+158
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | testwrite: create or truncate a file and write to it. teststat3: compare the results from smbc_stat() and smbc_fstat() Derrell (This used to be commit 5a4a7aec761c3388b741b9b47fa6358fc71a66ce)
* | | | | Fix bug found by Derrell - windows returns an read returnJeremy Allison2008-01-161-21/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | offset of zero if return size is zero. Should fix testread libsmbclient code. Jeremy. (This used to be commit df3c4648399f8d62ff6fe0013be8b89abc18f0f0)
* | | | | Fix the mess that ab just made of the new VFS code.Jeremy Allison2008-01-165-59/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NEEDS MORE TESTING ! Jeremy. (This used to be commit bcc94aed6f03211866aa85753a90fece87846ba9)
* | | | | Tidy up code and debug for non-default krb5 IPv6 port.Jeremy Allison2008-01-161-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | Jeremy. (This used to be commit 79b7972de4c2a8c71e37642ddf7e5bbed53dd58a)
* | | | | Fix IPv6 bug #5204, which caused krb5 DNS lookupsJeremy Allison2008-01-162-15/+81
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | for a name '[<ipv6 addr>'. Jeremy. (This used to be commit f2aa921505e49f894bfed4e5e2f9fc01918b1bb0)
* | | | Revert "default to tdbsam instead of smbpasswd"Volker Lendecke2008-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | This reverts commit ab8ff39fd51929aae2f4088ca5b1d67e5cb7099e. (This used to be commit 5838a9f556f151dc7c1773dcdc598b8ba79fca44)
* | | | Don't try ftruncate when the tdb is opened read-onlyVolker Lendecke2008-01-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tridge, Jeremy, please check! Thanks, Volker (This used to be commit e4f46d527411c54e8f26c05033b744c751810c32)
* | | | Next try to fix the max dead record calculationVolker Lendecke2008-01-161-1/+1
| | | | | | | | | | | | | | | | (This used to be commit 4f95c58040f46f343f55f9a5db2655a5e3b62c00)
* | | | default to tdbsam instead of smbpasswdVolker Lendecke2008-01-161-1/+1
| | | | | | | | | | | | | | | | (This used to be commit ab8ff39fd51929aae2f4088ca5b1d67e5cb7099e)
* | | | Fix an uninitialized variable warningVolker Lendecke2008-01-161-1/+1
| | | | | | | | | | | | | | | | (This used to be commit dcb7fb2c0d8e4b798b36e8caf480d198f3e08d00)
* | | | Fix some C++ warningsVolker Lendecke2008-01-162-4/+7
| | | | | | | | | | | | | | | | (This used to be commit 625241c4773ae5c80dd0cb0c07a86aff633c1ede)
* | | | Fix a missing prototype warningVolker Lendecke2008-01-161-0/+1
| | | | | | | | | | | | | | | | (This used to be commit 871cee04f26da97756804b38acfd366b6011dc9e)
* | | | Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-simoSimo Sorce2008-01-1650-514/+4113
|\ \ \ \ | | | | | | | | | | | | | | | (This used to be commit 05c22a55a4c052c682a2f2afdb0696504195d18c)
| * | | | Add "config backend" to the parameters forbidden in registry config.Michael Adam2008-01-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make registry based configs more fool-proof. Michael (This used to be commit 2ea55c03b25eb5e98be3449e12004a7246319acd)
| * | | | Add my (C) to loadparm.c.Michael Adam2008-01-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I think now that I have changed some substantial logic, I should confess.... :-) Michael (This used to be commit 704ac0ba49134d14dc00769b1cf2d9f55657bdfb)
| * | | | Remove special semantics of "include = registry" from loadparm.cMichael Adam2008-01-161-29/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is now replaced by "config backend = registry". Michael (This used to be commit 56801810253ae870437f694947f58c27661cef9b)
| * | | | Use lp_config_backend_is_registry() instead of lp_include_registry_globals().Michael Adam2008-01-162-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Michael (This used to be commit c5a7d421c512a6221b0300549d7b5de0368d252e)
| * | | | Add utility function lp_config_backend_is_registry().Michael Adam2008-01-161-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So external callers can determine if we are running on registry config without knowing the internals. Michael (This used to be commit d8a7c3ec8e2bd548509178f138d00a3b57119d10)
| * | | | Initialise Globals.ConfigBackend from global var config_backend.Michael Adam2008-01-161-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and use lp_config_backend() instead of config_backend. Michael (This used to be commit 9f69efe954cde6c6cce4283ba35a553ca980c347)
| * | | | Add handling of [homes] and [printers] via registry shares.Michael Adam2008-01-161-39/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now homes and printers shares can be accessed through the registry meachanism on demand in pure registry configurations with "config backend = registry" without the need to have a special handler for these two. Michael (This used to be commit eec3248ef90fbfe6e048394c875173b164a8b439)
| * | | | Add config parameter "config backend = registry".Michael Adam2008-01-161-19/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a new config parameter "config backend" that can have values "file" (default) and "registry". When lp_load() encounters a "config backend = registry", then all config read up to that point is discarded and globals are read from registry. This is done in suche a way that as with "config file", there is no way back to non-registry config during the lifetime of a process: The file_list_changed mechanism does not look at files anymore once config backend is set to registry. This is modelled after the behaviour of the "config file" option. Note that only the global section is read by lp_load(). The shares are handled by the registry shares mechanism, thus allowing for a smaller memory footprint since share definitions are read on demand. This new parameter is intended as a substitute of the previously installed special semantics of "include = registry" which allows for messed up mixed configurations. This parameter (which has not yet been released) will vanish next. Michael (This used to be commit 77b33cf34c2aec6673dfab3962733a60a60d126a)
| * | | | Add "MSDFS options" separator to parm_table.Michael Adam2008-01-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Michael (This used to be commit a103509a467bf6a93fbb21ec5e64456c5f086d6c)
| * | | | Re-order an option block in parm_table to re-unite the misc options.Michael Adam2008-01-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Michael (This used to be commit 9e11768256623636e69eda67b3bb888426f9ab84)
| * | | | Merge branch 'ctdb-merge' into v3-2-testAlexander Bokovoy2008-01-1633-276/+3033
| |\ \ \ \ | | | | | | | | | | | | | | | | | | (This used to be commit 175662b5bbb5c8ecd81a60539f5846a938c26a3a)
| | * | | | Convert old sid-string handling in idmap_tdb2 to a new oneAlexander Bokovoy2008-01-161-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | (This used to be commit ee851730cef1eb506b47faf57e25789ad3c6aafa)
| | * | | | Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into ctdb-mergeAlexander Bokovoy2008-01-160-0/+0
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | (This used to be commit 17b2bea7093681a4c4119f9fe7104c018fd0af6f)
| | * | | | | Fix build for pam_smbpassAlexander Bokovoy2008-01-162-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexander Bokovoy <ab@samba.org>(This used to be commit 060587fce558bf9e83d6c7b8e070a5ae58e3f275)