1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

4651 Commits

Author SHA1 Message Date
Jeremy Allison
0a40bc83e1 Fixed memory leaks in lsa_XX calls. Fixed memory leaks in smbcacls. Merged
in fixes from appliance-head and 2.2. Fixed multiple connection.tdb open
problem.
Jeremy.
-
David O'Neill
505a8a2277 Changes from APPLIANCE_HEAD:
- add some debugs for comparing two security descriptors.
      (source/rpc_parse/parse_sec.c)
-
Jeremy Allison
15ae2c335b Updates from appliance-head.
Jeremy.
-
Tim Potter
5e547ddcb5 Renamed parameters and variables called acl to the_acl as it conflicts
with a Solaris system call.
-
Tim Potter
bd87398b5a Updated smbcacls documentation. -
Tim Potter
09d2d972fd Cache lsa connection and policy handle for resolving names and sids. -
Gerald Carter
0e5c1df284 inverted dword value
jerry
-
David O'Neill
c533e77f19 Changes from APPLIANCE_HEAD:
- trivial typo in definition of enum_printing[]
	  (source/param/loadparm.c)
	- fixed printer status display bug.  When no jobs existed in queue, the
	  clients were not properly notified of printer status.  This caused
	  native tools for pausing/unpausing a print queue to not work.
	  (source/printing/printing.c)
-
Jeremy Allison
f4c7f9ddb9 Added proto definition for new RPC calls.
Added printing fix from appliance-head.
Jeremy.
-
Tim Potter
fde66badf1 I think it's time to go home. -
Tim Potter
a724850eb8 OK so I shouldn't have added cli_pipe.o to LIBSMB_OBJ. -
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
-
Tim Potter
5001bbc64b Convert names to sids when modifying ACLs. Convert sids to names when
displaying ACLs.
-
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.
-
Tim Potter
5c5c3a8a08 Server side changes for dynamic names in lsa_lookup_names -
Tim Potter
34743c1576 make proto
Updates for dynamic sized lookup names/sids
-
Tim Potter
1db0f31ae0 Wrong length for unistr2 in init_q_lookup_names()
Removed some more static arrays and replaced with tallocated memory
blocks.
-
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.
-
Tim Potter
4d80ee4f41 Added support for SERVICESF shared variable to change configuration file
used in lp_load().
-
Jeremy Allison
f0d7867801 Fixed bug noticed by JF. se_access_check needs user SID as first in token.
Jeremy.
-
Jeremy Allison
1e719a8076 Fixed processing of dfree script (was truncating).
Jeremy.
-
David O'Neill
03dd90ab92 Brief documentation on using the virtual printer code -
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
-
Tim Potter
6fd5dc8145 Don't print out the security descriptor type as it is automatically
calculated by the new make_sec_desc() function.
-
Tim Potter
d119782d0d Better error checking for ACL parsing.
Print an error when attempting to delete a non-existent ACL.
-
Tim Potter
73b237e639 Fix error string. -
Tim Potter
fa604bc85e Fixed some accidentally reversed patches. -
Tim Potter
806185ca8c Compile fix for new arg to create_nt_token() -
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.
-
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.
-
Jeremy Allison
05fcb124df Owner always has READ_CONTROL and WRITE_DAC access.
Jeremy.
-
Jeremy Allison
e18c104ee3 Sorry Gerald, I think the original code was better (plus safer as I'm sure
it's working :-).
Jeremy.
-
Jeremy Allison
ebf754400f Extra part of fix that Gerald missed (sorry).
Jeremy.
-
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\ >
-
Jeremy Allison
bcf0a5c316 Fix for short names not being returned correctly with non-mangled shares.
Jeremy.
-
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.
-
Jeremy Allison
a19f936b64 Adding in debug for SD's.
Jeremy.
-
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
-
Gerald Carter
2c03b91d60 type for client_info struct -
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
-
Tim Potter
71e5e802b7 return NULL instead of return False in char *prs_mem_get(); -
Jeremy Allison
cfc62fecdf Added Tim's fix for read-only crashes.
Jeremy.
-
Andrew Tridgell
2258a62365 new prototypes -
Andrew Tridgell
8f97d59186 added support for browsing the list of workgroups at the top level in
smbw
-
Andrew Tridgell
7d1d867acd exposed the broadcast name resolution routine outside namequery.c -
Gerald Carter
bb48b02d5f group rid assignment cut and paste error
--jerry
-
Jeremy Allison
f575f4d67a Fixed typo causing coredump in file_lines_parse.
Jeremy.
-
Jeremy Allison
e6a1a1e444 Fixed compiler warning.
Jeremy.
-
Jeremy Allison
f4c32a75e6 Added OLD_NTDOMAIN to remove warnings about undefined functions.
Jeremy.
-
Jeremy Allison
63e2ebc427 Removed unused auto (IRIX compiler warning).
Jeremy.
-