summaryrefslogtreecommitdiff
path: root/source3/lib/popt_common.c
AgeCommit message (Collapse)AuthorFilesLines
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)
2003-07-02Fix poptOption definition for --no-pass and --kerberos options. The 'value'Tim Potter1-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)
2003-04-14Merge Jelmer's popt updates from HEAD.Tim Potter1-32/+240
(This used to be commit 98e84b3e83d2a365c818ea64f9418edb29d690f2)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison1-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)
2002-11-09Sync with HEADJelmer Vernooij1-7/+46
(This used to be commit 1a25dc776ddc36de9a214e023becff1ceb10290c)
2002-10-28Sync with HEADJelmer Vernooij1-5/+53
(This used to be commit 4ae350671ef8aeae52995b3ca79e135cf444ae39)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter1-2/+2
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-07-29Our include popt is starting to get a bit old - fixed some compileTim Potter1-1/+1
problems here. Also fixed some non-constant initialisers in samsync. (This used to be commit 33bd7214736dafd5927d63af5f8510646b81e7df)
2002-07-29A place to store common popt routines.Tim Potter1-0/+49
(This used to be commit b5b64a4e90792000fc377a032cd5c7cb9918261b)