summaryrefslogtreecommitdiffstats
path: root/source/lib/popt_common.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #5928 - Option --version in testparm does not work.Tomasz Krasuski2008-12-111-1/+1
| | | | (cherry picked from commit 5eadcdfd93023157e582e04cbdadb9f55ed090bb)
* s3: fix a few "shadows a global declaration" warningsTim Prouty2008-11-181-4/+4
| | | | (cherry picked from commit 38234ec8f3665bb867641a4d7a226e4aed6cd124)
* popt: add support for setting MODULESDIR via popt_common_dynconfig.Michael Adam2008-08-211-0/+10
| | | | | | Michael (cherry picked from commit 81030e49ce344260d279a3112b13a21ce3520748) (cherry picked from commit b809c5190c9704af8ec4d0157afa6df03ad5a42a)
* popt: add a popt_common_debuglevel set of options providing -d|--debuglevelMichael Adam2008-07-151-0/+6
| | | | Michael
* Fix client authentication with -P switch in client tools (Bug 5435).Günther Deschner2008-05-051-29/+1
| | | | Guenther
* Fix Coverity ID 436Volker Lendecke2008-03-231-0/+5
|
* 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.
* Add general '-e' option to enable smb encryptionJeremy Allison2008-01-051-0/+6
| | | | | on tools. Jeremy.
* add POPT_COMMON_CONFIGFILE which only provides --configfile (not -s)Stefan Metzmacher2007-12-141-0/+6
| | | | metze
* 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.
* We don't need P_GSTRING or P_UGSTRING anymore.Jeremy Allison2007-12-071-1/+1
| | | | Jeremy.
* *Really* fix the no password -N opt :-).Jeremy Allison2007-12-061-1/+1
| | | | Jeremy.
* Fix the '-N' option.Jeremy Allison2007-12-061-1/+1
| | | | Jeremy.
* Get closer to building with smbmount. Move parameter line changesJeremy Allison2007-12-061-79/+23
| | | | | into lib/util.c Jeremy.
* Make cmdline_auth_info private to lib/popt_common.c. ProvideJeremy Allison2007-12-061-14/+4
| | | | | accessor functions. Jeremy.
* Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison2007-12-061-48/+114
| | | | | Mostly compiles.... Jeremy.
* 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.
* 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", ..);
* 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.
* 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
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* 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.
* 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
* 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.
* source code fix for bug 1095 -- honor the '-l' optionGerald Carter2004-03-261-0/+2
|
* metze's autogenerate patch for version.hGerald Carter2003-08-201-1/+1
|
* 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
* Fix client autonegotiate signing.Volker Lendecke2003-08-121-1/+2
| | | | Jeremy.
* 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.
* 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.
* Merge Jelmer's popt updates from HEAD.Tim Potter2003-04-141-32/+240
|
* 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.
* Sync with HEADJelmer Vernooij2002-11-091-7/+46
|
* Sync with HEADJelmer Vernooij2002-10-281-5/+53
|
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-251-2/+2
|
* 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.
* A place to store common popt routines.Tim Potter2002-07-291-0/+49