20 years agoChanges from APPLIANCE_HEAD:
David O'Neill [Wed, 13 Dec 2000 21:24:06 +0000 (21:24 +0000)]
Changes from APPLIANCE_HEAD:
- trivial typo in definition of enum_printing[]
- 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.
(This used to be commit c533e77f1912618230a938458980a9339924fe06)

20 years agoAdded proto definition for new RPC calls.
Jeremy Allison [Wed, 13 Dec 2000 19:55:48 +0000 (19:55 +0000)]
Added proto definition for new RPC calls.
Added printing fix from appliance-head.
(This used to be commit f4c7f9ddb906b67ee4397e7707309356085476d1)

20 years agoI think it's time to go home.
Tim Potter [Wed, 13 Dec 2000 13:10:22 +0000 (13:10 +0000)]
I think it's time to go home.
(This used to be commit fde66badf143cde40af35e86d55acb48dc754cdd)

20 years agoOK so I shouldn't have added cli_pipe.o to LIBSMB_OBJ.
Tim Potter [Wed, 13 Dec 2000 13:04:49 +0000 (13:04 +0000)]
OK so I shouldn't have added cli_pipe.o to LIBSMB_OBJ.
(This used to be commit a724850eb83e61450f112c0b2e6e3492c2a72863)

20 years agoAdd libsmb/cli_lsarpc.o and rpc_client/cli_pipe.o to LIBSMB_OBJ. Not so
Tim Potter [Wed, 13 Dec 2000 12:54:57 +0000 (12:54 +0000)]
Add libsmb/cli_lsarpc.o and rpc_client/cli_pipe.o to LIBSMB_OBJ.  Not so
sure about the latter...

(This used to be commit c130d5b0f6a23b4fe19accad8a49ac58a1a8b0b1)

20 years agoConvert names to sids when modifying ACLs. Convert sids to names when
Tim Potter [Wed, 13 Dec 2000 12:53:42 +0000 (12:53 +0000)]
Convert names to sids when modifying ACLs.  Convert sids to names when
displaying ACLs.
(This used to be commit 5001bbc64be62af1597eb334e5b530b415d62a6b)

20 years agoLightweight rpc client library. Uses only routines in libsmb and
Tim Potter [Wed, 13 Dec 2000 12:52:21 +0000 (12:52 +0000)]
Lightweight rpc client library.  Uses only routines in libsmb and

Only cli_lsa_open_policy(), cli_lsa_close(), cli_lsa_lookup_names()
and cli_lsa_lookup_sids() implemented so far.
(This used to be commit 129d5a155a73d926868d74f8447c1e93b429388d)

20 years agoServer side changes for dynamic names in lsa_lookup_names
Tim Potter [Wed, 13 Dec 2000 12:39:55 +0000 (12:39 +0000)]
Server side changes for dynamic names in lsa_lookup_names
(This used to be commit 5c5c3a8a08efe8c2f36a55b1383e9d3dd9eca4a5)

20 years agomake proto
Tim Potter [Wed, 13 Dec 2000 12:13:22 +0000 (12:13 +0000)]
make proto

Updates for dynamic sized lookup names/sids
(This used to be commit 34743c157632b1784bd15e3ca97380b1f9754e46)

20 years agoWrong length for unistr2 in init_q_lookup_names()
Tim Potter [Wed, 13 Dec 2000 11:53:37 +0000 (11:53 +0000)]
Wrong length for unistr2 in init_q_lookup_names()

Removed some more static arrays and replaced with tallocated memory
(This used to be commit 1db0f31ae00bf9c91eb7d02c96bf766d04c7bdef)

20 years agoTwo tdb bugfixes. First one - ensure that traverse lock is moved before deleting
Jeremy Allison [Wed, 13 Dec 2000 06:33:53 +0000 (06:33 +0000)]
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.
(This used to be commit dd959fa325c5df8ce0407d8debea76602c8e71cf)

20 years agoAdded support for SERVICESF shared variable to change configuration file
Tim Potter [Wed, 13 Dec 2000 04:19:48 +0000 (04:19 +0000)]
Added support for SERVICESF shared variable to change configuration file
used in lp_load().
(This used to be commit 4d80ee4f41ac3d61579c9cf23cb815d7fe5da5db)

