jra/samba/.git
23 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
smbw
(This used to be commit 8f97d59186ee3b52f623d30dfb7b195ec721ec0c)

23 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)

23 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

--jerry
(This used to be commit bb48b02d5f2118470a415d5f1f92305688e6b432)

23 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.
Jeremy.
(This used to be commit f575f4d67a5b45e47c29de30f02901c55cef4621)

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

23 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.
Jeremy.
(This used to be commit f4c32a75e6e60eae6078449478d04ff22373d817)

23 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).
Jeremy.
(This used to be commit 63e2ebc4272cd8bc52ea80e1e12996ab273b8ea4)

23 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)

23 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)

23 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)

23 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
rpcclient/cmd_spoolss.c?
(This used to be commit 77b0bda4df3217cd186d5b8f902a50f35346d98d)

23 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)

23 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)

23 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)

23 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
scan.
Jeremy.
(This used to be commit 7055fa0bc43f6e2b3f04b8901fccea80d59bf490)

23 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.
Jeremy.
(This used to be commit e9f48c9cec960b6190fb7a2485c9476640863071)

23 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.
Jeremy.
(This used to be commit 76b8dd376d13eb4469417be217c966d54d333367)

23 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.
Jeremy
(This used to be commit f3b5e2a172a777e1c3bbf6ac72fe5c7cdb8324b3)

23 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
Jeremy.
(This used to be commit da6ae57501e3cb971e82eac5bb05efcd9cf443ae)

23 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)

23 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)

23 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
values.

Clarified usage message.

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

23 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 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)

23 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 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)

23 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)

--jerry
(This used to be commit 3d0ecea18d52b7287beede5687c26536413440eb)

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

--jerry
(This used to be commit 29b3ac8634769d01c20bf394eecc536a02e0f36c)

23 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.

--jerry
(This used to be commit fc43c63f481cdf22c3515cc0f0d744c662b4f83d)

23 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)

23 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

--jerry
(This used to be commit a89957e20555a2cdcb07b214e0121455405f87a5)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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.
Jeremy.
(This used to be commit 8359375bba5b3ae24956f66b066dedf11d3583df)

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

23 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)

23 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.
Jeremy.
(This used to be commit b27cac77628a4b332b529115b0854c71f9eea374)

23 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.
Jeremy.
(This used to be commit fe730614d70b331ec7b1a909940395c9713ea8ac)

23 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....
Jeremy.
(This used to be commit 9dea7b7c257db487f8ced7dad3fce92fba03ea91)

23 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.
Jeremy.
(This used to be commit c9884e16fc2d13dd62c5a43633c9a38dadc9822c)

23 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 :-).
Jeremy.
(This used to be commit 7ae54a93e756d927419242adf35f46e91e974573)

23 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)

23 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
       docs/manpages/smbclient.1)
(This used to be commit 3483be1d76fe0dae770bdf8ad97bab81645e5fbf)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

23 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)

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

23 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)

23 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
SACLs)
(This used to be commit 52b27d75e12eeeb52b3a93952900809c2ee0b992)

23 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)

23 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
DOMAIN\USER

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

23 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)

23 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)

23 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)

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

23 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)

23 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)

23 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)

23 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)

23 years agoFixed some debugging code.
Tim Potter [Mon, 4 Dec 2000 00:07:27 +0000 (00:07 +0000)]
Fixed some debugging code.
(This used to be commit 369a378b3390b060a676c67950f020c4d147fe6d)

23 years ago- added help
Andrew Tridgell [Sun, 3 Dec 2000 12:41:28 +0000 (12:41 +0000)]
- added help
- added add/modify/delete/set as separate operations
(This used to be commit cb324b53c61ee7e4bf0aa5d1fb773672a2674c0f)

23 years agonew protos
Andrew Tridgell [Sun, 3 Dec 2000 11:05:30 +0000 (11:05 +0000)]
new protos
(This used to be commit 0a990f02d0e25c0f854d6caa3e9c3bc7329697c7)

