gd/samba/.git
12 years agor8085: Updating info.
John Terpstra [Sat, 2 Jul 2005 19:17:29 +0000 (19:17 +0000)]
r8085: Updating info.

12 years agor8066: * had to modify the printer data storage slightly in ntprinters.tdb
Gerald Carter [Sat, 2 Jul 2005 01:23:21 +0000 (01:23 +0000)]
r8066: * had to modify the printer data storage slightly in ntprinters.tdb
  when packing values.  It is a compatible change though and will
  not require a tdb version upgrade
* Can successfully create new printer subkeys via winreg that
  are immediately available via spoolss calls.  Still cannot delete
  keys yet though.  That comes next.

12 years agor8064: * add the REG_XXX error codes to the pretty error messages
Gerald Carter [Fri, 1 Jul 2005 22:24:00 +0000 (22:24 +0000)]
r8064: * add the REG_XXX error codes to the pretty error messages
* more work on the store_values() functions for the Printers key
* add Control\Print\Monitors key to list for reg_db

12 years agor8062: Remove some unused code
Volker Lendecke [Fri, 1 Jul 2005 19:23:50 +0000 (19:23 +0000)]
r8062: Remove some unused code

12 years agor8061: * mostly cleanup and refactoring for better readability
Gerald Carter [Fri, 1 Jul 2005 19:15:07 +0000 (19:15 +0000)]
r8061: * mostly cleanup and refactoring for better readability
* move to registry.tdb for port listing (at least via the winreg ops)
  If no one opposes on the samba list, we'll move to a registry
  lookup for enumerating ports rather than the 'enumports command'.
  This means that there is a bit of a disconnect between EnumPorts() and
  RegEnumKey('hklm\software\microsoft\windows nt\currentversion\ports').

12 years agor8048: Replace "done" with "failed".
Günther Deschner [Fri, 1 Jul 2005 10:28:31 +0000 (10:28 +0000)]
r8048: Replace "done" with "failed".

Guenther

12 years agor8047: "oid" is defined in a heimdal header. With my gcc this generates a ton of
Volker Lendecke [Fri, 1 Jul 2005 10:20:28 +0000 (10:20 +0000)]
r8047: "oid" is defined in a heimdal header. With my gcc this generates a ton of
shadowed variable warnings. Fix that.

Volker

12 years agor8031: Adding contributed mklogon scripts.
John Terpstra [Thu, 30 Jun 2005 23:44:18 +0000 (23:44 +0000)]
r8031: Adding contributed mklogon scripts.

12 years agor8029: Fix bug 2841. Thanks to Brett Trotter.
Volker Lendecke [Thu, 30 Jun 2005 21:25:41 +0000 (21:25 +0000)]
r8029: Fix bug 2841. Thanks to Brett Trotter.

Volker

12 years agor8027: driver information is now back via winreg
Gerald Carter [Thu, 30 Jun 2005 20:16:16 +0000 (20:16 +0000)]
r8027: driver information is now back via winreg

12 years agor8026: * more fixes to the printing registry interface
Gerald Carter [Thu, 30 Jun 2005 19:43:53 +0000 (19:43 +0000)]
r8026: * more fixes to the printing registry interface
  (still not completely back to the read functionality
  we previously had but the cleanup is progressing)

12 years agor8025: *how* can this code have been around so long and
Gerald Carter [Thu, 30 Jun 2005 19:33:47 +0000 (19:33 +0000)]
r8025: *how* can this code have been around so long and
nver normalized the string used for printer and
sec_desc key lookups ?????

normalized sharename to lower case before storing/fetching
from tdb.

Need to look at drivers and forms tdb as well (perhaps).

12 years agor8022: * implement default actions rather than having to define functions
Gerald Carter [Thu, 30 Jun 2005 17:46:06 +0000 (17:46 +0000)]
r8022: * implement default actions rather than having to define functions
  for every fetch/store callback (some keys should never have a value)

