summaryrefslogtreecommitdiff
path: root/source3/param
AgeCommit message (Collapse)AuthorFilesLines
2001-07-08Fix the loading of configuration files using the include syntax.Andrew Bartlett1-15/+19
We had a problem where if a % macro in the smb.conf could be ignored if the various files it pointed to had the same time-stamp. This changes the code to insted check that the both the time-stamp and the substituted filename are the same over each change. This was picked up only becouse the build-farm automaticly generates its config files, and hence gets identical timestamps. (Why this doesn't happen all the time I'm not entirly sure, somthing to do with the 'test' paramater to reload_services(), but this fixes this problem). Andrew Bartlett (This used to be commit ebd2f9b07c89cce505e821f1caaa6817bbb26db9)
2001-07-07Add a new paramater: add machine scriptAndrew Bartlett1-0/+4
This allows the administrator to define different scripts for adding unix users and automaticly adding machines. If it is not defined, it falls back to the value of 'add user script'. Andrew Bartlett (This used to be commit 7a478e050f3ab33bd0141a58c698d748f0d2b204)
2001-07-05removed an unreachable statementAndrew Tridgell1-1/+0
(This used to be commit 6503f53abe2642b002d8c9c64a2e0534c2b39b8c)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell1-3/+3
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04The big character set handling changeover!Andrew Tridgell2-200/+59
This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-07-01"netbios aliases" and "interfaces" options change from P_STRING to P_LISTSimo Sorce1-6/+6
(This used to be commit db36ed1d80fcbee16d0a0b5f226e56961f3bf1ec)
2001-06-28param/loadparm.c: Fix for bad volume label, found by TAKAHASHI MotonobuJeremy Allison1-12/+6
Samba Users Group Japan. Ensure same as in 2.2.x codebase. Jeremy. (This used to be commit 5a5d33b9464fe6289e55dbfd229d2859914b9293)
2001-06-24fixed errorSimo Sorce1-5/+5
using wrong pointer to test and free s/str/s/ (This used to be commit 7e5a9860fad92fee79bcc20f2ea2a3728080dba2)
2001-06-23fix compiler warningsSimo Sorce1-1/+0
(This used to be commit 7420e2f7898f1d141ba2af3eda07a67862fee842)
2001-06-22Fix for multibyte default service parameter from TAKAHASHI Motonobu, Samba ↵Jeremy Allison1-2/+2
Users Group Japan Jeremy (This used to be commit a2da1f91c1b08414592d5f014c8539575d0e9637)
2001-06-21use next_token instead of strtok.Simo Sorce1-6/+7
single elemnts of list cannot be longer than a pstring (1024B now) (This used to be commit 72b749ec89fa3642c0b3330a5331be645f84e24c)
2001-06-20initial support for paramter type P_LISTSimo Sorce1-16/+182
it will avoid problems with lists being longer than 1024 bytes just now only ip list parameters have been converted to the new type (hosts allow, hosts deny, ssl hosts, ssl hosts resign) (This used to be commit e1572f85d6247b760db10825b2fa688d7ed50bd3)
2001-06-08Extra stuff for large readwrite support.Jeremy Allison1-0/+4
Jeremy. (This used to be commit 4338ee78c3d7bcf4b9fac383ff2f572d882ab97c)
2001-05-15Removed extraneous semicolons from some lp_ parameter definitions.Tim Potter1-2/+2
(This used to be commit 34d527240086b135a24c7329d45bff715ae50485)
2001-05-14Stupidity by me..... 777 != 0777Jeremy Allison1-1/+1
ARGGGHHHHHHHHHH. (Sorry). Jeremy. (This used to be commit 4306eff6f77b95eeaaa4f8375356a81ad3497c67)
2001-05-10Got rid of iSERVICE/pSERVICE (Hungarian inspired obfuscation). Now useJeremy Allison1-84/+80
ServicePtrs[i] when we're indirecting so we can see what's going on. ZERO_STRUCTP(ServicePtrs[i]) on free_service. Jeremy. (This used to be commit 95dfc4a60a80ea5d55ac4775dd875e1283ecdaec)
2001-05-10free_service() was never setting the valid field to False. This is a bugJeremy Allison1-0/+2
that's been here since 2.0.x and before.... This would cause a memleak. Jeremy. (This used to be commit 3412950dbd5b70f28ffdbe1a79488a409ca1a051)
2001-05-10Made "security XXX" masks apply to ACL set. By default they have no effect.Jeremy Allison1-49/+8
Removed "restrict acl with mask" - redundent. Jeremy. (This used to be commit 0db8a61d71f25ffa0e5c585e02e2fce973867156)
2001-05-07merge from 2.2 removing the 'domain XXX' parameters.Gerald Carter1-8/+1
(This used to be commit 9aefc86e355bf160300580acb85a58a18207ccdf)
2001-05-04Added some missing winbind parameters. Yes they're already documented.Tim Potter1-0/+9
(-: (This used to be commit 657f95c89e593e6cdfc6fb9c7a9e67f9a518c1a5)
2001-05-03Fixed SHM_R/SHM_W warnings by moving sys/ipc.h and sys/shm.h into includes.hJeremy Allison1-0/+4
and using autoconf tests. Added "restrict acl with mask" parameter. Jeremy. (This used to be commit 7792e32ba7fd734cc68b354f31c382ac11521fe8)
2001-05-02Had to add a "pam password change" parameter (defaults to "off") and inlinedJeremy Allison1-0/+4
the pam password change code to ensure that existing and working password chat scripts don't break with 2.2.1. PAM password changing has to be explicitly requested. Allowed wildcards in pam password change matching (matches password chat script matching). Had to add const (sorry Tim :-) to ms_fnmatch() to stop warnings. Don't worry - the const changes are isolated and don't cause any other warnings :-). Jeremy. (This used to be commit 47b4d82536c09bffe3a0d9917fa31d935f1be7d8)
2001-04-26removed references to SMBRUNGerald Carter1-2/+0
(This used to be commit 822511eb3c8daa89e96b3fab7573555312415262)
2001-04-24set "vfs object" and "vfs options" to be setable by SWAT on advanced pageHerb Lewis1-4/+4
change "host msdfs" to be strictly a global parameter on advanced page change "printer admin" to be on printers page not share page (caught by Ingo Kilian <ikilian@web.de> ) (This used to be commit 93034985e02bdb9a00a9c509b851442561f4ad68)
2001-04-23Added "obey pam restrictions" parameter - default to "off".Jeremy Allison1-0/+4
Only set this to "on" if you know you have your PAM set up correctly..... NB. Doesn't apply to plaintext password authentication, which must use pam when compiled in. Jeremy. (This used to be commit 59aa99f3901d098b7afbe675021bda53b62ee496)
2001-04-18merge from 2.2Andrew Tridgell1-28/+9
(This used to be commit f52a5014ee325f9d91f266f88eac51b6136a75b9)
2001-04-16hide unreadable patch from idraAndrew Tridgell1-0/+4
(This used to be commit 7b6cfe243002a92f5dfb52413e9b3550c61cecfb)
2001-04-13Merge of Andrew's changes in 2.2.Jeremy Allison1-2/+0
Jeremy. (This used to be commit fc76681812b1469208ad6c8847afdfc68bc6db49)
2001-04-09Fixup warnings about extra ';' from SGI compiler.Jeremy Allison1-22/+22
Jeremy. (This used to be commit 7ee448d83263714676bd250ecc3805b08198e916)
2001-04-07Added 3 params to manipulate shares. "add share command/change share command/Jeremy Allison1-0/+9
delete share command". Implemented "delete" - more work to come on add and change. Jeremy. (This used to be commit 2e6b1759e14456421066ee131af70a495f862f2b)
2001-03-26Fix from Ryo Kawahara <rkawa@lbe.co.jp> to make SWAT correctly write and ↵Jeremy Allison1-15/+23
smb.conf file in utf8. Jeremy. (This used to be commit 42052d6079479452aa43eb37ad3d679d28337779)
2001-03-23Two OS/2 printer fixes from Jim McDonough @ IBM.Jeremy Allison1-0/+3
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-23first pass of the new group mapping codeJean-François Micouleau1-0/+15
J.F. (This used to be commit 7154deb026d53cb0cd503562174c3332a372be63)
2001-03-21added option "enhanced browsing"Andrew Tridgell1-0/+4
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-16Updated defaults for CUPS printing from Michael Sweet.Jeremy Allison1-6/+17
Jeremy. (This used to be commit 2e3ec2b4fc02f3acb47a67ebd000b99a918a9967)
2001-03-16fixed volume_name(). It used dos_to_unix() which uses a static buffer,Andrew Tridgell1-1/+4
and that buffer got clobbered in the trans2 QFS_VOLUME_INFO call, so the volume label always showed as "." from NT clients. (This used to be commit 2131d8bf76733d7cf046aa651d11bf3dade0913d)
2001-03-16Added Michael Sweet's CUPS patch to call directly into the CUPS backend.Jeremy Allison1-10/+16
Parameterises the printing functions so other backends can be plugged directly in (this is a good thing :-). Jeremy. (This used to be commit c0345bbaed5d1aac777f1a33ff84ad1899f2ed6d)
2001-03-16enable unicode on the wire by default in smbdAndrew Tridgell1-0/+4
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-13Added ADMIN$ share as alias for IPC$ except no guest connect. AS/U wantsJeremy Allison1-5/+7
to do RPC calls down this treeid. Jeremy. (This used to be commit 83133bab0ed59e303a183fd91812165f08e88484)
2001-03-09merge of 'lanman auth' and 'min protocol' from 2.2Gerald Carter1-0/+9
(This used to be commit 1d84da779a0fe3219d77686a493d2b2fa1f8072a)
2001-02-12Merge of JohnR's changes to appliance-head, JF's changes to 2.2,Jeremy Allison1-3/+20
updated the POSIX_ACL code to be in sync. Jeremy. (This used to be commit c0517d6f4e3079feca1309fd1ea7b21e83f0de02)
2001-01-30Fix inspited by Alan Romeril. 50% speedup in domain logins with thisJeremy Allison1-1/+1
change to default break response time of 10ms -> 0ms. Jeremy. (This used to be commit 541c7df16fff03f98c253a46b501574cafb4469f)
2001-01-23Changes from APPLIANCE_HEAD:David O'Neill1-0/+4
source/rpc_server/srv_spoolss_nt.c - add an access check to _spoolss_deleteprinter() to stop random users and passers by from deleting printers. source/lib/messages.c - converted global msg_all struct to a local in message_send_all() function. source/include/smb.h - added a success error code to the spoolss return codes. source/include/proto.h source/param/loadparm.c source/printing/printing.c - Added new parameter "total print jobs" to limit the total number of print jobs across all queues. Currently individual queues are limited by "max print jobs". (This used to be commit 02f154e729b0e8465d3e1e2ac794e6ab3844ce57)
2001-01-22Small bugfix from Kenichi Okuyama <okuyamak@dd.iij4u.or.jp>:David O'Neill1-1/+1
-FN_GLOBAL_INTEGER(lp_min_wins_ttl, &Globals.max_wins_ttl) +FN_GLOBAL_INTEGER(lp_min_wins_ttl, &Globals.min_wins_ttl) (This used to be commit 0233ba442643ad13b3707b63046691287fd2b449)
2001-01-17Changes from APPLIANCE_HEAD:David O'Neill2-16/+15
source/rpc_server/srv_spoolss_nt.c - Unrolled construct_notify_jobs_info() loop to only fetch printer info_2 structure once rather than num_print_jobs times. - convert command to unix codepage. - remove lp_remove_service() call as it prevents lp_killservice() from working. - Modified some DEBUG and DEBUGADD statements. source/param/loadparm.c source/param/params.c - change printer, preload, auto services to FLAG_DOS_STRING, reverted earlier changes to szPrintername et al, add comments. source/printing/load.c - fix bug with lp_auto_services() and strtok() source/printing/nt_printing.c source/printing/printing.c - remove redundant test that used SERVICE(snum) source/printing/pcap.c - add unix_to_dos() calls, add notes wrt FIXMEs for xxx_printer_fn() functions. source/web/swat.c - added FIXME comment. source/smbd/service.c - added comment re: dos codepage (This used to be commit 7b774b72c2857af9519012106714a9e2cb099da3)
2001-01-16Changes from APPLIANCE_HEAD:David O'Neill1-0/+2
source/param/loadparm.c - changed lp_add_printer() to convert szPrintername and comment from unix to DOS codepage. (This used to be commit 6a1f55b3255f216a5ddc73f94c6cb5a2490c3bbb)
2001-01-10Changes from APPLIANCE_HEAD:David O'Neill1-0/+6
source/include/proto.h source/param/loadparm.c source/passdb/passdb.c source/rpc_server/srv_samr.c - add support for "hide local users" option to HEAD. (This used to be commit 44dc339fe757b2b5578b30e74aad8c1b12c23f5f)
2001-01-09Fix from "B.V.Dean" <B.V.Dean@ukc.ac.uk> to add "dos filemode" parameterJeremy Allison1-0/+4
to allow a chmod to be done if the user has write access to a file, just like Windows allows. Off by default (compare with "dos filetimes" parameter). Jeremy. (This used to be commit 8abdf0e29fdb02a7929aa4395947b5023a7194a0)
2000-12-13Changes from APPLIANCE_HEAD:David O'Neill1-1/+1
- trivial typo in definition of enum_printing[] (source/param/loadparm.c) - fixed printer status display bug. When no jobs existed in queue, the clients were not properly notified of printer status. This caused native tools for pausing/unpausing a print queue to not work. (source/printing/printing.c) (This used to be commit c533e77f1912618230a938458980a9339924fe06)
2000-12-07file_lines_load/file_lines_pload can now optionally convert unix_to_dos()Jeremy Allison1-2/+2
on read. Jeremy. (This used to be commit 76b8dd376d13eb4469417be217c966d54d333367)