summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2001-03-26smbd/posix_acls.c: Saving and restoring errno here is the wrong place. Moved itJeremy Allison3-15/+15
to the places where [f]chmod_acl is called instead. Jeremy. (This used to be commit 641ada44ae6429761c1fd0dbcafabc69f897fac7)
2001-03-26Ensure get/set NT ACL code is redirected through vfs.Jeremy Allison1-2/+2
Jeremy. (This used to be commit d43d907c38008bb02042cb4bc2d899f62bdc115b)
2001-03-26smbd/posix_acls.c: Sync up with 2.2 changes - don't return deny ACE's.Jeremy Allison2-67/+19
smbd/vfs.c: Don't call [f]chmod_acl if no acl support. Jeremy. (This used to be commit 83f52394e688b4be3ac4cef67d8980a5b8ed3192)
2001-03-23More unused variables.Jeremy Allison1-14/+0
Jeremy. (This used to be commit 38b19fad2851a65268b31c7e0240ed36a8407be4)
2001-03-23Made the fixes Andrew suggested to asci string code to use srvstr_push.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 1391aa6a6fbe8391a4421f5770da40556f011bb8)
2001-03-23Two OS/2 printer fixes from Jim McDonough @ IBM.Jeremy Allison2-17/+121
First one adds a new info level into the lanman printing and an ioctl to the trans2 code. Andrew - this uses ASCII only. It looks ok to me but please check ! Second one adds a parameter "os2 driver map" that allows OS/2 driver names to be mapped. Jeremy. (This used to be commit da79b519e0b6b4317d7fb5260d74e0e74a7e0b46)
2001-03-23groupdb/mapping.c:Jeremy Allison1-1/+7
include/proto.h: Fix missing (void) in proto. rpc_server/srv_samr_nt.c: Fix user private group problem by filtering out groups that clash with users. smbd/posix_acls.c: Ensure default ACE's are sensible. utils/pdbedit.c: Fix from Simo Sorce. Jeremy. (This used to be commit 29414fe0d6665642d9b5f88a35e712426376c47f)
2001-03-23Sync up with 2.2 ACL code.Jeremy Allison1-48/+84
Jeremy. (This used to be commit 5b9a88c2d0da3479f91131f66ff741e88f9760ee)
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)