Andrew Tridgell
0331f93a81
converted reply_search
-
Andrew Tridgell
797293811e
added STR_ASCII support to clistr_pull()
-
Andrew Tridgell
e787fc1daf
enable unicode on the wire by default in smbd
...
the unicode support isn't complete, but it is good enough to be usable
for a test server.
-
Jeremy Allison
9822f13ae2
Added files for CUP printing patch split.
...
Jeremy.
-
Gerald Carter
f37ba49c28
whoops...forgot one
-
Gerald Carter
8b2e21c333
make proto
-
Gerald Carter
0cb7639cef
addprinter and adddriver are working now :-)
-
Gerald Carter
86c56a6921
make proto
-
Gerald Carter
5d32167385
added getdriverdir and cleaned up the PRINTER_DRIVER_CTR struct
-
Gerald Carter
7a84bc93ed
make proto
-
Gerald Carter
83d6bc4454
added getdriver and enumdrivers commands. Also fixed
...
enumprinters so that it works as well. Couple of other
misc fixes while we're working on rpcclient.
-
Gerald Carter
cbce0c9350
renamed one of the enumprinterdrivers parsing functions
...
for consistency sake.
-
Jeremy Allison
0d6c7dedd2
Tidyup return of zero-permissions (map to ACE_DENIED, GENERIC_ALL, Everyone).
...
Jeremy.
-
Jeremy Allison
45e96777d0
Last tweak (I promise :-). Fallback to returning our SID if we're a domain
...
member but can't get the domain sid.
Jeremy.
-
Jeremy Allison
58dd295882
Final ! Fix.
...
Jeremy.
-
Jeremy Allison
f2680842d7
Last attempt at fix...
...
Jeremy.
-
Jeremy Allison
c202ebe3b6
Return correct error message if we can't get the SID secret.
...
Jeremy.
-
Gerald Carter
161842a3e0
make proto
-
Gerald Carter
6aaac37663
more updates. several spoolss commands added as placeholders
...
to be filled in one at a time.
-
Jeremy Allison
b318a754e7
Fixed a Dr. Watson when viewing permissions - we were missing the "standalone
...
server" case.
Jeremy.
-
Jeremy Allison
28a0bc5f57
AS/U on a sparc now joins and authenticates against a Samba PDC !
...
Jeremy.
-
Gerald Carter
b28d51c8e8
last make proto got messed up it seems
-
Gerald Carter
04d74c20bc
make proto
-
Gerald Carter
d98ac8852a
set of changes in the beginning of bringing rpcclient changes
...
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
-
Gerald Carter
af3f2a30c6
patches from Simo. Couple of snity things
-
Andrew Tridgell
d5b39a1d43
don't need srvstr_push_size or srvstr_pull_size
-
Andrew Tridgell
34a0821e08
simpler clistr interface which handles individual packets having
...
unicode bit set differently to capabilities
-
Andrew Tridgell
54bde1b3ae
converted the smb messaging code to unicode
-
Andrew Tridgell
ddee550877
converted a bunch more trans2 calls for unicode. This got quite tricky :(
-
Andrew Tridgell
dca433d035
fixed srvstr_push() call
-
Andrew Tridgell
fbb3bf12df
converted a bunch more fns to unicode
-
Jeremy Allison
f1839d469e
Fix from Jim McDonough of IBM for using Win9x user manager.
...
Jeremy.
-
Andrew Tridgell
a6dd666226
simpler and more correct srvstr_push()
...
it now uses outbuf not inbuf for the unicode flag, which
allows for some server fns to be ascii and means one less
parameter in push calls
-
Jeremy Allison
a24b248a77
Move to a handle database per pipe name, not per pipe.
...
Jeremy.
-
Jeremy Allison
500c7bc0fe
rpc_parse/parse_samr.c: Removed unneeded deubg.
...
rpc_server/srv_netlog_nt.c: Ensure we marshall a bad password return correctly
to a w2k client.
Jeremy.
-
Jeremy Allison
d4ad197f71
AS/U does setuserinfo2, level 0x12 when joining a domain - identical to setuserinfo level 0x12.
...
Jeremy.
-
Jeremy Allison
017a6a9868
We were mismarshalling a netlogon reply for bad password to W2K.
...
Jeremy.
-
Gerald Carter
e652a14264
move charset_initialize() up in the food chain so that lp_load_services
...
and stuff will work....
-
Andrew Tridgell
1e92d340ce
converted reply_tcon()
-
Andrew Tridgell
a074600a09
converted a bunch more server functions to unicode
-
Andrew Tridgell
e54d379030
added STR_ASCII flag to srvstr_pull()
-
Andrew Tridgell
242a6a96d1
- convert chkpath
...
- devicename in tconx is always ascii
-
Andrew Tridgell
84fc5a7795
converted findnext to unicode
-
Jeremy Allison
e7ecb9410f
Fixed reading of strings from big-endian RPC clients.
...
Jeremy.
-
Andrew Tridgell
b98b1435e9
this patch does a number of things:
...
- removes SMB_ALIGNMENT. That macro caused all sorts of problems with
getting unicode aligned right in sub-protocols (such as SMBtrans and
SMBtrans2). I believe the performance reasons for having
SMB_ALIGNMENT has gone away with the new variants of the SMB
protocol anyway, as newer commands tend to have their own internal
alignment.
- fix the locations where we set smb_flg2 to absolute values. We must
never do this if we want a hope of coping with unicode.
- add initial support for unicode on the wire in smbd. Currently
enabled using SMBD_USE_UNICODE environment variable.
-
Jeremy Allison
37248e99e8
Ensure we never return passwords from a user query.
...
Jeremy.
-
Jeremy Allison
d22c606703
Ensure we return the correct names/sids on query info. AS/U showed us what
...
we should return here.
Jeremy.
-
Jeremy Allison
83133bab0e
Added ADMIN$ share as alias for IPC$ except no guest connect. AS/U wants
...
to do RPC calls down this treeid.
Jeremy.
-
Jeremy Allison
0185f8159d
We copy the RPC header directly from the incoming client - remember to
...
set little-endian flag on marshalling. AS/U now correctly tries to join
our domain !
Jeremy.
-
Jeremy Allison
67e09aea47
Ok - we're now sending back policy handles to bigendian AS/U correctly.
...
Jeremy.
-