Jeremy Allison
f4c7f9ddb9
Added proto definition for new RPC calls.
...
Added printing fix from appliance-head.
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
fde66badf1
I think it's time to go home.
0001-01-01 00:00:00 +00:00
Tim Potter
a724850eb8
OK so I shouldn't have added cli_pipe.o to LIBSMB_OBJ.
0001-01-01 00:00:00 +00:00
Tim Potter
c130d5b0f6
Add libsmb/cli_lsarpc.o and rpc_client/cli_pipe.o to LIBSMB_OBJ. Not so
...
sure about the latter...
Modified SMBCACLS_OBJ
0001-01-01 00:00:00 +00:00
Tim Potter
5001bbc64b
Convert names to sids when modifying ACLs. Convert sids to names when
...
displaying ACLs.
0001-01-01 00:00:00 +00:00
Tim Potter
129d5a155a
Lightweight rpc client library. Uses only routines in libsmb and
...
rpc_client/cli_pipe.c
Only cli_lsa_open_policy(), cli_lsa_close(), cli_lsa_lookup_names()
and cli_lsa_lookup_sids() implemented so far.
0001-01-01 00:00:00 +00:00
Tim Potter
5c5c3a8a08
Server side changes for dynamic names in lsa_lookup_names
0001-01-01 00:00:00 +00:00
Tim Potter
34743c1576
make proto
...
Updates for dynamic sized lookup names/sids
0001-01-01 00:00:00 +00:00
Tim Potter
1db0f31ae0
Wrong length for unistr2 in init_q_lookup_names()
...
Removed some more static arrays and replaced with tallocated memory
blocks.
0001-01-01 00:00:00 +00:00
Jeremy Allison
dd959fa325
Two tdb bugfixes. First one - ensure that traverse lock is moved before deleting
...
dead records, else the record is just marked for deletion, not actually deleted.
Second, ensure allocated record is marked as "in use" before free list lock is
released, else other processes in the freelist merge code may try and merge it.
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
4d80ee4f41
Added support for SERVICESF shared variable to change configuration file
...
used in lp_load().
0001-01-01 00:00:00 +00:00
Jeremy Allison
f0d7867801
Fixed bug noticed by JF. se_access_check needs user SID as first in token.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
1e719a8076
Fixed processing of dfree script (was truncating).
...
Jeremy.
0001-01-01 00:00:00 +00:00
David O'Neill
03dd90ab92
Brief documentation on using the virtual printer code
0001-01-01 00:00:00 +00:00
Gerald Carter
3b7d0fe7eb
more fixes from Simo. Also fixed the password expiration field
...
in the tdbsam to never expire (we don't support this yet).
jerry
0001-01-01 00:00:00 +00:00
Tim Potter
6fd5dc8145
Don't print out the security descriptor type as it is automatically
...
calculated by the new make_sec_desc() function.
0001-01-01 00:00:00 +00:00
Tim Potter
d119782d0d
Better error checking for ACL parsing.
...
Print an error when attempting to delete a non-existent ACL.
0001-01-01 00:00:00 +00:00
Tim Potter
73b237e639
Fix error string.
0001-01-01 00:00:00 +00:00
Tim Potter
fa604bc85e
Fixed some accidentally reversed patches.
0001-01-01 00:00:00 +00:00
Tim Potter
806185ca8c
Compile fix for new arg to create_nt_token()
0001-01-01 00:00:00 +00:00
Jeremy Allison
9e9c71c8b3
Merged in Tim's changes : Removed static limit of MAX_LOOKUP_SIDS in rpc server and client
...
lsa_lookup_names() and lsa_lookup_sids().
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
27d72ed1cf
Removed the special casing of SIDs in se_access_check. This is now done (correctly)
...
when the NT_USER_TOKEN is *created*.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
05fcb124df
Owner always has READ_CONTROL and WRITE_DAC access.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
e18c104ee3
Sorry Gerald, I think the original code was better (plus safer as I'm sure
...
it's working :-).
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
ebf754400f
Extra part of fix that Gerald missed (sorry).
...
Jeremy.
0001-01-01 00:00:00 +00:00
Gerald Carter
8938dc1831
subtle bug where files which missed the stat_cache but were added
...
to the cache during the look returned a blank stat struct. Made
weird occurrences such as...
$ smbclient //pogo/print$
smb:\ > cd w32x86
ERROR: Invalid path
smb:\ > cd w32x86
smb:\w32x86\ >
0001-01-01 00:00:00 +00:00
Jeremy Allison
bcf0a5c316
Fix for short names not being returned correctly with non-mangled shares.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
7eb7241442
Fixed very subtle bug returning correct error on an open, when we have
...
a choice of invalid share mode and access denied. We must return the
access denied by preference, but also remember to break the oplocks...
This is needed for multi-user MS-Access.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
a19f936b64
Adding in debug for SD's.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Gerald Carter
679453af36
code review of rpcclient
...
o added some comments
o abstracted a few code bits
o cleaned up some code by removing unused code paths
-- jerry
0001-01-01 00:00:00 +00:00
Gerald Carter
2c03b91d60
type for client_info struct
0001-01-01 00:00:00 +00:00
Gerald Carter
059f4fee5d
new version of Get_Pwnam()
...
o check the username in all lowercase
o check the username as transmitted if this would be a different case
o check the username in all upper case if this is a new version
-- jerry
0001-01-01 00:00:00 +00:00
Tim Potter
71e5e802b7
return NULL instead of return False in char *prs_mem_get();
0001-01-01 00:00:00 +00:00
Jeremy Allison
cfc62fecdf
Added Tim's fix for read-only crashes.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
2258a62365
new prototypes
0001-01-01 00:00:00 +00:00
Andrew Tridgell
8f97d59186
added support for browsing the list of workgroups at the top level in
...
smbw
0001-01-01 00:00:00 +00:00
Andrew Tridgell
7d1d867acd
exposed the broadcast name resolution routine outside namequery.c
0001-01-01 00:00:00 +00:00
Gerald Carter
bb48b02d5f
group rid assignment cut and paste error
...
--jerry
0001-01-01 00:00:00 +00:00
Jeremy Allison
f575f4d67a
Fixed typo causing coredump in file_lines_parse.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
e6a1a1e444
Fixed compiler warning.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
f4c32a75e6
Added OLD_NTDOMAIN to remove warnings about undefined functions.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
63e2ebc427
Removed unused auto (IRIX compiler warning).
...
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
4c8ce7af46
Removed a dead function.
0001-01-01 00:00:00 +00:00
Tim Potter
671be48221
Cosmetic fixups for large file support message.
0001-01-01 00:00:00 +00:00
Tim Potter
817819d0cc
Port of lsa_lookup_sids() and lsa_lookup_names() rpc client functions from
...
TNG branch.
Re-instated lsa_lookup_sids and lsa_lookup_names functions in rpcclient.
This requires most samba binaries to link in another handful of object
files due to uncessary coupling between modules. )-:
0001-01-01 00:00:00 +00:00
Tim Potter
77b0bda4df
Modified argc passed to rpc_client cmd_* functions to include argv[0].
...
Gerald, could you check to see I haven't introduced any bugs into
rpcclient/cmd_spoolss.c?
0001-01-01 00:00:00 +00:00
Tim Potter
f98e0d7b17
Added pdbedit binary to list of ignored files.
0001-01-01 00:00:00 +00:00
Tim Potter
7b896697d1
Compile fixes for changes in make_sec_desc() interface.
0001-01-01 00:00:00 +00:00
Tim Potter
6d3bd1d806
Removed compiler warning.
0001-01-01 00:00:00 +00:00
Jeremy Allison
7055fa0bc4
Fixed *very* subtle statcache bug where invalid stat state could be
...
being used if last component lookup failed, but was found in the directory
scan.
Jeremy.
0001-01-01 00:00:00 +00:00