summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2001-03-23first pass of the new group mapping codeJean-François Micouleau1-0/+5
J.F. (This used to be commit 7154deb026d53cb0cd503562174c3332a372be63)
2001-03-22New POSIX ACL mapping code. Works with UNIX permissions, now for testingJeremy Allison1-338/+684
with real ACLs... Jeremy. (This used to be commit 852b9e15ac245a593460cfff3f629d0333372e41)
2001-03-20Fix for crash when doing name lookup with a quoted string. Part ofJeremy Allison1-2/+1
lookup_name was expecting to be able to write to the string. Changed lookup_name to use const. Jeremy. (This used to be commit 80c18d88491f1148ade623e81c33f84ba4f952f3)
2001-03-19Added sys_dlopen/sys_dlsym/sys_dlclose.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 49f0e7e7143f82bce9dfd8b06e9e515bc0869ab7)
2001-03-18fixed some compilation errors with IRIX ccAndrew Tridgell1-2/+2
(This used to be commit e430ded56e9c15a462a171e6350f1eddefa8dd11)
2001-03-17ADMIN$ is an IPC share, not a disk shareAndrew Tridgell1-1/+1
(This used to be commit 0ea62800edd618091fde81e8de4347f612f98a18)
2001-03-17lib/system.c (Finally) fixed all insure errors in password caching code. We ↵Jeremy Allison1-3/+20
can't stop libc routines from calling getpwXXX functions, so caching a pointer to them is impossible. This new code now makes two copies of the returned struct passwd struct - one used as a cache, one returned to allow the caller to modify. When doing a lookup we compare against the cached copy. Code is now easier to understand also. smbd/posix_acls.c: If we move the head of the linked list, remember to pass a reference to that pointer..... Jeremy. (This used to be commit af364b93d92f70aa52195c46d3cc516830752609)
2001-03-17I'm happy with the mapping for NT getACL, now for NT setACL.Jeremy Allison1-67/+175
Jeremy. (This used to be commit 7b97ac289ed472e03b2a6e9c51a568478a93562d)
2001-03-16don't need to force unicode strings in flg2 anymoreAndrew Tridgell1-4/+3
(This used to be commit 899ca6e832c72ea68b0ac76205d18a80c87b34d9)
2001-03-16finished the conversion to unicode of the last of the trans2 fnsAndrew Tridgell1-18/+6
(This used to be commit 1d145a37860f7256a081c893e3640f5e18943518)
2001-03-16converted the nttrans code to unicode on the wireAndrew Tridgell1-117/+13
(This used to be commit ecc2c35ca011a635729063cbc58e7fe687cf148a)
2001-03-16converted reply_printqueueAndrew Tridgell1-3/+3
(This used to be commit 70d6b09ac9fbd612960fa02fad5adbf6d87c24ce)
2001-03-16converted reply_searchAndrew Tridgell1-7/+9
(This used to be commit 0331f93a8117d4c295cda327c3a290296ff621d0)
2001-03-16enable unicode on the wire by default in smbdAndrew Tridgell1-2/+2
the unicode support isn't complete, but it is good enough to be usable for a test server. (This used to be commit e787fc1daf4a46c182e87bf0697eec80ff0ce87a)
2001-03-15Tidyup return of zero-permissions (map to ACE_DENIED, GENERIC_ALL, Everyone).Jeremy Allison1-12/+32
Jeremy. (This used to be commit 0d6c7dedd261c15697a7781678fe6bed877b61f6)
2001-03-15Last tweak (I promise :-). Fallback to returning our SID if we're a domainJeremy Allison1-3/+12
member but can't get the domain sid. Jeremy. (This used to be commit 45e96777d0eeafbbf40759f02cd3f5e15b12c288)
2001-03-14don't need srvstr_push_size or srvstr_pull_sizeAndrew Tridgell1-40/+0
(This used to be commit d5b39a1d435f7fe79eb556f7e6b55276ac68a73d)
2001-03-14converted the smb messaging code to unicodeAndrew Tridgell1-17/+15
(This used to be commit 54bde1b3aec829ba55b8a6c946424fdaf38803a9)
2001-03-14converted a bunch more trans2 calls for unicode. This got quite tricky :(Andrew Tridgell1-179/+145
(This used to be commit ddee55087756db2a2ac0ee92471d9fea53f38bee)
2001-03-13fixed srvstr_push() callAndrew Tridgell1-1/+1
(This used to be commit dca433d035dfb6e94ee659477c71edaa4549644d)
2001-03-13converted a bunch more fns to unicodeAndrew Tridgell1-14/+12
(This used to be commit fbb3bf12df5c79cac9445be21f1997234479b472)
2001-03-13Fix from Jim McDonough of IBM for using Win9x user manager.Jeremy Allison1-2/+9
Jeremy. (This used to be commit f1839d469e1fc6054b407bd8c4d7c505d4212b45)
2001-03-13simpler and more correct srvstr_push()Andrew Tridgell3-25/+25
it now uses outbuf not inbuf for the unicode flag, which allows for some server fns to be ascii and means one less parameter in push calls (This used to be commit a6dd6662267eeddf368ff0ffba76b45761bf4eeb)
2001-03-13converted reply_tcon()Andrew Tridgell1-40/+22
(This used to be commit 1e92d340ceb5be8e7d50cc7c889b2053ed67bad3)
2001-03-13converted a bunch more server functions to unicodeAndrew Tridgell1-10/+20
(This used to be commit a074600a09387c2034ffb6651abad69bdc14145e)
2001-03-13added STR_ASCII flag to srvstr_pull()Andrew Tridgell1-2/+2
(This used to be commit e54d37903013df1c799ab3aaa10f10df24e3de61)
2001-03-13- convert chkpathAndrew Tridgell1-4/+5
- devicename in tconx is always ascii (This used to be commit 242a6a96d10beeb54e93226ae50bd361486e1c0d)
2001-03-13converted findnext to unicodeAndrew Tridgell1-1/+1
(This used to be commit 84fc5a7795fe6e3b993649ecc05f6685f8295c02)
2001-03-13this patch does a number of things:Andrew Tridgell5-93/+127
- removes SMB_ALIGNMENT. That macro caused all sorts of problems with getting unicode aligned right in sub-protocols (such as SMBtrans and SMBtrans2). I believe the performance reasons for having SMB_ALIGNMENT has gone away with the new variants of the SMB protocol anyway, as newer commands tend to have their own internal alignment. - fix the locations where we set smb_flg2 to absolute values. We must never do this if we want a hope of coping with unicode. - add initial support for unicode on the wire in smbd. Currently enabled using SMBD_USE_UNICODE environment variable. (This used to be commit b98b1435e9d8f8622444c9ff33082977e661f16b)
2001-03-13Added ADMIN$ share as alias for IPC$ except no guest connect. AS/U wantsJeremy Allison1-3/+3
to do RPC calls down this treeid. Jeremy. (This used to be commit 83133bab0ed59e303a183fd91812165f08e88484)
2001-03-11Moved cruft out of smb.h into ntdomain.h where it belongs. dc structJeremy Allison1-2/+0
now in pipe struct (where used) rather than user_struct. Secured machine account password changing in srv_netlog_nt.c - ensure that only the given machine can change its own password. May need to free this up later for NT admin tools, but this is a fail-safe secure position for now. Jeremy. (This used to be commit 46b12f2275dcd4b3114085160cd456441f9e921e)
2001-03-11Remove "BYTE" - we already have uint8 - don't need more conflicts withJeremy Allison2-4/+4
system header files... Jeremy. (This used to be commit 31e0ce310ec38b3a3a05b344d6450d442c6be471)
2001-03-11Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison34-125/+1
RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy. (This used to be commit 0be41d5158ea4e645e93e8cd30617c038416e549)
2001-03-10converted reply_open, reply_open_and_x and reply_fcloseAndrew Tridgell1-8/+11
(This used to be commit 2c8da0ae22309f153bde4e29095b60996fa8fcc5)
2001-03-10started support for unicode on the wire in smbd. Using a very similarAndrew Tridgell3-36/+225
method to what was used in the client I now have session setup and tconx working. Currently this is enabled with SMBD_USE_UNICODE environment variable. Once the code is complete this will become a smb.conf option. (This used to be commit 7684c1e67294266d018c6f0cab58f1a9d797174f)
2001-03-09Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.Jeremy Allison1-2/+2
We were reading the endainness in the RPC header and then never propagating it to the internal parse_structs used to parse the data. Also removed the "align" argument to prs_init as it was *always* set to 4, and if needed can be set differently on a case by case basis. Now ready for AS/U testing when Herb gets it set up :-). Jeremy. (This used to be commit 0cd37c831d79a12a10e479bf4fa89ffe64c1292a)
2001-03-09merge of 'lanman auth' and 'min protocol' from 2.2Gerald Carter2-12/+24
(This used to be commit 1d84da779a0fe3219d77686a493d2b2fa1f8072a)
2001-02-28Move to talloc control of SPOOL_XXX structs. Move to talloc control ofJeremy Allison2-16/+6
security descriptors and pointers. Syncup with 2.2 tree. Jeremy. (This used to be commit 14d5997dc841e78a619e865288486d50c245896d)
2001-02-27Fixes from Toomas Soome <tsoome@ut.ee> code unicode problems, plusJeremy Allison1-9/+17
a solaris quota update fix. Jeremy. (This used to be commit 9efd7a778b7b172d76af922c3dda8ec31d74bd7d)
2001-02-27Added total memory allocated counter to talloc, so we can tell if a tallocJeremy Allison1-1/+1
pool is getting bloated. Also added a talloc_zero function to return zeroed memory. Added debug in rpc_server/srv_pipe_hnd.c so we know when a talloc pool is being freed. Syncup with srv_pipe_hnd.c from 2.2 so we are freeing memory at the same time. Jeremy. (This used to be commit d3a56c6042acf037bbd53de88d7636a5803ead20)
2001-02-23removed wrong patch to get_dir_entry(). This was left over from theGerald Carter1-5/+0
wildcard stuff.... (This used to be commit f77fa6a0e510fe5ad54d20eaabd345e6ee0526dc)
2001-02-23include/rpc_spoolss.h: Added JOB_STATUS_XXX defines.Jeremy Allison1-13/+13
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-22Fixed file descriptor leak in error processing of print jobs.Jeremy Allison1-3/+17
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-16Excise snprintf -> slprintf.Jeremy Allison1-3/+12
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 Allison3-6/+18
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-15samba/source/nmbd/nmbd.c change remote_machine name to nmbd insteadHerb Lewis1-1/+1
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-14Merge of i18n fixes from appliance branch. Samba can now talk to a networkTim Potter1-2/+5
with a PDC that has international netbios name and domain name. There's still quite a bit of i18n stuff to fix though... (This used to be commit 79045bd72ace9144e7dd73785b1d10a71b0d15aa)
2001-02-12Fix for DACL/SACL masking typo - spotted by medha@pezman.austin.ibm.com.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 8fc6bc170fd3dd1fd9437d4acc94bd251c35d544)
2001-02-12Merge of JohnR's changes to appliance-head, JF's changes to 2.2,Jeremy Allison5-8/+61
updated the POSIX_ACL code to be in sync. Jeremy. (This used to be commit c0517d6f4e3079feca1309fd1ea7b21e83f0de02)
2001-02-11Ensure people know this is unused.Jeremy Allison1-567/+0
Jeremy. (This used to be commit 4f87f0f4027a0b78e091b5daaf6fb907b5811044)