summaryrefslogtreecommitdiff
path: root/source3/param
AgeCommit message (Collapse)AuthorFilesLines
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)
2000-11-21Another large patch for the passdb rewrite.Gerald Carter1-16/+4
o added BOOL own_memory flag in SAM_ACCOUNT so we could use static memory for string pointer assignment or allocate a new string o added a reference TDB passdb backend. This is only a reference and should not be used in production because - RID's are generated using the same algorithm as with smbpasswd - a TDB can only have one key (w/o getting into problems) and we need three. Therefore the pdb_sam-getpwuid() and pdb_getsampwrid() functions are interative searches :-( we need transaction support, multiple indexes, and a nice open source DBM. The Berkeley DB (from sleepycat.com seems to fit this criteria now) o added a new parameter "private dir" as many places in the code were using lp_smb_passwd_file() and chopping off the filename part. This makes more sense to me and I will docuement it in the man pages o Ran through Insure-lite and corrected memory leaks. Need for a public flogging this time Jeremy (-: -- jerry (This used to be commit 4792029a2991bd84251d152a62b1033dec62cee2)
2000-11-15Tuyrn debug timestamps on by default.Jeremy Allison1-1/+1
Add Tim's lpq race fix. Jeremy. (This used to be commit d43405bc47c95bf8c906035cba23bf95d252d13b)
2000-11-14Changes from APPLIANCE_HEAD:David O'Neill1-0/+16
- merged Tim's vlp (virtual lp) test program. Enable it with -DDEVELOPER or by using ./configure.developer (source/include/smb.h source/configure.developer source/printing/lpq_parse.c source/param/loadparm.c testsuite/printing/.cvsignore testsuite/printing/Makefile.vlp testsuite/printing/vlp.c) (This used to be commit fbcf83140da1823e74f63227f0a95d07c6e76764)
2000-11-13Large commit which restructures the local password storage API.Gerald Carter1-12/+14
Currently the only backend which works is smbpasswd (tdb, LDAP, and NIS+) are broken, but they were somewhat broken before. :) The following functions implement the storage manipulation interface /*The following definitions come from passdb/pdb_smbpasswd.c */ BOOL pdb_setsampwent (BOOL update); void pdb_endsampwent (void); SAM_ACCOUNT* pdb_getsampwent (void); SAM_ACCOUNT* pdb_getsampwnam (char *username); SAM_ACCOUNT* pdb_getsampwuid (uid_t uid); SAM_ACCOUNT* pdb_getsampwrid (uint32 rid); BOOL pdb_add_sam_account (SAM_ACCOUNT *sampass); BOOL pdb_update_sam_account (SAM_ACCOUNT *sampass, BOOL override); BOOL pdb_delete_sam_account (char* username); There is also a host of pdb_set..() and pdb_get..() functions for manipulating SAM_ACCOUNT struct members. Note that the struct passdb_ops {} has gone away. Also notice that struct smb_passwd (formally in smb.h) has been moved to passdb/pdb_smbpasswd.c and is not accessed outisde of static internal functions in this file. All local password searches should make use of the the SAM_ACCOUNT struct and the previously mentioned functions. I'll write some documentation for this later. The next step is to fix the TDB passdb backend, then work on spliting the backends out into share libraries, and finally get the LDAP backend going. What works and may not: o domain logons from Win9x works o domain logons from WinNT 4 works o user and group enumeration as implemented by Tim works o file and print access works o changing password from Win9x & NT ummm...i'll fix this tonight :) If I broke anything else, just yell and I'll fix it. I think it should be fairly quite. -- jerry (This used to be commit 0b92d0838ebdbe24f34f17e313ecbf61a0301389)
2000-10-28David Lee's utmp patch (finally). Thanks David !Jeremy Allison1-0/+13
Jeremy. (This used to be commit b809a2d0c81c54e917ccc0c99b3e70ea8d7ceab1)
2000-10-26TDB password backend support written by Simo Sorce <simo.sorce@polimi.it>Gerald Carter1-0/+19
Marked as an experimental compile time option (defaults to off) for now. jerry (This used to be commit 0435af4417b876c2ea1dd4591ae7647784c28e30)
2000-10-24Yeah - not setting getwd_cache to True as default, that'd do it for a 5xJeremy Allison1-1/+1
performance hit..... :-) :-). Jeremy. PS. Yes this was my fault for everyone who wants to throw rotten fruit... (This used to be commit 4f5bbc38ce492baa6e2b4d94758e9247756ae9ba)