23 years agocleaner parsing and default handling
Andrew Tridgell [Sun, 3 Dec 2000 11:05:11 +0000 (11:05 +0000)]
cleaner parsing and default handling
(This used to be commit f8dbd2b799545a8e1e33eceb6739b5b606cdc4b9)

23 years agochanged an error message
Andrew Tridgell [Sun, 3 Dec 2000 11:04:45 +0000 (11:04 +0000)]
changed an error message
(This used to be commit f9f14a4293cecb738f733c6c845275619f7bec40)

23 years ago- better parsing
Andrew Tridgell [Sun, 3 Dec 2000 08:35:11 +0000 (08:35 +0000)]
- better parsing
- started to add non-numeric support
(This used to be commit fd4c03aef692cd8ef9a29b60a4d66fe898430317)

23 years agogetting/setting acls now works. The SIDs are still numeric, the next
Andrew Tridgell [Sun, 3 Dec 2000 07:36:15 +0000 (07:36 +0000)]
getting/setting acls now works. The SIDs are still numeric, the next
step is to support usernames etc
(This used to be commit 6cea1647fcbc6f5a903c691273dcec44fcda1fc4)

23 years agoadded basic ability to dump remote file acls
Andrew Tridgell [Sun, 3 Dec 2000 05:24:16 +0000 (05:24 +0000)]
added basic ability to dump remote file acls
(This used to be commit c6c90dc8e163d874748e2020cc140134cffcfe32)

23 years agomake sure we don't duplicate object files
Andrew Tridgell [Sun, 3 Dec 2000 05:23:46 +0000 (05:23 +0000)]
make sure we don't duplicate object files
(This used to be commit 976b9f6264c1a5af996777ff1d71db0f762cfa9b)

23 years agonew proto
Andrew Tridgell [Sun, 3 Dec 2000 02:20:33 +0000 (02:20 +0000)]
new proto
(This used to be commit 2f21a0b10007056d0c359a0edb869f47c897ee7c)

23 years agoa prootype program for querying/setting a security decsriptor on a
Andrew Tridgell [Sun, 3 Dec 2000 02:19:27 +0000 (02:19 +0000)]
a prootype program for querying/setting a security decsriptor on a
remote machine

it is by no means complete, expect more commits soon
(This used to be commit f2f9859b700085cce0ed0c12d8780ad554255ea4)

23 years ago- added client support for nttrans calls
Andrew Tridgell [Sun, 3 Dec 2000 02:18:14 +0000 (02:18 +0000)]
- added client support for nttrans calls
- added a cli_ function for querying a security descriptor on a remote file
(This used to be commit e21994ff9d512d1c9d6d360e930809b135df4cf7)

23 years agosplit the RPC_PARSE object into two pieces. The first is included as
Andrew Tridgell [Sun, 3 Dec 2000 02:15:58 +0000 (02:15 +0000)]
split the RPC_PARSE object into two pieces. The first is included as
part of LIBSMB and the latter is used by parts of samba that know
about the pwd backends
(This used to be commit 3420b52da5957b5bbf0704d1e386349a061f86cf)

23 years agoAdded print_freelist command.
Jeremy Allison [Sat, 2 Dec 2000 01:04:11 +0000 (01:04 +0000)]
Added print_freelist command.
Jeremy.
(This used to be commit ee89ca9e68abb23fc26cd1378e02e56d0d725e55)

23 years agochange the split threahold for the free list to prevent freelist
Andrew Tridgell [Sat, 2 Dec 2000 00:53:03 +0000 (00:53 +0000)]
change the split threahold for the free list to prevent freelist
fragmentation
(This used to be commit b64e1ae69314ae110c548f57810c34e620d57075)

23 years agofixed messaging bug - use strlen() instead of sizeof() in key length
Andrew Tridgell [Sat, 2 Dec 2000 00:51:50 +0000 (00:51 +0000)]
fixed messaging bug - use strlen() instead of sizeof() in key length
(This used to be commit 1d63160c751fa968e3a7618d1feb84a9feaa13dc)

