Volker Lendecke
1c02bee829
Revert "Fix warnings"
...
This reverts commit 9a966e5593
.
(This used to be commit 413695e8d0
)
2008-03-01 09:38:14 +01:00
Volker Lendecke
b50eb31bb4
Fix warnings
...
(This used to be commit 9a966e5593
)
2008-02-29 15:17:38 +01:00
Karolin Seeger
e1b32594c7
Remove smbmount.
...
Karolin
(This used to be commit 5fbd98f706
)
2008-02-28 15:53:43 +01:00
Volker Lendecke
525aac775e
Add async cli_pull support
...
This is the big (and potentially controversial) one. It took a phone call to
explain to metze what is going on inside cli_pull_read_done, but I would really
like everybody to understand this function. It is a very good and reasonably
complex example of async programming. If we want more asynchronism in s3, this
is what we will have to deal with :-)
Make use of it in the smbclient "get" command.
Volker
(This used to be commit 844a163458
)
2008-02-28 15:27:55 +01:00
Volker Lendecke
c7522804a5
Do the formatting change in all 3 places :-)
...
(This used to be commit d32066eaef
)
2008-02-25 09:55:53 +01:00
Volker Lendecke
90ad42fad3
Fix confusing error message -- bug 5252
...
Thanks to Walter Franzini
(This used to be commit 19de47fef1
)
2008-02-25 09:51:33 +01:00
Simo Sorce
d88e40106f
Make sure mount.cifs.c compiles on Fedora 9 with gcc 4.3
...
(This used to be commit ce57d38825
)
2008-02-22 14:10:28 -05:00
Tim Potter
2cd374db8d
Replace C++-style comments with C.
...
(This used to be commit a1d0746923
)
2008-02-18 10:15:22 +01:00
Simo Sorce
31e5116a88
Revert "Merge in J.Layton patch and resolve conflict."
...
This reverts commit 6b1a118eaa
.
We found that this patch does not play well with currently released cifs.ko
code, so after discussions with Jeff Layton and Steve french we decided it
is best to back it off and re-think a better approach. Jeff will send new
patches later, but for now it is better to just revert to the previous code
(This used to be commit c5b7d538ec
)
2008-02-14 12:03:32 -05:00
Jeremy Allison
7a694af2f4
Fix bug #5247 "Wildcard expansion in mget is broken"
...
for 3.2.
Jeremy.
(This used to be commit 69aa076620
)
2008-02-08 16:59:52 -08:00
Volker Lendecke
88c27f83d4
Convert receive_smb_raw to NTSTATUS
...
(This used to be commit ba771bd858
)
2008-02-02 11:03:23 +01:00
Volker Lendecke
b679dda6c9
Fix bogus uninitialized variable warnings
...
(This used to be commit 71d6580c83
)
2008-01-25 21:20:39 +01:00
Volker Lendecke
ba6c78c355
Fix Coverity ID 463
...
(This used to be commit 21d126c56a
)
2008-01-24 16:31:55 +01:00
Volker Lendecke
587cf54c61
strtok -> strtok_r
...
(This used to be commit fd34ce4370
)
2008-01-23 15:08:04 +01:00
Jeremy Allison
b97fbf5888
Fix error message for new allinfo command.
...
Jeremy.
(This used to be commit 3a1bcbfa7c
)
2008-01-18 13:47:10 -08:00
Volker Lendecke
3d3d6e7020
Add the "allinfo" command to smbclient
...
Modeled after the Samba4 allinfo command
(This used to be commit 3fa0cf3fe5
)
2008-01-18 11:08:17 +01:00
Igor Mammedov
94fdd59f1c
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>
(This used to be commit dfc80b4f1c
)
2008-01-16 09:51:06 -05:00
Karolin Seeger
1ac5e6cdfe
Correct comment. Default debug level of smbclient is 1, not 0.
...
(This used to be commit 9c81125e6d
)
2008-01-09 12:21:44 +01:00
Steve French
56a8ef0bbb
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
...
(This used to be commit d3b91e494c
)
2008-01-05 14:51:23 -06:00
Jeremy Allison
722d288d21
Use the common -e option not the custom one.
...
Jeremy.
(This used to be commit ef1bbcdfb9
)
2008-01-05 00:46:04 -08:00
Jeremy Allison
9baa97a46e
Add general '-e' option to enable smb encryption
...
on tools.
Jeremy.
(This used to be commit 757653966f
)
2008-01-05 00:23:35 -08:00
Jeremy Allison
01afb07321
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit 3a45f62310
)
2008-01-04 19:06:37 -08:00
Jeremy Allison
058ba641f3
Fix idle client reading keepalive.
...
Jeremy.
(This used to be commit 4ce0bf7856
)
2008-01-04 14:56:56 -08:00
Jeremy Allison
9254bb4ef1
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.
(This used to be commit c4e5a50504
)
2008-01-04 12:56:23 -08:00
Steve French
8122eb767a
Update mount.cifs help
...
Steve
(This used to be commit b9d2da4d10
)
2008-01-03 17:13:38 -06:00
Jeremy Allison
06f80cf8be
We may use 127k read/write for encrypted connections.
...
Jeremy.
(This used to be commit 656c9d0844
)
2007-12-30 18:05:33 -08:00
Jeremy Allison
f04daa682a
Fix error message.
...
Jeremy.
(This used to be commit a0494b115b
)
2007-12-29 22:42:20 -08:00
Jeremy Allison
6d9b2439d2
Added -e, --encrypt option to smbclient that immediately
...
forces encrypted smb after initial connect. Will document
for 3.2 official release.
Jeremy.
(This used to be commit f02bf41928
)
2007-12-29 22:39:52 -08:00
Jeremy Allison
afce2b245a
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.
(This used to be commit d241bfa577
)
2007-12-27 23:51:03 -08:00
Jeremy Allison
afc93255d1
Add SMB encryption. Still fixing client decrypt but
...
negotiation works.
Jeremy.
(This used to be commit d78045601a
)
2007-12-26 17:12:36 -08:00
Volker Lendecke
bea1659911
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.
(This used to be commit 86d9412611
)
2007-12-21 09:58:20 +01:00
Volker Lendecke
042201bcc1
Fix a "no prototype" warning
...
(This used to be commit e5bd32812d
)
2007-12-19 20:48:45 +01:00
Rishi Srivatsavai
bf2c5e2bde
Add smbclient support for basic mDNS browsing.
...
Patch from Rishi Srivatsavai (bugzilla #4150 ), with tallocification
and minor syle changes by me.
(This used to be commit db74b99d0e
)
2007-12-17 22:09:09 -08:00
Simo Sorce
d20608c8f3
Merge in J.Layton patch and resolve conflict.
...
(This used to be commit 6b1a118eaa
)
2007-12-17 09:43:18 -05:00
Karolin Seeger
6a364ce330
Revert smbclient changes.
...
Patch broke option -p.
Sorry for breaking the build!
Karolin
(This used to be commit 81dab4145f
)
2007-12-14 12:08:30 +01:00
Karolin Seeger
4d7a337d52
Make smbclient to display error message and usage in the case of invalid options.
...
(This used to be commit 04131b26de
)
2007-12-14 11:20:27 +01:00
Jeremy Allison
138333ed1f
We don't need to call endpwent if we never call getpwent.
...
Jeremy.
(This used to be commit 27078d1292
)
2007-12-13 17:25:26 -08:00
Jeremy Allison
03ccaab05f
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.
(This used to be commit 7fad5f38ea
)
2007-12-13 17:18:48 -08:00
Jeremy Allison
96591dd868
Missed one strcpy call.
...
Jeremy.
(This used to be commit b215fb1ad0
)
2007-12-12 19:12:18 -08:00
Jeremy Allison
48081e07a3
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.
(This used to be commit eff2b368e8
)
2007-12-12 19:06:04 -08:00
Jeremy Allison
f6b38a70aa
Fix bug #4784 . Patch from Steve Langasek <vorlon@debian.org>.
...
Jeremy.
(This used to be commit 4f503ea891
)
2007-12-12 18:45:13 -08:00
Jeremy Allison
7faee02d0d
Remove the char[1024] strings from dynconfig. Replace
...
them with malloc'ing accessor functions. Should save a
lot of static space :-).
Jeremy.
(This used to be commit 52dc5eaef2
)
2007-12-10 11:30:37 -08:00
James Peach
2ecdbea0cb
Move load_case_tables() to after logging is set up. This can log
...
errors.
(This used to be commit ffee51586c
)
2007-12-09 13:22:19 -08:00
Volker Lendecke
d58868f2a4
C++ warning
...
(This used to be commit 85a7f800b6
)
2007-12-09 17:04:05 +01:00
Volker Lendecke
1e26ecf666
Fix C++ warnings
...
(This used to be commit 01a5c3ea4b
)
2007-12-08 09:39:36 -08:00
Jeremy Allison
4deeca97e4
More null deref fixes.
...
Jeremy.
(This used to be commit efaebdb141
)
2007-12-07 14:43:31 -08:00
Jeremy Allison
097e5b4fc4
More null deref fixes.
...
Jeremy
(This used to be commit 78c98796d9
)
2007-12-07 14:37:00 -08:00
Jeremy Allison
8267331be6
Don't deref null pointers.
...
Jeremy.
(This used to be commit 686e4e5efe
)
2007-12-07 14:35:04 -08:00
Jeremy Allison
c281ff715b
After conversations with Jerry, remove smbctool until it's
...
maintained. Now I don't have to fix the pstrings in it :-).
Jeremy.
(This used to be commit 9da4f40843
)
2007-12-07 12:46:55 -08:00
Jeremy Allison
67344a467f
Remove pstring from clitar.c
...
Jeremy
(This used to be commit 1d5fee5038
)
2007-12-07 11:28:16 -08:00