summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix up the include file that had problems as well.Richard Sharpe2002-07-132-16/+251
|
* Add these two files I forgot.Richard Sharpe2002-07-132-0/+476
|
* Fix some multibyte problems that I forgot about.Richard Sharpe2002-07-131-6/+6
|
* fixed a stdin bug in XFILE that prevented 'print -' from workingAndrew Tridgell2002-07-131-4/+4
|
* - fixed a crash bug for 'print -'Andrew Tridgell2002-07-132-3/+4
| | | | - removed an unused variable
* The changes in make_sec_desc to make us match W2K broke the ↵Jeremy Allison2002-07-122-20/+25
| | | | | | | | | marshalling/unmarshalling of security descriptors. We need to calculate the maximum offset and set the offset back after reading/writing every field in the SEC_DESC. This was *nasty* to find.... Jeremy.
* We must ZERO_STRUCT before using the buffer in copy_unistr2.Jeremy Allison2002-07-121-0/+3
| | | | | Fixes addprinterdriverex. Jeremy.
* fix setting machine passwords in the case where a user account of theAndrew Tridgell2002-07-121-1/+5
| | | | | same name as the machine name exists. (we ended up setting the users password, not the machines password!)
* Commit Tom Jansen's changes to head.Richard Sharpe2002-07-112-820/+902
|
* Regenerated.Tim Potter2002-07-111-11/+12
|
* Usage fixes from APPLIANCE_HEAD.Tim Potter2002-07-111-1/+2
|
* Another compile fix.Tim Potter2002-07-111-2/+2
|
* Compile fix for flags field to cli_full_connection()Tim Potter2002-07-111-1/+1
|
* Merge of init_domain_list() fix from APPLIANCE_HEAD.Tim Potter2002-07-111-3/+0
|
* added copyrightGerald Carter2002-07-111-0/+1
|
* added copyrightGerald Carter2002-07-113-2/+4
|
* this implements a completely new strategy for fetching groupAndrew Tridgell2002-07-112-33/+118
| | | | | | | | | | | | membership from an ADS server. We now use a 'member' query on the group and do a separate call to convert the resulting distinguished name to a name, rid etc. This is *much* faster for very large numbers of groups (on a quantum test system with 10000 groups it drops the time from an hour to about 35 seconds). strangely enough, this actually *increases* the amount of ldap traffic, its just that the MS LDAP server answers these queries much faster.
* last check in for tonight.Gerald Carter2002-07-113-56/+139
| | | | | | | | | | * DeletePrinterDriverEx() now has the ability to delete driver files. I need to do some more testing tro veriofy that we are in fact not deleting a file out from under another driver, but it looks ok so far. * DeletePrinterDriver() noiw deletes all versions of the specified driver (cversion == 0, 1, 2, 3)
* this fixes the ads dump codeAndrew Tridgell2002-07-111-3/+3
| | | | a char** isn't quite the same thing as a struct berval** :)
* all that is left to do is to actually perform theGerald Carter2002-07-113-19/+183
| | | | | file deletion now. I have the file list. One more commit should do it.
* intermediate work on DeletePrinterDriverEx(). This callGerald Carter2002-07-113-97/+180
| | | | | | 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
* Up the printing tdb version number to 5 as I've changed it.Jeremy Allison2002-07-111-1/+1
| | | | Jeremy.
* *Experimental* new large-scaling printer code. Splits printing.tdb intoJeremy Allison2002-07-118-162/+424
| | | | | | | a separate tdb per printer, but only keeps (currently one) tdb open at a time (although this is easily changed by changing a #define). Needs scalability testing with large numbers of printers now.... Jeremy.
* If we get a SID from group mapping, no need to check it's prefix.Andrew Bartlett2002-07-101-6/+6
| | | | | | Just set it directly. Andrew Bartlett
* some support functions to ease the next commit.Simo Sorce2002-07-091-6/+96
|
* 8-byte alignment needed for beginning driver_info_level_6.Gerald Carter2002-07-093-23/+36
| | | | | Verified by looking at NT4 and 2k servers. First time for everything I guess.
* Documented -I option to rpcclient.Tim Potter2002-07-091-0/+18
|
* Added -I option to rpcclient.Tim Potter2002-07-091-12/+20
|
* make sure we disable referrals in all ldap searches - they are badlyAndrew Tridgell2002-07-091-0/+3
| | | | broken
* fix declaration of global_in_nmbdAndrew Tridgell2002-07-091-1/+1
|
* the last WINS update broke self registration when we are a WINSAndrew Tridgell2002-07-092-10/+4
| | | | | | | | | | | | | server. The real problem is all the special cases we had for when we are a wins server as opposed to when we are using a 'real' wins server. This patch removes the special cases. We now accept non-broadcast packets from ourselves and we use ourselves as a wins server when we are one. This gets rid of the special cases and simplifies things quite a bit. It all seems to work, but there are bound to be problems found later.
* Make it clear that the debug comment is the same as the command being testedAndrew Bartlett2002-07-091-1/+1
| | | | | | for failure. Andrew Bartlett
* fixup ADDPRINTERDRIVEREX some more. unknown uint32 for now.Gerald Carter2002-07-082-21/+25
|
* Fix length in snprintf invocation to account for "dn:" in sasl gssapi bind.Jim McDonough2002-07-081-2/+1
| | | | | | Also remove unused line which incremented pointer by the wrong length anyway. Provided by Anthony Liguori (aliguori@us.ibm.com).
* fix typoGerald Carter2002-07-081-1/+1
|
* added parsing routines for SPOOLSS_ADDPRINTERDRIVEREX andGerald Carter2002-07-084-66/+200
| | | | | SPOOLSS_DELETEPRINTERDRIVEREX. Ran them through some testing. I know I'm off by 2 x uint32's in the former RPC.
* * basic implementation of SPOOLSS_DELETEPRINTERDATAEX andGerald Carter2002-07-084-4/+350
| | | | | | SPOOLSS_DELETEPRINTERKEY * stub funnctions for SPOOLSS_ADDPRINTERDRIVEREX and SPOOLSS_DELETEPRINTERDRIVEREX
* Fix for LPRng from James Henstridge james@daa.com.au.Jeremy Allison2002-07-081-0/+2
| | | | Jeremy.
* Kill off const warnings - add a pile of const to various places.Andrew Bartlett2002-07-085-6/+6
|
* Fix const warningAndrew Bartlett2002-07-081-1/+1
|
* Jerry: Sorry if I am stepping on toes here, but this should fix the compile onAndrew Bartlett2002-07-081-16/+17
| | | | | | | solaris CC (void* arithmatic) and fixes the other warnings (global variable shadows) that gcc has with this file. Andrew Bartlett
* (this should have been part of the previous commit)Andrew Bartlett2002-07-083-14/+51
| | | | | | | | | | Add a function to display 'sid types' as strings - makes rpcclient outptut and DEBUG() logs much eaiser to understand. Move the enum for SID types to smb.h, becouse is really isn't LSA specific any more. Andrew Bartlett
* Updates to the 'name -> sid' code:Andrew Bartlett2002-07-073-7/+6
| | | | | | | | | | Correct the 'none mapped' behaviour, (so that it matches Win2k) and add a function to make the SID types appear as text strings in logs/rpcclient. Also, remove a silly case that would cause 'failure' to be 'success'. (Might look at this a bit more in future). Andrew Bartlett
* Copy the NT_TOKEN to the pipe, so the SAMR can use it for access control.Andrew Bartlett2002-07-061-2/+4
| | | | Andrew Bartlett
* Increse the maximum non-unix-account ID (becouse the Compaq Test Drive systemsAndrew Bartlett2002-07-061-1/+1
| | | | | | have a lot of users ;-). Andrew Bartlett
* Remove C++ comments.Tim Potter2002-07-052-7/+12
|
* Fix debug comment.Andrew Bartlett2002-07-051-1/+1
|
* Fix from Andrew Esh for coredump...Jeremy Allison2002-07-041-8/+11
| | | | Jeremy.
* fixed the geyed out registry keys. Stupid typo on my part.Gerald Carter2002-07-042-15/+15
| | | | | | Now on to plug in the printing tdbs to the registry view.... jerry
* More code from "Kai Krueger" <kai@kruegernetz.de>, this time starting to makeAndrew Bartlett2002-07-044-1/+116
| | | | | | | the 'user cannot change password' button work. Needs help from a future SAM backend, but at least this parses the data, and returns an error. Andrew Bartlett