summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2001-03-26Fix from Ryo Kawahara <rkawa@lbe.co.jp> to make SWAT correctly write and ↵Jeremy Allison2-2/+5
smb.conf file in utf8. Jeremy. (This used to be commit 42052d6079479452aa43eb37ad3d679d28337779)
2001-03-23a much simpler talloc() implementation. This version has the followingAndrew Tridgell1-2/+1
advantages: - memory is trackable by insure - a very simple talloc_realloc() is possible (I've added it) It is slower than the previous talloc code, but I don't think that is going to be a problem. If it is a problem then there are some ways we can make it faster but I'd like to leave those until we have tested this a bit and can see what performance problems might show up in profiling (This used to be commit 1ab63cf3a6f62c3e4ca19a549bde78dad0eb4340)
2001-03-23Fix insure-found parameter size missmatch.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 2f658691e47406f38bec2fc20951f82043fbf894)
2001-03-23Two OS/2 printer fixes from Jim McDonough @ IBM.Jeremy Allison1-0/+1
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-461/+461
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-23first pass of the new group mapping codeJean-François Micouleau3-460/+535
J.F. (This used to be commit 7154deb026d53cb0cd503562174c3332a372be63)
2001-03-21Fix memory leak when doing DLIST_REMOVE(head,head).Jeremy Allison1-1/+1
Jeremy. (This used to be commit 4fd8afaf573054eaa838398f62918757659c2c21)
2001-03-21added option "enhanced browsing"Andrew Tridgell1-0/+1
this allows users to disable the cross-subnet browse extensions that I added to Samba a couple of years ago. This may be useful for getting rid of empty workgroups. (This used to be commit 978980050e599d3830d0474bc9a8003bfe227719)
2001-03-20When calling DLIST_REMOVE(x,x) (from lib/interface.c) ensure that the pointerJeremy Allison1-1/+1
is still valid before setting prev and next to null. Jeremy. (This used to be commit 0d2e9e4d32b038c1a71e3a625db46876294e3abf)
2001-03-20Fix for crash when doing name lookup with a quoted string. Part ofJeremy Allison2-9/+15
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-19reverted the rename of new_spoolss_io_r_enumprinterdrivers()Gerald Carter1-1/+1
(This used to be commit fd6bfe03f4454272bdce59c78ae7148a72caaf18)
2001-03-19Added sys_dlopen/sys_dlsym/sys_dlclose.Jeremy Allison2-0/+16
Jeremy. (This used to be commit 49f0e7e7143f82bce9dfd8b06e9e515bc0869ab7)
2001-03-19added basic command completion supportAndrew Tridgell1-1/+2
(This used to be commit 386fdff2dfeaeef60b210ebc0b4d33a6c7b5d5ec)
2001-03-18much simpler readline codeAndrew Tridgell3-52/+1
should work with readline 2.x (This used to be commit 7940b6b0cf614ac72266d9e600220c9a9dbd2a43)
2001-03-18much better readline support from Simo Sorce, with some mods from meAndrew Tridgell4-20/+62
to make it a bit simpler (This used to be commit e1487eb2c4626dbe0cc3b17606eda702cedef28b)
2001-03-17I'm happy with the mapping for NT getACL, now for NT setACL.Jeremy Allison1-0/+15
Jeremy. (This used to be commit 7b97ac289ed472e03b2a6e9c51a568478a93562d)
2001-03-16enable unicode on the wire by default in smbdAndrew Tridgell1-0/+1
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-16Added files for CUP printing patch split.Jeremy Allison1-0/+69
Jeremy. (This used to be commit 9822f13ae23e244e5e9a4cf3355bea2eead8cf66)
2001-03-15make protoGerald Carter1-12/+34
(This used to be commit 8b2e21c33391ec3c7de72be881c545aff386f591)
2001-03-15make protoGerald Carter1-0/+6
(This used to be commit 86c56a69211f7bad92d9d9bfbd47875c3beec0e8)
2001-03-15added getdriverdir and cleaned up the PRINTER_DRIVER_CTR structGerald Carter1-5/+1
(This used to be commit 5d321673850e1e28e1bee4093705d7e319421687)
2001-03-15make protoGerald Carter1-1/+15
(This used to be commit 7a84bc93eda0946521c0f5274d0b739295a49305)
2001-03-15make protoGerald Carter1-1/+1
(This used to be commit 161842a3e0a25e8cf9805dee3b60d127740816c8)
2001-03-15AS/U on a sparc now joins and authenticates against a Samba PDC !Jeremy Allison2-19/+7
Jeremy. (This used to be commit 28a0bc5f5710aa732db662caa38f9da2138b5db2)
2001-03-14last make proto got messed up it seemsGerald Carter1-8/+3
(This used to be commit b28d51c8e8027231de843e8907f40772b4586eaa)
2001-03-14make protoGerald Carter1-424/+432
(This used to be commit 04d74c20bc689a8afd0a8af8457f18ed077aedee)
2001-03-14set of changes in the beginning of bringing rpcclient changesGerald Carter1-1/+1
back to working order. The main change is that the cli_*() RPC functions from libsmb/*.c now should accept a struct cli_state*. The reason for this is that rpcclient should establish the connection to the server at startup so that it is not necessary to keep the clear test or password hash in memory for each command. enumports and enumprinters now works as well. lsa* functions have been tested. SAMR calls may or may not work (one of the core dumps I know), but it compiles :-) jerry (This used to be commit d98ac8852ae6b39b6fcff92c346ba56d9e63c518)
2001-03-14don't need srvstr_push_size or srvstr_pull_sizeAndrew Tridgell1-3/+0
(This used to be commit d5b39a1d435f7fe79eb556f7e6b55276ac68a73d)
2001-03-14simpler clistr interface which handles individual packets havingAndrew Tridgell1-3/+1
unicode bit set differently to capabilities (This used to be commit 34a0821e087810381996f5ff6cf3b4d7b9bb53a0)
2001-03-13simpler and more correct srvstr_push()Andrew Tridgell1-426/+426
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-13Move to a handle database per pipe name, not per pipe.Jeremy Allison2-4/+5
Jeremy. (This used to be commit a24b248a77ccac364832ff7d4df083d437caf9ed)
2001-03-13Fixed reading of strings from big-endian RPC clients.Jeremy Allison1-0/+2
Jeremy. (This used to be commit e7ecb9410ff2e4fcd33bca9f82e14c060590942a)
2001-03-13this patch does a number of things:Andrew Tridgell1-3/+0
- 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-11Moved cruft out of smb.h into ntdomain.h where it belongs. dc structJeremy Allison4-94/+29
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-11Sync include files between 2.2 and HEAD except for acoount info.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 73c7ace168e4aa6a47b366cf40ed6743a21d3638)
2001-03-11Remove "BYTE" - we already have uint8 - don't need more conflicts withJeremy Allison2-6/+4
system header files... Jeremy. (This used to be commit 31e0ce310ec38b3a3a05b344d6450d442c6be471)
2001-03-11No longer used...Jeremy Allison1-1315/+0
Jeremy. (This used to be commit d23b9be1ba15bedac046319e8f15e60b481d057b)
2001-03-11Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison6-816/+981
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-10to use the same macros in the client and server rename the CLISTR_Andrew Tridgell3-437/+448
macros to STR_ (This used to be commit 95c9e4e0ba8f37f565aaf136f41eb76489441ff7)
2001-03-10More documentation in the header in doxygen formatRichard Sharpe1-3/+12
(This used to be commit db2e712ad3ccfceb87d36e59d5f2e18a992b3e72)
2001-03-09Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.Jeremy Allison2-2/+13
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 Carter1-0/+2
(This used to be commit 1d84da779a0fe3219d77686a493d2b2fa1f8072a)
2001-03-07Sync up handle creation with 2.2 branch. We can now join AS/U domains andJeremy Allison3-7/+6
authenticate against them. Big/little endian issues fixed. Jeremy. (This used to be commit 0e6a34510ed598eaec7fe71a9c91fda528a4675c)
2001-03-07Fix the definition and implementation of smbc_lseekdir ...Richard Sharpe1-68/+82
(This used to be commit e628d80d1e0f6ec87b61baeaf64019b43bf7dac8)
2001-03-05smb.h: add one error code for no such printer jobRichard Sharpe1-0/+1
libsmbclient.c: fix problems with return codes on smbc_unlink_print_job (This used to be commit 7557f9145ccdced3fcebdd20e1eb6fc5a27abda2)
2001-03-03Roll back to using malloc/realloc on some of spoolss in head.Jeremy Allison1-2/+2
I'm having problems with talloc_realloc in the 2.2 branch and I want a stable reference. The only problem is this breaks the clean auto-generated code in *one* call in srv_spoolss.c (the rfnpcnex call). Jeremy. (This used to be commit 57a9340cbafa40f3a41e6c676c6f2477855fd799)
2001-03-02Move to talloc controlled NT forms.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 3e190e693375c6032dd64bf8dd3c90f90dc4e3b4)
2001-03-01Remove unused code.Jeremy Allison1-4/+0
Jeremy. (This used to be commit 3495d5cc3ba0f380fc78389b9ba17235ccd97ae4)
2001-02-28Finished converion of spoolss code to canonical format. Now to work on theJeremy Allison1-49/+15
PRINT_XX struct alloc/free issues. Jeremy. (This used to be commit db98d4b020032b2a934b21bfdf9082765692fc5a)
2001-02-28More converted to canonical format. Home now - do the rest tomorrow...Jeremy Allison1-23/+9
Jeremy. (This used to be commit 9d5979f51ec7b2a62fb9b290eb0393594cfa6224)