Age | Commit message (Collapse) | Author | Files | Lines |
|
(This used to be commit d3962da61a5717dda7e99996bbeb4735d4373041)
|
|
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)
|
|
named. Ensure we can query them.
Jeremy.
(This used to be commit 842e08e52a665ae678eea239759bb2de1a0d7b33)
|
|
(This used to be commit 8877ff2482bfa880614a9f40eed448d60216419d)
|
|
from APP_HEAD
(This used to be commit 38c9e4299845fd77cc8629945ce2d259489f7437)
|
|
what 2k does.
(This used to be commit 99437db17aa7c2e3448f28f627e993e8ab762d31)
|
|
determine what access masks should be applied to various SAMR calls.
Andrew Bartlett
(This used to be commit dbf28f992bcd4859a9b7d78ac1d33e4063617f94)
|
|
(This used to be commit e77e21cdbe2cb2d594494dd6e5cac37b5b1bcab8)
|
|
Andrew Bartlett
(This used to be commit ebc8452a30b2a9bdd6698af8dad489f3f92ae7a6)
|
|
(This used to be commit 361afd241beeda033068c7f3a976f3f69fa2ac33)
|
|
(This used to be commit b3b3e45583718e5b034f6c67609523f35753c1a8)
|
|
Some reformatting.
(This used to be commit 612eae45ef7b0289e0c67b331d96a351fc567e5c)
|
|
- close down connect and domain policy handles when exiting
- allow enumeration of > 65535 groups or aliases
- error handling for non-zero return value from enumeration functions
(This used to be commit a48f362ca7ff6477d3064bc2c5c888eeb095d2ce)
|
|
(This used to be commit fa5c1ba12b4cae0c03f1adbc38e7ad5eeca0e895)
|
|
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
(This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
|
|
J.F.
(This used to be commit 55b9cd7af611e5f76896e1849529629e5e7caaf8)
|
|
J.F.
(This used to be commit d5f2e645e43224b966c17c593fff33b64d6c0a8b)
|
|
it is passed. Not sure what these different contexts are called or what
they are used for.
- if a rid is specified to samquerysecobj then use the sam user policy
handle for that rid
- if -d is specified then use the sam domain policy handle
- otherwise just use the sam connect policy handle
JF, any ideas about this?
(This used to be commit 4ef50ef9f76219ea8acc29a1d740b31a1d7a1e04)
|
|
(This used to be commit 1dc0e9096db11bf9c8fa7ba0424ab1e96bb177dc)
|
|
- added lsaquerysecobj to rpcclient
- renamed querysecobj to samquerysecobj
- removed duplicated display_sec_acl() code from cmd_spoolss.c and
cmd_samr.c and moved it into display_sec.c
(This used to be commit 59b2e3f408a5ff22f2d81a927d010a7df5f19f7f)
|
|
(This used to be commit d4bc8f02f7dc856ffb29e95a81ffcc3a9d4b1695)
|
|
and some comments to the samr server code, to explain what we should
return here.
J.F.
(This used to be commit 06cb20a46d9d9f8abf0d92ba4cfa4d23187ad715)
|
|
descriptor.
added to samr_lookup_name the choice to select the either the builtin
(s-1-5-32) domain or our current domain (s-1-5-21-x-y-z)
J.F.
(This used to be commit d9d1486165591d9f7dad04f197fa692654a17a59)
|
|
discovered that our reply is short by 4 bytes since day 1 of this code.
Added a decode function to rpcclient too.
splitted the STRING2 fields filling while trying to understand the win9x
userlist bug. (didn't fix the bug, but the reply looks closer to NT).
J.F.
(This used to be commit bfbe7f377e5fcb09e87bfc866196dfc51a8fe64d)
|
|
allow hex or decimal rids to be specified.
(This used to be commit d93488b953337890a17de124f88cf2066f733c40)
|
|
added level 4 decoding.
J.F.
(This used to be commit 0573caa91bdff361e3e864d3fd39d450e3738580)
|
|
J.F.
(This used to be commit 0157fdc8a291ba9872757fb6cf5e16e98058a034)
|
|
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
(This used to be commit a40facba9651f9fb1dcc9e143f92ca298a324312)
|
|
the build farm
(This used to be commit 5bb7e4f0f65edf1db20245f403cbe81833134240)
|
|
the client code still needs some work
(This used to be commit dcd6e735f709a9231860ceb9682db40ff26c9a66)
|
|
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
|
|
- ported two rpc back from TNG (WINREG: shutdown and abort shutdown)
- some optimizations and changed some DEBUG statement in loadparm.c
- changed rpcclient a bit moved from non reentrant next_token_nr to next_token
- in cmd_reg.c not sure if getopt will work ok on all platforms only setting optind=0
(This used to be commit fd54412ce9c3504a547e232602d6129e08dd9d4d)
|
|
(This used to be commit 37052a1bcc5cd049918c3d5ac4c41c3a669290af)
|
|
(This used to be commit aa9024c95996dec67d76c5ed108cfba733dcdbfe)
|
|
Added samlookupnames and samlookuprids rpcclient commands.
(This used to be commit 2ca5ea16bda131c6314444be5c671165d09c8422)
|
|
Added cli_ functions for set userinfo and userinfo2.
(This used to be commit 6c9796286c489a79c96d28b081ecf151803dbf7c)
|
|
(This used to be commit 22b760e246f8fcf79daf24542cc35bdf41d1fea7)
|
|
(This used to be commit ab58fdf77a12d101f5ac6b6702cd8ed9dc2c7d55)
|
|
(This used to be commit 727d2929bc4025ab418e933356d8ba4f31420423)
|
|
Allow rid to be specified in lookupuser.
(This used to be commit 1ea5aa4a80f9da56b071b403fb8f1cfa0ff79b8d)
|
|
Moved fetch_domain_sid() calls out of harms way so they didn't spam out
queries on SAMR pipe.
(This used to be commit 982195c89d2ea0e66c24f6426f50c7d2f35800e0)
|
|
(This used to be commit 23427a57da8b18506bbd970e5d7491c0917f6d06)
|
|
(This used to be commit 0a6ceed279cc8111008b21f75c6791efbd993f4b)
|
|
Jeremy.
(This used to be commit 94747b4639ed9b19f7d0fb896e43aa392a84989a)
|
|
convert names to rids yet.
(This used to be commit cea13dff759dfb7efb5d2a248dd77905e16b1605)
|
|
(This used to be commit 0cb7639cef4a1ba0d56d7e58bd7e03343cbf229d)
|
|
to be filled in one at a time.
(This used to be commit 6aaac3766324302b995b5a55876bf2ab74af1ff8)
|
|
back to working order. The main change is that the cli_*() RPC
functions from libsmb/*.c now should accept a struct cli_state*.
The reason for this is that rpcclient should establish the
connection to the server at startup so that it is not necessary
to keep the clear test or password hash in memory for each command.
enumports and enumprinters now works as well. lsa* functions
have been tested. SAMR calls may or may not work (one of the core
dumps I know), but it compiles :-)
jerry
(This used to be commit d98ac8852ae6b39b6fcff92c346ba56d9e63c518)
|
|
RPC code to merge with new passdb code.
Currently rpcclient doesn't compile. I'm working on it...
Jeremy.
(This used to be commit 0be41d5158ea4e645e93e8cd30617c038416e549)
|
|
now pass through insure except for some of the dodgy spoolss prs
weirdness.
(This used to be commit 76f08426a08881793b0ef32ccc4e13c54f26417f)
|