20 years agoFixed bug noticed by JF. se_access_check needs user SID as first in token.
Jeremy Allison [Tue, 12 Dec 2000 20:41:02 +0000 (20:41 +0000)]
Fixed bug noticed by JF. se_access_check needs user SID as first in token.
(This used to be commit f0d7867801e3f78bfc55fdb36ca965e35457f51b)

20 years agoFixed processing of dfree script (was truncating).
Jeremy Allison [Tue, 12 Dec 2000 19:44:50 +0000 (19:44 +0000)]
Fixed processing of dfree script (was truncating).
(This used to be commit 1e719a807669876b4d11f4653e9712f25fcba20b)

20 years agoBrief documentation on using the virtual printer code
David O'Neill [Tue, 12 Dec 2000 18:03:50 +0000 (18:03 +0000)]
Brief documentation on using the virtual printer code
(This used to be commit 03dd90ab923ec88cdada8c5d725d9482bd9826f2)

20 years agomore fixes from Simo. Also fixed the password expiration field
Gerald Carter [Tue, 12 Dec 2000 16:50:23 +0000 (16:50 +0000)]
more fixes from Simo.  Also fixed the password expiration field
in the tdbsam to never expire (we don't support this yet).

(This used to be commit 3b7d0fe7eb3a9275d2713d7b3325de0ab510ea62)

20 years agoDon't print out the security descriptor type as it is automatically
Tim Potter [Tue, 12 Dec 2000 06:14:01 +0000 (06:14 +0000)]
Don't print out the security descriptor type as it is automatically
calculated by the new make_sec_desc() function.
(This used to be commit 6fd5dc81458317e106f5ea24958cefe4146c90a6)

20 years agoBetter error checking for ACL parsing.
Tim Potter [Tue, 12 Dec 2000 06:06:10 +0000 (06:06 +0000)]
Better error checking for ACL parsing.

Print an error when attempting to delete a non-existent ACL.
(This used to be commit d119782d0d8d2738650da47fa11134d26134ce17)

20 years agoFix error string.
Tim Potter [Tue, 12 Dec 2000 06:05:13 +0000 (06:05 +0000)]
Fix error string.
(This used to be commit 73b237e639717019c596954c745b7e4d038ddc8c)

20 years agoFixed some accidentally reversed patches.
Tim Potter [Tue, 12 Dec 2000 05:58:34 +0000 (05:58 +0000)]
Fixed some accidentally reversed patches.
(This used to be commit fa604bc85ea6989c794747f668be8a4e62527b79)

20 years agoCompile fix for new arg to create_nt_token()
Tim Potter [Tue, 12 Dec 2000 05:29:47 +0000 (05:29 +0000)]
Compile fix for new arg to create_nt_token()
(This used to be commit 806185ca8cc8d28f16745a1db9427f52eb8d22e4)

20 years agoMerged in Tim's changes : Removed static limit of MAX_LOOKUP_SIDS in rpc server and...
Jeremy Allison [Tue, 12 Dec 2000 02:45:11 +0000 (02:45 +0000)]
Merged in Tim's changes : Removed static limit of MAX_LOOKUP_SIDS in rpc server and client
lsa_lookup_names() and lsa_lookup_sids().
(This used to be commit 9e9c71c8b3194b7cd02fea0b6a000d4f2940d905)

20 years agoRemoved the special casing of SIDs in se_access_check. This is now done (correctly)
Jeremy Allison [Tue, 12 Dec 2000 02:36:14 +0000 (02:36 +0000)]
Removed the special casing of SIDs in se_access_check. This is now done (correctly)
when the NT_USER_TOKEN is *created*.
(This used to be commit 27d72ed1cf8ece2bede812341279ba5a7262ace4)

20 years agoOwner always has READ_CONTROL and WRITE_DAC access.
Jeremy Allison [Tue, 12 Dec 2000 00:42:55 +0000 (00:42 +0000)]
Owner always has READ_CONTROL and WRITE_DAC access.
(This used to be commit 05fcb124dfbb1a257828e9dc6a7793fc3dc73c4b)

20 years agoSorry Gerald, I think the original code was better (plus safer as I'm sure
Jeremy Allison [Tue, 12 Dec 2000 00:11:34 +0000 (00:11 +0000)]
Sorry Gerald, I think the original code was better (plus safer as I'm sure
it's working :-).
(This used to be commit e18c104ee35d00dcbe2e73e6c9699300a3947364)

20 years agoExtra part of fix that Gerald missed (sorry).
Jeremy Allison [Tue, 12 Dec 2000 00:05:02 +0000 (00:05 +0000)]
Extra part of fix that Gerald missed (sorry).
(This used to be commit ebf754400f443452948020d68e29f597f1b2d60c)

20 years agosubtle bug where files which missed the stat_cache but were added
Gerald Carter [Mon, 11 Dec 2000 22:51:57 +0000 (22:51 +0000)]
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\ >
(This used to be commit 8938dc183112b039c21a5a0beadb60068a8c5b00)

20 years agoFix for short names not being returned correctly with non-mangled shares.
Jeremy Allison [Mon, 11 Dec 2000 22:31:25 +0000 (22:31 +0000)]
Fix for short names not being returned correctly with non-mangled shares.
(This used to be commit bcf0a5c316ee8cf333d9d838b041e44a11cb5f1b)

20 years agoFixed very subtle bug returning correct error on an open, when we have
Jeremy Allison [Mon, 11 Dec 2000 21:09:48 +0000 (21:09 +0000)]
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.
(This used to be commit 7eb7241442ea0f1e065b009c3cccd5821b89a8b6)

20 years agoAdding in debug for SD's.
Jeremy Allison [Mon, 11 Dec 2000 19:24:59 +0000 (19:24 +0000)]
Adding in debug for SD's.
(This used to be commit a19f936b644fedc4c59ada5f12172abed9894910)

20 years agocode review of rpcclient
Gerald Carter [Mon, 11 Dec 2000 18:13:19 +0000 (18:13 +0000)]
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
(This used to be commit 679453af36c06ae9c82dd20742a56272ec73f427)

20 years agotype for client_info struct
Gerald Carter [Mon, 11 Dec 2000 17:51:05 +0000 (17:51 +0000)]
type for client_info struct
(This used to be commit 2c03b91d6041082bba6ba4322ed41b4378af7ef3)

20 years agonew version of Get_Pwnam()
Gerald Carter [Mon, 11 Dec 2000 17:48:26 +0000 (17:48 +0000)]
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
(This used to be commit 059f4fee5d8ad72cd699995c660263ed2cc4f25f)

20 years agoreturn NULL instead of return False in char *prs_mem_get();
Tim Potter [Mon, 11 Dec 2000 06:34:12 +0000 (06:34 +0000)]
return NULL instead of return False in char *prs_mem_get();
(This used to be commit 71e5e802b78b22af9be7d3e84e869f311937e542)

20 years agoAdded Tim's fix for read-only crashes.
Jeremy Allison [Mon, 11 Dec 2000 06:10:32 +0000 (06:10 +0000)]
Added Tim's fix for read-only crashes.
(This used to be commit cfc62fecdf4c5579ee643df3e701cf6f1fe553ee)

20 years agonew prototypes
Andrew Tridgell [Mon, 11 Dec 2000 00:10:06 +0000 (00:10 +0000)]
new prototypes
(This used to be commit 2258a62365e6fa3f08fd3b911e13b391515eaa46)

20 years agoadded support for browsing the list of workgroups at the top level in
Andrew Tridgell [Mon, 11 Dec 2000 00:09:06 +0000 (00:09 +0000)]
added support for browsing the list of workgroups at the top level in
(This used to be commit 8f97d59186ee3b52f623d30dfb7b195ec721ec0c)

20 years agoexposed the broadcast name resolution routine outside namequery.c
Andrew Tridgell [Mon, 11 Dec 2000 00:08:17 +0000 (00:08 +0000)]
exposed the broadcast name resolution routine outside namequery.c
(This used to be commit 7d1d867acdc0f316d8de787e1f7fa27667ec4a6a)

20 years agogroup rid assignment cut and paste error
Gerald Carter [Sat, 9 Dec 2000 20:45:04 +0000 (20:45 +0000)]
group rid assignment cut and paste error

(This used to be commit bb48b02d5f2118470a415d5f1f92305688e6b432)

20 years agoFixed typo causing coredump in file_lines_parse.
Jeremy Allison [Sat, 9 Dec 2000 06:34:59 +0000 (06:34 +0000)]
Fixed typo causing coredump in file_lines_parse.
(This used to be commit f575f4d67a5b45e47c29de30f02901c55cef4621)

20 years agoFixed compiler warning.
Jeremy Allison [Fri, 8 Dec 2000 19:59:22 +0000 (19:59 +0000)]
Fixed compiler warning.
(This used to be commit e6a1a1e444631f0d674f33b5b8d1d71435de0511)

20 years agoAdded OLD_NTDOMAIN to remove warnings about undefined functions.
Jeremy Allison [Fri, 8 Dec 2000 19:35:58 +0000 (19:35 +0000)]
Added OLD_NTDOMAIN to remove warnings about undefined functions.
(This used to be commit f4c32a75e6e60eae6078449478d04ff22373d817)

20 years agoRemoved unused auto (IRIX compiler warning).
Jeremy Allison [Fri, 8 Dec 2000 19:21:09 +0000 (19:21 +0000)]
Removed unused auto (IRIX compiler warning).
(This used to be commit 63e2ebc4272cd8bc52ea80e1e12996ab273b8ea4)

20 years agoRemoved a dead function.
Tim Potter [Fri, 8 Dec 2000 03:57:50 +0000 (03:57 +0000)]
Removed a dead function.
(This used to be commit 4c8ce7af4625bd2a47006fa4b3cf9cb40d62841a)

20 years agoCosmetic fixups for large file support message.
Tim Potter [Fri, 8 Dec 2000 03:44:52 +0000 (03:44 +0000)]
Cosmetic fixups for large file support message.
(This used to be commit 671be482212634b9c1de40891032180fbc1d49ba)

20 years agoPort of lsa_lookup_sids() and lsa_lookup_names() rpc client functions from
Tim Potter [Fri, 8 Dec 2000 03:34:00 +0000 (03:34 +0000)]
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.  )-:
(This used to be commit 817819d0cc3ecf642be5a1656be3b71bed260ee4)

20 years agoModified argc passed to rpc_client cmd_* functions to include argv[0].
Tim Potter [Fri, 8 Dec 2000 03:24:38 +0000 (03:24 +0000)]
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
(This used to be commit 77b0bda4df3217cd186d5b8f902a50f35346d98d)

20 years agoAdded pdbedit binary to list of ignored files.
Tim Potter [Fri, 8 Dec 2000 03:14:30 +0000 (03:14 +0000)]
Added pdbedit binary to list of ignored files.
(This used to be commit f98e0d7b17edd627e704fc7e73534e1278d82fb0)

20 years agoCompile fixes for changes in make_sec_desc() interface.
Tim Potter [Fri, 8 Dec 2000 02:59:49 +0000 (02:59 +0000)]
Compile fixes for changes in make_sec_desc() interface.
(This used to be commit 7b896697d134eb4fad1ceef5cdd2dab2b5980187)

20 years agoRemoved compiler warning.
Tim Potter [Fri, 8 Dec 2000 02:45:51 +0000 (02:45 +0000)]
Removed compiler warning.
(This used to be commit 6d3bd1d80635d91e9590bcf093662259090ea6da)

20 years agoFixed *very* subtle statcache bug where invalid stat state could be
Jeremy Allison [Fri, 8 Dec 2000 00:39:32 +0000 (00:39 +0000)]
Fixed *very* subtle statcache bug where invalid stat state could be
being used if last component lookup failed, but was found in the directory
(This used to be commit 7055fa0bc43f6e2b3f04b8901fccea80d59bf490)

20 years agoFixed bug with Win9x/ME where drivername was being returned incorrectly in
Jeremy Allison [Thu, 7 Dec 2000 21:55:10 +0000 (21:55 +0000)]
Fixed bug with Win9x/ME where drivername was being returned incorrectly in
one printq case. Now goes though common function.
(This used to be commit e9f48c9cec960b6190fb7a2485c9476640863071)

20 years agofile_lines_load/file_lines_pload can now optionally convert unix_to_dos()
Jeremy Allison [Thu, 7 Dec 2000 19:26:04 +0000 (19:26 +0000)]
file_lines_load/file_lines_pload can now optionally convert unix_to_dos()
on read.
(This used to be commit 76b8dd376d13eb4469417be217c966d54d333367)

20 years agoFixed bug with tdb_next_lock failing when reaching then end of a hashchain
Jeremy Allison [Thu, 7 Dec 2000 17:46:11 +0000 (17:46 +0000)]
Fixed bug with tdb_next_lock failing when reaching then end of a hashchain
and the next hashchain is empty.
(This used to be commit f3b5e2a172a777e1c3bbf6ac72fe5c7cdb8324b3)

20 years agoAdded better configure test for POSIX ACLs. Fixed stupid typo in sysacls.c
Jeremy Allison [Thu, 7 Dec 2000 06:23:01 +0000 (06:23 +0000)]
Added better configure test for POSIX ACLs. Fixed stupid typo in sysacls.c
(This used to be commit da6ae57501e3cb971e82eac5bb05efcd9cf443ae)

20 years agoFirst cut at a manual page for smbcacls.
Tim Potter [Thu, 7 Dec 2000 06:22:03 +0000 (06:22 +0000)]
First cut at a manual page for smbcacls.
(This used to be commit e5defa412874661f5012fa03cba2d854748884c2)

20 years agoAdded smbcacls binary.
Tim Potter [Thu, 7 Dec 2000 06:11:27 +0000 (06:11 +0000)]
Added smbcacls binary.
(This used to be commit b380c3b9cc07031e7ad608d7582615cd3ecd249a)

20 years agoAdded undocumented -t command for testing parsing of acl entries.
Tim Potter [Thu, 7 Dec 2000 06:05:57 +0000 (06:05 +0000)]
Added undocumented -t command for testing parsing of acl entries.

Print out hex value for ace mask if we can't decode it.

We can now parse FULL,CHANGE,READ as well as combos of RWXDPO as ace mask

Clarified usage message.

Bomb out if excess args are given.
(This used to be commit ed5bda119a984e124d24f168db15e15da62ceaa5)

20 years agoWorking code to read POSIX ACLs on a Linux system using the bestbits
Jeremy Allison [Thu, 7 Dec 2000 05:38:01 +0000 (05:38 +0000)]
Working code to read POSIX ACLs on a Linux system using the bestbits
ACL patch from
configure support needs more work (just assumes correct headers at
the moment). ACL writing needs adding.
(This used to be commit 6ae63e502e6adf3666a34aa87860c74e106fdb84)

20 years agoCause smbd to use the new posix_acls code, not the old unix_acls code.
Jeremy Allison [Wed, 6 Dec 2000 23:24:31 +0000 (23:24 +0000)]
Cause smbd to use the new posix_acls code, not the old unix_acls code.
Currently does exactly the same thing (returns ACLs the same way). This
code is written to try and get a POSIX ACL via the abstract sys_XX interface,
then fall back to providing a UNIX based ACL if the calls fail. Seems to
work. Next step is to add a --with-posix-acls to and then
check on a POSIX ACL system that a complex ACL is returned correctly
as an NT ACL. Note that the ACL set (a more complex problem) is not
addressed yet.
(This used to be commit 4339e20202a876dbadc07980b731f711463b7299)

20 years agoupdate for new pdbedit tool (code from Simo)
Gerald Carter [Wed, 6 Dec 2000 18:24:10 +0000 (18:24 +0000)]
update for new pdbedit tool (code from Simo)

(This used to be commit 3d0ecea18d52b7287beede5687c26536413440eb)

20 years agoupdates to the tdbsam implementation.
Gerald Carter [Wed, 6 Dec 2000 18:22:29 +0000 (18:22 +0000)]
updates to the tdbsam implementation.

(This used to be commit 29b3ac8634769d01c20bf394eecc536a02e0f36c)

20 years agoadded passdb editor (rough form with a few bugs) Should work
Gerald Carter [Wed, 6 Dec 2000 18:18:48 +0000 (18:18 +0000)]
added passdb editor (rough form with a few bugs) Should work
with all backends.

(This used to be commit fc43c63f481cdf22c3515cc0f0d744c662b4f83d)

20 years agoadded documentation for 'private dir' parameter
Gerald Carter [Wed, 6 Dec 2000 18:16:29 +0000 (18:16 +0000)]
added documentation for 'private dir' parameter
(This used to be commit aa9c9fec9dd5a7b4f0ae23a6a8815e4b53a4fa98)

20 years agoupdate to reference new documentation in Imprints
Gerald Carter [Wed, 6 Dec 2000 05:19:16 +0000 (05:19 +0000)]
update to reference new documentation in Imprints

(This used to be commit a89957e20555a2cdcb07b214e0121455405f87a5)

20 years agoPrint debug if domain_client_validate() cannot fetch the trust account
Tim Potter [Wed, 6 Dec 2000 03:22:44 +0000 (03:22 +0000)]
Print debug if domain_client_validate() cannot fetch the trust account
password (say for example if the tdb file format has changed).  (-:
(This used to be commit 447fbb38a857a7e97cf2a99022576521c71a4512)

20 years agomake proto again
Tim Potter [Wed, 6 Dec 2000 02:55:08 +0000 (02:55 +0000)]
make proto again
(This used to be commit 746e03dce81429b9a06ce95929eb605cf5b0833d)

20 years agotdb_chainunlock() no longer returns a value.
Tim Potter [Wed, 6 Dec 2000 02:53:36 +0000 (02:53 +0000)]
tdb_chainunlock() no longer returns a value.
(This used to be commit 2c9704c3db4014ca43b4b13160b9f53ff5f36e3b)

20 years agoFixed compiler warning.
Tim Potter [Wed, 6 Dec 2000 02:52:54 +0000 (02:52 +0000)]
Fixed compiler warning.
(This used to be commit 6553f1d02792d81987dda51af76b4fc06d73a787)

20 years agotdb_unlockchain() no longer returns a value
Tim Potter [Wed, 6 Dec 2000 02:51:13 +0000 (02:51 +0000)]
tdb_unlockchain() no longer returns a value
(This used to be commit aee52c7acf138f8fd651aeb3d9bef79f99d1a2a9)

20 years agoMake smbd/posix_acls.c use abstract interface.
Jeremy Allison [Wed, 6 Dec 2000 02:32:48 +0000 (02:32 +0000)]
Make smbd/posix_acls.c use abstract interface.
include/smb_acls.h lib/sysacls.c: Added as interface definitions.
(This used to be commit 8359375bba5b3ae24956f66b066dedf11d3583df)

20 years agoUpdate required after changes to
Tim Potter [Wed, 6 Dec 2000 01:55:19 +0000 (01:55 +0000)]
Update required after changes to
(This used to be commit 644aa834e59fc9be9f3c785213729af787b5f90c)

20 years agoFixed compiler warning.
Tim Potter [Wed, 6 Dec 2000 01:47:06 +0000 (01:47 +0000)]
Fixed compiler warning.
(This used to be commit 5e81151e53300a8c58adca09d02d0b075a13c322)

20 years agoMoving to abstract API interface (sys_get_acl() etc.) to allow system
Jeremy Allison [Wed, 6 Dec 2000 01:34:16 +0000 (01:34 +0000)]
Moving to abstract API interface (sys_get_acl() etc.) to allow system
specific ACL calls to be dealt with elsewhere. This file will eventually
be able to replace the old UNIX acl interface.
(This used to be commit b27cac77628a4b332b529115b0854c71f9eea374)

20 years agoSync-up with appliance-head printing code.
Jeremy Allison [Wed, 6 Dec 2000 00:37:25 +0000 (00:37 +0000)]
Sync-up with appliance-head printing code.
(This used to be commit fe730614d70b331ec7b1a909940395c9713ea8ac)

20 years agoChanged to sourceforge tdb code. This includes spinlocks (so we now have
Jeremy Allison [Wed, 6 Dec 2000 00:05:15 +0000 (00:05 +0000)]
Changed to sourceforge tdb code. This includes spinlocks (so we now have
a --with-spinlocks option to configure, this does mean the on-disk tdb
format has changed, so 2.2alphaX sites will need to re-create their
tdb's. The upside is no more tdb fragmentation and a +5% on netbench.
Swings and roundabouts....
(This used to be commit 9dea7b7c257db487f8ced7dad3fce92fba03ea91)

20 years agoFixed one tdb_read -> rec_free_read call.
Jeremy Allison [Tue, 5 Dec 2000 03:44:30 +0000 (03:44 +0000)]
Fixed one tdb_read -> rec_free_read call.
(This used to be commit c9884e16fc2d13dd62c5a43633c9a38dadc9822c)

20 years agoAdded sorted freelist neighbour merge code to stop tdb fragmentation.
Jeremy Allison [Tue, 5 Dec 2000 03:12:57 +0000 (03:12 +0000)]
Added sorted freelist neighbour merge code to stop tdb fragmentation.
This needs TESTING !!! (It passes tdbtest of course :-).
(This used to be commit 7ae54a93e756d927419242adf35f46e91e974573)

20 years agoRemove C++ style comments
David O'Neill [Mon, 4 Dec 2000 17:16:44 +0000 (17:16 +0000)]
Remove C++ style comments
(This used to be commit 80c192244fdb07e8e9cf4c0376bbea60dde244a0)

20 years agoChanges from APPLIANCE_HEAD:
David O'Neill [Mon, 4 Dec 2000 16:57:17 +0000 (16:57 +0000)]
Changes from APPLIANCE_HEAD:
    - clean up yodl doc for the -U changes, update man and html versions
      (docs/yodldocs/smbclient.1.yo docs/htmldocs/smbclient.1.html
(This used to be commit 3483be1d76fe0dae770bdf8ad97bab81645e5fbf)

20 years agofixed a typo
Andrew Tridgell [Mon, 4 Dec 2000 07:39:22 +0000 (07:39 +0000)]
fixed a typo
(This used to be commit c9e4dea1cbcf6aa748f5cb10f226345dd2f1adbf)

20 years agoadded a comment
Andrew Tridgell [Mon, 4 Dec 2000 07:38:06 +0000 (07:38 +0000)]
added a comment
(This used to be commit 032442802f73948e3af2c86fee0d58f82e47f673)

20 years agofixed the parsing again and got setting acls working with w2k
Andrew Tridgell [Mon, 4 Dec 2000 07:27:35 +0000 (07:27 +0000)]
fixed the parsing again and got setting acls working with w2k
(This used to be commit 374d08be6443738d6a450801866fd6e046322e2c)

20 years agopass the desired access into cli_nt_create()
Andrew Tridgell [Mon, 4 Dec 2000 07:26:56 +0000 (07:26 +0000)]
pass the desired access into cli_nt_create()
(This used to be commit a2d07994e0376a8d530d262573c96710bdff2236)

20 years agoAdded some cli_errstr() calls.
Tim Potter [Mon, 4 Dec 2000 06:46:52 +0000 (06:46 +0000)]
Added some cli_errstr() calls.
(This used to be commit faaa71a032bc27d073c39da42fc2928ea3226698)

20 years agoRemoved lsa lookup warnings (I'll remember).
Tim Potter [Mon, 4 Dec 2000 06:43:36 +0000 (06:43 +0000)]
Removed lsa lookup warnings (I'll remember).

Print an error if -M refers to a non-existent ACL.
(This used to be commit ee6f5a9672795c884cabe80e98e5b0fb3c793539)

20 years agofixed setting ACLs on directories
Andrew Tridgell [Mon, 4 Dec 2000 06:39:31 +0000 (06:39 +0000)]
fixed setting ACLs on directories
(This used to be commit 117956ecb1878f09708a5dc76ec81ad3cfa8d809)

20 years agofixed indentation
Andrew Tridgell [Mon, 4 Dec 2000 06:39:14 +0000 (06:39 +0000)]
fixed indentation
(This used to be commit b7a1c00bed5f0650783c8d7397c11aa2ac59aa04)

20 years agoMask value now displayed as READ/CHANGE/FULL for standard permissions, or
Tim Potter [Mon, 4 Dec 2000 06:14:28 +0000 (06:14 +0000)]
Mask value now displayed as READ/CHANGE/FULL for standard permissions, or
RWXDPO for special permissions.

Append 0x to values printed as hex.

Spruced up the help message.
(This used to be commit 8a20318c5626f7328fd911144c54fe92426532c5)

20 years agoremoved SACL support (as it doesn't work with w2k if you ask for
Andrew Tridgell [Mon, 4 Dec 2000 04:58:40 +0000 (04:58 +0000)]
removed SACL support (as it doesn't work with w2k if you ask for
(This used to be commit 52b27d75e12eeeb52b3a93952900809c2ee0b992)

20 years agodocument -U change
Andrew Tridgell [Mon, 4 Dec 2000 04:27:53 +0000 (04:27 +0000)]
document -U change
(This used to be commit 309fab281d569f325615dd2ae71af554b88601c9)

20 years agoin cli_session_setup() accept usernames of the form DOMAIN/USER or
Andrew Tridgell [Mon, 4 Dec 2000 04:26:22 +0000 (04:26 +0000)]
in cli_session_setup() accept usernames of the form DOMAIN/USER or

this means all our tools can now put the domain name in the -U option
(This used to be commit bac1c76f03b6b848fa2e942b12c646aed58bee12)

20 years agosigned/unsigned warning fixed
Andrew Tridgell [Mon, 4 Dec 2000 03:27:02 +0000 (03:27 +0000)]
signed/unsigned warning fixed
(This used to be commit 71adecd163b13169d359b69f61e8e70e2f140277)

20 years agoc++ style comments are NOT allowed
Andrew Tridgell [Mon, 4 Dec 2000 03:01:31 +0000 (03:01 +0000)]
c++ style comments are NOT allowed
(This used to be commit 8b3c1f4455b7db440911960298f772c4db3d8112)

20 years agofixed acls set bug
Andrew Tridgell [Mon, 4 Dec 2000 02:01:57 +0000 (02:01 +0000)]
fixed acls set bug
(This used to be commit 44524958ed3a0d56b0504b044bf640ceffebb704)

20 years agonew proto
Andrew Tridgell [Mon, 4 Dec 2000 02:01:12 +0000 (02:01 +0000)]
new proto
(This used to be commit 27c676cb3b43344ce4ceb167322c98027b9c1e4e)

20 years agono longer pass the type to make_sec_desc(), instead the type is
Andrew Tridgell [Mon, 4 Dec 2000 01:58:22 +0000 (01:58 +0000)]
no longer pass the type to make_sec_desc(), instead the type is
derived from the other arguments
(This used to be commit 9ec4b1fa48fbae937fdf78db06005a7b0cd52d89)

20 years agoReformatted to look nicer on 80-character screen.
Tim Potter [Mon, 4 Dec 2000 01:52:54 +0000 (01:52 +0000)]
Reformatted to look nicer on 80-character screen.

Replaced 8-bit ascii characters with appropriate 7-bit ones.
(This used to be commit cfe4cb5dfaabde8eee0ec20d938cf58a891286a3)

20 years agofixed SACL bug
Andrew Tridgell [Mon, 4 Dec 2000 00:35:31 +0000 (00:35 +0000)]
fixed SACL bug
(This used to be commit 077ee4a7ac7fa8f274269bfc5130d5abff9f35e0)

20 years ago- with -D only delete first match
Andrew Tridgell [Mon, 4 Dec 2000 00:33:08 +0000 (00:33 +0000)]
- with -D only delete first match
- fixed delete bug
(This used to be commit 1e0d5f069592ebce58c35e95b0dcdbc5516dd268)