Günther Deschner
bb97b272a9
Fix local hostname detection in netdomjoin-gui.
...
Guenther
(This used to be commit 30458116b389889cad845eb96b54c3edc833e722)
2008-01-18 02:54:36 +01:00
Günther Deschner
c2ff6c94f2
Improve libnetapi_set_error_string().
...
Guenther
(This used to be commit 96f645553ae5c75aabfe588e1a67f3d4bfacb5cb)
2008-01-18 02:54:29 +01:00
Michael Adam
80d7cccfe7
Add and correct some WERROR codes.
...
Michael
(This used to be commit 7aec862ddc2aa2b5152c3a452971e55ba43646a5)
2008-01-18 01:10:55 +01:00
Derrell Lipman
add597f77c
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit 7135d2aea5a68a79e2a77d4a02219436f5e154cc)
2008-01-17 11:50:41 -05:00
Derrell Lipman
46080b0f4e
stop bothering me about example programs not checked in
...
(This used to be commit 41ad5c7700c5ef3839c0629ee5eb42ec0fe61da6)
2008-01-17 11:50:22 -05:00
Derrell Lipman
4f09727df8
Fix bug 5185: repeated calls to smbc_getxattr() lose sid-name mapping
...
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)
2008-01-17 11:49:17 -05:00
Derrell Lipman
76b5c674e7
Add a program to test repeated calls to smbc_getxattr().
...
(This used to be commit f5f46de404dba2e4a03d205a62cd5cf7ea4e075a)
2008-01-17 11:46:41 -05:00
Volker Lendecke
9e3634fb63
Fix two uninitialized variables in vfs_hpuxacl.c
...
Thanks to David Leonard <David.Leonard@quest.com>, this fixes bug 5208.
Volker
(This used to be commit a3b36c3cb0fe5f3e78c200290afa59829934f496)
2008-01-17 17:22:31 +01:00
Günther Deschner
d1abd4d866
Use new pidl-generated netlogon client calls in NetApi GetDcName().
...
Guenther
(This used to be commit 733e07a06ce3c903ff5837df6a5119f6d6e3eccb)
2008-01-17 16:54:46 +01:00
Günther Deschner
10a55fb4ea
Include auto-generated client headers for netlogon/samr.
...
Guenther
(This used to be commit ad8f6933322e7175b74cc3de525fda58ae150baa)
2008-01-17 16:54:46 +01:00
Günther Deschner
a92eb76688
Finally enable pidl generated SAMR & NETLOGON headers and clients.
...
Guenther
(This used to be commit f7100156a7df7ac3ae84e45a47153b38d9375215)
2008-01-17 16:54:46 +01:00
Günther Deschner
a2b0e355e5
Re-run make idl to regnerated netlogon.
...
Guenther
(This used to be commit 0230284cfa83477ad5a084a7970db1ea0cfe8563)
2008-01-17 16:54:46 +01:00
Günther Deschner
89759b1d03
Add NETLOGON_GRACE_LOGON flag to netr_UserFlags.
...
Guenther
(This used to be commit 9097846466a8dea171f4d241661083f896591292)
2008-01-17 16:54:46 +01:00
Günther Deschner
7faee16966
Re-run make idl to generate SAMR output.
...
Guenther
(This used to be commit b4c1904022cd34c239f163d49d5a13925d238cda)
2008-01-17 16:54:46 +01:00
Günther Deschner
101f275b98
Use pidl generated data from misc.idl.
...
Guenther
(This used to be commit 5d8e5cbc3b3ddd1c5788d66f252e4801739243bb)
2008-01-17 16:54:46 +01:00
Günther Deschner
8c81ce9a60
Re-run make idl to regenerate netlogon output.
...
Guenther
(This used to be commit b0e86c5b4d375f21f06208dc063adb9d2659d30b)
2008-01-17 16:54:45 +01:00
Günther Deschner
fc23de7855
Remove dependency for nbt.idl (the NBT_SERVER_* flags) in netlogon.idl.
...
Guenther
(This used to be commit 37d976d90c9bd7697010309e5efbc7853aced9e5)
2008-01-17 16:54:44 +01:00
Günther Deschner
c527709792
Remove samba4 specifi struct server_id from misc.idl.
...
Guenther
(This used to be commit 9d76153f54aea671d5d1543eaa3e617aad1ba9e9)
2008-01-17 16:54:44 +01:00
Günther Deschner
a042b8c8e1
Import recent misc.idl from Samba4.
...
Guenther
(This used to be commit 9afc7d957d1b5362e470c2e87e336fdd74b8be3c)
2008-01-17 16:54:44 +01:00
Günther Deschner
516397e676
Add samba3 [out,ref] pointer massage to samr&netlogon idl.
...
Guenther
(This used to be commit 8a895a37a0a0d155fddf0a6a124f161e3ace5e0b)
2008-01-17 16:54:44 +01:00
Günther Deschner
d3373be7da
Import recent netlogon and samr IDL from samba4.
...
Guenther
(This used to be commit f24dfaa8466b28416a7fdd941990948210a400c7)
2008-01-17 16:54:44 +01:00
Michael Adam
32a8e74078
Add a reg_getversion() function to reg_api and use it in srv_winreg_nt.c.
...
Michael
(This used to be commit 903223b160eef6ba6ff19a8bfef19e5fe7008631)
2008-01-17 16:25:11 +01:00
Michael Adam
7f8e4bc68e
Add my (C) to reg_api.c - Michael
...
(This used to be commit 81d6a1fbed5e685376637af8e8bcd70ab2701aa0)
2008-01-17 16:25:11 +01:00
Michael Adam
138f7ec451
Add a comment header comparing winreg.idl and reg_api.c.
...
Michael
(This used to be commit 15163926a8ae1116a0f0986f35fc16bcf9ce6ce2)
2008-01-17 16:25:11 +01:00
Michael Adam
7bfdcbcfdc
Use reg_[gs]etkeysecurity() instead of regkey_[gs]et_secdes().
...
Rationale: Use reg_api instead of backend functions.
Michael
(This used to be commit f986a708be15dd9b9fc28b9862f64f2d0f94accc)
2008-01-17 16:25:11 +01:00
Michael Adam
da4ecfc0fa
Add reg_api functions reg_getkeysecurity() and reg_setkeysecurity().
...
These are wrappers around the lower level functions regkey_get_secdesc()
and regkey_set_secdesc(). Next step towards hiding reg_frontend from
the surface.
Michael
(This used to be commit 7251a24b489a008243091279d96157cacec35b62)
2008-01-17 16:25:11 +01:00
Michael Adam
fcb47f5ea9
Comment out unused reg_create_path() and reg_delete_path().
...
These functions are unused. Comment them out for now.
Michael
(This used to be commit 0cb8399d7c6f228b38c918f8c6c77fd31c346f89)
2008-01-17 16:25:11 +01:00
Michael Adam
99b195a6aa
Move reg_create_path() and reg_delete_path() to reg_api.c
...
Michael
(This used to be commit 4d82cc586c089a16d1d2db214f5e198062890b58)
2008-01-17 16:25:11 +01:00
Michael Adam
00f3df3c13
Convert sync_eventlog_params() to use reg_api instead of reg_frontend.
...
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)
2008-01-17 16:25:11 +01:00
Michael Adam
b6eaf05479
Add some sectioning comments to reg_api.c
...
Michael
(This used to be commit d3c9c273740b42e5da101f53d4df3aee70cdacf7)
2008-01-17 16:25:11 +01:00
Michael Adam
1a15320dcd
Make utility function reg_deletekey_recursive_internal() static.
...
Michael
(This used to be commit 3e661273229bcf021276cc0b71350acf8d8fed7c)
2008-01-17 16:25:11 +01:00
Michael Adam
8c2d440c1f
Use the proper boolean constants in reg_frontend_hilvl.c
...
Michael
(This used to be commit 5c0a1d5d45948fdc483d6f9de31cea39e12722c6)
2008-01-17 16:25:11 +01:00
Michael Adam
6e1d36f8c6
Reformatting: Strip trailing white spaces from reg_frontent_hilvl.c.
...
Michael
(This used to be commit 36085d9004592e48b66b681f85346db15e6d9b3a)
2008-01-17 16:25:11 +01:00
Jelmer Vernooij
04a2512b10
idl: Update IDL for eventlog, misc, netlogon and security from Samba 4.
...
(This used to be commit 48288869d314d8c91d07282b5536b231d95db159)
2008-01-17 15:57:52 +01:00
Jelmer Vernooij
35fe98e5a1
idl: Remove use of [ref], which is the default.
...
(This used to be commit c22d47b3d58de45c2b686badb9fe6a6cd5a6b047)
2008-01-17 15:57:52 +01:00
Jelmer Vernooij
af3ff75e1f
idl: Update initshutdown and echo IDL from Samba 4.
...
(This used to be commit 35d71a40b385a62b8c85ed68e64b6d38d80aeb3c)
2008-01-17 15:57:52 +01:00
Jelmer Vernooij
5e86ac9e6d
idl: Update DFS IDL from Samba 4.
...
(This used to be commit a6677b2e186212f723b24775293682ce5b94952e)
2008-01-17 15:57:52 +01:00
Derrell Lipman
f14f2a4c43
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit 15ef5e4884505bca7990e44200d0235764e9057f)
2008-01-17 09:29:52 -05:00
Derrell Lipman
096e40c916
Fix stat results to be consistent between smbc_stat and smbc_fstat.
...
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)
2008-01-17 09:29:13 -05:00
Derrell Lipman
dba2400192
Add some additional libsmbclient test programs.
...
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)
2008-01-17 09:26:36 -05:00
Alexander Bokovoy
03387a0f58
Remove is_remotestorage() call from VFS. We already have statvfs() there to 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)
2008-01-17 16:59:29 +03:00
Alexander Bokovoy
026a66abec
Rework of VFS is_offline() function to only return boolean offline/online 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)
2008-01-17 14:57:35 +03:00
Alexander Bokovoy
6de904b836
Fix more VFS API mixup with offline files
...
I'm sorry for this mess. :-(
(This used to be commit e1f5a8f10795831d3c7902d9803c9571c8ac811a)
2008-01-17 07:34:33 +03:00
Alexander Bokovoy
3fffb04990
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit 4256f8e093e81fbc2c1afd8f823725ae286945ce)
2008-01-17 07:26:12 +03:00
Jeremy Allison
f44713df4d
Fix bug found by Derrell - windows returns an read return
...
offset of zero if return size is zero. Should fix testread
libsmbclient code.
Jeremy.
(This used to be commit df3c4648399f8d62ff6fe0013be8b89abc18f0f0)
2008-01-16 17:33:19 -08:00
Jeremy Allison
3020ec12a3
Fix the mess that ab just made of the new VFS code.
...
NEEDS MORE TESTING !
Jeremy.
(This used to be commit bcc94aed6f03211866aa85753a90fece87846ba9)
2008-01-16 17:22:31 -08:00
Jeremy Allison
70426bdd30
Tidy up code and debug for non-default krb5 IPv6 port.
...
Jeremy.
(This used to be commit 79b7972de4c2a8c71e37642ddf7e5bbed53dd58a)
2008-01-16 13:28:24 -08:00
Jeremy Allison
bd8abea49f
Fix IPv6 bug #5204 , which caused krb5 DNS lookups
...
for a name '[<ipv6 addr>'.
Jeremy.
(This used to be commit f2aa921505e49f894bfed4e5e2f9fc01918b1bb0)
2008-01-16 13:21:46 -08:00
Volker Lendecke
60c3ec3fca
Revert "default to tdbsam instead of smbpasswd"
...
This reverts commit ab8ff39fd51929aae2f4088ca5b1d67e5cb7099e.
(This used to be commit 5838a9f556f151dc7c1773dcdc598b8ba79fca44)
2008-01-16 21:26:16 +01:00
Alexander Bokovoy
fd03ea4a90
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit b01f34141509c90b12003786957790866c286cba)
2008-01-16 23:24:44 +03:00