summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r7698: * clean upserver frontend for RegDeleteKey()Gerald Carter3-37/+147
* implement RegDeleteKey() for reg_db backend (This used to be commit 91b81a23b8e2a096747e02fd9392ef590e7f0d61)
2007-10-10r7696: Don't try and be clever and read an 8 byte int and 3 pad bytesJeremy Allison2-3/+3
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-10r7693: Fix from James Peach @ SGI for null pointer ACL free.Jeremy Allison1-2/+6
Jeremy. (This used to be commit 000477943c3dd41fd44f2aef3755aa603ba5d595)
2007-10-10r7692: start versioning the registry.tdb file since it can be modified nowGerald Carter2-14/+17
(This used to be commit a091b37d59d1e0228a9c8d4bd2a31e9bbaafde99)
2007-10-10r7691: * add .gdbinit to the svn:ignore filesGerald Carter11-58/+248
* 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-10r7664: add access check hooks to _reg_open_entry which are passed offGerald Carter5-30/+60
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-10r7662: Allow someone with SeTakeOwnershipPrivilege to chown the userJeremy Allison1-6/+28
of a file to themself. Jeremy. (This used to be commit f3319e224db8f79baa10413e0e2a96d2bc871f38)
2007-10-10r7649: * fix compile breakage (sorry, should have done a make clean before theGerald Carter4-12/+79
last checking). * rename unknown field in REG_GETVERSION * add server stubs for RegDeleteKey() and RegDeleteValue() (This used to be commit 023728c0595eaef60e357d32a25e2c4cee9e21f4)
2007-10-10r7648: adding REGISTRY_HOOK->reg_access_check() for authprization checks on ↵Gerald Carter7-37/+43
RegOpenKey(); passing it off to the backend code for a given path (This used to be commit 867fd3052bbfdd45856886999619e2ebc6552675)
2007-10-10r7647: add access checks to the top level hive open calls; will need to pass ↵Gerald Carter1-3/+89
the open request through the backend access check for the subkey open calls (This used to be commit 23acef44e978f3bace762cc98c310b11f0021d31)
2007-10-10r7645: adding server stubs for RegCreateKey() and RegSetValue()Gerald Carter5-14/+80
(This used to be commit ce82566badfb907a2f72e2f7d90a7bbbe3811177)
2007-10-10r7640: Fix based on work from "Shlomi Yaakobovich" <Shlomi@exanet.com> to catchJeremy Allison1-6/+7
loops in corrupted tdb files. Jeremy. (This used to be commit b438cb0a85217c978f1d7cb9f2a4fd97f38a3193)
2007-10-10r7636: Docu for "net rpc share migrate security" is now valid.Günther Deschner1-2/+2
Guenther (This used to be commit a11bb4476c8607a497ed09d2411ee8ef3f458390)
2007-10-10r7632: Cleanup "net share migrate"-code.Günther Deschner3-122/+396
* Allow to copy share security descriptors to already existing shares separatly. * Added abstraction function to enum all or a single share info Guenther (This used to be commit 97097497ae42d7a03286bbe16bcffb8224137688)
2007-10-10r7624: * removed unmatched tdb_lock_by_string() call (should fix build farm ↵Gerald Carter3-15/+8
issues) * comment out services.tdb code until I finish rewriting it (This used to be commit 707b7822286a6c7e9d1e4ca3d15b99c976f6e704)
2007-10-10r7620: when adding a new printer driver, we should copy the filesGerald Carter2-41/+23
(not move) to the W32X86/{2,3}/ directory. Printmig.exe copies the driver files for all drivers to print$/W32X86 and the calls AddPrinterDriver() for each driver. If we move the file, then adding a driver which shares a file with a previous driver will fail. I can now restore drivers in bulk to a Samba 3 server. (This used to be commit 46cd95c9b48a00a51139d3654352d4399b774a9b)
2007-10-10r7618: Typo...Jeremy Allison1-1/+1
Jeremy. (This used to be commit 65d1365700588949fc5576c7dd525fc530a15ff4)
2007-10-10r7617: Fix for bug #2801 - delete veto files was broken with the newJeremy Allison2-3/+19
large directory code. Jeremy. (This used to be commit f397cc08b5628913af4d7f9c2c6d20c778e5d8ca)
2007-10-10r7614: convert move_driver_to_download_area() to return WERROR in order to ↵Gerald Carter2-8/+6
provide better error messages to clients when a AddPrinterDriver[Ex]() call fails (This used to be commit c98e17446afffc4b12f1a31f6e5cce517fc0a95b)
2007-10-10r7613: small changes to _svcctl_open_service() and ↵Gerald Carter1-9/+21
create_open_service_handle() to prevent invalid service names from being accepted; printmig.exe now migrates drivers successfully (This used to be commit dafb32c01f06c42f44aeb0d16681c5def4903244)
2007-10-10r7610: can successfully stop and start the 'spooler' service by setting the ↵Gerald Carter4-68/+56
state for the 'disable spoolss' parameter in memory for an individual smbd (This used to be commit f19c10d0c3e7701066b765c712df0636e914bf7e)
2007-10-10r7609: Move top level dir handling in from of the loop. This makes the codeLars Müller3-27/+57
much straither. copy_top_level_perms() is jra's work. I modified the copy_top_level_perms() function to use the copy_clistate. And I don't forget trunk. Lars (This used to be commit 2c68568e5232c057d4f76f4bb044c54d18272602)
2007-10-10r7607: Some minor fixes (typos, const)Günther Deschner1-8/+5
Guenther (This used to be commit 11504681861c9c8b509589d6d22551202d98e390)
2007-10-10r7606: add WERR_NET_NAME_NOT_FOUND. This is what windows returns whenGünther Deschner3-1/+5
trying to manipulate non-existing shares. Guenther (This used to be commit 2e5cb531ab8a8babbc425b22d17a39c18f602d4f)
2007-10-10r7603: * fix a bug in the SERVICE_ALL_ACCESS security maskGerald Carter5-6/+9
* add calls to start and stop a service (to be filled in by the backend routines in services/svc_*.c (This used to be commit 793d28a946d83beb2576c5c8ce808d32c71c880a)
2007-10-10r7595: start trying to split out the svcctl functions into separate files ↵Gerald Carter6-694/+853
for better maintenance; add SERVICE_CONTROL_OPS for spoolss service (This used to be commit 2b0ea30a1a3aebaabd5d328de50e6ad2ef18d45d)
2007-10-10r7591: Don't call getpeeraddr on a disconnected socket.Jeremy Allison1-5/+8
Jeremy. (This used to be commit a9cd218eb607066a65818b534ec5e3ecb55da4cf)
2007-10-10r7584: cleanup the default printer security descriptorGerald Carter1-32/+29
(This used to be commit 26387fc74c1157157e7e8728003a39d10aeb4cc1)
2007-10-10r7583: * more rearranging and renaming of functionsGerald Carter1-410/+472
* add access checks to _svcctl_XXX() calls based on the access granted on the handle (This used to be commit 82b76d4b34834b7f64389b85befe8bfcae04a404)
2007-10-10r7581: fix bad mergeGerald Carter1-2/+0
(This used to be commit 55d08311032b75724b525d8e0df506de3e988b15)
2007-10-10r7578: use global well known DOM_SID objects when possibleGerald Carter1-9/+6
(This used to be commit 643dc05eb5a8e41cf9cb1768ef42f5dbc0320846)
2007-10-10r7577: switching to macro for IS_DCGerald Carter1-15/+4
(This used to be commit e6df9a7ac74a4e4f8de15fc01799bf42dfdd530c)
2007-10-10r7576: implement access checks for open_scm and open_serviceGerald Carter2-21/+139
according to default security descriptor described in MSDN. no one can get in to due to the permissions, but i'll fix that next. (This used to be commit 11902e503ed4f6d6991a9fe7521fe44168274ec8)
2007-10-10r7573: you can't make an omlette without break a few eggs....start reworking ↵Gerald Carter2-418/+323
the svcctl code (This used to be commit 24b369d12f8d5dbfdc317e5f088b8ae2583f4483)
2007-10-10r7563: svcctl patches from Marcin; have cleaned up formating and am checking ↵Gerald Carter6-84/+1642
the code in to snapshot it before I start changing more things (This used to be commit 560ce111ce8de37d02bce64d2ca60a5f471d5477)
2007-10-10r7554: Refactor very messy code in util_sock.c Remove ↵Jeremy Allison2-133/+110
write_socket_data/read_socket_data as they do nothing that write_socket/read_socket don't do. Add a more useful error message when read_socket/write_socket error out on the main client fd for a process (ie. try and list the IP of the client that errored). Jeremy. (This used to be commit cbd7578e7c226e6a8002542141b914ed4c7a8269)
2007-10-10r7550: Steal the correct error return for invalid TID on NTcreateX from Samba4Jeremy Allison1-2/+8
(thanks tridge !). Jeremy. (This used to be commit 0288823aacdbec6ba99e944c9f06f051e55c64b8)
2007-10-10r7547: removing unused fields in the REGISTRY_KEY structure associated with ↵Gerald Carter2-9/+1
open handles (This used to be commit ffc7bd87d8a03d8269ae6d0b9e314f8f20003a06)
2007-10-10r7544: Fix for bug #2196 from Denis Sbragion <d.sbragion@infotecna.it>.Jeremy Allison1-3/+8
Allow absolute path (system wide) recycle bin. Jeremy. (This used to be commit 451fbbf1d603cb99b0c9f0d39de9ad71a6a12833)
2007-10-10r7542: Patch from Renaud Duhaut <rd@duhaut.com> for a parameterJeremy Allison1-1/+18
"directory_mode" when creating recycle directories. Bug #1040. Jeremy. (This used to be commit 1c94cbd72d93ff8f17d6e1971ff984fa9581f1ce)
2007-10-10r7541: Patch from core@road-star.jp for bug #2792. Ensure the shadow copyJeremy Allison1-0/+24
module hooks seekdir, telldir, rewinddir to match updated large directory code. Jeremy. (This used to be commit 0cdc62b60b6152cb67e517d70f4e4681dca8f4df)
2007-10-10r7537: Print passwords in display charset.Günther Deschner1-2/+2
Guenther (This used to be commit f3bdc20ba3de77ceacfd328ff85322666bd81ca8)
2007-10-10r7534: Add missing cli_srvsvc_net_share_set_info-function andGünther Deschner2-0/+133
rpcclient-testers. Needed in preparation of share-ACL migration in net. Guenther (This used to be commit 08d124079f4ed1ad008a83510c05b430c86fbf78)
2007-10-10r7532: compile fix.Günther Deschner1-1/+1
Guenther (This used to be commit 1815e0745e4707f608a4803e67c7a3bd0c0b844a)
2007-10-10r7529: Apply some const, remove unused variable.Günther Deschner1-4/+3
Guenther (This used to be commit bc419472e295945559cf83f6ed9febff29adcfc1)
2007-10-10r7512: Fix net share migrate files to also migrate the ACLs of the top levelLars Müller3-80/+122
dir of a share. Till now we excluded '.' and '..' in general. For the fix the information about top or lower level dir is stored in the copy_clistate. src and dst share are now also part of this struct and we only pass a pointer to the struct to the functions. This bug was found by Bill Calero of Novell. Thanks Bill! With this checkin no new functionality was added. But the copy_clistate already knows about a mode. Later beside the migrate an additional report mode will be added. This changes are coordinated with Günther <gd>. Lars (This used to be commit 506aaefa3716c7683eef9afe0d1bb5b6e2533c4b)
2007-10-10r7511: Add three new command line switches to testparm:Lars Müller2-4/+141
--show-all-parameters Enumerates all available parameters, grouped in to sections [local] and [global] by the class of the parameter. Each line is formated name=type[,enum values],flags --parameter-name Display the setting of the named parameter. The global section is assumed if no other is set with --section-name --section-name Limit the view of testparm to the named section. Use 'global' to only view the settings of the global section. This fixes bug #2767. Lars (This used to be commit a1b82624d739b1066c356dd4b689233f3c36814e)
2007-10-10r7474: A *foul* and *disgusting* hack to ensure that, at the very lowestJeremy Allison1-1/+23
level, . and .. are the first two entries returned when reading a directory. This also means we can't seek to these offsets, but we will never be doing that anyway (as far as I can think). The reason we have to do this is that the NT4 explorer will happily display a folder marked ".." as a clickable folder (and probably would display "." as a clickable folder too) if these are not in positions zero and one of the returned file list. W2K seems to have fixed this but there are too many older systems out there... Never mind, more for the "Undocumented CIFS talk", coming to a CIFS2005 conference near you soon.... :-). Jeremy. (This used to be commit 7b6e907922b7d98abe4430ea73712a9c6419ea08)
2007-10-10r7472: fix smbpasswd user password change (still worked by bad error ↵Gerald Carter1-2/+2
messages) due to trying to strdup a NULL pointer (This used to be commit a48ff479dd4fe99d199ff934aae14ac6e688d8f4)
2007-10-10r7470: fix block size caculation error when request size > 4096 bytesGerald Carter1-1/+1
(This used to be commit 21e7baa5bc2fdc23c63302c96a40660bf805a5c9)