summaryrefslogtreecommitdiff
path: root/source3/param/loadparm.c
AgeCommit message (Collapse)AuthorFilesLines
2000-10-03utf-8 and EUC3 patch from Hiroshi Miura Samba User Group Japan staff.Jeremy Allison1-0/+1
mkdir high bits patch from Robert Dahlem" <Robert.Dahlem@gmx.net>. jeremy. (This used to be commit b40191d27180ab1e59935086073c4d312552f717)
2000-09-27Restructuring of the code to remove dos_ChDir/dos_GetWd and re-vector themJeremy Allison1-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)
2000-09-26Changes from John Reilly to add a parameter "show add printer wizard" thatJeremy Allison1-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)
2000-09-19param/loadparm.c: Fix based on Damian's code to stop printer scripts getting ↵Jeremy Allison1-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)
2000-08-29missed removing the static declaration of strwicmp()Gerald Carter1-1/+0
jerry (This used to be commit d09d8a3f4b32c1b4467dff5f2284e382163b7f09)
2000-08-29needed to use strwicmp() in smbclient code, so I moved it to util_str.cGerald Carter1-31/+0
and made it non-static --jerry (This used to be commit dfdca21bd90b9c83f195d580ec9d774f1be8f9cb)
2000-08-28arrgh.Andrew Tridgell1-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)
2000-08-11Fix case where volumename could be returned as UNIX charset or DOS codepageJeremy Allison1-2/+6
depending on where it came from. Jeremy. (This used to be commit cfbf78085d48671e5be382e7486953a85a893be1)
2000-08-09added printer admin optionAndrew Tridgell1-0/+4
any user in that list can do anything to a printer (This used to be commit 7b5912be150dd590d6195be40b0976305b8716ba)
2000-07-31Added John Reilly's enumports/addprinter/delprinter scripting code plus theJeremy Allison1-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)
2000-07-19First cut toward adding WINS server failover.Christopher R. Hertel1-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)
2000-07-06don't need shmem any moreAndrew Tridgell1-4/+0
(This used to be commit a81371a4fd6f7972b054bea90428d1d2fd6d1d22)
2000-06-22Changed enumports to show printernames as ports. In line with 'the grand ↵Jeremy Allison1-4/+15
plan' :-) Gerald & I discussed with HP. More changes to follow. Jeremy. (This used to be commit 193a248beda99103c73a0b0ea5e2fbcbb516ce8e)
2000-06-21Changed default printer driver to "" from NULL.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 54bf7c12b89005f0fb7d82108e8403d89931e422)
2000-06-16reverted lukes changes in param/Andrew Tridgell1-0/+138
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)
2000-06-16more update.Luke Leighton1-138/+0
(This used to be commit ac91ef30932e3e472a16c4c756f6dfddc1b18487)
2000-06-11Linux kernel oplocks now seem to work, but need a _lot_ of testingAndrew Tridgell1-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)
2000-06-10a first pass at Linux kernel oplocks supportAndrew Tridgell1-6/+3
(This used to be commit 3253085d9883a181c04b9c9ecf7d0ccdfbcee88d)
2000-06-10continued the split of the kernel level oplocks code into a moreAndrew Tridgell1-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)
2000-06-08Change from "David S. Chappell" <David.Chappell@mail.cc.trincoll.edu>Jeremy Allison1-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)
2000-06-01param/loadparm.c: Looks like someone ran indent on this !Jeremy Allison1-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)
2000-05-31space in front of lp_preexec() causing make proto to not detect this fn.Luke Leighton1-1/+1
(This used to be commit 3a1ebfa080fa5b26c9d0e7573cbd4bd4c239f182)
2000-05-29make protoLuke Leighton1-39/+32
(This used to be commit 62271c30f415cad71aea9edfd578f0b7ab42fb42)
2000-05-28lp_server_role() + use in srv_reg.Luke Leighton1-2102/+2701
(This used to be commit 82e47e268ca33dd7e692c5e6d0571428307b5287)
2000-05-27TIMESTAMPS ARE IRRITATING AS HELL WHEN DEBUGGING! NGGGH!!Luke Leighton1-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)
2000-05-24removed lp_revalidate()Andrew Tridgell1-4/+0
(This used to be commit fba5886a05ba64b4633d4a9f3e5cb0687fb4b20d)
2000-05-16The new msdfs implementation that uses symlinks to point to otherShirish Kalele1-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)
2000-05-12use "winbind separator" option for domain/user separator characterAndrew Tridgell1-1/+6
(This used to be commit 6cbb826b154e61085fd651116caf472d4d438c1d)
2000-05-10I found a better way of handling deleted auto printersAndrew Tridgell1-13/+2
(This used to be commit f838707820175f97db82fc32f124c3b69b051e6b)
2000-05-10remove autoloaded printers that are no longer in /etc/printcap when weAndrew Tridgell1-9/+27
get a HUP (This used to be commit 23f16c5ce60f76633458cc21b2d260d347b1b459)
2000-05-10more mergingAndrew Tridgell1-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)
2000-05-06added winbindd options in head branch, so it is possible to combineAndrew Tridgell1-0/+49
branches (This used to be commit cd5e2494279792f8516947a63bf313f8142a52c0)
2000-05-02split the username in the vuser structure into a separateAndrew Tridgell1-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)
2000-04-28Added info level 1005 to netsharegetinfo (is the share a DFS root)Shirish Kalele1-0/+1
Added dfs_server announcement in set_default_server_announce_type() (This used to be commit 99d07e13520b04d99999938d259d56fa65c8a8ea)
2000-04-16converted a bunch more functions to use a fd instead of a FILE*Andrew Tridgell1-46/+14
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)
2000-04-12Removed "ole locking compat" parameter (no longer used).Jeremy Allison1-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)
2000-04-12Code to map tdb locks onto POSIX. Mainly placeholder code at the moment,Jeremy Allison1-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)
2000-04-05changed all the status code to ERROR_xxx instead of NT_STATUS_xx which areJean-François Micouleau1-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)
2000-04-03Fix for compiler warning about invalid structure type.Jeremy Allison1-1/+1
jeremy. (This used to be commit 58a16e2718e6400fe9f20d61990818f2d146042f)
2000-03-30Fix for coredump in testparm.Jeremy Allison1-1/+1
Jeremy. (This used to be commit c4c06650dd2407919213e5393ae501815a10c4f5)
2000-03-27Fixed crash bug in new handle_netbios_name code.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 26963f2f8ec923991efecf6ac177fb17e7a924b0)
2000-03-16Fixes to add "paranoid" option to popen. Checks some basic things.Jeremy Allison1-1/+19
Jeremy (This used to be commit 3b8cbb10de322fd7a1063fb5b681790b10d24ab0)
2000-03-13include/smb.h:Jeremy Allison1-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)
2000-03-10Cleaning up the warnings from configure.developer.Shirish Kalele1-4/+0
Found that Jeremy had already made some of the changes. (This used to be commit ca02d9f8219265f80fe11236c8c146db1dbb1ae2)
2000-03-08dded Microsoft Dfs services.Shirish Kalele1-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)
2000-03-07added a tcon test: make two tconXs with the same user/pass, open a fileLuke Leighton1-1/+1
with one of them and try to write to the file with the other. (This used to be commit f8d3ce0419aee44e4d5efe1257ce4b27f7511ceb)
2000-02-16Added "source environment" parameter from Nicolas Williams ↵Jeremy Allison1-1/+136
<Nicolas.Williams@wdr.com>. Jeremy. (This used to be commit f29847cbeeb0109f1fa61e9851e8cb0689b5228d)
2000-02-07Jeremy can you check lib/util_unistr.c for codepages support ?Jean-François Micouleau1-0/+9
I added 2 UNICODE <-> ASCII functions which _don't_ honor codepage support. J.F. (This used to be commit b81dc7b7f832cae2e66076398a134fbb6c1f78ca)
2000-02-03Added 'vfs object' and 'vfs options' smb.conf parameters.Tim Potter1-0/+25
(This used to be commit f872518972e7942e31b5ac5150d7ed8b0fbcf641)
2000-01-30made "enable" and "disable" the default "lpresume" and "lppause" commandsHerb Lewis1-4/+1
for SYSV instead of the lpc commands (since these are BSD commands) I still don't like the default "lppause" and "lpresume" commands for SYSV since these seem to be SUN specific additions to the lp command (at least I don't find them in IRIX and HPUX). I think this should be inside an ifdef SUN??? but I'm not sure what the define should be so I have left it for now. (This used to be commit d3557b7f728e262d880bd7f7bbe20b853dbf165a)