summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2001-02-23make sure denied aces are firstAndrew Tridgell1-1/+1
(This used to be commit b0b49a4b28891f3e2ec8e8e221af713250cc8e17)
2001-02-23cast the qsortAndrew Tridgell1-1/+1
(This used to be commit 703d9f5cb32ca4131051c50646fd833fb1ae7d76)
2001-02-23- fixed the sort_acl bug, sorting now works rightAndrew Tridgell2-54/+52
- don't allow setting of duplicate ACEs - fixed a ACE delete bug (This used to be commit 61293979ce2aded58a5ef2a54b3b05d1d278f7cf)
2001-02-23include/rpc_spoolss.h: Added JOB_STATUS_XXX defines.Jeremy Allison5-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. (This used to be commit 71029da7dd74eb91dd6953752bdf238f319d985d)
2001-02-23Always increment even if the read fails (otherwise we spin if we hit the ↵Jeremy Allison1-1/+4
kernel bug...). Jeremy (This used to be commit d388dfa53b3a7a2dcce6d5591531d6ade0cbab62)
2001-02-22lib/select.c: Fix for Linux 2.0.x kernel that causes select to return true ↵Jeremy Allison2-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. (This used to be commit 0d3ae603a2b86d476458ee2a7d4f7d22636c3f66)
2001-02-22don't crash on null acl sortAndrew Tridgell1-0/+2
(This used to be commit 59341377413fcbf30c090a3763608d23ac2bff95)
2001-02-22fixed character set init in smbw_sampleAndrew Tridgell1-0/+2
(This used to be commit c43593ad069670fb47b8e98248254c739bb7ab18)
2001-02-22- workaround filer lsa lookup bug for unknown sidsAndrew Tridgell1-11/+10
- add \ at start of name if not needed (another filer workaround) (This used to be commit 48ab6297a1b462e03f70a4d90d50b21982d0d90d)
2001-02-22cope with filer/NT/samba all in one binary. yeah.Andrew Tridgell1-7/+35
we now don't open rw for acls (This used to be commit c0f57c3fe636c5a5885c6b2ed4723252597533eb)
2001-02-22make sure we don't free non-allocated dataAndrew Tridgell1-7/+10
(This used to be commit 4a620f7037378dc042b6388ede6356c6db5d58fb)
2001-02-22cope better with broken filer expectationsAndrew Tridgell1-2/+2
(This used to be commit 847de3b4adfb00a98032e478b2663d09e240380e)
2001-02-22Fixed file descriptor leak in error processing of print jobs.Jeremy Allison3-55/+64
NT sends "delete on close" to cancel a print job copied from the command line. Deal with this. Merged JohnR's fixes for print job errors. Jeremy. (This used to be commit 2060d74e48d62c99a1689ee02ac435b71918ddf0)
2001-02-21but it is needed for linking ...Andrew Tridgell2-1/+1276
(This used to be commit e7108a18b2ba5754d402d72492cbcfded2713472)
2001-02-21rpc_parse_samr.c doesn't exist in head ...Andrew Tridgell1-1/+1
(This used to be commit ea81a3ec88501194b7853a7c71a622b3fc0cf6f1)
2001-02-21make ascii_to_unistr always use little-endian. This fn is never usedAndrew Tridgell1-2/+5
except in my code so I know this is safe. otherwise unicode client lib doesn't work on big-endian hosts (This used to be commit 18ede716d10de1ac774cca82b4b8ff5ea1a9650d)
2001-02-21converted the last couple of functions in libsmb to be unicodeAndrew Tridgell3-18/+22
the whole of libsmb should now do unicode where appropriate (This used to be commit ac7529d2b69826f8214d5632c31778cc87216653)
2001-02-21fixed a crash bug in smbpasswdAndrew Tridgell1-1/+0
(the user can come from optarg, so we can't free it) (This used to be commit 56ffb58effe80f7c62a9de6ba4f634d995fbc4e6)
2001-02-21the unicode conversion of our client code is complete enough to beAndrew Tridgell8-98/+26
enabled by default you can disable it by setting the environment variable CLI_FORCE_ASCII (This used to be commit 4d59c08c5e6f54c0d6ced7650750cb987e77b6c9)
2001-02-21reverted richards cli_NetServerEnum changes - they broke lots of thingsAndrew Tridgell1-56/+12
(This used to be commit 86adbb0caf26a8c2fc4d3748b965c0ce79360c1a)
2001-02-21added support for a CLISTR_ASCII flag so we can use a uniformAndrew Tridgell2-4/+6
interface for ascii-only fields (This used to be commit cdf0316610803e6743936b29f232b32f9ec81422)
2001-02-20don't need _uni hack nowAndrew Tridgell1-30/+6
(This used to be commit f191271986d085cc73b62c8d3de8ab7b326c19c0)
2001-02-20yipee! client unicode now works well with ntAndrew Tridgell3-8/+15
(This used to be commit 5b2ef8a1b914265c6072c968d2dad7d26c2aeffc)
2001-02-20converted a bunch more fnsAndrew Tridgell3-40/+56
(This used to be commit f6b8d6730452522f77852af0917cb48424d4c8a9)
2001-02-20converted nt_create and setatrAndrew Tridgell1-9/+10
(This used to be commit c40a1e4ebdb379482bf6e7d4efcc9b5321a4e7c6)
2001-02-20- neater setting of bccAndrew Tridgell7-31/+47
- converted cli_rename and cli_unlink (This used to be commit 0a8992e224b7a3d90d45b13d73fa8a6f155efa79)
2001-02-20converted cli_open()Andrew Tridgell1-7/+8
(This used to be commit db60c0c26242be0370e6459fe6f1634c97b61176)
2001-02-20converted cli_chkpath()Andrew Tridgell1-3/+4
(This used to be commit 95268f52556e5983004e594002b7e18a8656d1f0)
2001-02-20converted cli_list()Andrew Tridgell3-34/+57
(This used to be commit bdce09b77807c80281c1e169b7c4813c9238fbe3)
2001-02-20converted cli_mkdir()Andrew Tridgell1-3/+4
(This used to be commit bce3ed01a9c3c7c89cdc21b60f1122dc6b6db264)
2001-02-20up the debug level of the debug level change msgAndrew Tridgell1-2/+2
(This used to be commit 9b25342f4ac4a250b3a10a3bb048ca6baa2ca41e)
2001-02-20setup workgroup when foundAndrew Tridgell1-0/+1
(This used to be commit 33aefc76e8594196e09094f65e5aa0bbfe47f357)
2001-02-20optimise by defaultAndrew Tridgell1-1/+1
(This used to be commit a5005195440d4805054c488cdc450735883064e5)
2001-02-20playing with CAP_NT_SMBSAndrew Tridgell1-2/+2
(This used to be commit 3eff509a65d164d66eb70f51ef115acd7328266c)
2001-02-20pipe opening now works with unicodeAndrew Tridgell7-34/+50
(This used to be commit ba3ce3404e1cd2e9da3ba1708f6fc8a12c085ef2)
2001-02-20initial client side unicode support (needed for netapp filer)Andrew Tridgell7-592/+864
I've currently got this code disabled by default as it is incomplete. You enable it by setting a USE_UNICODE environment variable. Once the support is complete this check will be removed and the CAP_UNICODE capability bit will be the sole determination of whether the client library code uses unicode right now I have converted session_setup and tconx. I will do more fns over the next few days. see clistr.c for the new client side string interface. Luckily it tends to make the code smaller and neater while adding unicode support. (This used to be commit e1a04e621f1c28d8e6e543d43741ca0272e2237f)
2001-02-20Fix a small problem where tree.c was using the creation time to display, ↵Richard Sharpe1-2/+2
rather than modification time. Creation time is not returned by the SMB protocol. (This used to be commit d7f3793a2be56acb4a7bc293912d7dc19b96f511)
2001-02-19Opps, last one did not commit the correct changes ... Here they are.Richard Sharpe1-7/+31
This now uses a lookup on <DOMAIN><1D> and then does a name status query to the IP address returned to find the name of the server. Seems to work well against Samba, Win9X, WinNT and Win2K. (This used to be commit debb723194f903c7b3af61f93949df062985e218)
2001-02-19Improve the sample GTK+ client program to make it a bit more functional.Richard Sharpe1-139/+220
(This used to be commit 3e8366c58ccddae24cc117d37899eb7a06a84212)
2001-02-19Change code around and add retry to deal with the occassional loss of ↵Richard Sharpe2-691/+622
NetBIOS datagrams responses, either via TDB or direct receive ... (This used to be commit 54b0fbe98b1cbb1d9d62606c16921dbffc3a3c6d)
2001-02-18Fixes to libsmbclient so it will work when browsing real Windows systems whichRichard Sharpe3-19/+181
only respond to port 138 when dealing with NetBIOS datagrams. We use the unexpected packed database. (This used to be commit 620cc34015ab16d25f7ef7e13cbc3d0f669da11e)
2001-02-16Excise snprintf -> slprintf.Jeremy Allison11-81/+205
srv_samr.c: duplicate gid fix. srv_spoolss_nt.c: Merge of JF's work. uid.c: Fix for returning names when a PDC. Jeremy. (This used to be commit d938ad6963a2dd4eda930d508600ec1902dc2b16)
2001-02-16configure configure.in smbd/posix_acls.c smbd/dosmode.c: Fix for zero ↵Jeremy Allison6-10/+37
permission W2K profiles. libsmb/cliconnect.c rpc_client/cli_login.c smbd/reply.c: codepage fixes from Tim. Jeremy. (This used to be commit 3ded1e6bd5f79948e437ce5b1799705945f36ad2)
2001-02-15Patch to add UnixWare ACLs from Michael Davidson <md@sco.COM>. With someJeremy Allison2-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. (This used to be commit f8db87b0978be981448eafd57163703e3aeec2cb)
2001-02-15samba/source/nmbd/nmbd.c change remote_machine name to nmbd insteadHerb Lewis3-7/+9
of nmb so we write to same log file that was originally created as log.nmbd samba/source/smbd/server.c change remote_machine name to smbd instead of smb so we write to same log file that was originally created as log.smbd samba/source/lib/interface.c allow binding to all interface IP addresses even if on same subnet. This allows you to specify which IP's you want in interfaces line and use bind interfaces only (This used to be commit 01dfd59712f3730498784d7632da8fe0113d55b6)
2001-02-15DEBUG merge from 2.2 about tdb init failure.Herb Lewis1-2/+20
Patch from David Collier-Brown to print permission error on spool file creation. (This used to be commit 8907a51743b7b9b9ad4168033fae4d44012cca37)
2001-02-15Merge of i18n password fix for smbclient.Tim Potter1-1/+0
(This used to be commit ec217eb8fc2a9cf329a51c51ba08a04fa5b008c2)
2001-02-15Fix from "Jim McDonough" <jmcd@us.ibm.com> for s390 Linux.Jeremy Allison1-1/+5
Jeremy. (This used to be commit 493c31729f515bcc5cca99ac4fa5510604518a72)
2001-02-14Baltic codepage fixes from Toomas Soome <tsoome@ut.ee>Tim Potter1-0/+62
(This used to be commit 1f1fcea06d658375b234bbfedcabcedd01c66a88)
2001-02-14Update to Baltic codepage support.Tim Potter1-1/+1
(This used to be commit 7f1219df247553bbdb18ab9676a050aea767f40b)