23 years agoAllow zero length smb.conf files.
Tim Potter [Fri, 1 Dec 2000 04:10:54 +0000 (04:10 +0000)]
Allow zero length smb.conf files.
(This used to be commit 46007a541cd2497c14659a10ba24a6d0a375ac5a)

23 years agoRun configure script using dirname of $0. This allows configure.developer
Tim Potter [Fri, 1 Dec 2000 01:22:17 +0000 (01:22 +0000)]
Run configure script using dirname of $0.  This allows configure.developer
to be run when the build directory != source directory.
(This used to be commit 697e8e6de50ca4d1a37ec89330a6916429fd9a89)

23 years agoUse lp_codepagedir() instead of CODEPAGEDIR when loading the unicode map.
Tim Potter [Fri, 1 Dec 2000 01:14:55 +0000 (01:14 +0000)]
Use lp_codepagedir() instead of CODEPAGEDIR when loading the unicode map.
Found by Joseph Cheek <joseph@cheek.com>
(This used to be commit ec74fdc631fbd5f0b5450df02acb9cd98c153823)

23 years agoCode to read & return POSIX ACLs as NT ACLs. Close to test on Linux.
Jeremy Allison [Fri, 1 Dec 2000 00:32:25 +0000 (00:32 +0000)]
Code to read & return POSIX ACLs as NT ACLs. Close to test on Linux.
Jeremy.
(This used to be commit 52e9311bc2a837d1f4791f36c3477c430f841378)

23 years agoKeep syncing up POSIX ACL work...
Jeremy Allison [Thu, 30 Nov 2000 19:31:04 +0000 (19:31 +0000)]
Keep syncing up POSIX ACL work...
Jeremy.
(This used to be commit 8f0062b873b2f4e8b27bb937ad213c4aa29443a7)

23 years agoWork in progress, doesn't compile. Adding the POSIX ACL mapping....
Jeremy Allison [Thu, 30 Nov 2000 01:00:36 +0000 (01:00 +0000)]
Work in progress, doesn't compile. Adding the POSIX ACL mapping....
Jeremy.
(This used to be commit bcac4ede7608a91643f5fcd034f6b273a45b5c7a)

23 years agoalignment issues.
Jean-François Micouleau [Wed, 29 Nov 2000 14:39:06 +0000 (14:39 +0000)]
alignment issues.

I hate that job ...

J.F.
(This used to be commit 97e3b293569cebd91b5f2b37a7578e2e2779ceb0)

23 years agoFirst Release of the DocBook 'source'.
David Bannon [Tue, 28 Nov 2000 23:35:03 +0000 (23:35 +0000)]
First Release of the DocBook 'source'.
(This used to be commit 6cb727c033822e3e5ff3edc532457df8258beefd)

23 years agoinclude/dlinklist.h: Added '{' '}' around DLIST_PROMOTE so it can be used as a single
Jeremy Allison [Tue, 28 Nov 2000 22:17:44 +0000 (22:17 +0000)]
include/dlinklist.h: Added '{' '}' around DLIST_PROMOTE so it can be used as a single
statement after an 'if'. Tracking this down took 4 hours from my life and ANDREW I WANT
THEM BACK !!!!! :-).
include/smb.h smbd/password.c: Fixed the bug veritas reported with realloc of the validated_users
array growing without bounds. This is now a linked list as god (Andrew) intended :-).
Jeremy.
(This used to be commit 346f2f9206b9b4ed123e2a61c0a48de630397b8a)

23 years agoPDC docs, made from DocBook source, comments ?
David Bannon [Tue, 28 Nov 2000 06:18:04 +0000 (06:18 +0000)]
PDC docs, made from DocBook source, comments ?
(This used to be commit 551a0eebb7c2d71bdc2b340c4d6244a840ac6958)

23 years agoRan DFS on Linux and found that readlink() on Linux does not append NUL
Shirish Kalele [Tue, 28 Nov 2000 00:26:42 +0000 (00:26 +0000)]
Ran DFS on Linux and found that readlink() on Linux does not append NUL
to the link read. So add a NUL..
(This used to be commit 04ebcf954c7568fc16ff4a75b31715d6b0a34aa4)

