summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2002-02-11A few small winbind updates:Andrew Bartlett3-25/+60
Add a connection cache to the netlogon pipe. This makes a *massive* difference to the time-per-auth. Also fix up *some* of the memory leaks in other connection caches. Add some debugging messages for the is_connected() code. I'm thinking we should get a client implementation of SMBecho and call it here - as it would allow us to always know the DC is around before we start. Down the debug level for some of the pam_winbind code - I'll probably down it further when I'm finished debugging. Andrew Bartlett (This used to be commit 49d3e476662220775ef8da7db01ea17e77e11b0b)
2002-02-09Bring printing in HEAD inline with 2.2.x and app-head.Jeremy Allison3-297/+553
Jeremy. (This used to be commit 771ef92fc6e43725b7cc351079998a8acb74abef)
2002-02-09preparing for release of 3.0-alpha15Samba Release Account1-1/+1
(This used to be commit b9c843532508ea5fd4633dd7d82452fd89d63eab)
2002-02-09Do the reverse DNS lookup, but only if 'hostname lookups = yes'Andrew Bartlett1-5/+7
Andrew Bartlett (This used to be commit dfecd6a4534743a3e140eafc9836911286793951)
2002-02-08merge from APPLIANCE_HEADGerald Carter1-1/+1
(This used to be commit e734c1971d2841b2cfe37414fe4893f4a66b22a9)
2002-02-08Fix up some of the DEBUG lines in winbind_pam.cAndrew Bartlett1-8/+10
(This used to be commit dfc8883305abf7630e6446a0b865bae99ec2f5a4)
2002-02-07smbsh need CC not SHLDHerb Lewis1-1/+1
(This used to be commit 690c1fae9ce0ad6a8adef42ed5a7d8cfedab261d)
2002-02-07when a trusted domain is down an ADS server will return a success on aAndrew Tridgell1-2/+3
get trusted domains query but leave the domain SID blank - we need to fail the add of the trusted domain in winbindd in that case (This used to be commit 24c7e7a3849df3a3378f7e7f20099de048f0b7bd)
2002-02-06Try to get this finally working. (Note to self: *always* check build farm...)Andrew Bartlett1-2/+2
:-) Andrew Bartlett (This used to be commit 542e0e37455e6bcd8e0c248b3bb6ede8306d1656)
2002-02-06Fix ldapmod list overrun check. Also better document and format ldap ↵Jim McDonough1-16/+13
control for permissive modify. (This used to be commit 01e7f7c3d9006883b71e43d917d32e325cff7a15)
2002-02-060x is the traditional prefix for displaying hex numbers.Tim Potter1-2/+2
(This used to be commit f424b691ea76819e90f10919b0506bb2216ecd0e)
2002-02-06fix for IRIX toolroot buildsHerb Lewis2-315/+317
(This used to be commit dc3fb2e6dcd92efd7468bd8121fbc49e3dadb8ea)
2002-02-05Fix use of uninitialsed variable in PAM codeAndrew Bartlett1-2/+2
(This used to be commit 6c08c233e6675056c0ee0bbc4ecdcbc205950f54)
2002-02-05See if we can get slightly valid C for the non-PAM case here.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 59afc3d6daad2770219dba1ca113869967eefc23)
2002-02-05Drastic impromvents to pam_winbind.Andrew Bartlett8-301/+664
This adds code to do generic PAM -> NTSTATUS and NTSTATUS -> PAM error conversions, and uses them to make the error handling in pam_winbind sane. In particular, pam_winbind now uses PAM error codes, not silly '-1, -2 ...' stuff, and logs the NTSTATUS error that winbind now sends over the pipe. Added code to wbinfo to display these - makes a big difference in debugging winbindd. The main change here is the code to allow pam_winbind password changing to correctly stack - This code ripped from pam_unix, and the copyright attached. (Same as for all pam modules, including pam_winbind) Andrew Bartlett (This used to be commit dc1a72f896b83bc1ad3c7bf6c12c36ace3967280)
2002-02-05got rid of a silly '*' in printoutAndrew Tridgell1-1/+0
(This used to be commit 22be40b6b8c034c143ce5d804628bc12cb1cc3dd)
2002-02-05- only show 1 cleanup msg per clientAndrew Tridgell2-7/+17
- show client count in progress (This used to be commit 10ee1d22e606847d40fb013c694ed5733ef6b87b)
2002-02-05fixed the directory removal for when the dir doesn't exitAndrew Tridgell1-1/+1
(This used to be commit 2c67b266cc4848dff6066fcbc875ab5f91113179)
2002-02-05Fix stupid typo !Jeremy Allison1-1/+1
Jeremy. (This used to be commit d1e911afd08971c6cf5429bda929663a5dd8f63d)
2002-02-05rewrote smbtorture to use the new dbench 2 format and methodsAndrew Tridgell2-187/+228
(This used to be commit 36f816a5e12a80f0184f43cbd44ef5fac53fcb81)
2002-02-05check for empty parameters in qpathinfoAndrew Tridgell1-0/+4
(This used to be commit c78b16c1f850562b65acb6143e55b1aefc075753)
2002-02-05support double functionsAndrew Tridgell1-1/+1
(This used to be commit e72c6fb36ebd3ea8fc6b6d8e1b1a9ff1ccb3ade9)
2002-02-05fixed a bug in qpathinfo client codeAndrew Tridgell1-4/+6
(This used to be commit 22f348a1f9501cc00d46d6c6064f71198558c0ee)
2002-02-04better debug messages!Simo Sorce2-8/+9
(This used to be commit e3bb6867454307ae592115e205d32ddd53988678)
2002-02-03Make smbgroupedit a little easier on the user.Andrew Bartlett1-15/+59
We now have error messages for most of the failure cases, and the 'sid' arguments for delete and change can now take the nt group name as a string. Also fix up all the internal functions to be static, keeping the namespace clean. Andrew Bartlett (This used to be commit f1687587010a2390b65bd5efa37cc199b67587f8)
2002-02-02Change ADS_ERROR family of macros - removed semicolon from the end, since ↵Jim McDonough1-4/+4
they were only being used correctly in one location, and all other assumed the semicolon wasn't there. Amazing that none of them mattered syntactically, until today. (This used to be commit 6515c3e8ef546975657e45fce7f147fe4a08e9ca)
2002-02-02Update for function name changes, plus do some of the optional attributes on ↵Jim McDonough1-6/+17
printer modify, now that the ldap control is working. (This used to be commit 76afc886a89e8c0d5a169435dde42b00db522060)
2002-02-02merge in some changes from Alexey Kotovich. Return ADS_STATUS instead of ↵Jim McDonough1-33/+88
BOOLs. Add support for bervals in mod lists. Also put undocumented AD ldap control in to allow modifications when an attribute does not yet exist. (This used to be commit 1a2d27b21e61be5a314f7d6c4ea0dff06a5307be)
2002-02-02Add support for net ads printer to publish, remove, or display printer info ↵Jim McDonough1-0/+167
in the directory. Only publishes required fields right now. (This used to be commit 1d326f8b7e68bcad6c35488f77b05c598ebaad5d)
2002-02-02Minor bug fixes, plus support to remove a printer. Commented out optional ↵Jim McDonough2-16/+91
attributes until a method for checking for their existence is done. (This used to be commit 538c19a6983e0423b94f743184263cd8ef9c701e)
2002-02-01update from 2.2Simo Sorce1-2/+3
(This used to be commit 8bb2a7446ed69020086aaedf2889795dd38ef9d4)
2002-02-01Add ads printer informationJim McDonough1-0/+55
(This used to be commit a844d9af21d8047629129c5e842db7acbc059932)
2002-02-01Fix build errors on non-ldap systems...change function parms from LDAPMod ** ↵Jim McDonough2-25/+28
to void ** (This used to be commit 9467792843fdd9bc55e92bfaa2f2205279074297)
2002-02-01Fix file header description and copyright (from cut-and-paste laziness)Jim McDonough1-3/+1
(This used to be commit 146c731c35beecd3ae8e093e52d94af0e2efcd69)
2002-02-01Add ldap_printer.c build for ADS printer objects.Jim McDonough1-1/+2
(This used to be commit 085f5ab03e0e4994315b9a0eeb5cb2a625b784f8)
2002-02-01Module for ADS operations on a printer object in the directory. Initially ↵Jim McDonough1-0/+133
it creates and modifies a printQueue object in the directory (This used to be commit b14e638aeb80bad80cfd12ed60f5e77f24addfd5)
2002-02-01Add functions for modifying an entry in ADS. Needed for printer publishing.Jim McDonough1-1/+118
(This used to be commit 3d8d8cef64c674f9f1240759a05766db95bfde4e)
2002-01-31Fix from Michael Steffens <michael_steffens@hp.com> to make signalJeremy Allison13-36/+71
processing work correctly in winbindd. This is a really good patch that gives full select semantics to the Samba modified select. Jeremy. (This used to be commit 3af16ade173cac24c1ac5eff4a36b439f16ac036)
2002-01-31reduced memory usage in winbindd with a rpc backend by using aAndrew Tridgell1-6/+11
separate talloc context for each partial fetch (This used to be commit 9c8a2fe4df21c29c90dc8493dade2b12314234c3)
2002-01-31Removed unused variables.Tim Potter1-2/+0
(This used to be commit 703d06fee03b6b6a37b9f64cdc313a0d59c41597)
2002-01-31added 'wbinfo --sequence' to show sequence numbers of all domainsAndrew Tridgell5-0/+67
(This used to be commit bcd234a3dad2cd3d1c57780f4a7a3833ea611764)
2002-01-31Added administrator access check for server side add, delete and setformTim Potter1-10/+34
rpcs. The only one I have been able to verify is addform - can't get the client side routines working properly yet. )-: (This used to be commit 3cd97d65dea428382104ebde63eaf660aa3942fb)
2002-01-31Added make functions for SPOOL_Q_{ADD,SET,DELETE}FORM.Tim Potter1-1/+42
I'm pretty sure that the useless_ptr in spoolss_io_q_setform() needs to be initialised to 1 otherwise the form isn't marshalled at all. JF, can you verify this? If so then this probably applies to the io functions for setform and deleteform. (This used to be commit 1803778451a344c6c8d116eac5eaac777e5cf4fe)
2002-01-31Initialise some SAM_ACCOUNT structs to NULL, and add some more error checking.Andrew Bartlett1-6/+14
Andrew Bartlett (This used to be commit f3f375dc6b7175d4dd4ce401815e5dfdd9747083)
2002-01-31Added addform, setform and deleteform cli functions.Tim Potter1-0/+164
(This used to be commit a7e67dc00ae1a9a80875f2708def6565af0c6f0e)
2002-01-31Added addform, setform and deleteform commands. The only one I could getTim Potter1-4/+169
to actually work was addform. )-: Removed a whole bunch of calls to werror_to_ntstatus() because there isn't a one-to-one mapping of NTSTATUS values to WERROR values. This function maps WERR_ACCESS_DENIED to NTSTATUS_INVALID_LOCK_SEQUENCE or something silly like that. (This used to be commit 825b5c8bd6d0f114faf3b0fd91eb374cbfb8c8b7)
2002-01-31Added some constants for the flags field in the FORM_1 structure.Tim Potter1-1/+5
The level2 field in SPOOL_Q_ADDFORM is probably part of the FORM structure as a discriminated union. (This used to be commit 2c906ff77d81bc7097129d3f34be48857ce3a48b)
2002-01-31Added constant for WERR_FILE_EXISTS.Tim Potter1-0/+1
(This used to be commit e4c13c51fa559d24da73f57b348cfe7d711b3c7d)
2002-01-31this fixes the problem of not being able to add a SD to a file on aAndrew Tridgell2-4/+1
non-domain Samba server from a NT4 client. Note that this exactly reverses a change by Jeremy on the 18th of December 2001, reverting the code back to what JF originally wrote. I have looked carefully with a sniffer and JFs original NULL sid is correct (ie. it matches what NT4 does) and also fixes the problem. Sending a blank sid (which is what jeremy's patch did) causes NT4 to give a classic "parameter is incorrect error" and prevents the addition of new ACLs. (This used to be commit 9930cf97330dd93985c5558cec6b24406e90c228)
2002-01-30preparing for release of 3.0-alpha14Samba Release Account1-1/+1
(This used to be commit 6f977036ad1053cc4c06f801b989afdd8cfca10d)