12 years agor8019: Better give a hint that we are failing share-manipulation due to missing
Günther Deschner [Thu, 30 Jun 2005 15:19:54 +0000 (15:19 +0000)]
r8019: Better give a hint that we are failing share-manipulation due to missing
scripts.

Guenther

12 years agor8008: * start adding logic for restricting subkey paths
Gerald Carter [Thu, 30 Jun 2005 03:29:48 +0000 (03:29 +0000)]
r8008: * start adding logic for restricting subkey paths
  e.g. 'hklm\software\microsoft\windows nt\currentversion\ports'
  should have no subkeys.  Return an error if a client tries
  to open a path below here

12 years agor8007: * cleanup unused structure from reg_objects.h
Gerald Carter [Thu, 30 Jun 2005 02:59:29 +0000 (02:59 +0000)]
r8007: * cleanup unused structure from reg_objects.h
* make regdb_store_XXX() and regdb_fetch_XXX() functions non-static
* use case sensitive string lookups in reg_dynamic.c since the
  keys have already been normalized
* move to new design for making printing related data available
  via the winreg pipe (with the intent of allowing writes)

12 years agor7998: Fix usage message
Volker Lendecke [Wed, 29 Jun 2005 20:17:05 +0000 (20:17 +0000)]
r7998: Fix usage message

12 years agor7997: Pointers don't kill people, people with pointers kill people...
Gerald Carter [Wed, 29 Jun 2005 17:19:04 +0000 (17:19 +0000)]
r7997: Pointers don't kill people, people with pointers kill people...

"Honest office!  It was a mistake!  I thought the safety lock was on!"

* Fix problem setting registry values in in-memory objects

I now have printmig.exe successfully creating all of the printer
registry keys (in the tdb backend) which means that the top level
semantics are correct.

12 years agor7995: * privileges are local except when they're *not*
Gerald Carter [Wed, 29 Jun 2005 16:35:32 +0000 (16:35 +0000)]
r7995: * privileges are local except when they're *not*
  printmig.exe assumes that the LUID of the SeBackupPrivlege
  on the target server matches the LUID of the privilege
  on the local client.  Even though an LUID is never guaranteed
  to be the same across reboots.  How *awful*!  My cat could
  write better code! (more on my cat later....)

* Set the privelege LUID in the global PRIVS[] array

* Rename RegCreateKey() to RegCreateKeyEx() to better match MSDN

* Rename the unknown field in RegCreateKeyEx() to disposition
  (guess according to MSDN)

* Add the capability to define REG_TDB_ONLY for using the reg_db.c
  functions and stress the RegXXX() rpc functions.

12 years agor7994: This adds support in Winbindd's "security = ads"-mode to retrieve the POSIX
Günther Deschner [Wed, 29 Jun 2005 14:03:53 +0000 (14:03 +0000)]
r7994: This adds support in Winbindd's "security = ads"-mode to retrieve the POSIX
homedirectory and the loginshell from Active Directory's "Services for Unix".

Enable it with:

        winbind sfu support = yes

User-Accounts without SFU-Unix-Attributes will be assigned template-based
Shells and Homedirs as before.

Note that it doesn't matter which version of Services for Unix you use (2.0,
2.2, 3.0 or 3.5). Samba should detect the correct attributes (msSFULoginShell,
msSFU30LoginShell, etc.) automatically.

If you also want to share the same uid/gid-space as SFU then also use PADL's
ad-idmap-Plugin:

        idmap backend = ad

When using the idmap-plugin only those accounts will appear in Name Service
Switch that have those UNIX-attributes which avoids potential uid/gid-space
clashes between SFU-ids and automatically assigned idmap-ids.

Guenther

12 years agor7992: Adding PADL's idmap_ad plugin (taken from the latest
Günther Deschner [Wed, 29 Jun 2005 13:49:29 +0000 (13:49 +0000)]
r7992: Adding PADL's idmap_ad plugin (taken from the latest
xad_oss_plugins-tarball).

Guenther

12 years agor7987: map generic bits to specific bits in open requests
Gerald Carter [Tue, 28 Jun 2005 22:39:18 +0000 (22:39 +0000)]
r7987: map generic bits to specific bits in open requests

