summaryrefslogtreecommitdiffstats
path: root/source3/param
Commit message (Collapse)AuthorAgeFilesLines
* utf-8 and EUC3 patch from Hiroshi Miura Samba User Group Japan staff.Jeremy Allison2000-10-031-0/+1
| | | | | | mkdir high bits patch from Robert Dahlem" <Robert.Dahlem@gmx.net>. jeremy. (This used to be commit b40191d27180ab1e59935086073c4d312552f717)
* Restructuring of the code to remove dos_ChDir/dos_GetWd and re-vector themJeremy Allison2000-09-271-1/+1
| | | | | | | | through the VFS. All file access/directory access code in smbd should now go via the vfs. Added vfs_chown/vfs_chmod calls. Still looking at vfs_get_nt_acl() vfs_set_nt_acl() call API design. Jeremy. (This used to be commit f96625ec124adb6e110dc54632e006b3620a962b)
* Changes from John Reilly to add a parameter "show add printer wizard" thatJeremy Allison2000-09-261-0/+4
| | | | | | | | | | allows Samba to turn off the display of APW (hmmm. This should probably be a share specific parameter, I'll fix that in another commit). Also a few small changes to JF's code to fix compiler warnings about missing return statements and also change '//' comments (C++) to /* .. */ comments (C). Jeremy. (This used to be commit 0a9ccc99b335650d235eb747d803d059f7828fd7)
* param/loadparm.c: Fix based on Damian's code to stop printer scripts getting ↵Jeremy Allison2000-09-191-87/+97
| | | | | | | | | | overwritten. rpc_parse/parse_spoolss.c: Tidyup to call function for relstring arrays. Win2000 now does "Add Printer" successfully !!!!! Jeremy. (This used to be commit d666b958bc335c7fceebeb7a6333d78bc421c30f)
* missed removing the static declaration of strwicmp()Gerald Carter2000-08-291-1/+0
| | | | | jerry (This used to be commit d09d8a3f4b32c1b4467dff5f2284e382163b7f09)
* needed to use strwicmp() in smbclient code, so I moved it to util_str.cGerald Carter2000-08-291-31/+0
| | | | | | | | | and made it non-static --jerry (This used to be commit dfdca21bd90b9c83f195d580ec9d774f1be8f9cb)
* arrgh.Andrew Tridgell2000-08-281-0/+4
| | | | | | | | whoever added "auto" parameters in loadparam only supported "True", "False" and "Auto", and did not support "Yes" and "No" like booleans. This means anyone using "preferred master = yes" didn't get what they expected! (This used to be commit 311a4dfb9a9a39a54dcb47d83e1604ad7461dce4)
* Fix case where volumename could be returned as UNIX charset or DOS codepageJeremy Allison2000-08-111-2/+6
| | | | | | depending on where it came from. Jeremy. (This used to be commit cfbf78085d48671e5be382e7486953a85a893be1)
* added printer admin optionAndrew Tridgell2000-08-091-0/+4
| | | | | any user in that list can do anything to a printer (This used to be commit 7b5912be150dd590d6195be40b0976305b8716ba)
* Added John Reilly's enumports/addprinter/delprinter scripting code plus theJeremy Allison2000-07-311-0/+22
| | | | | | | | | | | fix for the Win9x printer drivers. Changed command names to add "command" string on the end for some consistancy with the other scripting commands. Added '%P' option to tdbpack/unpack to store long comment string. Made port name be "Samba Printer Port" if no enum port script given. Fixed prs_uint32_pre code to cope with null args. Jeremy. (This used to be commit 902ada63799cf27924c72e24e7593a8c9fb5eba9)
* First cut toward adding WINS server failover.Christopher R. Hertel2000-07-191-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | *Note: failover doesn't actually work yet!* It's just that the code I'm adding provides all of the pieces necessary. I do have one big question. Something that I'll have to ask Jeremy, I'm thinkin'. In nmbd/nmbd_subnetdb.c the IP of the WINS server is used to set up the Unicast subnet. ...so what happens if the WINS server changes? My guess is either: a) nothing. b) I'd have to change the unicast subnet entry whenever the WINS server changes. Urq. BTW, the lp_wins_server() function no longer returns the WINS server name or IP. It returns the list of WINS servers entered in smb.conf. To get the currently 'live' WINS server, use the wins_srv() function. Fun, eh? Chris -)----- (This used to be commit cc08bdc74f4cd111fdc582ee7babef47ed8a950d)
* don't need shmem any moreAndrew Tridgell2000-07-061-4/+0
| | | | (This used to be commit a81371a4fd6f7972b054bea90428d1d2fd6d1d22)
* Changed enumports to show printernames as ports. In line with 'the grand ↵Jeremy Allison2000-06-221-4/+15
| | | | | | | | plan' :-) Gerald & I discussed with HP. More changes to follow. Jeremy. (This used to be commit 193a248beda99103c73a0b0ea5e2fbcbb516ce8e)
* Changed default printer driver to "" from NULL.Jeremy Allison2000-06-211-1/+1
| | | | | Jeremy. (This used to be commit 54bf7c12b89005f0fb7d82108e8403d89931e422)
* reverted lukes changes in param/Andrew Tridgell2000-06-162-0/+139
| | | | | | | apparently they were not deliberate, they were probably a result of Luke accidentally copying a CVS directory from one spot to another in error (This used to be commit 2d35d0cf1d152438c20648d863f5993e672337dc)
* more update.Luke Leighton2000-06-162-139/+0
| | | | (This used to be commit ac91ef30932e3e472a16c4c756f6dfddc1b18487)
* Linux kernel oplocks now seem to work, but need a _lot_ of testingAndrew Tridgell2000-06-111-1/+0
| | | | | | I had to modify sys_select() to not loop on EINTR. I added a wrapper called sys_select_intr() which gives the old behaviour. (This used to be commit b28cc4163bc2faaa80c5782fc02c8f03c410cdeb)
* a first pass at Linux kernel oplocks supportAndrew Tridgell2000-06-101-6/+3
| | | | (This used to be commit 3253085d9883a181c04b9c9ecf7d0ccdfbcee88d)
* continued the split of the kernel level oplocks code into a moreAndrew Tridgell2000-06-101-31/+1
| | | | | | modular form. In this pass I added oplock_irix.c and added a "struct kernel_oplocks" that describes a kernel oplock implementation. (This used to be commit b5ceab810292602ea9a81696c20a781c16b706c2)
* Change from "David S. Chappell" <David.Chappell@mail.cc.trincoll.edu>Jeremy Allison2000-06-081-4/+6
| | | | | | | to make "printer driver file" a share parameter. This fits better with the new NT printing subsystem. Jeremy. (This used to be commit 7afb68461f3938a647a6c48689293af8ed36ccb7)
* param/loadparm.c: Looks like someone ran indent on this !Jeremy Allison2000-06-011-529/+293
| | | | | | | | | passdb/smbpass.c: Insure uninitialized memory reference fix. printing/nt_printing.c: rpc_server/srv_spoolss_nt.c: Insure memory leak fixes. smbd/unix_acls.c: Shadow ref fix. Jeremy. (This used to be commit d175d3ebefc053e9badd91ca5f2d8bd03eb6705d)
* space in front of lp_preexec() causing make proto to not detect this fn.Luke Leighton2000-05-311-1/+1
| | | | (This used to be commit 3a1ebfa080fa5b26c9d0e7573cbd4bd4c239f182)
* make protoLuke Leighton2000-05-291-39/+32
| | | | (This used to be commit 62271c30f415cad71aea9edfd578f0b7ab42fb42)
* lp_server_role() + use in srv_reg.Luke Leighton2000-05-281-2102/+2701
| | | | (This used to be commit 82e47e268ca33dd7e692c5e6d0571428307b5287)
* TIMESTAMPS ARE IRRITATING AS HELL WHEN DEBUGGING! NGGGH!!Luke Leighton2000-05-271-1/+1
| | | | | | | | switched default to False, i expect someone to revert this very soon [for security reasons], but for now am doing this so i don't get exasperated by seeing stupid timestamps splitting up debug output. (This used to be commit 038dab9053c51938538f693db405ccabb0af9010)
* removed lp_revalidate()Andrew Tridgell2000-05-241-4/+0
| | | | (This used to be commit fba5886a05ba64b4633d4a9f3e5cb0687fb4b20d)
* The new msdfs implementation that uses symlinks to point to otherShirish Kalele2000-05-161-26/+6
| | | | | | | | | | | | | | | | | servers. Very intuitive. Removed the dfs map parsing code and tdb maintenance code (files msdfs/parse_dfs_map.c & msdfs/msdfs_tdb.c), dfs map loading and unloading calls (param/loadparm.c smbd/server.c). Added code to display msdfs format symlinks as directories in a transact2_findfirst/findnext. (smbd/trans2.c) Modified msdfs/msdfs.c to use the msdfs symlinks to create dfs referrals. Changed msdfs/README to reflect new operability. (This used to be commit 6803d2574fab9e5931786d5c9aa5dc5867bb5f05)
* use "winbind separator" option for domain/user separator characterAndrew Tridgell2000-05-121-1/+6
| | | | (This used to be commit 6cbb826b154e61085fd651116caf472d4d438c1d)
* I found a better way of handling deleted auto printersAndrew Tridgell2000-05-101-13/+2
| | | | (This used to be commit f838707820175f97db82fc32f124c3b69b051e6b)
* remove autoloaded printers that are no longer in /etc/printcap when weAndrew Tridgell2000-05-101-9/+27
| | | | | get a HUP (This used to be commit 23f16c5ce60f76633458cc21b2d260d347b1b459)
* more mergingAndrew Tridgell2000-05-101-1/+6
| | | | | | it is now at the stage that winbindd can compile in the head branch, but not link (This used to be commit d178c00aae77710ae6ff20a7f54a30e3bd8232bb)
* added winbindd options in head branch, so it is possible to combineAndrew Tridgell2000-05-061-0/+49
| | | | | branches (This used to be commit cd5e2494279792f8516947a63bf313f8142a52c0)
* Fix for crash bug in OpenConfFile() if no smb.conf exists.Tim Potter2000-05-051-1/+1
| | | | (This used to be commit b531ddb2657e9eac1c1e9f32344b67c3963ce30a)
* split the username in the vuser structure into a separateAndrew Tridgell2000-05-021-1/+1
| | | | | | | | | userdom_struct. As the name implies this also contains a domain (unused at the moment). This will be important shortly, as operation in appliance mode needs the domain to be always carried with the username. (This used to be commit ee8546342d5be90e730372b985710d764564b124)
* Added info level 1005 to netsharegetinfo (is the share a DFS root)Shirish Kalele2000-04-281-0/+1
| | | | | Added dfs_server announcement in set_default_server_announce_type() (This used to be commit 99d07e13520b04d99999938d259d56fa65c8a8ea)
* converted a bunch more functions to use a fd instead of a FILE*Andrew Tridgell2000-04-162-75/+63
| | | | | | | | to support some of this I added the following functions in util_file.c file_lines_pload : load lines from a pipe file_pload : load a pipe into memory (This used to be commit a09470817c5b21dba42f9ef4ce5e8b768a254c0b)
* Removed "ole locking compat" parameter (no longer used).Jeremy Allison2000-04-121-4/+0
| | | | | | | We now get/set/check POSIX locks, but I still need to code up the close fd braindamage... Jeremy. (This used to be commit 3de058bd43976853b0ed2b6b5529e2a3a08909eb)
* Code to map tdb locks onto POSIX. Mainly placeholder code at the moment,Jeremy Allison2000-04-121-0/+4
| | | | | | | but the structure is done enough so that Andrew can look it over and give a yea/nay decision. Jeremy. (This used to be commit db96f83e34a139f47776fcbb5c1624fbf9d9943b)
* changed all the status code to ERROR_xxx instead of NT_STATUS_xx which areJean-François Micouleau2000-04-051-0/+9
| | | | | | | | | | | | | wrong in the spoolss case. fxed a bug in the job notify code (that's the polite answer), the truth is different: there is a bug in the NT spooler service, including SP6a and NT2K. changed the default lpcommand in the LPRNG case. J.F. (This used to be commit 396f73c11b29a47650b3243fef0825252a3cef9b)
* Fix for compiler warning about invalid structure type.Jeremy Allison2000-04-031-1/+1
| | | | | jeremy. (This used to be commit 58a16e2718e6400fe9f20d61990818f2d146042f)
* Fix for coredump in testparm.Jeremy Allison2000-03-301-1/+1
| | | | | Jeremy. (This used to be commit c4c06650dd2407919213e5393ae501815a10c4f5)
* Fixed crash bug in new handle_netbios_name code.Jeremy Allison2000-03-271-2/+2
| | | | | Jeremy. (This used to be commit 26963f2f8ec923991efecf6ac177fb17e7a924b0)
* Fixes to add "paranoid" option to popen. Checks some basic things.Jeremy Allison2000-03-161-1/+19
| | | | | Jeremy (This used to be commit 3b8cbb10de322fd7a1063fb5b681790b10d24ab0)
* include/smb.h:Jeremy Allison2000-03-131-1/+1
| | | | | | | | | smbd/negprot.c: smbd/reply.c: Fixes to recognise Win2k. param/loadparm.c: Put debug timestamp parameter back to correct default. smbd/nttrans.c: Fix to detect Win2k unicode bug with transact create. Jeremy. (This used to be commit bb100352ab2f98fab3978008d269920e03efcf6d)
* Cleaning up the warnings from configure.developer.Shirish Kalele2000-03-101-4/+0
| | | | | Found that Jeremy had already made some of the changes. (This used to be commit ca02d9f8219265f80fe11236c8c146db1dbb1ae2)
* dded Microsoft Dfs services.Shirish Kalele2000-03-081-2/+37
| | | | | | | | | | | | | | | | | | * added a new msdfs/ directory under source/ * added msdfs sources under this directory. * modified configure setup to add a --with-msdfs configure time option Modified Files: Makefile.in acconfig.h configure configure.in include/config.h.in include/includes.h include/proto.h include/smb.h include/smb_macros.h param/loadparm.c smbd/negprot.c smbd/nttrans.c smbd/process.c smbd/reply.c smbd/server.c smbd/trans2.c Added Files: include/msdfs.h msdfs/README msdfs/msdfs.c msdfs/msdfs_tdb.c msdfs/parse_dfs_map.c ---------------------------------------------------------------------- (This used to be commit 4684b4a188b54493dbe7f0de2909a8d3c5c3ebf9)
* added a tcon test: make two tconXs with the same user/pass, open a fileLuke Leighton2000-03-071-1/+1
| | | | | with one of them and try to write to the file with the other. (This used to be commit f8d3ce0419aee44e4d5efe1257ce4b27f7511ceb)
* Added "source environment" parameter from Nicolas Williams ↵Jeremy Allison2000-02-161-1/+136
| | | | | | | <Nicolas.Williams@wdr.com>. Jeremy. (This used to be commit f29847cbeeb0109f1fa61e9851e8cb0689b5228d)
* Jeremy can you check lib/util_unistr.c for codepages support ?Jean-François Micouleau2000-02-071-0/+9
| | | | | | | | I added 2 UNICODE <-> ASCII functions which _don't_ honor codepage support. J.F. (This used to be commit b81dc7b7f832cae2e66076398a134fbb6c1f78ca)
* Added 'vfs object' and 'vfs options' smb.conf parameters.Tim Potter2000-02-031-0/+25
| | | | (This used to be commit f872518972e7942e31b5ac5150d7ed8b0fbcf641)