summaryrefslogtreecommitdiff
path: root/source3/lib/popt_common.c
AgeCommit message (Collapse)AuthorFilesLines
2013-06-11lib: Remove an unused variableVolker Lendecke1-1/+0
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Jun 11 21:52:09 CEST 2013 on sn-devel-104
2013-05-18swat: Remove swat.Kai Blin1-10/+0
Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Sat May 18 16:32:38 CEST 2013 on sn-devel-104
2012-11-30s3:popt_common: Fix password processing.Stefan Metzmacher1-11/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Nov 30 14:01:08 CET 2012 on sn-devel-104
2012-11-08s3fs-popt: Add function to burn the commandline password.Andreas Schneider1-0/+47
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed by: Jeremy Allison <jra@samba.org>
2012-06-12s3: Add --pw-nt-hash to popt_common_credentialsVolker Lendecke1-0/+5
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-05build: Remove sys_open wrapperAndrew Bartlett1-1/+1
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett1-1/+1
There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
2011-06-09s3-param Remove special case for global_scope()Andrew Bartlett1-1/+1
There is no reason this can't be a normal constant string in the loadparm system. (Past reasons were that we didn't have lp_set_cmdline()) Andrew Bartlett
2011-06-09s3-param Remove special case for lp_workgroup()Andrew Bartlett1-2/+2
There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
2011-06-09s3-lib Use domain in credentials file for domain in credentialsAndrew Bartlett1-1/+1
This previously set the workgroup, which is a different thing, but would have been the default if no domain was specified). This more clearly sets the information from the credentials file into the matching field in the credentials structure. Andrew Bartlett
2011-03-30s3-includes: only include system/filesys.h when needed.Günther Deschner1-0/+1
Guenther
2011-02-09s3:popt: add POPT_COMMON_OPTION to provide only the "--option" featureMichael Adam1-0/+5
2010-11-02s3-debug Remove 'AllowDebugChange' and use lp_set_cmdline() insteadAndrew Bartlett1-3/+1
By removing this global variable, the API between the two different debug systems is made more similar. Both s3 and s4 now have lp_set_cmdline() which ensures that the smb.conf cannot overwrite these the user-specified log level. Andrew Bartlett
2010-09-02s3-param: added lp_set_cmdline() and --option= parameterAndrew Tridgell1-0/+10
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-05s3-popt: Only include popt-common.h when needed.Andreas Schneider1-0/+1
2010-01-24s3: Add -C (--use-ccache) to popt_common_credentialsVolker Lendecke1-1/+6
2009-08-24s3:lib: setup talloc log and abort functionsStefan Metzmacher1-0/+7
metze
2009-01-15s3: make better use of ccache by not including version.h in every C-file.Michael Adam1-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
2009-01-12Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.cSteven Danneman1-0/+20
If they are not explicitely set in either place both will default to LOCKDIR. Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-14Remove the global "cmdline_auth_info" from source3/lib/util.cVolker Lendecke1-21/+38
This involves changing all our clients, that's why it's so large.
2008-12-05Fix bug #5928 - Option --version in testparm does not work.Tomasz Krasuski1-1/+1
2008-11-03s3: fix a few "shadows a global declaration" warningsTim Prouty1-4/+4
2008-08-15popt: add support for setting MODULESDIR via popt_common_dynconfig.Michael Adam1-0/+10
Michael (This used to be commit 81030e49ce344260d279a3112b13a21ce3520748)
2008-07-15popt: add a popt_common_debuglevel set of options providing -d|--debuglevelMichael Adam1-0/+6
Michael (This used to be commit e7d08b673066a63aaa7ab54ac59566ae8a975672)
2008-05-05Fix client authentication with -P switch in client tools (Bug 5435).Günther Deschner1-29/+1
Guenther (This used to be commit d077ef64cd1d9bbaeb936566c2c70da508de829f)
2008-03-23Fix Coverity ID 436Volker Lendecke1-0/+5
(This used to be commit 9e0ee1ad4fe0f0e7dec0b6824ef234147d845b8d)
2008-02-04popt: Use SMB_CONF_PATH environment var if no other configfile is set.Kai Blin1-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)
2008-01-05Add general '-e' option to enable smb encryptionJeremy Allison1-0/+6
on tools. Jeremy. (This used to be commit 757653966fc1384159bd2d57c5670cd8af0cae96)
2007-12-14add POPT_COMMON_CONFIGFILE which only provides --configfile (not -s)Stefan Metzmacher1-0/+6
metze (This used to be commit af3392cc20942158ac9e0a533799c5904ff23347)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison1-13/+13
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-12-07We don't need P_GSTRING or P_UGSTRING anymore.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 78dc75600099b5b3b5a8ecffec747a227ff51d70)
2007-12-06*Really* fix the no password -N opt :-).Jeremy Allison1-1/+1
Jeremy. (This used to be commit 187d8a94eae87a32432c7c295698517b6ae31523)
2007-12-06Fix the '-N' option.Jeremy Allison1-1/+1
Jeremy. (This used to be commit b91b61b54f02f11d80fc25b268faa354fcd1f6e0)
2007-12-06Get closer to building with smbmount. Move parameter line changesJeremy Allison1-79/+23
into lib/util.c Jeremy. (This used to be commit 6ac5d81655927ba8eabea35adaae5adfcbb821c9)
2007-12-06Make cmdline_auth_info private to lib/popt_common.c. ProvideJeremy Allison1-14/+4
accessor functions. Jeremy. (This used to be commit 420195dd3e8b1b6771ab8be8bc974edaafc0cf8f)
2007-12-06Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison1-48/+114
Mostly compiles.... Jeremy. (This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)
2007-11-15More pstring removal. This one was tricky. I had to addJeremy Allison1-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)
2007-11-09Remove the silly "user_socket_options" global variableVolker Lendecke1-2/+1
This is better done with a 'lp_do_parameter(-1, "socket options", ..); (This used to be commit 814bed029efa391e664ac432d0d68dfeab26381f)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-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)
2007-10-10r24618: move printing out the version string and exit()Stefan Metzmacher1-3/+12
into the popt _POST processing. Now 'smbd -V --bla' complains about an unknown option metze (This used to be commit c115de4beac887442a73b4a85367d7b5fded68e6)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-5/+5
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r16046: Hmmm. I don't fully understand popt, but this is necessary for ↵Volker Lendecke1-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)
2007-10-10r15848: Introduce commandline options to set the remainder of the parameters inJames Peach1-11/+143
dynconfig.c. This is mainly useful for test harness scripts, hence the lack of short options. (This used to be commit bf3b71c84595608d71e0f15a6158adacb295518e)
2004-03-26source code fix for bug 1095 -- honor the '-l' optionGerald Carter1-0/+2
(This used to be commit ab48af6993b427f525c36aa0ffd57c612c100561)
2003-08-20metze's autogenerate patch for version.hGerald Carter1-1/+1
(This used to be commit ae452e51b02672a56adf18aa7a7e365eeaba9272)
2003-08-14Change Samba to always use extended security for it's guest logins, (ie,Andrew Bartlett1-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)
2003-08-12Fix client autonegotiate signing.Volker Lendecke1-1/+2
Jeremy. (This used to be commit a4d2dd1d40f6b1322e69d430023aa89dac86fda3)
2003-07-30Add a command line option (-S on|off|required) to enable signing on clientJeremy Allison1-3/+22
connections. Overrides smb.conf parameter if set. Jeremy. (This used to be commit 879309671df6b530e0bff69559422a417da4a307)