1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

18006 Commits

Author SHA1 Message Date
Günther Deschner
1affb32caa r8143: Fix generate_parm_table.py:
* Correctly substitute "\" as default winbind separator.
* Use default testparm-location.

Guenther
(This used to be commit ba0ca4c0c6)
2007-10-10 10:58:11 -05:00
Gerald Carter
9b62dfaf19 r8141: Update volker's valgrind fix in r8097. Same effect, just helps me
to remember what is going on here better.
(This used to be commit 4a8068ce63)
2007-10-10 10:58:11 -05:00
Gerald Carter
3fe2485d4b r8140: adding missing module
(This used to be commit 79d03b1919)
2007-10-10 10:58:11 -05:00
Günther Deschner
2c03a3cb52 r8133: Got approval from Luke Howard (PADL) to change the company copyright to
to a personal one.

Thanks Luke!

Guenther
(This used to be commit 892ef0bbc1)
2007-10-10 10:58:11 -05:00
Volker Lendecke
3a8af94424 r8093: Next round. Now it compiles with --enable-socket-wrapper.
Volker
(This used to be commit 25cbcfba30)
2007-10-10 10:58:11 -05:00
Volker Lendecke
d10c664b61 r8092: Attempt to fix the socket wrapper stuff for Samba 3.
Volker
(This used to be commit 53c22c0365)
2007-10-10 10:58:10 -05:00
Gerald Carter
22ea1952c8 r8089: successfully delete printer subkeys via the registry....now for values
(This used to be commit d3427960b0)
2007-10-10 10:58:10 -05:00
John Terpstra
4d13815750 r8085: Updating info.
(This used to be commit f20213227f)
2007-10-10 10:58:10 -05:00
Gerald Carter
c296f858ef 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.
(This used to be commit 00bce2b3bb)
2007-10-10 10:58:10 -05:00
Gerald Carter
0a01b2246a 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
(This used to be commit 89f17b41ce)
2007-10-10 10:58:10 -05:00
Volker Lendecke
f88e4babab r8062: Remove some unused code
(This used to be commit fa6cc0bdef)
2007-10-10 10:58:10 -05:00
Gerald Carter
8e3445c804 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').
(This used to be commit 6f654c5741)
2007-10-10 10:58:10 -05:00
Günther Deschner
065d7e82a7 r8048: Replace "done" with "failed".
Guenther
(This used to be commit 7285edc4fe)
2007-10-10 10:58:09 -05:00
Volker Lendecke
3f11139bf3 r8047: "oid" is defined in a heimdal header. With my gcc this generates a ton of
shadowed variable warnings. Fix that.

Volker
(This used to be commit 3846c0afa1)
2007-10-10 10:58:09 -05:00
John Terpstra
02886574aa r8031: Adding contributed mklogon scripts.
(This used to be commit aaca9ea8a3)
2007-10-10 10:58:09 -05:00
Volker Lendecke
ebe27d3d87 r8029: Fix bug 2841. Thanks to Brett Trotter.
Volker
(This used to be commit 2588dd7a27)
2007-10-10 10:58:09 -05:00
Gerald Carter
c5a51f0273 r8027: driver information is now back via winreg
(This used to be commit f0a1c6b9ce)
2007-10-10 10:58:09 -05:00
Gerald Carter
8cea99d3ac r8026: * more fixes to the printing registry interface
(still not completely back to the read functionality
  we previously had but the cleanup is progressing)
(This used to be commit 04431372a6)
2007-10-10 10:58:09 -05:00
Gerald Carter
9ef00c5b1b 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).
(This used to be commit 4aec5dce5c)
2007-10-10 10:58:09 -05:00
Gerald Carter
d80f6fd4a4 r8022: * implement default actions rather than having to define functions
for every fetch/store callback (some keys should never have a value)
(This used to be commit 7466351dd0)
2007-10-10 10:58:08 -05:00
Günther Deschner
d966feb9bc r8019: Better give a hint that we are failing share-manipulation due to missing
scripts.