12 years agor7985: Add "acl map full control", true by default, to allow people to change
Jeremy Allison [Tue, 28 Jun 2005 21:48:09 +0000 (21:48 +0000)]
r7985: Add "acl map full control", true by default, to allow people to change
mapping of rwx to full control or not. Requested feature at SambaXP.
Jeremy.

12 years agor7983: clean up some use of un-initialized variables found by valgrind
Gerald Carter [Tue, 28 Jun 2005 20:29:34 +0000 (20:29 +0000)]
r7983: clean up some use of un-initialized variables found by valgrind

12 years agor7981: MS-DFS tidyup patches from James Peach <jpeach@sgi.com>.
Jeremy Allison [Tue, 28 Jun 2005 19:25:48 +0000 (19:25 +0000)]
r7981: MS-DFS tidyup patches from  James Peach <jpeach@sgi.com>.
Looking forward to the day he can commit these himself :-).
Jeremy.

12 years agor7976: Adding debugging info.
John Terpstra [Tue, 28 Jun 2005 01:50:18 +0000 (01:50 +0000)]
r7976: Adding debugging info.

12 years agor7975: One more tidyup to ensure we're using "struct posix_lock".
Jeremy Allison [Tue, 28 Jun 2005 01:37:19 +0000 (01:37 +0000)]
r7975: One more tidyup to ensure we're using "struct posix_lock".
Jeremy.

12 years agor7972: Tidy up the posix locking in memory db code whilst I'm waiting for jht
Jeremy Allison [Tue, 28 Jun 2005 01:05:59 +0000 (01:05 +0000)]
r7972: Tidy up the posix locking in memory db code whilst I'm waiting for jht
to get back to me with a backtrace.
Jeremy.

12 years agor7963: Add aio support to 3.0.
Jeremy Allison [Mon, 27 Jun 2005 22:53:56 +0000 (22:53 +0000)]
r7963: Add aio support to 3.0.
Jeremy.

12 years agor7961: randomize reloading so that smbds do not pverload cupsd
Simo Sorce [Mon, 27 Jun 2005 22:44:57 +0000 (22:44 +0000)]
r7961: randomize reloading so that smbds do not pverload cupsd
by reloading printers all at the same time.
sss

12 years agor7960: Replace unknown SMB_XSTRDUP by known SMB_STRDUP macro.
Lars Müller [Mon, 27 Jun 2005 22:39:09 +0000 (22:39 +0000)]
r7960: Replace unknown SMB_XSTRDUP by known SMB_STRDUP macro.

I still don't know why the compile doesn't fail.

12 years agor7959: Added aio structure and types.
Jeremy Allison [Mon, 27 Jun 2005 22:08:58 +0000 (22:08 +0000)]
r7959: Added aio structure and types.
Jeremy.

12 years agor7957: Added aio configure support. Jerry told me to :-).
Jeremy Allison [Mon, 27 Jun 2005 22:06:41 +0000 (22:06 +0000)]
r7957: Added aio configure support. Jerry told me to :-).
Jeremy.

12 years agor7956: Spelling mistake.
Jeremy Allison [Mon, 27 Jun 2005 22:06:18 +0000 (22:06 +0000)]
r7956: Spelling mistake.
Jeremy.

12 years agor7954: Fix from tridge from Samba4 (same code exists here) :
Jeremy Allison [Mon, 27 Jun 2005 18:53:38 +0000 (18:53 +0000)]
r7954: Fix from tridge from Samba4 (same code exists here) :
fixed handling of ASN.1 objects bigger than 64k
Jeremy.

12 years agor7952: Fix for bug #2826 pointed out by Jiri Klouda <jk@zg.cz>.
Jeremy Allison [Mon, 27 Jun 2005 18:32:58 +0000 (18:32 +0000)]
r7952: Fix for bug #2826 pointed out by Jiri Klouda <jk@zg.cz>.
Wrong return val for symlink and readlink.
Jeremy.

