1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

17961 Commits

Author SHA1 Message Date
Jeremy Allison
e28cfbfac8 r7946: Minor C++ compatibility fix.
Jeremy.
(This used to be commit 7eb7f8325762ca570d37cc91f40b46bf17a867ba)
2007-10-10 10:58:03 -05:00
Gerald Carter
c25a9f4122 r7944: BUG 2808: don't try to install manpages if they are not present
(This used to be commit 1ce5cc2a5f3da7ef6874cae5b433c139d68589c6)
2007-10-10 10:58:03 -05:00
Gerald Carter
ab0033d40a r7938: * move the hardcoded registry value names from _reg_query_value()
to a thin layer in fetch_reg_values().  Not entirely efficient
  seeing as the the dynamic value paths are stored in an unsorted
  array but it is one strequal() per path.  If this was really big
  it should be worked into the reghook_cache().
(This used to be commit 63b81ad3cb484090a181fbd13e04922a5c17e7d9)
2007-10-10 10:58:03 -05:00
Gerald Carter
bd509a81cb r7908: * change REGISTRY_HOOK api to use const (fix compiler warning
in init_registry_data()
* Add means of storing registry values in registry.tdb
* add builtin_registry_values[] array for REG_DWORD and REG_SZ
  values needed during startup
* Finish up RegDeleteValue() and RegSetValue()
* Finish up regdb_store_reg_values() and regdb_fetch_reg_values()

I can now create and retrieve values using regedit.exe on Win2k.

bin/net -S rain -U% rpc registry enumerate 'hklm\software\samba'
Valuename  = Version
Type       = REG_SZ
Data       = 3.0.20

Next is to do the virtual writes in reg_printing.c and I'll be
done with Print Migrator (yeah!  finally)
(This used to be commit 3d837e58db9ded64d6b85f047012c7d487be4627)
2007-10-10 10:58:03 -05:00
Volker Lendecke
433dcfc09e r7904: Fix a memleak in vfs_afsacl
(This used to be commit 8fad08db742ea32a3cda3b3d9421454837e2d2a5)
2007-10-10 10:58:03 -05:00
Volker Lendecke
40de272fe6 r7903: Attempt to fix the AIX build
(This used to be commit bb884b0bf96899bf3cf477bfe2220cdfc7aa596d)
2007-10-10 10:58:03 -05:00
Volker Lendecke
ad54e2f0c2 r7902: Fix the build
(This used to be commit 6d431eb676e1df4cfdcbeaed5fa81adfbfc77325)
2007-10-10 10:58:02 -05:00
Jeremy Allison
ff7e5c2673 r7893: Add in the extra parameters to opendir() to fix the large directory/insane app
problem. Rev vfs version. Doesn't change the normal codepath.
Jeremy.
(This used to be commit 0f03a6bdcdbdf60da81e0aeffa84ac6e48fc6a04)
2007-10-10 10:58:02 -05:00
Gerald Carter
b8e787bcac r7890: * add Reg[SG]etKeySec() server stubs
* merge a compile warning fix from trunk to SAMBA_3_0
(This used to be commit 71eb018a05c5012fbd42ba6817aabc0797d38ba1)
2007-10-10 10:58:01 -05:00
Jeremy Allison
292d11bee5 r7888: Fix use of "protected".
Jeremy.
(This used to be commit af5fd615b37f555e5f2c7b9fef24299e99952a41)
2007-10-10 10:58:01 -05:00
Gerald Carter
f88cc52970 r7887: 3.0.20pre2-SVN
(This used to be commit 388ade15d38ba215a8294711142db59849c51bab)
2007-10-10 10:58:01 -05:00
Jeremy Allison
b20239df94 r7886: Fix building with pam_smbpass.
Jeremy.
(This used to be commit 22a796fe012e212f7744f0d63a8512e6942a5324)
2007-10-10 10:58:01 -05:00
Jeremy Allison
19ca97a70f r7882: Looks like a large patch - but what it actually does is make Samba
safe for using our headers and linking with C++ modules. Stops us
from using C++ reserved keywords in our code.
Jeremy
(This used to be commit 9506b8e145982b1160a2f0aee5c9b7a54980940a)
2007-10-10 10:58:00 -05:00
Gerald Carter
8387af752f r7880: fix a typo and memleak on failures cases (patch from marcin)
(This used to be commit 6ff0fa0b4385481f2212047d80ca17b55d996def)
2007-10-10 10:58:00 -05:00
Gerald Carter
b69ca6c597 r7879: fix compile issue caused by not statoc value for intializing cpp macros
(This used to be commit 9af07b243005db76b6490856b4e0bbc4a8af0dba)
2007-10-10 10:58:00 -05:00
Gerald Carter
2fb7ff7d9d r7878: mostly just a rename of REG_INFO to REG_QUERY_VALUE for better clarity
(This used to be commit d50f0ba07e285728605c8e8aae9d9a251a525e78)
2007-10-10 10:58:00 -05:00
Volker Lendecke
702dd3da62 r7877: Attempt to fix a smb_panic reported by Pavel Rochnyack.
Volker
(This used to be commit 7d1b890fead61551465e2a972e4097d9c1a4d6fd)
2007-10-10 10:58:00 -05:00
Günther Deschner
57fa9dbfe7 r7876: Now that we have "net rpc share migrate security" completly remove the
share-acl from "net rpc share migrate shares".

God, how ugly does this syntax get.

Guenther
(This used to be commit 6f4d4acc868ee67f8434d904fa51c57d1b847135)
2007-10-10 10:57:59 -05:00
Jeremy Allison
63c78a5e70 r7852: Correct fix from Lars for the argv issue.
Jeremy.
(This used to be commit a667d9e474302e888a0cc009a342da471318928c)
2007-10-10 10:57:59 -05:00
Jeremy Allison
98d1f6ceff r7849: Dodgy fix - we shouldn't be assuming argc++ points to a valid argv.
Jeremy.
(This used to be commit 5fbabaef8cab894c6d349b0535a06c2c9d1437db)
2007-10-10 10:57:59 -05:00
Jeremy Allison
81ee941285 r7846: Fix from bugzilla@kevinjamieson.com Kevin Jamieson - typo
in checking for .. in statcache. Bugid #2819.
Jeremy.
(This used to be commit a5619d717954ad2a3ffaa549b11bfa738720e325)
2007-10-10 10:57:59 -05:00
Jeremy Allison
7e509e9b99 r7842: With the patch I sent Steve yesterday this gives us complete POSIX pathnames.
ie. files containing : and \ can be accessed from Linux.
Jeremy.
(This used to be commit e9b8d23d6138d909a65ea70b2e801881e8333b38)
2007-10-10 10:57:59 -05:00
Gerald Carter
bc8954c4fc r7839: remove C++ style comment
(This used to be commit e04fd56e0097dc8007394bf295b227b454e524b4)
2007-10-10 10:57:59 -05:00
Gerald Carter
b1f1cb0e74 r7838: lie about the printer status when doing the queryvalue() registry call. Note that if you migrate a printer to a Windows server, the win spooler will remove any printers that have an invalid status value in the registry
(This used to be commit 0a22ea9eb7fd5aa8c57d2bf1ea2a171b377cab5a)
2007-10-10 10:57:58 -05:00
Volker Lendecke
864ca4f051 r7836: Fix the bug where users show up as trusting domains.
Volker
(This used to be commit 61585fa56b4f838f416815598f4a301aa9ee12d7)
2007-10-10 10:57:58 -05:00
Volker Lendecke
f1c8b8235b r7835: Add the forgotten GPL header. This source code file is distributed with Samba
and interfaces to the Linux kernel (both GPL programs), so it was always our
(Paal-Kr. Engstad and Volker Lendecke) intent that this program is covered by
the GPL.

Volker
(This used to be commit 72bc9de68646a8a9a4787d6681524f1a77cf2cdf)
2007-10-10 10:57:58 -05:00
Gerald Carter
ba1417e6d0 r7830: fix directory typo with testprns manpage
(This used to be commit c2d0c7edc0f1538296f18bd66af4c4b7bf9c81ea)
2007-10-10 10:57:58 -05:00
Gerald Carter
18dc1009e6 r7829: fix unitialized printer status field that was breaking migration of print queues
(This used to be commit ada1d326aeef4a2f33a360a8ea4a874e59fcfee6)
2007-10-10 10:57:58 -05:00
Gerald Carter
c3878e6bf6 r7825: Fedora packaging fixes after docs change
(This used to be commit ebefc950b6c7a18ab80e145a4b5a5735502960c6)
2007-10-10 10:57:23 -05:00
Gerald Carter
25530a6fec r7822: fixing specfiles after removing testprns
(This used to be commit 9ca00d6b5abba7ff3ecd3de88215129d8f4640e3)
2007-10-10 10:57:22 -05:00
Jeremy Allison
e9d3cc656f r7821: Don't check permissions for setting POSIX pathname request.
Jeremy.
(This used to be commit 06b40024f3784778a81ae7c69881a516d183a1c3)
2007-10-10 10:57:22 -05:00
Derrell Lipman
3005405b52 r7817: Eliminate use of ctime_r() in libsmbclient DEBUG statement. It seems that
ctime_r() takes different parameters on Solaris than it does on Linux, and
it's easier to just eliminate the use of it than to write a configure test.
(This used to be commit 513ea79b2ebc9a78c118042abca942da061d4647)
2007-10-10 10:57:21 -05:00
Günther Deschner
b0b983cc60 r7807: Allow to touch mtime in vfs-recycle with
recycle:touch_mtime = true

Guenther
(This used to be commit fa8e2c4b04786a77356bb4e310d59d7475d8bd87)
2007-10-10 10:57:21 -05:00
Jeremy Allison
bf28978a70 r7798: CIFSFS client assumes wcnt == 10 for successful trans2 reply.
Jeremy.
(This used to be commit aea58e6bb60565430aec69598c47b2a8f4667e89)
2007-10-10 10:57:21 -05:00
Jeremy Allison
ea41eedc20 r7796: Prepare for client setting capabilities to select posix pathnames on
the wire. Jerry do not merge this please. New SMB_SET_FS_INFO - level
0x200 as was discussed on the mailing list.
Jeremy.
(This used to be commit 55029b1a0c9ae5b941eecd699dd905ea3d42b99c)
2007-10-10 10:57:21 -05:00
Gerald Carter
ef34e3336b r7789: fix overparanoid assert() call when checking spolss buffer pointers
(This used to be commit e81e6e653aecdd0e4cfd2ea7ced16070bc376292)
2007-10-10 10:57:21 -05:00
Tim Potter
0b8bc68b50 r7788: Update install swat message to reflect the fact that swat/README
no longer exists.  Bugzilla #2808.
(This used to be commit 88a3faf84eb74a2a8c5a100170f82102c74e9939)
2007-10-10 10:57:21 -05:00
Jeremy Allison
aeb3e96cdb r7787: Fix from Fernando Schapachnik <fernando@mecon.gov.ar> to add logon hours
support for the Postgres backend.
Jeremy.
(This used to be commit dd5d36c95f97356be1b76c1ace641861022e2aa3)
2007-10-10 10:57:21 -05:00
Volker Lendecke
b62247f1ee r7785: This looks much larger than it is. It changes the top-level functions of the
parent winbind not to return winbindd_result. This is to hopefully fix all the
problems where a result has been scheduled for write twice.

The problematic ones have been the functions that might have been delayed as
well as under other circumstances immediately gets answered from the cache.

Now a request needs to be explicitly replied to with a request_error() or
request_ok().

Volker
(This used to be commit 7365c9accf98ec1dd78a59dd7f62462bbb8528d4)
2007-10-10 10:57:20 -05:00
Volker Lendecke
e6ef7ba7a4 r7730: Some merges
(This used to be commit 5b4720598b4c7f4af1027a181fbe9c1568e71361)
2007-10-10 10:57:20 -05:00
Volker Lendecke
5b08e6688e r7718: Remove some unused code
(This used to be commit 10606be0509743b1acfcafbf826b1a02765db158)
2007-10-10 10:57:20 -05:00
Jeremy Allison
3b1f21b812 r7708: Hint from Luke Howard (thanks Luke). Ensure the schannel authenticator is 8
byte aligned, just like the NTLMSSP ones. Trying to fix 64-bit Windows domain
logon.
Jeremy.
(This used to be commit 475d5a277db7709c1b0f851ce8ec4dd8de5e25fc)
2007-10-10 10:57:20 -05:00
Richard Sharpe
3b0b5f6288 r7703: Fix the problem with MAP_PRIVATE not updating the file.
(This used to be commit 55038d931863a1c44794a7df4c8badbecfb382c7)
2007-10-10 10:57:20 -05:00
Jeremy Allison
d8ea436754 r7701: Patch from James Peach | jpeach@sgi.com to make wrepld use new
talloc interfaces.
Jeremy.
(This used to be commit 9c36eef3469107aa66d90a8c8340a46381ade8b7)
2007-10-10 10:57:20 -05:00
Gerald Carter
c25b67b24d r7698: * clean upserver frontend for RegDeleteKey()
* implement RegDeleteKey() for reg_db backend
(This used to be commit 91b81a23b8e2a096747e02fd9392ef590e7f0d61)
2007-10-10 10:57:19 -05:00
Jeremy Allison
5c9963c287 r7696: Don't try and be clever and read an 8 byte int and 3 pad bytes
as a uint32 - you'll just get it wrong (as I did :-).
Second attempt to fix the Apple client issues.
Jeremy.
(This used to be commit d2aa5bc7aaa9fe11fa4748f99e4ba49be08aa639)
2007-10-10 10:57:19 -05:00
Jeremy Allison
a5808e7ddb r7693: Fix from James Peach @ SGI for null pointer ACL free.
Jeremy.
(This used to be commit 000477943c3dd41fd44f2aef3755aa603ba5d595)
2007-10-10 10:57:19 -05:00
Gerald Carter
fee4b03e02 r7692: start versioning the registry.tdb file since it can be modified now
(This used to be commit a091b37d59d1e0228a9c8d4bd2a31e9bbaafde99)
2007-10-10 10:57:19 -05:00
Gerald Carter
2129d3c711 r7691: * add .gdbinit to the svn:ignore files
* start adding write support to the Samba registry
  Flesh out the server implementations of
  RegCreateKey(), RegSetValue(), RegDeleteKey() and RegDeleteValue()

I can create a new key using regedit.exe now but the 'New Key #1'
key cannot be deleted yet.
(This used to be commit e188fdbef8f0ad202b0ecf3c30be2941ebe6d5b1)
2007-10-10 10:57:19 -05:00
Gerald Carter
2102f6bff9 r7664: add access check hooks to _reg_open_entry which are passed off
to the reg_XXX backend.  If the backend does not define
a regkey_access_check() function, we default to using the
standard registry_access_check()
(This used to be commit 2f08a904eee772e7d99ae6e3e4c922f74732284f)
2007-10-10 10:57:19 -05:00