1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

24997 Commits

Author SHA1 Message Date
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 a3b36c3cb0)
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 733e07a06c)
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 ad8f693332)
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 f7100156a7)
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 0230284cfa)
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 9097846466)
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 b4c1904022)
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 5d8e5cbc3b)
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 b0e86c5b4d)
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 37d976d90c)
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 9d76153f54)
2008-01-17 16:54:44 +01:00
Günther Deschner
a042b8c8e1 Import recent misc.idl from Samba4.
Guenther
(This used to be commit 9afc7d957d)
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 8a895a37a0)
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 f24dfaa846)
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 903223b160)
2008-01-17 16:25:11 +01:00
Michael Adam
7f8e4bc68e Add my (C) to reg_api.c - Michael
(This used to be commit 81d6a1fbed)
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 15163926a8)
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 f986a708be)
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 7251a24b48)
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 0cb8399d7c)
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 4d82cc586c)
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 92e95fe585)
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 d3c9c27374)
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 3e66127322)
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 5c0a1d5d45)
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 36085d9004)
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 48288869d3)
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 c22d47b3d5)
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 35d71a40b3)
2008-01-17 15:57:52 +01:00
Jelmer Vernooij
5e86ac9e6d idl: Update DFS IDL from Samba 4.
(This used to be commit a6677b2e18)
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 15ef5e4884)
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 b4282fbd6d)
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 5a4a7aec76)
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 e342ca0d93)
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 75cc086614)
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 e1f5a8f107)
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 4256f8e093)
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 df3c464839)
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 bcc94aed6f)
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 79b7972de4)
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 f2aa921505)
2008-01-16 13:21:46 -08:00
Volker Lendecke
60c3ec3fca Revert "default to tdbsam instead of smbpasswd"
This reverts commit ab8ff39fd5.
(This used to be commit 5838a9f556)
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 b01f341415)
2008-01-16 23:24:44 +03:00
Volker Lendecke
5b37e815b4 Don't try ftruncate when the tdb is opened read-only
Tridge, Jeremy, please check!

Thanks,

Volker
(This used to be commit e4f46d5274)
2008-01-16 21:18:26 +01:00
Volker Lendecke
7084854bd9 Next try to fix the max dead record calculation
(This used to be commit 4f95c58040)
2008-01-16 21:04:52 +01:00
Volker Lendecke
088183896a default to tdbsam instead of smbpasswd
(This used to be commit ab8ff39fd5)
2008-01-16 20:37:56 +01:00
Volker Lendecke
9158169c97 Fix an uninitialized variable warning
(This used to be commit dcb7fb2c0d)
2008-01-16 20:31:02 +01:00
Volker Lendecke
c308d76305 Fix some C++ warnings
(This used to be commit 625241c477)
2008-01-16 20:29:41 +01:00
Volker Lendecke
b0950557f9 Fix a missing prototype warning
(This used to be commit 871cee04f2)
2008-01-16 20:25:57 +01:00
Simo Sorce
04b2a9e80a Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-simo
(This used to be commit 05c22a55a4)
2008-01-16 12:06:34 -05:00