12 years agor7949: Work around for broken Solaris header files.
Jeremy Allison [Mon, 27 Jun 2005 17:31:00 +0000 (17:31 +0000)]
r7949: Work around for broken Solaris header files.
Jeremy

12 years agor7948: Ensure we call the vfs connection hook before doing a vfs stat.
Jeremy Allison [Mon, 27 Jun 2005 17:14:15 +0000 (17:14 +0000)]
r7948: Ensure we call the vfs connection hook before doing a vfs stat.
Allows database vfs backends to initialise with a working connection.
Bugid #2827
Jeremy.

12 years agor7946: Minor C++ compatibility fix.
Jeremy Allison [Mon, 27 Jun 2005 16:54:31 +0000 (16:54 +0000)]
r7946: Minor C++ compatibility fix.
Jeremy.

12 years agor7944: BUG 2808: don't try to install manpages if they are not present
Gerald Carter [Mon, 27 Jun 2005 13:20:12 +0000 (13:20 +0000)]
r7944: BUG 2808: don't try to install manpages if they are not present

12 years agor7938: * move the hardcoded registry value names from _reg_query_value()
Gerald Carter [Mon, 27 Jun 2005 03:40:03 +0000 (03:40 +0000)]
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().

12 years agor7908: * change REGISTRY_HOOK api to use const (fix compiler warning
Gerald Carter [Sat, 25 Jun 2005 17:31:40 +0000 (17:31 +0000)]
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)

12 years agor7904: Fix a memleak in vfs_afsacl
Volker Lendecke [Sat, 25 Jun 2005 13:06:23 +0000 (13:06 +0000)]
r7904: Fix a memleak in vfs_afsacl

12 years agor7903: Attempt to fix the AIX build
Volker Lendecke [Sat, 25 Jun 2005 10:13:07 +0000 (10:13 +0000)]
r7903: Attempt to fix the AIX build

12 years agor7902: Fix the build
Volker Lendecke [Sat, 25 Jun 2005 09:07:42 +0000 (09:07 +0000)]
r7902: Fix the build

12 years agor7893: Add in the extra parameters to opendir() to fix the large directory/insane app
Jeremy Allison [Sat, 25 Jun 2005 03:03:44 +0000 (03:03 +0000)]
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.

12 years agor7890: * add Reg[SG]etKeySec() server stubs
Gerald Carter [Fri, 24 Jun 2005 22:34:40 +0000 (22:34 +0000)]
r7890: * add Reg[SG]etKeySec() server stubs
* merge a compile warning fix from trunk to SAMBA_3_0

12 years agor7888: Fix use of "protected".
Jeremy Allison [Fri, 24 Jun 2005 21:43:36 +0000 (21:43 +0000)]
r7888: Fix use of "protected".
Jeremy.

12 years agor7887: 3.0.20pre2-SVN
Gerald Carter [Fri, 24 Jun 2005 21:40:56 +0000 (21:40 +0000)]
r7887: 3.0.20pre2-SVN

12 years agor7886: Fix building with pam_smbpass.
Jeremy Allison [Fri, 24 Jun 2005 21:18:20 +0000 (21:18 +0000)]
r7886: Fix building with pam_smbpass.
Jeremy.

12 years agor7882: Looks like a large patch - but what it actually does is make Samba
Jeremy Allison [Fri, 24 Jun 2005 20:25:18 +0000 (20:25 +0000)]
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

12 years agor7880: fix a typo and memleak on failures cases (patch from marcin)
Gerald Carter [Fri, 24 Jun 2005 15:49:02 +0000 (15:49 +0000)]
r7880: fix a typo and memleak on failures cases (patch from marcin)

12 years agor7879: fix compile issue caused by not statoc value for intializing cpp macros
Gerald Carter [Fri, 24 Jun 2005 15:13:25 +0000 (15:13 +0000)]
r7879: fix compile issue caused by not statoc value for intializing cpp macros

12 years agor7878: mostly just a rename of REG_INFO to REG_QUERY_VALUE for better clarity
Gerald Carter [Fri, 24 Jun 2005 14:55:09 +0000 (14:55 +0000)]
r7878: mostly just a rename of REG_INFO to REG_QUERY_VALUE for better clarity