Guenther
(This used to be commit 1f17b4f45e)
2007-10-10 10:58:08 -05:00
Gerald Carter
9e31275531 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
(This used to be commit 7a2ecb1aec)
2007-10-10 10:58:08 -05:00
Gerald Carter
b319bdd32f 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)
(This used to be commit 28c7293ee9)
2007-10-10 10:58:08 -05:00
Volker Lendecke
aa3b0b190d r7998: Fix usage message
(This used to be commit 1e9a8854b1)
2007-10-10 10:58:08 -05:00
Gerald Carter
1946e917a6 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.
(This used to be commit 5289955107)
2007-10-10 10:58:08 -05:00
Gerald Carter
270b90e25f 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.
(This used to be commit 0d6352da48)
2007-10-10 10:58:07 -05:00
Günther Deschner
2e7f22e833 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
(This used to be commit 28b5969942)
2007-10-10 10:58:07 -05:00
Günther Deschner
3922667cbe r7992: Adding PADL's idmap_ad plugin (taken from the latest
xad_oss_plugins-tarball).

Guenther
(This used to be commit 1d59841c99)
2007-10-10 10:58:07 -05:00
Gerald Carter
e4a11ba585 r7987: map generic bits to specific bits in open requests
(This used to be commit 7764e8a677)
2007-10-10 10:58:06 -05:00
Jeremy Allison
9b782f4935 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.
(This used to be commit c870579f4c)
2007-10-10 10:58:06 -05:00
Gerald Carter
e2b9dfd60b r7983: clean up some use of un-initialized variables found by valgrind
(This used to be commit 5f4a3f61a3)
2007-10-10 10:58:06 -05:00
Jeremy Allison
bf547ff1ad r7981: MS-DFS tidyup patches from James Peach <jpeach@sgi.com>.
Looking forward to the day he can commit these himself :-).
Jeremy.
(This used to be commit 12ff297829)
2007-10-10 10:58:06 -05:00
John Terpstra
0e5a5418bc r7976: Adding debugging info.
(This used to be commit 97ee7c970c)
2007-10-10 10:58:05 -05:00
Jeremy Allison
74563c5806 r7975: One more tidyup to ensure we're using "struct posix_lock".
Jeremy.
(This used to be commit 960a5d37d1)
2007-10-10 10:58:05 -05:00
Jeremy Allison
3d306127aa 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.
(This used to be commit f2bcfdddc7)
2007-10-10 10:58:05 -05:00
Jeremy Allison
f2f55d703d r7963: Add aio support to 3.0.
Jeremy.
(This used to be commit 1de27da470)
2007-10-10 10:58:05 -05:00
Simo Sorce
7ebd74e6c5 r7961: randomize reloading so that smbds do not pverload cupsd
by reloading printers all at the same time.
						sss
(This used to be commit da227d5f43)
2007-10-10 10:58:05 -05:00
Lars Müller
39605e52aa r7960: Replace unknown SMB_XSTRDUP by known SMB_STRDUP macro.
I still don't know why the compile doesn't fail.
(This used to be commit 8cfa6873c2)
2007-10-10 10:58:04 -05:00
Jeremy Allison
4a68168031 r7959: Added aio structure and types.
Jeremy.
(This used to be commit 095c5dbc18)
2007-10-10 10:58:04 -05:00
Jeremy Allison
15c6ae15c8 r7957: Added aio configure support. Jerry told me to :-).
Jeremy.
(This used to be commit 5b5052c042)
2007-10-10 10:58:04 -05:00
Jeremy Allison
a8961434c0 r7956: Spelling mistake.
Jeremy.
(This used to be commit f318c37107)
2007-10-10 10:58:04 -05:00
Jeremy Allison
600935af49 r7954: Fix from tridge from Samba4 (same code exists here) :
fixed handling of ASN.1 objects bigger than 64k
Jeremy.
(This used to be commit 0da60e9954)
2007-10-10 10:58:04 -05:00
Jeremy Allison
e55d945ff1 r7952: Fix for bug #2826 pointed out by Jiri Klouda <jk@zg.cz>.
Wrong return val for symlink and readlink.
Jeremy.
(This used to be commit f3c4d5a957)
2007-10-10 10:58:04 -05:00
Jeremy Allison
919af50f27 r7949: Work around for broken Solaris header files.
Jeremy
(This used to be commit 4d50029310)
2007-10-10 10:58:04 -05:00
Jeremy Allison
afc7af3fdf 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.
(This used to be commit 7ef6850056)
2007-10-10 10:58:03 -05:00
Jeremy Allison
e28cfbfac8 r7946: Minor C++ compatibility fix.
Jeremy.
(This used to be commit 7eb7f83257)
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 1ce5cc2a5f)
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 63b81ad3cb)
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 3d837e58db)
2007-10-10 10:58:03 -05:00
Volker Lendecke
433dcfc09e r7904: Fix a memleak in vfs_afsacl
(This used to be commit 8fad08db74)
2007-10-10 10:58:03 -05:00