summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r8330: moving onto 3.0.20rc1-SVNGerald Carter2007-10-101-2/+2
| | | | (This used to be commit ea91ee68adb3bd6c07b2556f23a231786d53312d)
* r8327: * don't use unitialized variablesGerald Carter2007-10-101-3/+2
| | | | (This used to be commit bd878197954cf4d259dfd01f2d4cb4a663b34121)
* r8326: factor out the delete printer code to a delete_printer_hook() for reuseGerald Carter2007-10-101-56/+53
| | | | (This used to be commit 0689851a90fbd91ff30f6e2afc05d141f6ce082d)
* r8325: * punt....don't normalize the printer name in the RegCreateKey().Gerald Carter2007-10-101-3/+1
| | | | | | Print Migrator now works as long as the addprinter command can handle the name (This used to be commit 61f14cdcbd3b183caf6172d5b60b0888fc4363f7)
* r8324: * initial cut at creating printers via the registry APIGerald Carter2007-10-102-8/+44
| | | | | Need to add delete_key support (This used to be commit 9a27f7181adca10f60c47d342a51dec34321e12b)
* r8323: * convert RegSetValue() calls immediately beneath the printerGerald Carter2007-10-101-9/+23
| | | | | key to PRINTER_INFO_2 fields. (This used to be commit fadda2f240eb3c8eb08198c702a93e23b14f0fcc)
* r8322: * get RegSetValue() working for printer subkey valuesGerald Carter2007-10-102-4/+170
| | | | | (not immediate values below the <printer name> key yet. (This used to be commit a872ea5f0e29f7b585574a56b52a5eb44cb92278)
* r8292: Tidy up function comments.Jeremy Allison2007-10-101-2/+10
| | | | | Jeremy. (This used to be commit 8de6b1592ad205f59c44ed30102a56594f65e555)
* r8290: Fix for bug in SMBwriteBraw where we incorrectlyJeremy Allison2007-10-101-1/+2
| | | | | | | returned the number of bytes written. Patch from Marcel Müller <mueller@maazl.de>. Jeremy. (This used to be commit 81e7a4a2cfd2d4764d757702f17635e5007e59de)
* r8231: Patch from James Peach to fix the IRIX build.Volker Lendecke2007-10-101-4/+4
| | | | | | | Thanks, Volker (This used to be commit 1ebb3aa0d5007c470862e3adca92d2941ffa294c)
* r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the tortureJeremy Allison2007-10-1035-1964/+2566
| | | | | | | | | | 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. (This used to be commit c7fe18761e2c753afbffd3a78abff46472a9b8eb)
* r8207: Fix my NT_STATUS_IS_OK mismatch.Günther Deschner2007-10-101-1/+1
| | | | | Guenther (This used to be commit 053e892e07936f6b71a6bb5e31be09c1d2a2c837)
* r8205: try to improve readability of smbldap_search_domain_info()Günther Deschner2007-10-101-18/+33
| | | | | Guenther (This used to be commit ca9acd149a36ca36a9a4e2a35b97cae610b3b5ed)
* r8189: commit vampire ldif patch, mostly from Don Watson ↵Jim McDonough2007-10-104-3/+1043
| | | | | | | | | | | (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. (This used to be commit cb5634a305256a70daa2fcbd85d9a5459b4aeaa3)
* r8188: Update from Dave Collier-Brown.John Terpstra2007-10-101-4/+7
| | | | (This used to be commit 65cfa2a950e8a16b95715d555a5354cc81f431f1)
* r8184: fix build issue on Solaris in smbclientGerald Carter2007-10-101-0/+5
| | | | (This used to be commit 137d270ee3bec297732380050bb53cf6b5487914)
* r8155: ops, add missing function.Günther Deschner2007-10-101-0/+14
| | | | | Guenther (This used to be commit f3da329fa89fad5b994e46251b43325fa4ea853e)
* r8152: * remove commented out structureGerald Carter2007-10-102-17/+2
| | | | | | * use SAMBA_PRINTER_PORT_NAME in registry values for builtin printer port (This used to be commit 63bc03536b6d0622005448f0f7be2739e06a432a)
* r8151: Add support to create position independent executable (PIE) code if theLars Müller2007-10-102-55/+85
| | | | | | | | | | 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 (This used to be commit 07845bb4c5a31cb29bf7b8ff6c50e5da84c329e4)
* r8145: When inventing a new parameter for SFU-support, be aware of Volker'sGünther Deschner2007-10-104-13/+20
| | | | | | | | | | | | | 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 (This used to be commit 91596330ea3c4ba0fb9ddc52ad9d4a7c8e5b2d3f)
* r8144: remove unused parameter leftover.Günther Deschner2007-10-101-1/+0
| | | | | Guenther (This used to be commit e79e384eb307c6bbe05e07a87dcc6af42a0c0a32)
* r8143: Fix generate_parm_table.py:Günther Deschner2007-10-101-3/+5
| | | | | | | | * Correctly substitute "\" as default winbind separator. * Use default testparm-location. Guenther (This used to be commit ba0ca4c0c62d7f8801115bec54b9c550e3b1b1c6)
* r8141: Update volker's valgrind fix in r8097. Same effect, just helps meGerald Carter2007-10-101-0/+3
| | | | | to remember what is going on here better. (This used to be commit 4a8068ce632adc34e88c128c4a6cc4c690d082bf)
* r8140: adding missing moduleGerald Carter2007-10-101-0/+84
| | | | (This used to be commit 79d03b1919cd7c01503c99e0a68bb1754adb1d76)
* r8133: Got approval from Luke Howard (PADL) to change the company copyright toGünther Deschner2007-10-101-7/+1
| | | | | | | | | to a personal one. Thanks Luke! Guenther (This used to be commit 892ef0bbc100e05ba3e683f4e08946f36627cc1a)
* r8093: Next round. Now it compiles with --enable-socket-wrapper.Volker Lendecke2007-10-107-24/+24
| | | | | Volker (This used to be commit 25cbcfba30f534f3fb31627ba43421c42ccd5b0f)
* r8092: Attempt to fix the socket wrapper stuff for Samba 3.Volker Lendecke2007-10-102-60/+108
| | | | | Volker (This used to be commit 53c22c036588238d0d732f7dbf7329921f593191)
* r8089: successfully delete printer subkeys via the registry....now for valuesGerald Carter2007-10-102-1/+51
| | | | (This used to be commit d3427960b0676c506c639b582a2544dc58990c9e)
* r8085: Updating info.John Terpstra2007-10-101-3/+8
| | | | (This used to be commit f20213227fa00a624fa8f0f88f7f9bbdc9d8ece1)
* r8066: * had to modify the printer data storage slightly in ntprinters.tdbGerald Carter2007-10-103-29/+125
| | | | | | | | | 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 00bce2b3bb78a44842a258b1737076281297d247)
* r8064: * add the REG_XXX error codes to the pretty error messagesGerald Carter2007-10-103-41/+75
| | | | | | * 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 89f17b41cee633838b8cbd0d1bf8119a4b8d707e)
* r8062: Remove some unused codeVolker Lendecke2007-10-101-129/+0
| | | | (This used to be commit fa6cc0bdefe272ec538a71a2b6ba72a724411764)
* r8061: * mostly cleanup and refactoring for better readabilityGerald Carter2007-10-102-313/+304
| | | | | | | | | * 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 6f654c5741e98abf00c010c5dd38038092c0f7a3)
* r8048: Replace "done" with "failed".Günther Deschner2007-10-101-5/+5
| | | | | Guenther (This used to be commit 7285edc4fe71f47ab648c31760c357fc2af29ce7)
* r8047: "oid" is defined in a heimdal header. With my gcc this generates a ton ofVolker Lendecke2007-10-101-4/+4
| | | | | | | shadowed variable warnings. Fix that. Volker (This used to be commit 3846c0afa1db96239b3aaf2e7ee2427b48f6e2f0)
* r8031: Adding contributed mklogon scripts.John Terpstra2007-10-102-0/+460
| | | | (This used to be commit aaca9ea8a3ffdb9d5b1d25d414692db8927c2943)
* r8029: Fix bug 2841. Thanks to Brett Trotter.Volker Lendecke2007-10-101-5/+5
| | | | | Volker (This used to be commit 2588dd7a272830bfda4e8ffa7d1114af506e36be)
* r8027: driver information is now back via winregGerald Carter2007-10-102-4/+13
| | | | (This used to be commit f0a1c6b9cec28d5b4aa8a1a2f9b34d1f13113a6c)
* r8026: * more fixes to the printing registry interfaceGerald Carter2007-10-103-314/+201
| | | | | | (still not completely back to the read functionality we previously had but the cleanup is progressing) (This used to be commit 04431372a698433b4936392047228908a64ff382)
* r8025: *how* can this code have been around so long andGerald Carter2007-10-101-14/+33
| | | | | | | | | | | 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 4aec5dce5c2d0b5c686123a624b58097be9d911a)
* r8022: * implement default actions rather than having to define functionsGerald Carter2007-10-101-398/+338
| | | | | for every fetch/store callback (some keys should never have a value) (This used to be commit 7466351dd059b75c29bc0d2977c6c9d318a14dc6)
* r8019: Better give a hint that we are failing share-manipulation due to missingGünther Deschner2007-10-101-2/+6
| | | | | | | scripts. Guenther (This used to be commit 1f17b4f45e966cba83f6ad48e5017cbaa5b58bdf)
* r8008: * start adding logic for restricting subkey pathsGerald Carter2007-10-101-69/+56
| | | | | | | 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 7a2ecb1aec2b84e6bc326be4a1191fb54526c430)
* r8007: * cleanup unused structure from reg_objects.hGerald Carter2007-10-104-179/+359
| | | | | | | | | * 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 28c7293ee9e68b913faf8d74d63f73e09087169b)
* r7998: Fix usage messageVolker Lendecke2007-10-101-1/+1
| | | | (This used to be commit 1e9a8854b1f3bd640096923dc79991654da7e845)
* r7997: Pointers don't kill people, people with pointers kill people...Gerald Carter2007-10-101-5/+1
| | | | | | | | | | | "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 52899551070ddb8f185d53bd125ae06c192ef7b0)
* r7995: * privileges are local except when they're *not*Gerald Carter2007-10-1013-154/+159
| | | | | | | | | | | | | | | | | | | 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 0d6352da4800aabc04dfd7c65a6afe6af7cd2d4b)
* r7994: This adds support in Winbindd's "security = ads"-mode to retrieve the ↵Günther Deschner2007-10-1012-59/+291
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 28b59699425b1c954d191fc0e3bd357e4a4e4cd8)
* r7992: Adding PADL's idmap_ad plugin (taken from the latestGünther Deschner2007-10-103-0/+386
| | | | | | | xad_oss_plugins-tarball). Guenther (This used to be commit 1d59841c9901b6a3aff72b6da1037495aa75f389)
* r7987: map generic bits to specific bits in open requestsGerald Carter2007-10-101-3/+4
| | | | (This used to be commit 7764e8a6775ead942d8ceac89cbcb947136bf7fa)