12 years agor7877: Attempt to fix a smb_panic reported by Pavel Rochnyack.
Volker Lendecke [Fri, 24 Jun 2005 14:25:18 +0000 (14:25 +0000)]
r7877: Attempt to fix a smb_panic reported by Pavel Rochnyack.

Volker

12 years agor7876: Now that we have "net rpc share migrate security" completly remove the
Günther Deschner [Fri, 24 Jun 2005 14:15:31 +0000 (14:15 +0000)]
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

12 years agor7852: Correct fix from Lars for the argv issue.
Jeremy Allison [Thu, 23 Jun 2005 23:23:16 +0000 (23:23 +0000)]
r7852: Correct fix from Lars for the argv issue.
Jeremy.

12 years agor7849: Dodgy fix - we shouldn't be assuming argc++ points to a valid argv.
Jeremy Allison [Thu, 23 Jun 2005 22:20:37 +0000 (22:20 +0000)]
r7849: Dodgy fix - we shouldn't be assuming argc++ points to a valid argv.
Jeremy.

12 years agor7846: Fix from bugzilla@kevinjamieson.com Kevin Jamieson - typo
Jeremy Allison [Thu, 23 Jun 2005 17:00:11 +0000 (17:00 +0000)]
r7846: Fix from bugzilla@kevinjamieson.com Kevin Jamieson - typo
in checking for .. in statcache. Bugid #2819.
Jeremy.

12 years agor7842: With the patch I sent Steve yesterday this gives us complete POSIX pathnames.
Jeremy Allison [Wed, 22 Jun 2005 21:20:41 +0000 (21:20 +0000)]
r7842: With the patch I sent Steve yesterday this gives us complete POSIX pathnames.
ie. files containing : and \ can be accessed from Linux.
Jeremy.

12 years agor7839: remove C++ style comment
Gerald Carter [Wed, 22 Jun 2005 20:33:30 +0000 (20:33 +0000)]
r7839: remove C++ style comment

12 years agor7838: lie about the printer status when doing the queryvalue() registry call. Note...
Gerald Carter [Wed, 22 Jun 2005 18:03:38 +0000 (18:03 +0000)]
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

12 years agor7836: Fix the bug where users show up as trusting domains.
Volker Lendecke [Wed, 22 Jun 2005 14:16:10 +0000 (14:16 +0000)]
r7836: Fix the bug where users show up as trusting domains.

Volker

12 years agor7835: Add the forgotten GPL header. This source code file is distributed with Samba
Volker Lendecke [Wed, 22 Jun 2005 07:00:26 +0000 (07:00 +0000)]
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

12 years agor7830: fix directory typo with testprns manpage
Gerald Carter [Wed, 22 Jun 2005 03:05:54 +0000 (03:05 +0000)]
r7830: fix directory typo with testprns manpage

12 years agor7829: fix unitialized printer status field that was breaking migration of print...
Gerald Carter [Wed, 22 Jun 2005 02:51:22 +0000 (02:51 +0000)]
r7829: fix unitialized printer status field that was breaking migration of print queues

12 years agor7825: Fedora packaging fixes after docs change
Gerald Carter [Tue, 21 Jun 2005 22:46:34 +0000 (22:46 +0000)]
r7825: Fedora packaging fixes after docs change

12 years agor7822: fixing specfiles after removing testprns
Gerald Carter [Tue, 21 Jun 2005 22:13:58 +0000 (22:13 +0000)]
r7822: fixing specfiles after removing testprns

12 years agor7821: Don't check permissions for setting POSIX pathname request.
Jeremy Allison [Tue, 21 Jun 2005 21:26:29 +0000 (21:26 +0000)]
r7821: Don't check permissions for setting POSIX pathname request.
Jeremy.

12 years agor7817: Eliminate use of ctime_r() in libsmbclient DEBUG statement. It seems that
Derrell Lipman [Tue, 21 Jun 2005 20:34:24 +0000 (20:34 +0000)]
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.

