1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

18036 Commits

Author SHA1 Message Date
Günther Deschner
9dc4e4f012 r8427: Printerdb has been moved into a tmp branch.
Guenther
2007-10-10 11:00:04 -05:00
Günther Deschner
49351d91c5 r8402: allow to build with --enable-aio-support.
Guenther
2007-10-10 11:00:04 -05:00
Günther Deschner
b532553b06 r8398: Fix segfault in the client addprinterex-call. Found with "net rpc
printer"-functions.

Thanks to Thomas Di Naro (Novell) for the detailed debug-logs.

Guenther
2007-10-10 11:00:04 -05:00
Günther Deschner
af1aa09cde r8396: fix some compile warnings.
Guenther
2007-10-10 11:00:04 -05:00
Gerald Carter
30b03519c0 r8388: fix typo in installman script 2007-10-10 11:00:04 -05:00
Gerald Carter
9d507b218d r8387: moving wins_hook to scripts directory 2007-10-10 11:00:04 -05:00
Gerald Carter
cbe74c0910 r8384: merging clutter fixes from release branch 2007-10-10 10:59:56 -05:00
Volker Lendecke
dfa9eef7b6 r8366: Root-level files don't have a slash, but acls need to be settable on
them. Thanks to Brent Trotter for reminding me to commit this :-)

Volker
2007-10-10 10:58:20 -05:00
Volker Lendecke
2d2c49518b r8360: Some ioctl constants, found by Björn Jacke <bj@sernet.de> with
msbackup&filemon.

Thanks,

Volker
2007-10-10 10:58:20 -05:00
Gerald Carter
ea91ee68ad r8330: moving onto 3.0.20rc1-SVN 2007-10-10 10:58:20 -05:00
Gerald Carter
bd87819795 r8327: * don't use unitialized variables 2007-10-10 10:58:20 -05:00
Gerald Carter
0689851a90 r8326: factor out the delete printer code to a delete_printer_hook() for reuse 2007-10-10 10:58:20 -05:00
Gerald Carter
61f14cdcbd r8325: * punt....don't normalize the printer name in the RegCreateKey().
Print Migrator now works as long as the addprinter command can
  handle the name
2007-10-10 10:58:19 -05:00
Gerald Carter
9a27f7181a r8324: * initial cut at creating printers via the registry API
Need to add delete_key support
2007-10-10 10:58:19 -05:00
Gerald Carter
fadda2f240 r8323: * convert RegSetValue() calls immediately beneath the printer
key to PRINTER_INFO_2 fields.
2007-10-10 10:58:19 -05:00
Gerald Carter
a872ea5f0e r8322: * get RegSetValue() working for printer subkey values
(not immediate values below the <printer name> key yet.
2007-10-10 10:58:19 -05:00
Jeremy Allison
8de6b1592a r8292: Tidy up function comments.
Jeremy.
2007-10-10 10:58:19 -05:00
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