summaryrefslogtreecommitdiff
path: root/source3/param
AgeCommit message (Collapse)AuthorFilesLines
2001-09-17move to SAFE_FREE()Simo Sorce2-26/+20
(This used to be commit fb0984e60fd69100d9866304b83b4f3c85e9aea2)
2001-09-16Kill off the dangerous passwd program default, as its both veryAndrew Bartlett1-1/+1
system-dependent and can allow (when unix password sync = yes) the 'syncronisation' of root's password by a normal user :-( Andrew Bartlett (This used to be commit eecda11eef8bff73286c6a3c9f89ed0d1dcd7f73)
2001-09-13added a new global option "hostname lookups = yes/no"Andrew Tridgell1-0/+7
This should finally kill off the remaining places where we attempt reverse lookups of the IP of the client. It may be that some pam modules called via the session code will need "hostname lookups = yes" but I've left it off by default as most sites don't need it and so many sites have broken reverse maps (This used to be commit 2b83ad03965d00bba88fe56452d2990099b75ef1)
2001-09-07added "display charset" option in smb.conf, along with d_printf()Andrew Tridgell1-1/+6
which should now be used instead of DEBUG(0) or printf() for interactive messages I have only converted client.c to use d_printf(), and the code hasn't had much testing yet. Eventually we want all interactive code to use d_printf(), plus SWAT (This used to be commit 266d8e67669adb329f25676c4bc4d4c50f223428)
2001-09-06Fixed O(N^2) talloc loop when allocating printer name memory - fix fromJeremy Allison1-2/+2
Richard Bollinger <rabollinger@home.com>. Jeremy. (This used to be commit 408c0595bbeafca87795e5278656471fbe0540e8)
2001-09-06enable strict locking by default. This will be slow, so now we justAndrew Tridgell1-1/+1
need to fiind a way to make it fast (This used to be commit 42b147d1f26093c45110077a309c5e0d3010a28d)
2001-08-29lp_wins_server() is now lp_wins_server_list().Christopher R. Hertel1-1/+1
This should make it clear that the meaning of the parameter value has changed. It no longer represents *the* WINS server, but a list of WINS servers. I have made other changes in the code such that the lp_wins_server() function is no longer necessary. Whenever smb.conf is reloaded the list managed by lib/wins_srv.c is refreshed. The wins_srv_count() function returns the number of entries in the list so, if the list is empty, it will return 0 (which can be interpreted as "false" in an if() statement). Chris -)----- (This used to be commit 968c947e8bb35cf2441f3ebbb234429f5c1733c6)
2001-08-26Change default 'name resolve order' to WINS before DNS.Volker Lendecke1-1/+1
Volker (This used to be commit 5fc8c51983f36b0b2bbb2704a522026dc64d0b65)
2001-08-24let admins also abort a shutdownSimo Sorce1-0/+3
(This used to be commit 3b40ec4f149a8813c1d68f184858e2ddd605d8fd)
2001-08-23so let admins shutdown their samba servers remotely if they want :-)Simo Sorce1-0/+4
(This used to be commit 6391fd7bdab07c83e9eed02e761db09918e60302)
2001-08-23Fixed detection of CUPS. We need to check for the presence of the cupsTim Potter1-2/+2
header files as well as libcups. (This used to be commit 2dbb41a7b88e7fad63579111aaab4a1cd28c54d5)
2001-08-22A few changes:Andrew Bartlett1-10/+0
drop paramaters: status utmp hostname change session code to always record each vuid current on the server. The sessionid struct is no longer packed, as I couldn't get that to work ;-) change smbstatus to show this info and less of the connections.tdb info (its not actualy that accurate). I'll get swat doing some of this shortly. (This used to be commit b068ad300527c44673bbee0aede7849199c89de7)
2001-08-22Remove unneeded lp_talloc_free().Jeremy Allison1-3/+0
Jeremy. (This used to be commit 072a5bca2b8fbd6e0ac3f1259c426ebd1f3fb551)
2001-08-22merge from 2.2Gerald Carter1-0/+3
(This used to be commit a50c3df15b3a82b4363fde0442c98edea067b4ae)
2001-08-21Add a new option to disable our paranoid server check.Andrew Bartlett1-0/+4
Defaults to ON, ie checking (This used to be commit bd3010263be24425206587abfdb41164089e2157)
2001-08-13merge from 2.2Gerald Carter1-0/+4
(This used to be commit 7049217eb40dbe3de6c05fe43742d2f684501723)
2001-08-12this is a big global fix for the ptr = Realloc(ptr, size) bug.Simo Sorce2-16/+34
many possible mem leaks, and segfaults fixed. someone should port this fix to 2.2 also. (This used to be commit fa8e55b8b465114ce209344965c1ca0333b84db9)
2001-08-10- avoid possible mem leaks in rpcclient/cmd_*.c (talloc_destroy not performed)Simo Sorce1-11/+9
- ported two rpc back from TNG (WINREG: shutdown and abort shutdown) - some optimizations and changed some DEBUG statement in loadparm.c - changed rpcclient a bit moved from non reentrant next_token_nr to next_token - in cmd_reg.c not sure if getopt will work ok on all platforms only setting optind=0 (This used to be commit fd54412ce9c3504a547e232602d6129e08dd9d4d)
2001-08-10merge from 2.2Gerald Carter1-4/+4
(This used to be commit 6ab0e949d18b97ea7177175a4e6abb5ba076db98)
2001-08-08Change all realloc() statements to Realloc() (ecxept for tdb.c)Simo Sorce1-25/+13
changed some code to exploit the fact that Realloc(NULL, size) == malloc(size) fixed some possible mem leaks, or seg faults. thanks to andreas moroder (mallocs not checked in client/client.c, client/smbumount.c) (This used to be commit 7f33c01688b825ab2fa9bbb2730bff4f2fa352be)
2001-08-06Added Gerald's lanman printing only change to HEAD.Jeremy Allison1-0/+4
Jeremy. (This used to be commit b7bd512d9a9b543b9caf93c264776db6852c03ea)
2001-08-03This is my 'Authentication Rewrite' version 1.01, mostly as submitted toAndrew Bartlett1-0/+8
samba-technical a few weeks ago. The idea here is to standardize the checking of user names and passwords, thereby ensuring that all authtentications pass the same standards. The interface currently implemented in as nt_status = check_password(user_info, server_info) where user_info contains (mostly) the authentication data, and server_info contains things like the user-id they got, and their resolved user name. The current ugliness with the way the structures are created will be killed the next revision, when they will be created and malloced by creator functions. This patch also includes the first implementation of NTLMv2 in HEAD, but which needs some more testing. We also add a hack to allow plaintext passwords to be compared with smbpasswd, not the system password database. Finally, this patch probably reintroduces the PAM accounts bug we had in 2.2.0, I'll fix that once this hits the tree. (I've just finished testing it on a wide variety of platforms, so I want to get this patch in). (This used to be commit b30b6202f31d339b48d51c0d38174cafd1cfcd42)
2001-08-02Put HPUX on mmap blacklist.Jeremy Allison1-0/+4
Jeremy. (This used to be commit 4d5fe9ed4fc2c3bb7830ab14eead8d12eed37de9)
2001-08-01Added "strict allocate" per share parameter. This causes actual on-disk ↵Jeremy Allison1-0/+4
allocation to be done. Without it just does the ftruncate. Jeremy. (This used to be commit 0b052f103e82369088bc30724b86d8892c395cdb)
2001-07-30Added "use mmap" for HPUX.Jeremy Allison1-0/+4
Jeremy. (This used to be commit 840802f10677cb0009cb4df4c37c7d01aa5edacd)
2001-07-24Convert other parameters (read list, write list, valid users...) to the ↵Simo Sorce1-39/+112
P_LIST format. changed functions to use list instead of strings addedd lp_list_substitute function (This used to be commit 7257d07563ba21bd88733d5d2b4ec4829fab2507)
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)