12 years agor7807: Allow to touch mtime in vfs-recycle with
Günther Deschner [Tue, 21 Jun 2005 11:27:17 +0000 (11:27 +0000)]
r7807: Allow to touch mtime in vfs-recycle with

        recycle:touch_mtime = true

Guenther

12 years agor7798: CIFSFS client assumes wcnt == 10 for successful trans2 reply.
Jeremy Allison [Tue, 21 Jun 2005 05:27:02 +0000 (05:27 +0000)]
r7798: CIFSFS client assumes wcnt == 10 for successful trans2 reply.
Jeremy.

12 years agor7796: Prepare for client setting capabilities to select posix pathnames on
Jeremy Allison [Tue, 21 Jun 2005 05:18:09 +0000 (05:18 +0000)]
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.

12 years agor7789: fix overparanoid assert() call when checking spolss buffer pointers
Gerald Carter [Mon, 20 Jun 2005 22:13:19 +0000 (22:13 +0000)]
r7789: fix overparanoid assert() call when checking spolss buffer pointers

12 years agor7788: Update install swat message to reflect the fact that swat/README
Tim Potter [Mon, 20 Jun 2005 21:20:47 +0000 (21:20 +0000)]
r7788: Update install swat message to reflect the fact that swat/README
no longer exists.  Bugzilla #2808.

12 years agor7787: Fix from Fernando Schapachnik <fernando@mecon.gov.ar> to add logon hours
Jeremy Allison [Mon, 20 Jun 2005 19:36:12 +0000 (19:36 +0000)]
r7787: Fix from Fernando Schapachnik <fernando@mecon.gov.ar> to add logon hours
support for the Postgres backend.
Jeremy.

12 years agor7785: This looks much larger than it is. It changes the top-level functions of the
Volker Lendecke [Mon, 20 Jun 2005 13:42:29 +0000 (13:42 +0000)]
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

12 years agor7730: Some merges
Volker Lendecke [Sat, 18 Jun 2005 16:47:27 +0000 (16:47 +0000)]
r7730: Some merges

12 years agor7718: Remove some unused code
Volker Lendecke [Sat, 18 Jun 2005 09:27:40 +0000 (09:27 +0000)]
r7718: Remove some unused code

12 years agor7708: Hint from Luke Howard (thanks Luke). Ensure the schannel authenticator is 8
Jeremy Allison [Sat, 18 Jun 2005 04:23:06 +0000 (04:23 +0000)]
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.

12 years agor7703: Fix the problem with MAP_PRIVATE not updating the file.
Richard Sharpe [Fri, 17 Jun 2005 21:52:58 +0000 (21:52 +0000)]
r7703: Fix the problem with MAP_PRIVATE not updating the file.

12 years agor7701: Patch from James Peach | jpeach@sgi.com to make wrepld use new
Jeremy Allison [Fri, 17 Jun 2005 20:32:33 +0000 (20:32 +0000)]
r7701: Patch from James Peach | jpeach@sgi.com to make wrepld use new
talloc interfaces.
Jeremy.

12 years agor7698: * clean upserver frontend for RegDeleteKey()
Gerald Carter [Fri, 17 Jun 2005 18:57:37 +0000 (18:57 +0000)]
r7698: * clean upserver frontend for RegDeleteKey()
* implement RegDeleteKey() for reg_db backend

12 years agor7696: Don't try and be clever and read an 8 byte int and 3 pad bytes
Jeremy Allison [Fri, 17 Jun 2005 18:05:46 +0000 (18:05 +0000)]
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.

12 years agor7693: Fix from James Peach @ SGI for null pointer ACL free.
Jeremy Allison [Fri, 17 Jun 2005 15:54:10 +0000 (15:54 +0000)]
r7693: Fix from James Peach @ SGI for null pointer ACL free.
Jeremy.

12 years agor7692: start versioning the registry.tdb file since it can be modified now
Gerald Carter [Fri, 17 Jun 2005 15:53:01 +0000 (15:53 +0000)]
r7692: start versioning the registry.tdb file since it can be modified now

