summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2002-08-22Spelling fixes.Tim Potter1-5/+7
(This used to be commit 9b49d97b94a7e3842cdcbfa4ebfa961586857aea)
2002-08-21NETLOGON NetServerAuthenticate3 include and parser fileJean-François Micouleau1-11/+30
J.F. (This used to be commit 2f68d6f5ec925f07a387f784db6de0cfbaa53278)
2002-08-21Patch from Paul Green <Paul.Green@stratus.com> to be more POSIX-compatibleJelmer Vernooij1-0/+4
(This used to be commit addf29e6765393b25c35bd833d29e29e4581c233)
2002-08-21Handle wrap-around on this number by making it unsigned.Andrew Bartlett1-1/+1
(Wrapping to zero does not create problems in this cache) Andrew Bartlett (This used to be commit c58e3d5c7d78dd02584b1490a27f7007e11b8712)
2002-08-20IFSTEST fixes for open fid, nametoolong.Jeremy Allison1-11/+12
Jeremy. (This used to be commit e53a81261ed189881c0f07e1b46f97aa6770cab7)
2002-08-20cannot use casts in the DLIST_xxx macrosHerb Lewis1-1/+1
(This used to be commit c9ffc416aeee2610fdc896a9d41dac182039a5f9)
2002-08-20Based orginally by work by Kai, this patch moves our NT_TOKEN generation intoAndrew Bartlett2-4/+5
our authenticaion code - removing some of the duplication from the current code. This also gets us *much* closer to supporting a real SAM backend, becouse the SAM can give us the right info then. This also changes our service.c code, so that we do a VUID (rather than uid) cache on the connection struct, and do full NT ACL/NT_TOKEN checks (or cached equivilant) on every packet, for the same r or rw mode the whole share was open for. Andrew Bartlett (This used to be commit d8122cee059fc7098bfa7e42e638a9958b3ac902)
2002-08-19the SMBD_SELECT_TIMEOUT_WITH_PENDING_LOCKS macro isn't needed any moreAndrew Tridgell1-1/+0
(This used to be commit 341bb9fb78a2e750f05a902e020ba352e26ca030)
2002-08-19we now receive and parse the main cldap netlogon reply.Andrew Tridgell1-0/+1
we still need to parse the core of the structure (This used to be commit 6780ae25bf7ca291f612682dec7ee7ff44c24bef)
2002-08-18* fix Get/SetPrinterDataEx() to work with printer key otherGerald Carter1-0/+1
than SPOOL_PRINTERDATA_KEY * created an internal set/get_printer_dataex() call for reuse in Set/GetPrinterData() (This used to be commit 4eb8ffba032971cf83a0fcec7ca3730b4ded0bf0)
2002-08-17preparing for release of 3.0-alpha19Samba Release Account1-1/+1
(This used to be commit 227472286f479bddfac7ea958b779fc4459a9e1e)
2002-08-17preparing for release of 19Samba Release Account1-1/+1
(This used to be commit be5a649ed4c06aa1ffb709f1d3ff8ed26919bf1c)
2002-08-17fix seg fault in _spoolss_enumprinterkey after changes...Gerald Carter1-0/+1
add SPOOL_PNPDATA_KEY define (This used to be commit cdaa3f55e1fcc38b1d7a63d502a9fea3b92bf193)
2002-08-16Fairly large change to printing code.Gerald Carter1-10/+21
* removed support for PHANTOM_DEVMODE printer data * s/NT_PRINTER_PARAM/REGISTRY_VALUE/g - This was a good bit of work. Everything seems stable, but is not complete. * support for printer data keys other than PrinterDriverData in the store and fetch routines. Still needs to be plugged into the XxxPrinterDataEx() calls. Tested against NT4.0 & 2k. Like I said, it's not done, but doesn't crash so it shouldn't upset anyone (unless you're trying to build a Samba printer server off of HEAD). More work to come. Should settle by Monday. jerry (This used to be commit 7ba7c04c0e961618c82c2112b9627af114c6cc42)
2002-08-15Rename unknown_0 field in create_user2 reply in the actual struct.Tim Potter1-30/+23
Remove 9th place leading zero from some constants. (This used to be commit 876e7b2bf45aad40282fd0ccddadf01df23d8d41)
2002-08-08printing change notification merge from APPLIANCE_HEADGerald Carter2-6/+9
(This used to be commit 11ddfd9cfa550dcd3186c8aaf0cc038ce7f1791f)
2002-08-07Add 'const' to the function prototypes to match the recent commit.Andrew Bartlett1-2/+2
(This used to be commit 0118e459b603a991f23d48cfd7f5e68c4374f950)
2002-08-06Add AD version of samlogon replies for getdc. ATM it will only functionJim McDonough2-0/+24
if you have an ADS DC. (This used to be commit 059a352ebb7c7286d205bc86a92f5fd26ab1ff8e)
2002-08-06Add SAMR 0x3e, which is samr_connect4. Seems to be the same as ourJim McDonough1-1/+18
existing connect (which I've been told is really connect2), with one extra dword. We've only seen 0x00000002 there... (This used to be commit 266344634944dff30f56453f9d86c490e7ac7a55)
2002-08-05This fixes a number of ADS problems, particularly with netbioslessAndrew Tridgell1-13/+28
setups. - split up the ads structure into logical pieces. This makes it much easier to keep things like the authentication realm and the server realm separate (they can be different). - allow ads callers to specify that no sasl bind should be performed (used by "net ads info" for example) - fix an error with handing ADS_ERROR_SYSTEM() when errno is 0 - completely rewrote the code for finding the LDAP server. Now try DNS methods first, and try all DNS servers returned from the SRV DNS query, sorted by closeness to our interfaces (using the same sort code as we use in replies from WINS servers). This allows us to cope with ADS DCs that are down, and ensures we don't pick one that is on the other side of the country unless absolutely necessary. - recognise dnsRecords as binary when displaying them - cope with the realm not being configured in smb.conf (work it out from the LDAP server) - look at the trustDirection when looking up trusted domains and don't include trusts that trust our domains but we don't trust theirs. - use LDAP to query the alternate (netbios) name for a realm, and make sure that both and long and short forms of the name are accepted by winbindd. Use the short form by default for listing users/groups. - rescan the list of trusted domains every 5 minutes in case new trust relationships are added while winbindd is running - include transient trust relationships (ie. C trusts B, B trusts A, so C trusts A) in winbindd. - don't do a gratuituous node status lookup when finding an ADS DC (we don't need it and it could fail) - remove unused sid_to_distinguished_name function - make sure we find the allternate name of our primary domain when operating with a netbiosless ADS DC (using LDAP to do the lookup) - fixed the rpc trusted domain enumeration to support up to approx 2000 trusted domains (the old limit was 3) - use the IP for the remote_machine (%m) macro when the client doesn't supply us with a name via a netbios session request (eg. port 445) - if the client uses SPNEGO then use the machine name from the SPNEGO auth packet for remote_machine (%m) macro - add new 'net ads workgroup' command to find the netbios workgroup name for a realm (This used to be commit e358d7b24c86a46d8c361b9e32a25d4f71a6dc00)
2002-07-31added support for smbd listening on port 445 and 139. It now listensAndrew Tridgell1-1/+3
on both by default, and you can specify a list of ports to listen on either with "smb ports = " in smb.conf or using the -p option to smbd. this is needed for proper netbiosless operation. (This used to be commit 5dee0a7b5e0fcb298a9d36661c80e60d8b9bcc3a)
2002-07-30Add LSA RPC 0x2E, lsa_query_info2. Only level implemented is 0x0c, whichJim McDonough2-0/+42
is netbios and dns domain info. Also add code to set/fetch the domain GUID from secrets.tdb (although set is not yet called by anyone). (This used to be commit 31d7168530ccce2c5e9e7f96464b47f4d9771a25)
2002-07-30net ads info now reports the IP of the LDAP server as well as its name - ↵Andrew Tridgell1-0/+1
very useful in scripts (This used to be commit fc0d5479b575c1f495b9251413eed18ec1e37e02)
2002-07-30OK!Simo Sorce2-5/+209
Finally the cascaded VFS patch is in. Testing is very welcome, specially with layered multiple vfs modules. A big thank to Alexander Bokovoy for his work and patience :) Simo. (This used to be commit 56283601afe1836dafe0580532f014e29593c463)
2002-07-29add another registry rpc (opnum 0x14). Have no idea what it's real nameGerald Carter1-1/+24
is. I'm calling it REG_SAVE_KEY, because 2k preps a regedt32.exe Registry->Save Key with this call. Done in the process of tracking down a PrinterDriverData issue. (This used to be commit 66104a361424f10cc986c597b91afa6f12b3cd8a)
2002-07-29an initial fix for handling sparse files in smbdAndrew Tridgell2-0/+27
This gets my test code working, where we previously failed with files above 20G in size. I'm still not completely happy with this. There are just too many fields in trans2.c that we don't fill in. (This used to be commit 7dfdb456d4c9bcf6ecb1f7e5c5e79989f95e5627)
2002-07-29Added extern for popt_common_debug.Tim Potter1-0/+4
(This used to be commit 4c664a0de89676cfb2b14a93d4e30aed04e29fe9)
2002-07-28Another item off my long-term todo list:Andrew Bartlett2-3/+15
Remove the n^2 search for valid 'tty' names from the sesion code when we don't actually need it. Its main value is in getting 'well behaved' numbers for use with utmp, so when we are not doing utmp we don't need this to get in the way. Andrew Bartlett (This used to be commit 50507e131dac19485a2561f3448da7334e357f50)
2002-07-27A very long time ago (actually 6 months ago) I promised to commit this codeAndrew Bartlett1-11/+105
to the Samba tree. Originally written by Nigel Williams" <nigel@veritas.com>, I've been trying to keep it in some form of shape for the last 6 months. In particular I think some of the code got committed a few months ago, and others have made changes to the CVS version over time. anyway, its finally in - and doesn't appear to have broken anything. Now to try the client-side patches :-) Andrew Bartlett (This used to be commit f9bac7c5c2c4ddf0bf39d596a7b922fbb17c6b16)
2002-07-27as per user request added windbind start/stop/restart in swatSimo Sorce1-1/+1
almost working, seem it does not yet properly detect if windbind is running or not in all situations testing is welcome. (This used to be commit e0988e918667e3bc7b7cfb19ae81bf8c05fe582a)
2002-07-25I had forgotten to commit this after running configureAndrew Tridgell1-0/+3
(This used to be commit e3c2ef0a04afe0a21432940fceae2db07da730d8)
2002-07-24done! printer_info_2, devicemode, sec_desc, & printer data all enumerateGerald Carter1-13/+5
and display correctly in regedit.exe. Not sure about REG_SZ values in PrinterDriverData. If we store these in UNICODE, I'll have to fix up a few things. REG_BINARY & REG_DWORD are fine. (This used to be commit 2a30c243ec28734bbc721dfc01b743faa6f73788)
2002-07-24several changes in this checkinGerald Carter1-4/+9
* added REG_OPEN_HKCR for supporting regedit.exe * All data n a REGISTRY_VALUE is stored to a pointer now * fixed REG_INFO to correctly display data when double clicking on and entry in the registry editor * Will now enumerate installed driver_info_3 data * fixed numerous bugs related to pointer offsets, memory issues, etc.. in the registry routines * added a simple caching mechanism to fetch_reg_[keys|values]_specific() All that is left now is to enumerate PrinterData and I will have finished what I started out to do.... (This used to be commit 419d7208e8384e4ad2c4dd328ad5e630971bc76c)
2002-07-23* changed structure of REG_R_ENUM_VALUE structure since the BUFFER2Gerald Carter1-2/+4
is not and [in/out] buffer * registry value enumeration is working now for the Print\Forms key. The format of the binary data is not quite right yet but all installed forms are listed (This used to be commit 998eb9c7312c3c9a9ed1e9ec294593503c0304bf)
2002-07-23reran configureAndrew Tridgell1-10/+6
(This used to be commit 54c7ad47e13d92efd4c4dae2654e2e62927487e5)
2002-07-19* refactored registry operations some. subkey lists andGerald Carter1-9/+24
registry values are now passed around in containers (REGSUBKEY_CTR & REGVAL_CTR) which each possess a TALLOC_CTX. * removed subkey_specific_fn() from REGISTRY_OPS. Is implemented in the form of a wrapper * temporarily broke the printing registry ops. * implemented inheritence for the data_p of nodes in a SORTED_TREE * All REGISTRY_KEY instances now store a valid REGISTRY_HOOK since the default REGOSTRY_OPS structure is stored in the root of the cache_tree. * Probably some other change I forgot.... T (This used to be commit e7b55e8f017e638342d9c8c1a9259000745a0298)
2002-07-18Prevent gcc warning about shadowed global "index".Jeremy Allison1-1/+1
Jeremy (This used to be commit ae924493754220b8ad9e9767eb25f0f53a23327d)
2002-07-18virtual registry framework with initial printing hooks.Gerald Carter3-3/+79
(This used to be commit a43d9788fa8823d678ee72470421b980165ec2b0)
2002-07-16print_jobid in the fsp struct should be uint32.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 51c8338c7ac8665fcaaac6de5f2d81b460e803f5)
2002-07-15splitting off storage/retrieval routines for abstracting theGerald Carter1-0/+16
registry view front end. Now to plug in the various hooks. (This used to be commit 9772acd9ad44af2800dfb9d8610c2d5c23eaceb4)
2002-07-15preparing for release of 3.0-alpha18Samba Release Account1-1/+1
(This used to be commit 9556d3316cf262d14da4f3481d3e733b23d0862b)
2002-07-14removed some meaningless const casts that were causing thousands ofAndrew Tridgell1-12/+11
warnings (literally!) for the irix compiler (This used to be commit 35b6b46bc67104671298641e2993225bad2c9a39)
2002-07-13Some fix ups but committing so Andrew can look at the problem I have.Richard Sharpe1-37/+11
(This used to be commit 146ba3eb49bade732d57691d8ce181ef6608e0cb)
2002-07-13Fix up the include file that had problems as well.Richard Sharpe1-5/+251
(This used to be commit 753df0b89767261420f242da21d5dfb5403c966b)
2002-07-11added copyrightGerald Carter1-0/+1
(This used to be commit 0bb3d0f1ca9504d2430471558e1a0125d72ee82f)
2002-07-11intermediate work on DeletePrinterDriverEx(). This callGerald Carter1-7/+10
will actually delete driver files ( not yet though I don't think). Just wanted to get it in since Jeremy and I are both working on nt_printing.c (This used to be commit 3fa6c3132950c9ff1c6a532d8264ee34a6b2b0ff)
2002-07-11Up the printing tdb version number to 5 as I've changed it.Jeremy Allison1-1/+1
Jeremy. (This used to be commit f4eff4a99edd49ab11d0fc061fdb4efe96e713f5)
2002-07-098-byte alignment needed for beginning driver_info_level_6.Gerald Carter1-1/+0
Verified by looking at NT4 and 2k servers. First time for everything I guess. (This used to be commit f57640720e4758176116bc2e1b578cf0e867f95f)
2002-07-08fixup ADDPRINTERDRIVEREX some more. unknown uint32 for now.Gerald Carter1-0/+1
(This used to be commit b0f178f452a816c6a77b0f5a77fdd8930da98cac)
2002-07-08added parsing routines for SPOOLSS_ADDPRINTERDRIVEREX andGerald Carter1-0/+3
SPOOLSS_DELETEPRINTERDRIVEREX. Ran them through some testing. I know I'm off by 2 x uint32's in the former RPC. (This used to be commit 55fbfd02ba917b74fd4df7a1aa8cc8c5a91e3e07)