Jeremy Allison
82b8f749a3
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.
-
Jeremy Allison
b521abd86b
Added new error codes. Fix up connection code to retry in the same way
...
that app-head does.
Jeremy.
-
Jelmer Vernooij
821b27037b
Update popt help message and use popt-common
-
Gerald Carter
f70caa25e4
merge of working dsrolegetprimdominfo() client code from APP_HEAD
-
Gerald Carter
38c9e42998
merge of new client side support the Win2k LSARPC UUID in rpcbind
...
from APP_HEAD
-
Tim Potter
561204905b
The new popt_common_debug code obviates the need to muck around with
...
AllowDebugChange, saving the debuglevel across lp_load() calls etc.
-
Gerald Carter
a7616b2b94
remove inet_aton()
-
Jelmer Vernooij
4631e1fd10
Forgot to remove old usage() function
-
Jelmer Vernooij
355d28d9ea
Use popt for printing --help message
-
Tim Potter
8c17904848
Use common popt definition for -d option.
-
Andrew Bartlett
6129718bea
If we can't connect, make sure its a level 0 so we see it, and the reason.
-
Tim Potter
2674adf1b5
Added -I option to rpcclient.
-
Andrew Tridgell
91ad9041e9
used findstatic.pl to make some variables static and remove some dead
...
code
-
Andrew Bartlett
23689b0746
Update cli_full_connection() to take a 'flags' paramater, and try to get a
...
few more places to use it.
Andrew Bartlett
-
Andrew Bartlett
c205b18bd6
Remove the password length paramater from cli_full_connection - it really
...
didn't make any sense, and its was always just strlen(password) anyway.
This fixes it to be strlen(password)+1
Andrew Bartlett
-
Tim Potter
671607a3ee
Fixed compile warning.
-
Tim Potter
28c1fae4d8
Fixed command line argument parsing.
-
Gerald Carter
91929afbb0
merges from SAMBA_2_2
-
Tim Potter
06df6c79ae
Fixed comment.
-
Tim Potter
f287f62962
Free popt context after argument parsing.
-
Gerald Carter
b73a8416d3
added "list <pipe>" command to display the available commands
...
one a single pipe
-
Tim Potter
1f007d3ed4
Renamed get_nt_error_msg() to nt_errstr().
-
Jim McDonough
e5e7132e80
One more fix to get popt to work for some compilers...this is the downside to popt. Every option has to be in fixed storage.
-
Jim McDonough
cd34897749
Convert rpcclient to use popt instead of getopt. Includes changing of got_pass from BOOL to int. Also includes long option names...anyone want those different before I update the doc? Please try this out. I've tried to test all the flags, but the more times we kick the tires...
-
Tim Potter
5b195f8bf1
argc == 0 is an impossible condition.
-
Herb Lewis
c849e93392
merge from 2.2 - fix parsing of options
-
Tim Potter
6a58c9bd06
Removed version number from file header.
...
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
-
Tim Potter
950d8e3656
Display nicer message when server name could not be resolved.
-
Jean-François Micouleau
18dc4cd57a
put back the -l option to rpcclient.
...
that's the most useful option in this tool !
I love rpcclient ;-)
J.F.
-
Tim Potter
60d1d0bfa9
Fix for null command description in rpcclient help. From Benjamin Kuit
...
<bj@it.uts.edu.au>.
-
Andrew Tridgell
aa52ae7354
lp_setup_logfile() doesn't exist any more
-
Jeremy Allison
0bea6cf79a
Removed global debugf. Replaced with lp_set_logfile(name).
...
Fixed winbindd to finally stop leaving log. file droppings :-).
Jeremy.
-
Jean-François Micouleau
cb61606b8e
initialise strings
-
Andrew Bartlett
eee925861a
This change reworkes the connection code for both rpcclient and net new
...
'net' untility.
This should make it easier to port rpcclient code across to net.
It also allows SPNEGO (the NTLMSSP subsystem in particular) to work, becouse
it kills off the early destruction of the clear-text password.
Andrew Bartlett
-
Tim Potter
8fc772c9e5
Removed TimeInit() call from every client program (except for one place
...
in smbd/process.c where the timezone is reinitialised. Was replaced with
check for a static is_initialised boolean.
-
Martin Pool
79ec88f0da
Store some path names in global variables initialized to configure
...
default, rather than in preprocessor macros.
-
Tim Potter
c3f5df8d67
Display some errors if the initial connection to the server could not be
...
made.
-
Jean-François Micouleau
0157fdc8a2
allow the samr commands to work back and the help too ;-)
...
J.F.
-
Tim Potter
a40facba96
Some old stuff hanging around since the CIFS conference. Big cleanup of
...
rpcclient code. Refactored cmd_* functions to move common mem_ctx and pipe
opening stuff up one level. Moved rpcclient.h into rpcclient directory and
out of includes/smb.h
-
Jeremy Allison
4fdd45f3cc
Fixup insure changes for rpcclient.
...
Jeremy.
-
Jeremy Allison
9f5405d425
Incorrect definition of debugf.
...
Jeremy.
-
Tim Potter
2d0922b0ea
Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.
-
Simo Sorce
d38bc1dcec
return NT_STATUS_NO_MEMORY istead of NT_STATUS_OK if we are out of memory.
-
Simo Sorce
5ceecc7bef
move to SAFE_FREE()
-
Andrew Bartlett
512e9a5f94
Fix up NTSTATUS stuff in rpcclient's help function
-
Tim Potter
66c7bb9467
oh foo
-
Tim Potter
a46e9cc3a1
Don't crash if run with no command line arguments. (-:
-
Andrew Tridgell
dcd6e735f7
the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but the client code still needs some work
-
Tim Potter
c292b63ff6
Fix bug in usage().
...
Allow user to invoke with \\ or // in front of server name.
-
Andrew Tridgell
1d36250e33
converted another bunch of stuff to NTSTATUS
-