12 years agor7691: * add .gdbinit to the svn:ignore files
Gerald Carter [Fri, 17 Jun 2005 15:35:31 +0000 (15:35 +0000)]
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.

12 years agor7664: add access check hooks to _reg_open_entry which are passed off
Gerald Carter [Fri, 17 Jun 2005 01:57:18 +0000 (01:57 +0000)]
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()

12 years agor7662: Allow someone with SeTakeOwnershipPrivilege to chown the user
Jeremy Allison [Fri, 17 Jun 2005 01:02:11 +0000 (01:02 +0000)]
r7662: Allow someone with SeTakeOwnershipPrivilege to chown the user
of a file to themself.
Jeremy.

12 years agor7649: * fix compile breakage (sorry, should have done a make clean before the
Gerald Carter [Thu, 16 Jun 2005 20:59:39 +0000 (20:59 +0000)]
r7649: * fix compile breakage (sorry, should have done a make clean before the
  last checking).
* rename unknown field in REG_GETVERSION
* add server stubs for RegDeleteKey() and RegDeleteValue()

12 years agor7648: adding REGISTRY_HOOK->reg_access_check() for authprization checks on RegOpenKe...
Gerald Carter [Thu, 16 Jun 2005 20:45:55 +0000 (20:45 +0000)]
r7648: adding REGISTRY_HOOK->reg_access_check() for authprization checks on RegOpenKey(); passing it off to the backend code for a given path

12 years agor7647: add access checks to the top level hive open calls; will need to pass the...
Gerald Carter [Thu, 16 Jun 2005 20:29:15 +0000 (20:29 +0000)]
r7647: add access checks to the top level hive open calls; will need to pass the open request through the backend access check for the subkey open calls

12 years agor7645: adding server stubs for RegCreateKey() and RegSetValue()
Gerald Carter [Thu, 16 Jun 2005 20:04:16 +0000 (20:04 +0000)]
r7645: adding server stubs for RegCreateKey() and RegSetValue()

12 years agor7640: Fix based on work from "Shlomi Yaakobovich" <Shlomi@exanet.com> to catch
Jeremy Allison [Thu, 16 Jun 2005 16:39:49 +0000 (16:39 +0000)]
r7640: Fix based on work from  "Shlomi Yaakobovich" <Shlomi@exanet.com> to catch
loops in corrupted tdb files.
Jeremy.

12 years agor7636: Docu for "net rpc share migrate security" is now valid.
Günther Deschner [Thu, 16 Jun 2005 12:17:07 +0000 (12:17 +0000)]
r7636: Docu for "net rpc share migrate security" is now valid.

Guenther

12 years agor7632: Cleanup "net share migrate"-code.
Günther Deschner [Thu, 16 Jun 2005 09:36:53 +0000 (09:36 +0000)]
r7632: Cleanup "net share migrate"-code.

* Allow to copy share security descriptors to already existing shares
  separatly.

* Added abstraction function to enum all or a single share info

Guenther

12 years agor7624: * removed unmatched tdb_lock_by_string() call (should fix build farm issues)
Gerald Carter [Thu, 16 Jun 2005 00:46:43 +0000 (00:46 +0000)]
r7624: * removed unmatched tdb_lock_by_string() call (should fix build farm issues)
* comment out services.tdb code until I finish rewriting it

12 years agor7620: when adding a new printer driver, we should copy the files
Gerald Carter [Wed, 15 Jun 2005 19:28:14 +0000 (19:28 +0000)]
r7620: when adding a new printer driver, we should copy the files
(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.

12 years agor7618: Typo...
Jeremy Allison [Wed, 15 Jun 2005 18:49:43 +0000 (18:49 +0000)]
r7618: Typo...
Jeremy.

12 years agor7617: Fix for bug #2801 - delete veto files was broken with the new
Jeremy Allison [Wed, 15 Jun 2005 18:37:34 +0000 (18:37 +0000)]
r7617: Fix for bug #2801 - delete veto files was broken with the new
large directory code.
Jeremy.