John Terpstra [Sat, 12 Aug 2000 02:41:19 +0000 (02:41 +0000)]
Updated by Patrick Powell <papowell@lprng.com>
Herb Lewis [Mon, 24 Jul 2000 19:04:10 +0000 (19:04 +0000)]
test for sys/un.h
Herb Lewis [Mon, 24 Jul 2000 18:49:28 +0000 (18:49 +0000)]
add test for sys/un.h (from head)
Herb Lewis [Mon, 24 Jul 2000 18:33:50 +0000 (18:33 +0000)]
looks like I did the wrong change. lib/util_array.c needs to be added
to this tree.
Herb Lewis [Mon, 24 Jul 2000 17:51:55 +0000 (17:51 +0000)]
remove lib/util_array.o from target LIB_OBJ. This file is not in this tree.
John Terpstra [Tue, 18 Jul 2000 16:39:12 +0000 (16:39 +0000)]
Just messing about in a Samba Tutorial!
Tim Potter [Thu, 1 Jun 2000 03:25:55 +0000 (03:25 +0000)]
Don't use ksh or bash-isms.
Jeremy Allison [Fri, 26 May 2000 21:04:13 +0000 (21:04 +0000)]
Point-n-print fixes from HEAD.
POSIX locking fixes discovered at CIFS connectathon.
tdb updates from HEAD.
Remove OLD_NTDOMAIN from smbd/ c files.
Jeremy.
Jeremy Allison [Tue, 23 May 2000 18:05:59 +0000 (18:05 +0000)]
Fixed IPC$ open problem - disabled opens on trans2 calls until pipe
open backend implemented.
Jeremy.
Jeremy Allison [Tue, 23 May 2000 01:26:39 +0000 (01:26 +0000)]
Fix bug where file access was allowed on IPC$.
Return correct error codes on invalid share name.
Jeremy
Jeremy Allison [Thu, 18 May 2000 01:46:13 +0000 (01:46 +0000)]
rpc_parse/parse_samr.c: The prs_align at the end of samr_io_q_query_dom_info() was reading 2 bytes
too much (more than the client sent).
rpc_server/srv_samr.c: Uninitialized memory read fixups.
Jeremy.
Jeremy Allison [Wed, 17 May 2000 20:53:21 +0000 (20:53 +0000)]
Ok - 2.2.0 now correctly compiles. Now to start the ACL work....
Jeremy.
Jeremy Allison [Wed, 17 May 2000 03:13:06 +0000 (03:13 +0000)]
Fixed bug where mallocd size of prs_struct could be larger than
incoming packet. Ensure new alloced memory is zeroed before use.
Jeremy.
Jeremy Allison [Wed, 17 May 2000 01:12:27 +0000 (01:12 +0000)]
smbd/nmbd now compile.
Jeremy.
Jeremy Allison [Tue, 16 May 2000 19:46:20 +0000 (19:46 +0000)]
Fixed up srv_samr stuff. Added error checking.
Jeremy.
Jeremy Allison [Mon, 15 May 2000 21:50:06 +0000 (21:50 +0000)]
Getting closer to a compile.
Jeremy.
Jeremy Allison [Mon, 15 May 2000 19:15:42 +0000 (19:15 +0000)]
Merging, merging, merging,
keep those merges rolling,
....
Jeremy.
cvs2svn Import User [Mon, 15 May 2000 17:13:51 +0000 (17:13 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_2_0'.
Jeremy Allison [Mon, 15 May 2000 17:13:50 +0000 (17:13 +0000)]
passdb/secrets.c: Fix typo in comment.
rpc_server/srv_pipe.c: Use accessor functions rather than diddling with structure
internals directly.
smbd/process.c:
smbd/reply.c: Remove READ_PREDICTION #ifdefs.
Jeremy.
Andrew Tridgell [Mon, 15 May 2000 13:41:05 +0000 (13:41 +0000)]
started update to handle arbitrary arrays
note: this code is currently broken.
Andrew Tridgell [Mon, 15 May 2000 09:59:58 +0000 (09:59 +0000)]
call prs_dump() on every input and output packet so we have plenty of
data to work with
Andrew Tridgell [Mon, 15 May 2000 09:59:25 +0000 (09:59 +0000)]
don't call prs_dump() here
Andrew Tridgell [Mon, 15 May 2000 09:58:58 +0000 (09:58 +0000)]
update grow_size in prs_grow
Andrew Tridgell [Mon, 15 May 2000 09:58:22 +0000 (09:58 +0000)]
addd grow_size to prs_struct so we know how much data is actually in
the buffer
Andrew Tridgell [Mon, 15 May 2000 09:57:47 +0000 (09:57 +0000)]
need to allocate the union pointer
Andrew Tridgell [Mon, 15 May 2000 09:57:19 +0000 (09:57 +0000)]
align at the end of every structure parser
Andrew Tridgell [Mon, 15 May 2000 09:56:51 +0000 (09:56 +0000)]
use grow_size to determine size of dump
Andrew Tridgell [Mon, 15 May 2000 09:56:30 +0000 (09:56 +0000)]
added grow_size to prs structure
Andrew Tridgell [Mon, 15 May 2000 07:18:12 +0000 (07:18 +0000)]
add prs_dump() at the top level rpc switch
this gets us examples of all rpc messages sent to us
Andrew Tridgell [Mon, 15 May 2000 07:17:34 +0000 (07:17 +0000)]
make prs_dump() store up to 100 variants of each msg type
Andrew Tridgell [Sun, 14 May 2000 14:44:59 +0000 (14:44 +0000)]
add uint16 support, start to parse more of spoolss
Andrew Tridgell [Sun, 14 May 2000 14:08:16 +0000 (14:08 +0000)]
moved *.tpl templates into templates/ subdirectory
Andrew Tridgell [Sun, 14 May 2000 14:05:10 +0000 (14:05 +0000)]
vastly improved awk based code generator
now handles recursive function definitions, unions etc
it is sufficient for some basic types like UNISTR2 and BUFFER5
to be defined in the *.struct file and used successfully
this generator uses templates (in *.tpl files) for all code
generation, allowing easy replacement of the backend functions
Andrew Tridgell [Sun, 14 May 2000 14:01:50 +0000 (14:01 +0000)]
removed old files ready for new awk parser
Jeremy Allison [Sat, 13 May 2000 01:13:19 +0000 (01:13 +0000)]
Merge, merge, merge back from HEAD.
Jeremy.
Jeremy Allison [Sat, 13 May 2000 00:53:31 +0000 (00:53 +0000)]
More merge - getting closer to a full compile.
Jeremy.
Jeremy Allison [Sat, 13 May 2000 00:46:59 +0000 (00:46 +0000)]
Added code to do a one-way migration of the old DOMAIN.MACHINE.mac
file into the secrets tdb. Also restored check for password timeout
(this seemed to have gotten lost).
Jeremy.
Andrew Tridgell [Fri, 12 May 2000 14:35:15 +0000 (14:35 +0000)]
renamed the harness program to vluke (for "virtual luke")
added a couple of sample .prs files
Andrew Tridgell [Fri, 12 May 2000 14:35:14 +0000 (14:35 +0000)]
preliminary support for unions
Andrew Tridgell [Fri, 12 May 2000 14:35:13 +0000 (14:35 +0000)]
this is a awk based code generator. Very primitive at the moment, but
it was sufficient to generate info level 6 of the add printer driver
for spoolss
It has two capabilities:
1) generate the header and C code for parsing a structure, given a
*.struct file that describes the structure. Evetually I hope to
make *.struct compatible with MIDL.
2) it provides a harness that can read a binary data file from
prs_dump() which contains real data from a client and display the
parse of it from the output of the awk parser. This allows you to
"play" with the structure definition until it comes out right, it
takes just a few mimutes of playing with the .struct file to work
out the right layout.
all this is very primitive right now. I hope next to completely
replace the spoolss parser with a single .struct file that describes
all the structures, and auto-generates working code. That will require
quite a bit more work.
Andrew Tridgell [Fri, 12 May 2000 14:28:51 +0000 (14:28 +0000)]
rebuilt proto
Andrew Tridgell [Fri, 12 May 2000 14:28:50 +0000 (14:28 +0000)]
changed uniarray_2_ascarray to uniarray_2_dosarray
Jeremy Allison [Fri, 12 May 2000 14:28:49 +0000 (14:28 +0000)]
More merge - getting closer to a compile....
Jeremy.
Jeremy Allison [Fri, 12 May 2000 14:28:48 +0000 (14:28 +0000)]
Added unicode_to_dos_char() function to address converting single UNICODE
characters to one or more DOS codepage characters.
Jeremy.
cvs2svn Import User [Fri, 12 May 2000 14:28:47 +0000 (14:28 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_2_0'.
Andrew Tridgell [Fri, 12 May 2000 14:28:46 +0000 (14:28 +0000)]
added spool_io_printer_driver_info_level_6()
thsi function and the associated header structure were autogenerated
using a little awk based code geerator I wroe ths evening. I'll commit
that next ...
Tim Potter [Fri, 12 May 2000 13:05:26 +0000 (13:05 +0000)]
Added signal handling section.
Andrew Tridgell [Fri, 12 May 2000 13:05:25 +0000 (13:05 +0000)]
- added example config section to winbindd man page
- reran yodldocs with newer version of yodl
Gerald Carter [Fri, 12 May 2000 13:05:24 +0000 (13:05 +0000)]
Added mention of the CUPS option for the printing parameter
-jerry
Tim Potter [Fri, 12 May 2000 06:55:09 +0000 (06:55 +0000)]
Merge from TNG.
Andrew Tridgell [Fri, 12 May 2000 06:38:41 +0000 (06:38 +0000)]
fixed two uninitialised variables
Andrew Tridgell [Fri, 12 May 2000 06:30:45 +0000 (06:30 +0000)]
use "winbind separator" option for domain/user separator character
Andrew Tridgell [Fri, 12 May 2000 06:29:29 +0000 (06:29 +0000)]
compile with -O2
Tim Potter [Fri, 12 May 2000 06:27:35 +0000 (06:27 +0000)]
While we're all making incompatible tdb changes, I changed the implementation
of tdb_{store,get}_int() to store the length of the string key + 1 so the
stored key contains the trailing NULL character. This allows normal
string library routines to manipulate keys.
Also renamed tdb_get_int() to tdb_fetch_int() to keep the set of verbs
consistent.
Andrew Tridgell [Fri, 12 May 2000 06:27:34 +0000 (06:27 +0000)]
use "winbind separator" in tng as well
Andrew Tridgell [Fri, 12 May 2000 06:23:38 +0000 (06:23 +0000)]
build in /usr/src/redhat
Andrew Tridgell [Fri, 12 May 2000 06:04:46 +0000 (06:04 +0000)]
updated appliance Makefile
Andrew Tridgell [Fri, 12 May 2000 05:46:25 +0000 (05:46 +0000)]
added packaging section to README
Andrew Tridgell [Fri, 12 May 2000 05:43:02 +0000 (05:43 +0000)]
fixed tar command line
Andrew Tridgell [Fri, 12 May 2000 05:41:17 +0000 (05:41 +0000)]
exclude CVS files from rpm build
Andrew Tridgell [Fri, 12 May 2000 05:25:22 +0000 (05:25 +0000)]
fixed error code for buffer_too_large in trans reply
Andrew Tridgell [Fri, 12 May 2000 05:22:41 +0000 (05:22 +0000)]
don't install winbind man page twice
Tim Potter [Fri, 12 May 2000 05:21:15 +0000 (05:21 +0000)]
Nuked changelog - use cvs log instead.
Actually install winbindd man page.
Clean up build directory after make.
Tim Potter [Fri, 12 May 2000 05:18:42 +0000 (05:18 +0000)]
simple build script for appliance rpm
Andrew Tridgell [Fri, 12 May 2000 05:18:33 +0000 (05:18 +0000)]
added winbindd man page to spec file
Andrew Tridgell [Fri, 12 May 2000 05:13:51 +0000 (05:13 +0000)]
fixed a typo
Andrew Tridgell [Fri, 12 May 2000 05:10:32 +0000 (05:10 +0000)]
fixed a problem with appliance operation
Andrew Tridgell [Fri, 12 May 2000 05:08:47 +0000 (05:08 +0000)]
use gcc not insure by default in tdb build
Andrew Tridgell [Fri, 12 May 2000 05:08:06 +0000 (05:08 +0000)]
add winbind manual in SWAT welcome page
Andrew Tridgell [Fri, 12 May 2000 05:07:26 +0000 (05:07 +0000)]
use our primary domain trust account for trusted domain authentication
Andrew Tridgell [Fri, 12 May 2000 05:06:27 +0000 (05:06 +0000)]
updated the appliance README
Tim Potter [Fri, 12 May 2000 04:07:44 +0000 (04:07 +0000)]
Manpage version of yodl doc.
Tim Potter [Fri, 12 May 2000 04:03:35 +0000 (04:03 +0000)]
HTML version of yodl doc.
Tim Potter [Fri, 12 May 2000 04:02:43 +0000 (04:02 +0000)]
Changed all references of ntdom to winbind.
Tim Potter [Fri, 12 May 2000 03:04:56 +0000 (03:04 +0000)]
Initial version of appliance spec file.
Andrew Tridgell [Fri, 12 May 2000 02:57:24 +0000 (02:57 +0000)]
an imcompatible tdb format change (sorry!)
this will give us a much nicer migration path for the proposed
semaphore code
Jeremy Allison [Fri, 12 May 2000 00:11:49 +0000 (00:11 +0000)]
Check fstat return for error.
Jeremy.
Jeremy Allison [Thu, 11 May 2000 20:54:15 +0000 (20:54 +0000)]
With this commit I am currently breaking the SAMBA_2_0 build for a while.
The reson for this is I need to move back much of the HEAD functionality
into 2.0.8. This isn't easy, and I already have much of it and don't want
to lose it on my local machine.
nmbd builds at the moment, but that is all.
The things I am taking from HEAD are tdb, the unexpected packet database,
the brlock changes, the posix lock changes, the NT printing changes, the
open() changes, but not the vfs, dfs or NT domain server parts.
Expect this branch to be uncompilable for a few days as I gradually
beat it back into shape.
If you want to add stuff, do it to HEAD and I'll pull back the changes
as needed.
Jeremy.
Shirish Kalele [Thu, 11 May 2000 17:44:24 +0000 (17:44 +0000)]
2.0.8 ACL support for NT5 clients
NT5 makes a Samr_Query_AliasInfo call with info class 1. (NT4 only makes
info class 3 calls)
Added code to handle this.
NT5 requires responses to Samr_Lookup_Domain and Samr_Enum_Domains calls to
list users and groups in the ACL dialog. Luckily, this could be creamed off
TNG :-)
Now NT5 clients list users and groups and can add them to the DACL.
TODO: "Check Names" occasionally fails.
cvs2svn Import User [Wed, 10 May 2000 22:47:10 +0000 (22:47 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_2_0'.
Jeremy Allison [Wed, 10 May 2000 22:47:09 +0000 (22:47 +0000)]
lib/util_unistr.c:
libsmb/clilist.c:
rpc_server/srv_spoolss_nt.c:
smbd/trans2.c: Changed unistr_to_ascii to unistr_to_dos - do codepage conversion.
msdfs/msdfs.c: Removed stub unistr_to_dos.
libsmb/pwd_cache.c: Removed obfuscation functions as they don't do anything and
don't add any security.
Jeremy.
Jeremy Allison [Wed, 10 May 2000 18:53:03 +0000 (18:53 +0000)]
Ho hum - forgot timeout case.
Jeremy.
Jeremy Allison [Wed, 10 May 2000 18:27:58 +0000 (18:27 +0000)]
Fix from David Collier-Brown - sys_select return was not being checked.
Jeremy.
Andrew Tridgell [Wed, 10 May 2000 14:48:33 +0000 (14:48 +0000)]
- changed smb_getpwnam() to use winbind style usernames
- finished ntdom -> winbind rename in head
Andrew Tridgell [Wed, 10 May 2000 14:47:12 +0000 (14:47 +0000)]
updated appliance Makefile
Andrew Tridgell [Wed, 10 May 2000 14:17:21 +0000 (14:17 +0000)]
in head as well ...
renamed ntdom to winbind
I think that using winbind in /etc/nsswitch.conf is better than ntdom
Andrew Tridgell [Wed, 10 May 2000 13:21:32 +0000 (13:21 +0000)]
treat a blank "password server =" line as a "*" if in domain security
Andrew Tridgell [Wed, 10 May 2000 12:58:20 +0000 (12:58 +0000)]
when creating the database zero the reserved space
Andrew Tridgell [Wed, 10 May 2000 11:50:28 +0000 (11:50 +0000)]
proto rebuild
Andrew Tridgell [Wed, 10 May 2000 11:49:55 +0000 (11:49 +0000)]
check for sighup on each packet - otherwise it can take a _long_ time
to reload services
Andrew Tridgell [Wed, 10 May 2000 11:49:06 +0000 (11:49 +0000)]
fail a print start on a deleted auto printer
Andrew Tridgell [Wed, 10 May 2000 11:48:30 +0000 (11:48 +0000)]
I found a better way of handling deleted auto printers
Andrew Tridgell [Wed, 10 May 2000 11:45:16 +0000 (11:45 +0000)]
formatting fix
Andrew Tridgell [Wed, 10 May 2000 11:20:46 +0000 (11:20 +0000)]
remove autoloaded printers that are no longer in /etc/printcap when we
get a HUP
Andrew Tridgell [Wed, 10 May 2000 11:08:08 +0000 (11:08 +0000)]
patch from Dominik Kubla <dominik.kubla@uni-mainz.de>
Andrew Tridgell [Wed, 10 May 2000 10:41:59 +0000 (10:41 +0000)]
more merging voodoo
this adds "#define OLD_NTDOMAIN 1" in lots of places. Don't panic -
this isn't permanent, it should go after another few merge steps have
been done
Andrew Tridgell [Wed, 10 May 2000 09:49:55 +0000 (09:49 +0000)]
more merging
it is now at the stage that winbindd can compile in the head branch,
but not link
Andrew Tridgell [Wed, 10 May 2000 06:02:37 +0000 (06:02 +0000)]
- add some reserved space to every tdb, this will be
used for semaphores and future expansion
- update tdb version number to 2
Herb Lewis [Wed, 10 May 2000 01:32:51 +0000 (01:32 +0000)]
Use a prime for default tdb hash size - this makes a difference !
Jeremy.
Herb Lewis [Wed, 10 May 2000 01:31:46 +0000 (01:31 +0000)]
Fix for misunderstanding of fsync added when vfs layer
was done. Samba was doing fsync's (bleagh).
Jeremy.