Volker Lendecke
ba771bd858
Convert receive_smb_raw to NTSTATUS
2008-02-02 11:03:23 +01:00
Volker Lendecke
71d6580c83
Fix bogus uninitialized variable warnings
2008-01-25 21:20:39 +01:00
Volker Lendecke
21d126c56a
Fix Coverity ID 463
2008-01-24 16:31:55 +01:00
Volker Lendecke
fd34ce4370
strtok -> strtok_r
2008-01-23 15:08:04 +01:00
Jeremy Allison
3a1bcbfa7c
Fix error message for new allinfo command.
...
Jeremy.
2008-01-18 13:47:10 -08:00
Volker Lendecke
3fa0cf3fe5
Add the "allinfo" command to smbclient
...
Modeled after the Samba4 allinfo command
2008-01-18 11:08:17 +01:00
Igor Mammedov
dfc80b4f1c
Adds support for cifs.resolver upcall.
...
Here is a patch for userspace cifs.spnego handler that adds support for cifs.resolver
upcall used in DFS code.
Any comments are appreciated.
#############################
Cifs upcall with key type cifs.resolver is used for resolving
server names in handling DFS refferals.
Signed-off-by: Igor Mammedov <niallain@gmail.com>
2008-01-16 09:51:06 -05:00
Karolin Seeger
9c81125e6d
Correct comment. Default debug level of smbclient is 1, not 0.
2008-01-09 12:21:44 +01:00
Steve French
d3b91e494c
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
2008-01-05 14:51:23 -06:00
Jeremy Allison
ef1bbcdfb9
Use the common -e option not the custom one.
...
Jeremy.
2008-01-05 00:46:04 -08:00
Jeremy Allison
757653966f
Add general '-e' option to enable smb encryption
...
on tools.
Jeremy.
2008-01-05 00:23:35 -08:00
Jeremy Allison
3a45f62310
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
2008-01-04 19:06:37 -08:00
Jeremy Allison
4ce0bf7856
Fix idle client reading keepalive.
...
Jeremy.
2008-01-04 14:56:56 -08:00
Jeremy Allison
c4e5a50504
Refactor the crypto code after a very helpful conversation
...
with Volker. Mostly making sure we have data on the incoming
packet type, not stored in the smb header.
Jeremy.
2008-01-04 12:56:23 -08:00
Steve French
b9d2da4d10
Update mount.cifs help
...
Steve
2008-01-03 17:13:38 -06:00
Jeremy Allison
656c9d0844
We may use 127k read/write for encrypted connections.
...
Jeremy.
2007-12-30 18:05:33 -08:00
Jeremy Allison
a0494b115b
Fix error message.
...
Jeremy.
2007-12-29 22:42:20 -08:00
Jeremy Allison
f02bf41928
Added -e, --encrypt option to smbclient that immediately
...
forces encrypted smb after initial connect. Will document
for 3.2 official release.
Jeremy.
2007-12-29 22:39:52 -08:00
Jeremy Allison
d241bfa577
Add the capability to set "smb encrypt = required"
...
on a share (or global) and have the server reply with
ACCESS_DENIED for all non-encrypted traffic (except
that used to query encryption requirements and set
encryption state).
Jeremy.
2007-12-27 23:51:03 -08:00
Jeremy Allison
d78045601a
Add SMB encryption. Still fixing client decrypt but
...
negotiation works.
Jeremy.
2007-12-26 17:12:36 -08:00
Volker Lendecke
86d9412611
Remove next_token_nr_talloc and its associated global
...
Only client.c and clitar.c used this, I think they should carry the static
themselves. Also move the a bit funny routine toktocliplist to clitar.c, the
only place where it is used.
2007-12-21 09:58:20 +01:00
Volker Lendecke
e5bd32812d
Fix a "no prototype" warning
2007-12-19 20:48:45 +01:00
Rishi Srivatsavai
db74b99d0e
Add smbclient support for basic mDNS browsing.
...
Patch from Rishi Srivatsavai (bugzilla #4150 ), with tallocification
and minor syle changes by me.
2007-12-17 22:09:09 -08:00
Simo Sorce
6b1a118eaa
Merge in J.Layton patch and resolve conflict.
2007-12-17 09:43:18 -05:00
Karolin Seeger
81dab4145f
Revert smbclient changes.
...
Patch broke option -p.
Sorry for breaking the build!
Karolin
2007-12-14 12:08:30 +01:00
Karolin Seeger
04131b26de
Make smbclient to display error message and usage in the case of invalid options.
2007-12-14 11:20:27 +01:00
Jeremy Allison
27078d1292
We don't need to call endpwent if we never call getpwent.
...
Jeremy.
2007-12-13 17:25:26 -08:00
Jeremy Allison
7fad5f38ea
Add a varient of Steve Langasek <vorlon@debian.org> patch
...
for bug #4780 . Cause user mounts to inherit uid= and gid= from the
calling user when called as non-root, except when overridden on the
commandline.
Jeremy.
2007-12-13 17:18:48 -08:00
Jeremy Allison
b215fb1ad0
Missed one strcpy call.
...
Jeremy.
2007-12-12 19:12:18 -08:00
Jeremy Allison
eff2b368e8
Add a portable version of strlcpy and strlcat and convert
...
all strncpy/strcat calls to them.
Convert all sprintf calls to snprintf. Safety first !
Jeremy.
2007-12-12 19:06:04 -08:00
Jeremy Allison
4f503ea891
Fix bug #4784 . Patch from Steve Langasek <vorlon@debian.org>.
...
Jeremy.
2007-12-12 18:45:13 -08: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
James Peach
ffee51586c
Move load_case_tables() to after logging is set up. This can log
...
errors.
2007-12-09 13:22:19 -08:00
Volker Lendecke
85a7f800b6
C++ warning
2007-12-09 17:04:05 +01:00
Volker Lendecke
01a5c3ea4b
Fix C++ warnings
2007-12-08 09:39:36 -08:00
Jeremy Allison
efaebdb141
More null deref fixes.
...
Jeremy.
2007-12-07 14:43:31 -08:00
Jeremy Allison
78c98796d9
More null deref fixes.
...
Jeremy
2007-12-07 14:37:00 -08:00
Jeremy Allison
686e4e5efe
Don't deref null pointers.
...
Jeremy.
2007-12-07 14:35:04 -08:00
Jeremy Allison
9da4f40843
After conversations with Jerry, remove smbctool until it's
...
maintained. Now I don't have to fix the pstrings in it :-).
Jeremy.
2007-12-07 12:46:55 -08:00
Jeremy Allison
1d5fee5038
Remove pstring from clitar.c
...
Jeremy
2007-12-07 11:28:16 -08:00
Jeremy Allison
252ef28bb8
Add popt to binaries in makefile. Hack clitar to compile until I fix it.
...
Jeremy.
2007-12-06 18:08:01 -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
Andreas Schneider
a9b686bfdc
Remove trailing slashes from service name
2007-12-06 12:40:55 +01:00
Simo Sorce
78581ad070
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-simo
2007-12-05 17:55:50 -05:00
Jeremy Allison
66e7e30b13
pstring removal.
...
Jeremy.
2007-12-05 14:55:08 -08:00
Simo Sorce
05bca093d1
Fix warning
2007-12-05 17:54:09 -05:00
Igor Mammedov
705f06a031
* helper source for handling cifs kernel module upcall for kerberos
...
authorization
* Added -c option to set service prefix to "cifs" in service principal by
default service prefix "host" is used
* replaced malloc/free/srtncpy with replacements from samba project
Signed-off-by: Igor Mammedov <niallain@gmail.com>
2007-12-05 14:33:29 -05:00
Jeremy Allison
905943137c
More pstring removal.
...
Jeremy.
2007-12-04 18:47:20 -08:00
Jeremy Allison
750d26b7e9
Fix sample gtk code. Does this compile ?
...
Jeremy.
2007-12-04 18:24:19 -08:00
Jeremy Allison
cc257b71d1
Remove PSTRING_LEN from smbd/ nmbd/.
...
Remove pstring from libsmb/clidfs.c except for a nasty
hack (that will be removed when pstrings are gone from
client/).
Jeremy.
2007-11-29 17:25:41 -08:00