| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| | |
>Return NT_STATUS_UNSUCCESSFUL if the sourcedata and echodata rpcs
>return unexpected data.
>
>Closes bug #2.
(This used to be commit 2e5f75beafd3f3d81869ce68e77b8c53cd7a2caf)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
a pstrcpy/fstrcpy or at most a safe_strcpy().
These have the advantage of being compiler-verifiable.
Get these out of the way, along with a rewrite of 'get_short_archi' in the
spoolss client and server. (This pushes around const string pointers, rather
than copied strings).
Andrew Bartlett
(This used to be commit 32fb801ddc035e8971e9911ed4b6e51892e9d1cc)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This allows us to join as a BDC, without appearing on the network as one
until we have the database replicated, and the admin changes the configuration.
This also change the SID retreval order from secrets.tdb, so we no longer
require a 'net rpc getsid' - the sid fetch during the domain join is sufficient.
Also minor fixes to 'net'.
Andrew Bartlett
(This used to be commit 876e00fd112e4aaf7519eec27f382eb99ec7562a)
|
| |
| |
| |
| | |
(This used to be commit 6a1d99d318c2dddc01d8262f31c7afbe9bb1a286)
|
| |
| |
| |
| |
| |
| | |
Also merged a bunch of other random changes as this file has
been drifting off due to lack of janitors.
(This used to be commit 38337ec5ef1bd0e8fa7ba74ea1bc8a21bf2001b2)
|
| |
| |
| |
| |
| | |
Only compiled in when --enable-developer argument passed to configure.
(This used to be commit 017da9393bab276543d0d5c50df8c760780f2450)
|
| |
| |
| |
| | |
(This used to be commit 5b1807dddf0e4fb9fcaedcfe6f67dfd78fe117bb)
|
|\|
| |
| |
| | |
used to be commit 381649916ecbaddefbb6ee0e6137b7cc73eb54b1)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
requests and responses and is only compiled in when --enable-developer
is passed to configure. It includes server and client side code for
generating and responding to functions on this pipe. The functions are:
- AddOne: add one to the uint32 argument and return ig
- EchoData: echo back a variable sized char array to the caller
- SourceData: request a variable sized char array
- SinkData: send a variable sized char array and throw it away
There's a win32 implementation of the client and server in the
junkcode CVS repository in the rpcecho-win32 subdirectory.
(This used to be commit 4ccd34ef836eba05f81dc2da73fd7cfaac201798)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
rpcclient -S pdc -U% -c "samlogon user password"
and it should work with the schannel. Needs testing platforms
different from NT4SP6.
Volker
(This used to be commit ecd0ee4d248e750168597ccf79c389513bb0f740)
|
| |
| |
| |
| | |
(This used to be commit 67bc6bccc22e22e2a6e5cae7c57a1b2b53f49dfd)
|
| |
| |
| |
| |
| | |
some double options and broke some parameters.
(This used to be commit d5f9b0275c91512e1926504f22aaeec2d104430d)
|
| |
| |
| |
| | |
(This used to be commit 2ddfed298d7f0b6e690275725a39c3ef107077ae)
|
| |
| |
| |
| |
| | |
support it.
(This used to be commit ac3df9a8051bd105e8e4192d36b3024fdf9f9506)
|
| |
| |
| |
| |
| |
| | |
> when doing "enumdomusers", rpcclient prints each one preceded by the
> word "group" instead of "user"
(This used to be commit 17567dd1d510d4cf1dffa67be78510ae51571ec6)
|
| |
| |
| |
| |
| | |
IP address resolving code.
(This used to be commit 1f605fe77c56ee2a7838c9f87eedf4bb91ebf688)
|
| |
| |
| |
| |
| | |
command. From Ronan Waide <waider@waider.ie>.
(This used to be commit 992b5eb4e05fbf99d91d7235b9a002957533f95b)
|
| |
| |
| |
| | |
(This used to be commit 018733eedd7897e6811e8461c07e3acf418c0e09)
|
| |
| |
| |
| | |
(This used to be commit 923425e497112c5d1e2e569da6c13dcd02b6a8af)
|
| |
| |
| |
| | |
(This used to be commit 30353da3e94f732e9f1b258e62da906f628e09d0)
|
| |
| |
| |
| | |
(This used to be commit 7418351427071edccb2e825ddbbf31fce8ef381e)
|
| |
| |
| |
| | |
(This used to be commit f035cba2cf5764722318e9cd10dbe7bef56d0732)
|
| |
| |
| |
| |
| | |
(pdbedit already has a -V option..)
(This used to be commit 5de622968d95c1436dbd34edc8d0a9bbff68916b)
|
| |
| |
| |
| | |
(This used to be commit 735c99dadbaffbb53662890e3dc8a668b211da9d)
|
| |
| |
| |
| |
| | |
which are not valid.
(This used to be commit bfb6104521bd75da71a09a6c56bd44560416116e)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
remember under what mail address I have to post.
My last commit to this file made it compile again, my fingers were a bit
too fast to really type this message.
Sorry for this confusion,
Volker
(This used to be commit 3b905f5a16dff8ce6742a92fd403cb720707f513)
|
| |
| |
| |
| | |
(This used to be commit fcfbb3c430b2e48819c0c1852bc154661c4b7adf)
|
| |
| |
| |
| | |
(This used to be commit ada36d2fe38dbb07886a671a6d85b6317ab230a8)
|
| |
| |
| |
| |
| | |
from an environment variable.)
(This used to be commit 9f9077346bf9f7c96376169c60aa893f15fb9d2c)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
command lines. This makes the code much simpler and also stops
trivial syntax errors from causing a crash.
Also fix support for semicolon-separated commands in -c, which is
promised by the manual but apparently never working due to an
off-by-one error.
(This used to be commit d85a25e733fe970ae96a02a5cbc892f2b8dca1b7)
|
| |
| |
| |
| |
| |
| |
| | |
back working again.
Andrew Bartlett
(This used to be commit 512e65a6a6ac5ee97edf1868007db20bb144857f)
|
| |
| |
| |
| |
| |
| | |
to lookup what SIDs have a particular privilege (that is how
privileges are stored).
(This used to be commit 3ddb5fb0dd33992b7db54a661752551a3fefc0b4)
|
| |
| |
| |
| | |
(This used to be commit d3962da61a5717dda7e99996bbeb4735d4373041)
|
| |
| |
| |
| |
| | |
inside this function.
(This used to be commit cdc7c599c72119e96a2a3d392458cd6d52bf56a5)
|
| |
| |
| |
| |
| |
| | |
this now gives us complete remove privileges control in the client
libs, so we are in good shape for starting on the server side.
(This used to be commit bf99440398db86f46233eb2f5adddffb61280a1b)
|
| |
| |
| |
| |
| |
| |
| | |
lsa_add_acct_rights function.
This allows us to add privileges remotely to accounts using rpcclient.
(This used to be commit 2e5e659e095a94b0716d97f673f993f0af99aabe)
|
| |
| |
| |
| | |
(This used to be commit 5d43346761cd120c12766536efb0513994d7bace)
|
| |
| |
| |
| |
| |
| | |
other progs.
(This used to be commit 97133f7168852dc185dbf4492afcaf4b68180f65)
|
| |
| |
| |
| | |
(This used to be commit e3d00fa47d38cd214f5e350e1d6b30d90ed8a52c)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
calls to init_unistr2() in the code and every one of them got the 3rd
argument incorrect, so I thought it best just to remove the argument.
The incorrect usage was caused by callers using strlen() to determine
the length of the string. The 3rd argument to init_unistr2() was
supposed to be the character length, not the byte length of the
string, so for non-english this could come out wrong.
I also removed the bogus 'always allocate at least 256 bytes'
hack. There may be some code that relies on this, but if there is then
the code is broken and needs fixing.
(This used to be commit b9eff31b1433c81fbff733e194914a40f25e3bda)
|
| |
| |
| |
| |
| |
| | |
They still accept a SID, it just can be tedious to have to type SIDs
instead of names all the time.
(This used to be commit 665cc9b1aceb454074e9de9c6e8636b39be29493)
|
| |
| |
| |
| |
| |
| | |
* added container option to net command (patch from SuSE)
* Makefile patch for examples/VFS from SuSE
(This used to be commit 4a6d8280ea27ca7a6998219aacc4b15b1227a659)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
principal similar to the existing cli_lsa_enum_privsaccount() call,
except that cli_lsa_enum_account_rights() doesn't require a call to
open_account first. There is also the minor matter that
cli_lsa_enum_account_rights() works whereas
cli_lsa_enum_privsaccount() doesn't!
this call can be used to find what privileges an account or group
has. This is a first step towards proper privileges support in Samba.
(This used to be commit 65bac11d716f873dcdbda528313c33634c26a072)
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
sizeof(var) in slprintf statements, so as to ensure we don't get mixups there.
Also remove fstrcpy() into a variable that is about to be printed into anyway.
Andrew Bartlett
(This used to be commit 9b761237321d475c324a3995fe6f0922550ae995)
|
| |
| |
| |
| |
| | |
debug level 0.
(This used to be commit 451286febd251d25b8beeae9b41a09102240c219)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch makes Samba compile cleanly with -Wwrite-strings.
- That is, all string literals are marked as 'const'. These strings are
always read only, this just marks them as such for passing to other functions.
What is most supprising is that I didn't need to change more than a few lines of code (all
in 'net', which got a small cleanup of net.h and extern variables). The rest
is just adding a lot of 'const'.
As far as I can tell, I have not added any new warnings - apart from making all
of tdbutil.c's function const (so they warn for adding that const string to
struct).
Andrew Bartlett
(This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
this commit change the structure and code to reflect this
some test revelead I'm right.
some other revelead currently the abort shutdown does not work against my test machine even if it returns successfully ... need investigation
(This used to be commit c5892b656dedd0367adc33d9606311d1dde99a58)
|
| |
| |
| |
| |
| | |
Jeremy.
(This used to be commit 784d15761c3271bfd602866f8f9f880dac77671c)
|
| |
| |
| |
| |
| |
| | |
named. Ensure we can query them.
Jeremy.
(This used to be commit 842e08e52a665ae678eea239759bb2de1a0d7b33)
|
| |
| |
| |
| | |
(This used to be commit 8877ff2482bfa880614a9f40eed448d60216419d)
|