summaryrefslogtreecommitdiffstats
path: root/source3/lib/popt_common.c
Commit message (Collapse)AuthorAgeFilesLines
* s3: make better use of ccache by not including version.h in every C-file.Michael Adam2009-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | version.h changes rather frequently. Since it is included via includes.h, this means each C file will be a cache miss. This applies to the following situations: * When building a new package with a new Samba version * building in a git branch after calling mkversion.sh after a new commit (i.e. virtually always) This patch improves the situation in the following way: * remove inlude "version.h" from includes.h * Use samba_version_string() instead of SAMBA_VERSION_STRING in files that use no other macro from version.h instead of SAMBA_VERSION_STRING. * explicitly include "version.h" in those files that use more macros from "version.h" than just SAMBA_VERSION_STRING. Michael
* Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.cSteven Danneman2009-01-121-0/+20
| | | | | | If they are not explicitely set in either place both will default to LOCKDIR. Signed-off-by: Michael Adam <obnox@samba.org>
* Remove the global "cmdline_auth_info" from source3/lib/util.cVolker Lendecke2008-12-141-21/+38
| | | | This involves changing all our clients, that's why it's so large.
* Fix bug #5928 - Option --version in testparm does not work.Tomasz Krasuski2008-12-051-1/+1
|
* s3: fix a few "shadows a global declaration" warningsTim Prouty2008-11-031-4/+4
|
* popt: add support for setting MODULESDIR via popt_common_dynconfig.Michael Adam2008-08-151-0/+10
| | | | | Michael (This used to be commit 81030e49ce344260d279a3112b13a21ce3520748)
* popt: add a popt_common_debuglevel set of options providing -d|--debuglevelMichael Adam2008-07-151-0/+6
| | | | | Michael (This used to be commit e7d08b673066a63aaa7ab54ac59566ae8a975672)
* Fix client authentication with -P switch in client tools (Bug 5435).Günther Deschner2008-05-051-29/+1
| | | | | Guenther (This used to be commit d077ef64cd1d9bbaeb936566c2c70da508de829f)
* Fix Coverity ID 436Volker Lendecke2008-03-231-0/+5
| | | | (This used to be commit 9e0ee1ad4fe0f0e7dec0b6824ef234147d845b8d)
* popt: Use SMB_CONF_PATH environment var if no other configfile is set.Kai Blin2008-02-041-3/+12
| | | | | | | | | Now --configfile (or -s) will have precedence, if that's not given SMB_CONF_PATH is checked, otherwise the $(CONFIGDIR)/smb.conf default value is used. Thanks to Michael for his comments. (This used to be commit 92a9c6c56fa90aead3b7f4a07bf4f3973ba23555)
* Add general '-e' option to enable smb encryptionJeremy Allison2008-01-051-0/+6
| | | | | | on tools. Jeremy. (This used to be commit 757653966fc1384159bd2d57c5670cd8af0cae96)
* add POPT_COMMON_CONFIGFILE which only provides --configfile (not -s)Stefan Metzmacher2007-12-141-0/+6
| | | | | metze (This used to be commit af3392cc20942158ac9e0a533799c5904ff23347)
* Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison2007-12-101-13/+13
| | | | | | | them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
* We don't need P_GSTRING or P_UGSTRING anymore.Jeremy Allison2007-12-071-1/+1
| | | | | Jeremy. (This used to be commit 78dc75600099b5b3b5a8ecffec747a227ff51d70)
* *Really* fix the no password -N opt :-).Jeremy Allison2007-12-061-1/+1
| | | | | Jeremy. (This used to be commit 187d8a94eae87a32432c7c295698517b6ae31523)
* Fix the '-N' option.Jeremy Allison2007-12-061-1/+1
| | | | | Jeremy. (This used to be commit b91b61b54f02f11d80fc25b268faa354fcd1f6e0)
* Get closer to building with smbmount. Move parameter line changesJeremy Allison2007-12-061-79/+23
| | | | | | into lib/util.c Jeremy. (This used to be commit 6ac5d81655927ba8eabea35adaae5adfcbb821c9)
* Make cmdline_auth_info private to lib/popt_common.c. ProvideJeremy Allison2007-12-061-14/+4
| | | | | | accessor functions. Jeremy. (This used to be commit 420195dd3e8b1b6771ab8be8bc974edaafc0cf8f)
* Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison2007-12-061-48/+114
| | | | | | Mostly compiles.... Jeremy. (This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)
* More pstring removal. This one was tricky. I had to addJeremy Allison2007-11-151-9/+17
| | | | | | | one horror (pstring_clean_name()) which will have to remain until I've removed all pstrings from the client code. Jeremy. (This used to be commit 1ea3ac80146b83c2522b69e7747c823366a2b47d)
* Remove the silly "user_socket_options" global variableVolker Lendecke2007-11-091-2/+1
| | | | | This is better done with a 'lp_do_parameter(-1, "socket options", ..); (This used to be commit 814bed029efa391e664ac432d0d68dfeab26381f)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-4/+4
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* r24618: move printing out the version string and exit()Stefan Metzmacher2007-10-101-3/+12
| | | | | | | | | into the popt _POST processing. Now 'smbd -V --bla' complains about an unknown option metze (This used to be commit c115de4beac887442a73b4a85367d7b5fded68e6)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-101-5/+5
| | | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
* r16046: Hmmm. I don't fully understand popt, but this is necessary for ↵Volker Lendecke2007-10-101-1/+1
| | | | | | | | | | | | | | smbclient to show a prompt again :-) James, could you check that this is ok? I think this was part of your Revision 15848. Thanks, Volker (This used to be commit 91534146b4718206f0e2a7f456154a0497277dfd)
* r15848: Introduce commandline options to set the remainder of the parameters inJames Peach2007-10-101-11/+143
| | | | | | dynconfig.c. This is mainly useful for test harness scripts, hence the lack of short options. (This used to be commit bf3b71c84595608d71e0f15a6158adacb295518e)
* source code fix for bug 1095 -- honor the '-l' optionGerald Carter2004-03-261-0/+2
| | | | (This used to be commit ab48af6993b427f525c36aa0ffd57c612c100561)
* metze's autogenerate patch for version.hGerald Carter2003-08-201-1/+1
| | | | (This used to be commit ae452e51b02672a56adf18aa7a7e365eeaba9272)
* Change Samba to always use extended security for it's guest logins, (ie,Andrew Bartlett2003-08-141-0/+30
| | | | | | | | | | | | NTLMSSP with "" username, NULL password), and add --machine-pass (-P) to all of Samba's clients. When connecting to an Active Directory DC, you must initiate the CIFS level session setup with Kerberos, not a guest login. If you don't, your machine account is demoted to NT4. Andrew Bartlett (This used to be commit 3547cb3def45a90f99f67829a533eac1ccba5e77)
* Fix client autonegotiate signing.Volker Lendecke2003-08-121-1/+2
| | | | | Jeremy. (This used to be commit a4d2dd1d40f6b1322e69d430023aa89dac86fda3)
* Add a command line option (-S on|off|required) to enable signing on clientJeremy Allison2003-07-301-3/+22
| | | | | | connections. Overrides smb.conf parameter if set. Jeremy. (This used to be commit 879309671df6b530e0bff69559422a417da4a307)
* Fix poptOption definition for --no-pass and --kerberos options. The 'value'Tim Potter2003-07-021-2/+2
| | | | | | | | field for an option should be set to an identifier to use in a switch statement or zero if the the arg field is to be updated only. This fixes smbclient -k always prompting for a password which we don't need. (This used to be commit 0744e2dad372904a554019146ff6f6e31ca1b2d2)
* Merge Jelmer's popt updates from HEAD.Tim Potter2003-04-141-32/+240
| | | | (This used to be commit 98e84b3e83d2a365c818ea64f9418edb29d690f2)
* Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison2002-11-121-3/+1
| | | | | | | dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. (This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)
* Sync with HEADJelmer Vernooij2002-11-091-7/+46
| | | | (This used to be commit 1a25dc776ddc36de9a214e023becff1ceb10290c)
* Sync with HEADJelmer Vernooij2002-10-281-5/+53
| | | | (This used to be commit 4ae350671ef8aeae52995b3ca79e135cf444ae39)
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-251-2/+2
| | | | (This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
* Our include popt is starting to get a bit old - fixed some compileTim Potter2002-07-291-1/+1
| | | | | | | problems here. Also fixed some non-constant initialisers in samsync. (This used to be commit 33bd7214736dafd5927d63af5f8510646b81e7df)
* A place to store common popt routines.Tim Potter2002-07-291-0/+49
(This used to be commit b5b64a4e90792000fc377a032cd5c7cb9918261b)