Günther Deschner
d077ef64cd
Fix client authentication with -P switch in client tools (Bug 5435).
...
Guenther
2008-05-05 16:59:53 +02:00
Volker Lendecke
9e0ee1ad4f
Fix Coverity ID 436
2008-03-23 16:21:59 +01:00
Kai Blin
92a9c6c56f
popt: Use SMB_CONF_PATH environment var if no other configfile is set.
...
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.
2008-02-04 17:41:23 +01:00
Jeremy Allison
757653966f
Add general '-e' option to enable smb encryption
...
on tools.
Jeremy.
2008-01-05 00:23:35 -08:00
Stefan Metzmacher
af3392cc20
add POPT_COMMON_CONFIGFILE which only provides --configfile (not -s)
...
metze
2007-12-14 19:36:14 +01:00
Jeremy Allison
52dc5eaef2
Remove the char[1024] strings from dynconfig. Replace
...
them with malloc'ing accessor functions. Should save a
lot of static space :-).
Jeremy.
2007-12-10 11:30:37 -08:00
Jeremy Allison
78dc756000
We don't need P_GSTRING or P_UGSTRING anymore.
...
Jeremy.
2007-12-07 12:43:10 -08:00
Jeremy Allison
187d8a94ea
*Really* fix the no password -N opt :-).
...
Jeremy.
2007-12-06 19:15:56 -08:00
Jeremy Allison
b91b61b54f
Fix the '-N' option.
...
Jeremy.
2007-12-06 19:06:34 -08:00
Jeremy Allison
6ac5d81655
Get closer to building with smbmount. Move parameter line changes
...
into lib/util.c
Jeremy.
2007-12-06 18:49:39 -08:00
Jeremy Allison
420195dd3e
Make cmdline_auth_info private to lib/popt_common.c. Provide
...
accessor functions.
Jeremy.
2007-12-06 17:22:57 -08:00
Jeremy Allison
c87f3eba9a
Remove pstrings from client/client.c by doing a large rewrite.
...
Mostly compiles....
Jeremy.
2007-12-06 17:16:33 -08:00
Jeremy Allison
1ea3ac8014
More pstring removal. This one was tricky. I had to add
...
one horror (pstring_clean_name()) which will have to
remain until I've removed all pstrings from the client code.
Jeremy.
2007-11-15 14:19:52 -08:00
Volker Lendecke
814bed029e
Remove the silly "user_socket_options" global variable
...
This is better done with a 'lp_do_parameter(-1, "socket options", ..);
2007-11-09 15:11:54 +01:00
Jeremy Allison
f35a266b3c
RIP BOOL. Convert BOOL -> bool. I found a few interesting
...
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
2007-10-18 17:40:25 -07:00
Stefan Metzmacher
c115de4bea
r24618: move printing out the version string and exit()
...
into the popt _POST processing.
Now 'smbd -V --bla' complains about an unknown option
metze
2007-10-10 12:30:11 -05:00
Andrew Tridgell
b0132e94fc
r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
2007-10-10 12:28:22 -05:00
Jeremy Allison
407e6e695b
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
2007-10-10 12:28:20 -05:00
Jeremy Allison
9dafb7f48c
r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need
...
to do the upper layer directories but this is what
everyone is waiting for....
Jeremy.
2007-10-10 11:19:14 -05:00
Volker Lendecke
91534146b4
r16046: Hmmm. I don't fully understand popt, but this is necessary for 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
2007-10-10 11:17:18 -05:00
James Peach
bf3b71c845
r15848: Introduce commandline options to set the remainder of the parameters in
...
dynconfig.c. This is mainly useful for test harness scripts, hence the
lack of short options.
2007-10-10 11:17:11 -05:00
Gerald Carter
ab48af6993
source code fix for bug 1095 -- honor the '-l' option
-
Gerald Carter
ae452e51b0
metze's autogenerate patch for version.h
-
Andrew Bartlett
3547cb3def
Change Samba to always use extended security for it's guest logins, (ie,
...
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
-
Volker Lendecke
a4d2dd1d40
Fix client autonegotiate signing.
...
Jeremy.
-
Jeremy Allison
879309671d
Add a command line option (-S on|off|required) to enable signing on client
...
connections. Overrides smb.conf parameter if set.
Jeremy.
-
Tim Potter
0744e2dad3
Fix poptOption definition for --no-pass and --kerberos options. The 'value'
...
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.
-
Tim Potter
98e84b3e83
Merge Jelmer's popt updates from HEAD.
-
Jeremy Allison
f755711df8
Removed global_myworkgroup, global_myname, global_myscope. Added liberal
...
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
-
Jelmer Vernooij
1a25dc776d
Sync with HEAD
-
Jelmer Vernooij
4ae350671e
Sync with HEAD
-
Gerald Carter
65e7b5273b
sync'ing up for 3.0alpha20 release
-
Tim Potter
33bd721473
Our include popt is starting to get a bit old - fixed some compile
...
problems here.
Also fixed some non-constant initialisers in samsync.
-
Tim Potter
b5b64a4e90
A place to store common popt routines.
-