1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-22 05:57:43 +03:00

4074 Commits

Author SHA1 Message Date
Andrew Tridgell
452d050297 added support for browsing the list of workgroups at the top level in
smbw
(This used to be commit 8f97d59186ee3b52f623d30dfb7b195ec721ec0c)
2000-12-11 00:09:06 +00:00
Andrew Tridgell
2364d59cdc exposed the broadcast name resolution routine outside namequery.c
(This used to be commit 7d1d867acdc0f316d8de787e1f7fa27667ec4a6a)
2000-12-11 00:08:17 +00:00
Gerald Carter
f449a59136 group rid assignment cut and paste error
--jerry
(This used to be commit bb48b02d5f2118470a415d5f1f92305688e6b432)
2000-12-09 20:45:04 +00:00
Jeremy Allison
407b48d8a1 Fixed typo causing coredump in file_lines_parse.
Jeremy.
(This used to be commit f575f4d67a5b45e47c29de30f02901c55cef4621)
2000-12-09 06:34:59 +00:00
Jeremy Allison
f3a0da8c0e Fixed compiler warning.
Jeremy.
(This used to be commit e6a1a1e444631f0d674f33b5b8d1d71435de0511)
2000-12-08 19:59:22 +00:00
Jeremy Allison
316cfee01c Added OLD_NTDOMAIN to remove warnings about undefined functions.
Jeremy.
(This used to be commit f4c32a75e6e60eae6078449478d04ff22373d817)
2000-12-08 19:35:58 +00:00
Jeremy Allison
0f1ead1c93 Removed unused auto (IRIX compiler warning).
Jeremy.
(This used to be commit 63e2ebc4272cd8bc52ea80e1e12996ab273b8ea4)
2000-12-08 19:21:09 +00:00
Tim Potter
e15921110a Removed a dead function.
(This used to be commit 4c8ce7af4625bd2a47006fa4b3cf9cb40d62841a)
2000-12-08 03:57:50 +00:00
Tim Potter
693f23a5cc Cosmetic fixups for large file support message.
(This used to be commit 671be482212634b9c1de40891032180fbc1d49ba)
2000-12-08 03:44:52 +00:00
Tim Potter
3478427f2e 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)
2000-12-08 03:34:00 +00:00
Tim Potter
cf9443677d 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?
(This used to be commit 77b0bda4df3217cd186d5b8f902a50f35346d98d)
2000-12-08 03:24:38 +00:00
Tim Potter
8d8791eefd Added pdbedit binary to list of ignored files.
(This used to be commit f98e0d7b17edd627e704fc7e73534e1278d82fb0)
2000-12-08 03:14:30 +00:00
Tim Potter
2e79da814d Removed compiler warning.
(This used to be commit 6d3bd1d80635d91e9590bcf093662259090ea6da)
2000-12-08 02:45:51 +00:00
Jeremy Allison
269acfe1d2 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.
(This used to be commit 7055fa0bc43f6e2b3f04b8901fccea80d59bf490)
2000-12-08 00:39:32 +00:00
Jeremy Allison
be7e02f9bc Fixed bug with Win9x/ME where drivername was being returned incorrectly in
one printq case. Now goes though common function.
Jeremy.
(This used to be commit e9f48c9cec960b6190fb7a2485c9476640863071)
2000-12-07 21:55:10 +00:00
Jeremy Allison
cf5b71994d file_lines_load/file_lines_pload can now optionally convert unix_to_dos()
on read.
Jeremy.
(This used to be commit 76b8dd376d13eb4469417be217c966d54d333367)
2000-12-07 19:26:04 +00:00
Jeremy Allison
0d658c35eb Fixed bug with tdb_next_lock failing when reaching then end of a hashchain
and the next hashchain is empty.
Jeremy
(This used to be commit f3b5e2a172a777e1c3bbf6ac72fe5c7cdb8324b3)
2000-12-07 17:46:11 +00:00
Jeremy Allison
c31211167b Added better configure test for POSIX ACLs. Fixed stupid typo in sysacls.c
Jeremy.
(This used to be commit da6ae57501e3cb971e82eac5bb05efcd9cf443ae)
2000-12-07 06:23:01 +00:00
Tim Potter
028b197845 Added smbcacls binary.
(This used to be commit b380c3b9cc07031e7ad608d7582615cd3ecd249a)
2000-12-07 06:11:27 +00:00
Tim Potter
34402b75b5 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
values.

Clarified usage message.

Bomb out if excess args are given.
(This used to be commit ed5bda119a984e124d24f168db15e15da62ceaa5)
2000-12-07 06:05:57 +00:00
Jeremy Allison
423227d7ca Working code to read POSIX ACLs on a Linux system using the bestbits
ACL patch from http://acl.bestbits.at/.
configure support needs more work (just assumes correct headers at
the moment). ACL writing needs adding.
Jeremy.
(This used to be commit 6ae63e502e6adf3666a34aa87860c74e106fdb84)
2000-12-07 05:38:01 +00:00
Jeremy Allison
70922b9bbe 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 configure.in 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.
Jeremy.
(This used to be commit 4339e20202a876dbadc07980b731f711463b7299)
2000-12-06 23:24:31 +00:00
Gerald Carter
e899f04a68 update for new pdbedit tool (code from Simo)
--jerry
(This used to be commit 3d0ecea18d52b7287beede5687c26536413440eb)
2000-12-06 18:24:10 +00:00
Gerald Carter
c09b1d19f8 updates to the tdbsam implementation.
--jerry
(This used to be commit 29b3ac8634769d01c20bf394eecc536a02e0f36c)
2000-12-06 18:22:29 +00:00
Gerald Carter
b6e03bf737 added passdb editor (rough form with a few bugs) Should work
with all backends.


