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

18019 Commits

Author SHA1 Message Date
Jeremy Allison
81e7a4a2cf r8290: Fix for bug in SMBwriteBraw where we incorrectly
returned the number of bytes written. Patch from
Marcel Müller <mueller@maazl.de>.
Jeremy.
2007-10-10 10:58:19 -05:00
Volker Lendecke
1ebb3aa0d5 r8231: Patch from James Peach to fix the IRIX build.
Thanks,

Volker
2007-10-10 10:58:18 -05:00
Jeremy Allison
c7fe18761e r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the torture
tests on this as it's very late NY time (just wanted to get this work
into the tree). I'll test this over the weekend....
Jerry - in looking at the difference between the two trees there
seem to be some printing/ntprinting.c and registry changes we might
want to examine to try keep in sync.
Jeremy.
2007-10-10 10:58:18 -05:00
Günther Deschner
053e892e07 r8207: Fix my NT_STATUS_IS_OK mismatch.
Guenther
2007-10-10 10:58:18 -05:00
Günther Deschner
ca9acd149a r8205: try to improve readability of smbldap_search_domain_info()
Guenther
2007-10-10 10:58:18 -05:00
Jim McDonough
cb5634a305 r8189: commit vampire ldif patch, mostly from Don Watson (dwatson@us.ibm.com). Yes,
that's my copyright...that's just how we have to do things at big blue.

Adds subcommand to vampire to allow data to be put into an ldif file instead
of actually writing to the passdb.  See "net rpc help vampire" for usage
info.  This should be added to docs as well.
2007-10-10 10:58:18 -05:00
John Terpstra
65cfa2a950 r8188: Update from Dave Collier-Brown. 2007-10-10 10:58:17 -05:00
Gerald Carter
137d270ee3 r8184: fix build issue on Solaris in smbclient 2007-10-10 10:58:15 -05:00
Günther Deschner
f3da329fa8 r8155: ops, add missing function.
Guenther
2007-10-10 10:58:15 -05:00
Gerald Carter
63bc03536b r8152: * remove commented out structure
* use SAMBA_PRINTER_PORT_NAME in registry values for builtin printer
  port
2007-10-10 10:58:12 -05:00
Lars Müller
07845bb4c5 r8151: Add support to create position independent executable (PIE) code if the
compiler supports it.

We have to compile with -fPIE and not -fpie.  Else ppc and s390(x) will
fail (to small GOT).

It's possible to disable configure's PIE detection with --disable-pie
2007-10-10 10:58:12 -05:00
Günther Deschner
91596330ea r8145: When inventing a new parameter for SFU-support, be aware of Volker's
upcoming changes for "unixinfo"-pipe.

Therefor (after speaking with Volker) replace "winbind sfu support" with
the list-parameter "winbind nss info" which defaults to "template". For
SFU-support set it to "winbind nss info = template sfu".

Note that nss_info_use() is just a dummy function at the moment.

Guenther
2007-10-10 10:58:12 -05:00
Günther Deschner
e79e384eb3 r8144: remove unused parameter leftover.
Guenther
2007-10-10 10:58:12 -05:00
Günther Deschner
ba0ca4c0c6 r8143: Fix generate_parm_table.py:
* Correctly substitute "\" as default winbind separator.
* Use default testparm-location.

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

Thanks Luke!

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

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

Guenther
2007-10-10 10:58:08 -05:00
Gerald Carter
7a2ecb1aec 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
2007-10-10 10:58:08 -05:00
Gerald Carter
28c7293ee9 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)
2007-10-10 10:58:08 -05:00
Volker Lendecke
1e9a8854b1 r7998: Fix usage message 2007-10-10 10:58:08 -05:00
Gerald Carter
5289955107 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.
2007-10-10 10:58:08 -05:00
Gerald Carter
0d6352da48 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.
2007-10-10 10:58:07 -05:00
Günther Deschner
28b5969942 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
2007-10-10 10:58:07 -05:00
Günther Deschner
1d59841c99 r7992: Adding PADL's idmap_ad plugin (taken from the latest
xad_oss_plugins-tarball).

Guenther
2007-10-10 10:58:07 -05:00
Gerald Carter
7764e8a677 r7987: map generic bits to specific bits in open requests 2007-10-10 10:58:06 -05:00
Jeremy Allison
c870579f4c 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.
2007-10-10 10:58:06 -05:00
Gerald Carter
5f4a3f61a3 r7983: clean up some use of un-initialized variables found by valgrind 2007-10-10 10:58:06 -05:00
Jeremy Allison
12ff297829 r7981: MS-DFS tidyup patches from James Peach <jpeach@sgi.com>.
Looking forward to the day he can commit these himself :-).
Jeremy.
2007-10-10 10:58:06 -05:00
John Terpstra
97ee7c970c r7976: Adding debugging info. 2007-10-10 10:58:05 -05:00
Jeremy Allison
960a5d37d1 r7975: One more tidyup to ensure we're using "struct posix_lock".
Jeremy.
2007-10-10 10:58:05 -05:00
Jeremy Allison
f2bcfdddc7 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.
2007-10-10 10:58:05 -05:00
Jeremy Allison
1de27da470 r7963: Add aio support to 3.0.
Jeremy.
2007-10-10 10:58:05 -05:00
Simo Sorce
da227d5f43 r7961: randomize reloading so that smbds do not pverload cupsd
by reloading printers all at the same time.
						sss
2007-10-10 10:58:05 -05:00