summaryrefslogtreecommitdiffstats
path: root/source/param
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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.
* missed removing the static declaration of strwicmp()Gerald Carter2000-08-291-1/+0
| | | | jerry
* 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
* 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!
* 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.
* added printer admin optionAndrew Tridgell2000-08-091-0/+4
| | | | any user in that list can do anything to a printer
* 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.
* 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 -)-----
* don't need shmem any moreAndrew Tridgell2000-07-061-4/+0
|
* 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.
* Changed default printer driver to "" from NULL.Jeremy Allison2000-06-211-1/+1
| | | | Jeremy.
* 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
* more update.Luke Leighton2000-06-162-139/+0
|
* 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.
* a first pass at Linux kernel oplocks supportAndrew Tridgell2000-06-101-6/+3
|
* 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.
* 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.
* 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.
* space in front of lp_preexec() causing make proto to not detect this fn.Luke Leighton2000-05-311-1/+1
|
* make protoLuke Leighton2000-05-291-39/+32
|
* lp_server_role() + use in srv_reg.Luke Leighton2000-05-281-2102/+2701
|
* 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.
* removed lp_revalidate()Andrew Tridgell2000-05-241-4/+0
|
* 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.
* use "winbind separator" option for domain/user separator characterAndrew Tridgell2000-05-121-1/+6
|
* I found a better way of handling deleted auto printersAndrew Tridgell2000-05-101-13/+2
|
* remove autoloaded printers that are no longer in /etc/printcap when weAndrew Tridgell2000-05-101-9/+27
| | | | get a HUP
* more mergingAndrew Tridgell2000-05-101-1/+6
| | | | | it is now at the stage that winbindd can compile in the head branch, but not link
* added winbindd options in head branch, so it is possible to combineAndrew Tridgell2000-05-061-0/+49
| | | | branches
* Fix for crash bug in OpenConfFile() if no smb.conf exists.Tim Potter2000-05-051-1/+1
|
* 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.
* 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()
* 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
* 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.
* 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.
* 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.
* Fix for compiler warning about invalid structure type.Jeremy Allison2000-04-031-1/+1
| | | | jeremy.
* Fix for coredump in testparm.Jeremy Allison2000-03-301-1/+1
| | | | Jeremy.
* Fixed crash bug in new handle_netbios_name code.Jeremy Allison2000-03-271-2/+2
| | | | Jeremy.
* Fixes to add "paranoid" option to popen. Checks some basic things.Jeremy Allison2000-03-161-1/+19
| | | | Jeremy
* 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.
* Cleaning up the warnings from configure.developer.Shirish Kalele2000-03-101-4/+0
| | | | Found that Jeremy had already made some of the changes.
* 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 ----------------------------------------------------------------------
* 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.
* Added "source environment" parameter from Nicolas Williams ↵Jeremy Allison2000-02-161-1/+136
| | | | | | <Nicolas.Williams@wdr.com>. Jeremy.
* 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.
* Added 'vfs object' and 'vfs options' smb.conf parameters.Tim Potter2000-02-031-0/+25
|
* made "enable" and "disable" the default "lpresume" and "lppause" commandsHerb Lewis2000-01-301-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.
* Fix from Motonobu TAKAHASHI to sort code page parameters first.Jeremy Allison2000-01-291-2/+2
| | | | | Needed when reading the rest of smb.conf. Jeremy.