--jerry
(This used to be commit fc43c63f481cdf22c3515cc0f0d744c662b4f83d)
2000-12-06 18:18:48 +00:00
Tim Potter
a1f4e6e927 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)
2000-12-06 03:22:44 +00:00
Tim Potter
bd54bcb397 make proto again
(This used to be commit 746e03dce81429b9a06ce95929eb605cf5b0833d)
2000-12-06 02:55:08 +00:00
Tim Potter
6e9eb6a316 tdb_chainunlock() no longer returns a value.
(This used to be commit 2c9704c3db4014ca43b4b13160b9f53ff5f36e3b)
2000-12-06 02:53:36 +00:00
Tim Potter
4cf7fcc505 Fixed compiler warning.
(This used to be commit 6553f1d02792d81987dda51af76b4fc06d73a787)
2000-12-06 02:52:54 +00:00
Tim Potter
a58ca91245 tdb_unlockchain() no longer returns a value
(This used to be commit aee52c7acf138f8fd651aeb3d9bef79f99d1a2a9)
2000-12-06 02:51:13 +00:00
Jeremy Allison
0293259eaa Make smbd/posix_acls.c use abstract interface.
include/smb_acls.h lib/sysacls.c: Added as interface definitions.
Jeremy.
(This used to be commit 8359375bba5b3ae24956f66b066dedf11d3583df)
2000-12-06 02:32:48 +00:00
Tim Potter
b9df5ca827 Update required after changes to configure.in
(This used to be commit 644aa834e59fc9be9f3c785213729af787b5f90c)
2000-12-06 01:55:19 +00:00
Tim Potter
1f6fc3988d Fixed compiler warning.
(This used to be commit 5e81151e53300a8c58adca09d02d0b075a13c322)
2000-12-06 01:47:06 +00:00
Jeremy Allison
b881a55dfd 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.
Jeremy.
(This used to be commit b27cac77628a4b332b529115b0854c71f9eea374)
2000-12-06 01:34:16 +00:00
Jeremy Allison
b2d1c4fdee Sync-up with appliance-head printing code.
Jeremy.
(This used to be commit fe730614d70b331ec7b1a909940395c9713ea8ac)
2000-12-06 00:37:25 +00:00
Jeremy Allison
7e4c4721b4 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....
Jeremy.
(This used to be commit 9dea7b7c257db487f8ced7dad3fce92fba03ea91)
2000-12-06 00:05:15 +00:00
Jeremy Allison
1cd8538b7a Fixed one tdb_read -> rec_free_read call.
Jeremy.
(This used to be commit c9884e16fc2d13dd62c5a43633c9a38dadc9822c)
2000-12-05 03:44:30 +00:00
Jeremy Allison
1218b41474 Added sorted freelist neighbour merge code to stop tdb fragmentation.
This needs TESTING !!! (It passes tdbtest of course :-).
Jeremy.
(This used to be commit 7ae54a93e756d927419242adf35f46e91e974573)
2000-12-05 03:12:57 +00:00
David O'Neill
7e9736703c Remove C++ style comments
(This used to be commit 80c192244fdb07e8e9cf4c0376bbea60dde244a0)
2000-12-04 17:16:44 +00:00
Andrew Tridgell
d7a502f5a8 fixed a typo
(This used to be commit c9e4dea1cbcf6aa748f5cb10f226345dd2f1adbf)
2000-12-04 07:39:22 +00:00
Andrew Tridgell
3eee7625b1 added a comment
(This used to be commit 032442802f73948e3af2c86fee0d58f82e47f673)
2000-12-04 07:38:06 +00:00
Andrew Tridgell
723c9b87e7 fixed the parsing again and got setting acls working with w2k
(This used to be commit 374d08be6443738d6a450801866fd6e046322e2c)
2000-12-04 07:27:35 +00:00
Andrew Tridgell
d931013008 pass the desired access into cli_nt_create()
(This used to be commit a2d07994e0376a8d530d262573c96710bdff2236)
2000-12-04 07:26:56 +00:00
Tim Potter
54100bac69 Added some cli_errstr() calls.
(This used to be commit faaa71a032bc27d073c39da42fc2928ea3226698)
2000-12-04 06:46:52 +00:00
Tim Potter
92abcbc040 Removed lsa lookup warnings (I'll remember).
Print an error if -M refers to a non-existent ACL.
(This used to be commit ee6f5a9672795c884cabe80e98e5b0fb3c793539)
2000-12-04 06:43:36 +00:00
Andrew Tridgell
3d43b2db28 fixed setting ACLs on directories
(This used to be commit 117956ecb1878f09708a5dc76ec81ad3cfa8d809)
2000-12-04 06:39:31 +00:00
Andrew Tridgell
3a01ece497 fixed indentation
(This used to be commit b7a1c00bed5f0650783c8d7397c11aa2ac59aa04)
2000-12-04 06:39:14 +00:00
Tim Potter
252e3ba128 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)
2000-12-04 06:14:28 +00:00
Andrew Tridgell
5092ad82ba removed SACL support (as it doesn't work with w2k if you ask for
SACLs)
(This used to be commit 52b27d75e12eeeb52b3a93952900809c2ee0b992)
2000-12-04 04:58:40 +00:00
Andrew Tridgell
ca784bb028 in cli_session_setup() accept usernames of the form DOMAIN/USER or
DOMAIN\USER

this means all our tools can now put the domain name in the -U option
(This used to be commit bac1c76f03b6b848fa2e942b12c646aed58bee12)
2000-12-04 04:26:22 +00:00