23 years agopassdb/secrets.c passdb/smbpassfile.c smbd/server.c : Actually *use* the code
Jeremy Allison [Mon, 27 Nov 2000 23:59:42 +0000 (23:59 +0000)]
passdb/secrets.c passdb/smbpassfile.c smbd/server.c : Actually *use* the code
written to transition from an old DOMAIN.MACHINE.MAC file to secrets.tdb.
printing/nt_printing.c: Fix case insensitive name lookups for driver files.
John - this should fix the Win9x/WinME problem correctly.
Jeremy.
(This used to be commit 8f3332a9acf413ac5d12053ca5c52733a4e946cc)

23 years agoFixed messaging so main smbd can get lib/message.c messages.
Jeremy Allison [Mon, 27 Nov 2000 21:37:07 +0000 (21:37 +0000)]
Fixed messaging so main smbd can get lib/message.c messages.
Jeremy.
(This used to be commit 349d58fb5758cebc5a8575f80103150b8cd0a080)

23 years agoRemoved unnessesary init.
Jeremy Allison [Mon, 27 Nov 2000 19:14:10 +0000 (19:14 +0000)]
Removed unnessesary init.
Jeremy.
(This used to be commit 2a797f9aa26b2d0c703b9d67f6e1ec97e4f408d2)

23 years agofixed a potential locking deadlock in tdb
Andrew Tridgell [Mon, 27 Nov 2000 06:35:12 +0000 (06:35 +0000)]
fixed a potential locking deadlock in tdb
(This used to be commit 03453e2ae557d7fa119338b71744822093d2f38a)

23 years agoThis should fix Office failing to print to "FILE:".
Jeremy Allison [Fri, 24 Nov 2000 19:53:38 +0000 (19:53 +0000)]
This should fix Office failing to print to "FILE:".
Jeremy.
(This used to be commit a08b08f7782234f26b2656a229007a411c6fb521)

23 years agoTar fixes from Craig Barratt craig@arraycomm.com.
Jeremy Allison [Wed, 22 Nov 2000 23:06:29 +0000 (23:06 +0000)]
Tar fixes from Craig Barratt craig@arraycomm.com.
Jeremy.
(This used to be commit cf05709ec394d6cac14577c033d658bdc4506208)

23 years agoo fixed logon script problems (wrong len in reply to net_sam_logon for
Gerald Carter [Wed, 22 Nov 2000 19:51:41 +0000 (19:51 +0000)]
o fixed logon script problems (wrong len in reply to net_sam_logon for
  a few strings).  I was the one who broke it obviously.

o changed a few more defaults in the smbpasswd backend with
  respect to times.  Now the logon time becomes '0' and the
  pass_can_change_time is set ot the same as pass_last_set_time

o change Get_Pwnam() call in local_lookup_name to sys_getpwnam()
  as it did not seem necessary to try case permutations in the
  username.

  Tim,  I think this was your code, so you might want to double
  check me.

-- jerry
(This used to be commit 37a665002c5cd7908c13d306f61af272a899dbc8)

23 years agoFree talloc'ed memory from the main smbd. Patch from Rich Bollinger, Elliott Company
Jeremy Allison [Wed, 22 Nov 2000 19:42:54 +0000 (19:42 +0000)]
Free talloc'ed memory from the main smbd. Patch from Rich Bollinger, Elliott Company
Jeremy.
(This used to be commit e041b144b2c7c6c9fdd6cd20256a197876aaf353)

23 years agoChanges from APPLIANCE_HEAD:
David O'Neill [Wed, 22 Nov 2000 16:19:07 +0000 (16:19 +0000)]
Changes from APPLIANCE_HEAD:
    - Add code to test equivalence of private data in NT_DEVICEMODE
(This used to be commit 684981851ffa3b51e78a6fd5960e219823eb90d5)