summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* passdb/smbpass.c: do substitution of account's info.Jean-François Micouleau2001-02-234-235/+102
| | | | | | | | | | | | | | rpc_parse/parse_samr.c: remove tons of prs_align(). Correctly parse the user_info_21 and 23 struct. Funny, even after 4 years, it's still incorrect ! rpc_server/srv_samr_nt.c: clean up, and remove one wrong JRA comment :-) after that most of the samr code works. The file's security tab works, usrmgr is back working. At least it doesn't dr watson anymore. J.F.
* sec_desc_buf->undoc is the ptr to the sec_desc inside.Jean-François Micouleau2001-02-231-1/+3
| | | | | | took me 12 hours to understand what was wrong ! J.F.
* include/rpc_spoolss.h: Added JOB_STATUS_XXX defines.Jeremy Allison2001-02-235-69/+112
| | | | | | | | | | | | | include/smb.h: Added LPQ_xx enums to correspond with the NT JOB_STATUS_XXX. We need these to be different as we're storing LPQ_xx enums in the tdb already. rpc_server/srv_spoolss_nt.c: Don't need to return status strings as we're now returning status codes. smbd/lanman.c: Change the RAP status codes to have "RAP" in the name. printing/printing.c: Keep track of the status of a job. Allow a job to be deleted from one smbd when being submitted by another. Made logic in mutex clearer. Jeremy.
* Always increment even if the read fails (otherwise we spin if we hit the ↵Jeremy Allison2001-02-231-1/+4
| | | | kernel bug...). Jeremy
* querydispinfo at level 3 is enumerating domain groups.Jean-François Micouleau2001-02-222-52/+76
| | | | | | so made a faked function to do it. J.F.
* lib/select.c: Fix for Linux 2.0.x kernel that causes select to return true ↵Jeremy Allison2001-02-222-17/+130
| | | | | | | | | | | on a pipe and then a blocking read to fail. Make the pipe read/write non blocking. printing/printing.c: Added a mutex around the code that enumerates all the jobs in a print queue. Allows only one smbd to be doing this at any one time. This fixes a capacity problem discovered at HP with <10,000 jobs in a print queue. Jeremy.
* off by one lenght name in samr_querydispinfo and show also the gecosJean-François Micouleau2001-02-222-7/+10
| | | | | | field. J.F.
* fixed a bunch of stuff. USRMGR.exe works back.Jean-François Micouleau2001-02-222-23/+102
| | | | | | | | still a long way to go. added a new get_sampwd_entries() for query_dispinfo that at least work. J.F.
* remove FORMSFILE and NTDRIVERSDIR define.Jean-François Micouleau2001-02-221-1/+1
| | | | | | have been useless for at least 8 months ! J.F.
* Fixed file descriptor leak in error conditions on print close.Jeremy Allison2001-02-223-3/+27
| | | | | | NT sends "delete on close" to cancel a print job copied from the command line. Cope with this. Jeremy.
* damn, what a chainsaw ! You can get severly injured :-)Jean-François Micouleau2001-02-211-11/+16
| | | | | | there is an off by one bug in get_passwd_entries() J.F.
* polishing jeremy's chainsaw work ...Jean-François Micouleau2001-02-211-9/+9
| | | | J.F.
* printing/printing.c: Sync up with JohnR's changes for jobid in appliance-head.Jeremy Allison2001-02-212-13/+10
| | | | | utils/smbpasswd.c: Remove string free that may core dump - from HEAD. Jeremy.
* Sync up with Tim's changes for appliance-head.Jeremy Allison2001-02-211-5/+5
| | | | Jeremy.
* Merge of printing fixes from JohnR and Timp in appliance-head.Jeremy Allison2001-02-211-45/+32
| | | | Jeremy.
* Removal of unused code - always a good thing :-).Jeremy Allison2001-02-213-7898/+0
| | | | Jeremy.
* But Doctor, I had to kill the patient in order to save him....Jeremy Allison2001-02-2174-4933/+5615
| | | | | | | | | | | | | | | | | | | This will probably break 2.2 for a while. Do *NOT* checkout unless you like core dumps. This is the first merge of the TNG SAMR code into 2.2. It will eventually give us a wonderful PDC, but maybe painful in the short term. It had to be done however, and this touches almost every file (mostly just removing the OLD_NT_DOMAIN) stuff. I removed some SAMR functionality from rpcclient that would no longer compile. Also changed fstring to 256 bytes to better match an NT pathname. Jeremy.
* This very nearly compiles.....Jeremy Allison2001-02-201-77/+139
| | | | Jeremy.
* Updated as the merge goes along...Jeremy Allison2001-02-202-104/+195
| | | | Jeremy.
* This will be the new samr backend implementation code. Please take a lookJeremy Allison2001-02-201-76/+332
| | | | | (it's still under construction). Jeremy.
* This file will replace parse_samr.c when the converion is finished.Jeremy Allison2001-02-201-186/+150
| | | | Jeremy.
* Put back the OLD_NTDOMAIN stuff for the time being until I've finishedJeremy Allison2001-02-192-0/+6
| | | | | the conversion... Jeremy.
* Finished formatting changes.Jeremy Allison2001-02-191-135/+135
| | | | Jeremy.
* Now to make everything compile...Jeremy Allison2001-02-191-997/+818
| | | | Jeremy
* 84% and rising...Jeremy Allison2001-02-191-120/+143
| | | | Jeremy.
* 78% converted.... sigh.Jeremy Allison2001-02-191-701/+456
| | | | Jeremy.
* 44% done....Jeremy Allison2001-02-181-252/+144
| | | | Jeremy.
* Screwed up CVS - re-adding parse_samr_new.cJeremy Allison2001-02-181-0/+7106
| | | | Jeremy.
* Updated with most of the current calls translated. Now I need to do theJeremy Allison2001-02-181-4/+418
| | | | | merge over to the tng samr stuff. Jeremy.
* Ensure that the talloc context stays around until *after* the last bitJeremy Allison2001-02-182-17/+23
| | | | | | of the RPC data is returned. This is needed as we're moving to all the prs_XXX calls doing tallocs not mallocs to ease cleanup. Jeremy.
* Save, save, save as you go...Jeremy Allison2001-02-171-0/+452
| | | | Jeremy.
* Removed as not used in the build and is confusing.Jeremy Allison2001-02-171-708/+0
| | | | Jeremy.
* Migrating code into implementation module....Jeremy Allison2001-02-171-7/+394
| | | | Jeremy.
* Getting ready to split samr into interface and implementation, as hasJeremy Allison2001-02-171-0/+612
| | | | | been done with spoolss. Changes will be made to lsa and spoolss also....... Jeremy.
* Merge of Tim's appliance fix.Jeremy Allison2001-02-161-1/+5
| | | | Jeremy.
* Allow names to be looked up in the domain when acting as a PDC for W2K clients.Jeremy Allison2001-02-164-7/+15
| | | | Jeremy.
* Expunge snprintf, *always* use slprintf. Ensure snprintf cannot be used inJeremy Allison2001-02-167-43/+71
| | | | | Samba (in the same way we disallow sprintf). Jeremy.
* Fixed the bug with W2K profiles being written with zero directory permissions.Jeremy Allison2001-02-163-5/+21
| | | | Jeremy.
* nmbd/nmbd.c:Jeremy Allison2001-02-154-8/+26
| | | | | | | smbd/server.c: Stop duplicate log files. printing/printing.c: Debug logs from DaveCB for common error case. lib/interface.c: Bind interfaces fix from Herb. Jeremy.
* Patch to add UnixWare ACLs from Michael Davidson <md@sco.COM>. With someJeremy Allison2001-02-152-0/+598
| | | | | | | small modifications, this code may also work on Solaris, as they are derived from the same SVR4 codebase. When the Samba Solaris box is up and running again I will test this. Jeremy.
* Merge of i18n fixes from appliance-head. We need to revisit the internalJeremy Allison2001-02-155-7/+27
| | | | | character set issue urgently for 3.0. Jeremy.
* Fix from "Jim McDonough" <jmcd@us.ibm.com> for s390 Linux.Jeremy Allison2001-02-151-1/+5
| | | | Jeremy.
* Fix from Toomas Soome <tsoome@ut.ee> that will eventually allow per-userJeremy Allison2001-02-141-7/+12
| | | | | logon homes etc. Jeremy.
* lib/charcnv.c: Fixes from Toomas Soome <tsoome@ut.ee> for Eastern European ↵Jeremy Allison2001-02-143-10/+72
| | | | | | | | languages. lib/util.c: Fixes from Toomas Soome <tsoome@ut.ee> for NIS+. rpc_server/srv_samr.c: Fixes from Toomas Soome <tsoome@ut.ee> to eliminate duplicate groups. Jeremy.
* Merges from appliance-head for I18N fixes from Tim.Jeremy Allison2001-02-148-26/+43
| | | | Jeremy.
* Added fix to allow w2k clients to join a Samba domain of odd or even lengthJeremy Allison2001-02-131-4/+13
| | | | | name. Needs more testing. Jeremy.
* merge from HEADGerald Carter2001-02-131-2/+2
|
* Fixup missing return tests on code imported from tng.Jeremy Allison2001-02-131-93/+105
| | | | Jeremy.
* Fix for DACL/SACL masking typo - spotted by medha@pezman.austin.ibm.com.Jeremy Allison2001-02-121-2/+2
| | | | Jeremy.
* lib/debug.c: Compiler fixes.Jeremy Allison2001-02-125-17/+29
| | | | | | | | libsmb/nmblib.c: dos2unix fix. printing/nt_printing.c: Exit code fixes. printing/printing.c: debug fixes. tdb/tdbtool.c: Updates from JohnR. Jeremy.