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

1166 Commits

Author SHA1 Message Date
Andrew Tridgell
c1a65f83f6 r793: - don't make templates members of any class that would make them show
up in searches like "objectclass=user"

 - auto-add the computer objectclass for computer accounts on create

 - added two types of password change call in samr server

 - reset last_fault_code before each dcerpc call
2007-10-10 12:53:51 -05:00
Andrew Tridgell
3657539623 r792: - changed the ldb ldif_* functions to be in the ldb_ namespace
- added better error reporting in ldbdel

 - fixed a bug in handling packing of records which contain elements
   with no values (it caused db corruption)

 - allow search with "dn" as target attribute
2007-10-10 12:53:50 -05:00
Andrew Tridgell
ec38392888 r791: added ldb man page build to ldb makefile 2007-10-10 12:53:50 -05:00
Andrew Tridgell
dcb9d1a897 r790: started working on some documentation (manual pages) for ldb 2007-10-10 12:53:50 -05:00
Simo Sorce
c0c1596dbd r789: we return wrong number of entries 2007-10-10 12:53:50 -05:00
Andrew Tridgell
770322bfdf r782: added torture test for level 6 logon level in netr_LogonSamLogon 2007-10-10 12:53:50 -05:00
Andrew Tridgell
446808ae4d r781: added level6 for logon level in SamLogon netlogon.idl 2007-10-10 12:53:50 -05:00
Stefan Metzmacher
2bb9f4adc0 r771: don't know why but the SMB_INCLUDE_M4() didn't work correct
metze
2007-10-10 12:53:50 -05:00
Stefan Metzmacher
25084445e7 r770: remove unused pam_smbpass/ dir from samba4
metze
2007-10-10 12:53:50 -05:00
Stefan Metzmacher
1f8aae548a r769: remove unused locking/ dir
metze
2007-10-10 12:53:49 -05:00
Stefan Metzmacher
467f1e8e96 r768: remove unused msdfs directory
(in 3.X it's also gone)

metze
2007-10-10 12:53:49 -05:00
Stefan Metzmacher
e65b38b7ca r767: add a $flags argument to the std_CC make rule generater
we may need this for compiling with -fPIC

metze
2007-10-10 12:53:49 -05:00
Stefan Metzmacher
62d456c144 r766: convert ntvfs/* to a config.mk file
metze
2007-10-10 12:53:49 -05:00
Stefan Metzmacher
afbe692b47 r765: add SMB_INCLUDE_M4() macro as wrapper arround sinclude()
metze
2007-10-10 12:53:49 -05:00
Tim Potter
1517ef3a98 r759: Fix some perl warnings. 2007-10-10 12:53:49 -05:00
Stefan Metzmacher
4bfecf337b r758: just move the util file to the additional object file list
metze
2007-10-10 12:53:49 -05:00
Tim Potter
f7b2315668 r757: Handle empty union arms (ala rid only entries in netlogon). 2007-10-10 12:53:49 -05:00
Tim Potter
1ece224c9a r756: Handle default element in union. 2007-10-10 12:53:49 -05:00
Stefan Metzmacher
f0b2e42978 r755: - disallow process_model _thread when we don't have pwread/pwrite
and have to use the nonthreadsafe wrapper
- add pread/pwrite wrapper to ntvfs_simple
- fix const warning in ntvfs_simple

metze
2007-10-10 12:53:48 -05:00
Andrew Bartlett
f9f581b580 r754: Implement the SetPassword operation on the netlogon pipe.
This involves allowing the password set code in samdb to take an
already hashed password, and some fixes to our torture code.

Andrew Bartlett
2007-10-10 12:53:48 -05:00
Tim Potter
03863a2ca8 r753: Big reorganisation of everything - also fixes handling of dissectors
for structures.

Instead of trying to parse everything to produce output in the right
order, generate parser in two steps: 1) gather information and register
names, fields, types etc.  2) generate output using data from step 1.
2007-10-10 12:53:48 -05:00
Andrew Bartlett
a93c70154a r752: Remove debugging hack (make sure the cleanup test account after we
leave) and test that the password change actually worked.

Andrew Bartlett
2007-10-10 12:53:48 -05:00
Andrew Bartlett
aa4b56a873 r751: Fix debug message to print the right variable.
Andrew Bartlett
2007-10-10 12:53:48 -05:00
Tim Potter
d162dcb52f r750: Rename global $name -> $module.
Start working on parsing structs.
2007-10-10 12:53:48 -05:00
Stefan Metzmacher
4a13cc22b4 r749: move the basic type checks
be more restrict if we don't have 'long long' or it's size is less than 8 bytes

(maybe only for a while, but if the build farm like it we may let it in forever
since the smb protocol really need 64 bit variables!)

metze
2007-10-10 12:53:48 -05:00
Stefan Metzmacher
e8a11e441b r748: get some more info about what the compilers in the build farm support
what we need is a test if the compiler does ANSI c99

metze
2007-10-10 12:53:48 -05:00
Stefan Metzmacher
bff8e39d3f r747: report an failure in mkproto.pl via mkproto.sh to make
to fail directly...

metze
2007-10-10 12:53:48 -05:00
Tim Potter
e170d9c3dc r746: Add entry in proto tree when we don't handle an IDL type.
Start parsing for parsing unions, structs and enums.

Don't display field type in display name.
2007-10-10 12:53:47 -05:00
Andrew Bartlett
b886cb65f8 r745: Move netr_ServerPasswordSet up with the other secure channel
management functions, and make sure to include the fault until this is
no longer a stub.

Andrew Bartlett
2007-10-10 12:53:46 -05:00
Tim Potter
d6e30faeec r744: A bunch of minor fixes. The ethereal pidl parser now dissects simple
samr calls - only the ones that take policy handles and uint32s.
2007-10-10 12:53:46 -05:00
Andrew Bartlett
94624e519b r743: Start on a NETLOGON server in Samba4.
Currently this only authentiates the machine, not real users.

As a consequence of running the Samba4 NETLOGON test against Samba4, I
found a number of issues in the SAMR server, which I have addressed.
There are more templates in the provison.ldif for this reason.

I also added some debug to our credentials code, and fixed some bugs
in the auth_sam module.

The static buffer in generate_random_string() bit me badly, so I
removed it in favor of a talloc based system.

Andrew Bartlett
2007-10-10 12:53:46 -05:00
Jeremy Allison
6cb21ccda3 r741: Test from Volker in RAW-OPEN for truncating a file containing locks.
Also added the same ad-hoc test is LOCK7.
Jeremy.
2007-10-10 12:53:46 -05:00
Jelmer Vernooij
6a254e26f1 r739: Implement GetNumRecords() call from eventlog pipe, including a torture test 2007-10-10 12:53:46 -05:00
Jelmer Vernooij
6857efaccc r738: Use same error message format as is used by compilers when reporting
syntax errors (some editors parse these strings and jump to the erroneous
			   line directly)
2007-10-10 12:53:46 -05:00
Jelmer Vernooij
ca39c567ed r736: Add list of supported and unsupported MIDL attributes 2007-10-10 12:53:46 -05:00
Jelmer Vernooij
86946fc1b9 r735: Fix some paths 2007-10-10 12:53:46 -05:00
Jelmer Vernooij
178cd902fc r734: Fix crash bug 2007-10-10 12:53:45 -05:00
Stefan Metzmacher
b2c05e3e86 r733: remove unused files in source/
maybe we can readd the Doxyfile later if someone wants to maintain it
and a web server

metze
2007-10-10 12:53:45 -05:00
Stefan Metzmacher
c563b3bf83 r729: fix the build : inlcude lib/tdb/config.m4
metze
2007-10-10 12:53:45 -05:00
Stefan Metzmacher
520b976216 r728: - let libldb_tdb depend on new subsystem LIBTDB
- remove tdb logging helper functions out of LIBTDB subsystem

- build libtdb shared lib with 'make library_libtdb'

the libs are not usable for now,

tridge: please remove the dependecy of CatchSignal() and smb_panic()
        from libtdb
	maybe use function pointers in the TDB_CONTEXT

	then run make library_libtdb
	and then make build/tests/trivial.o
	and then gcc -o trivial -L./bin -ltdb
	and then gcc -o trivial -L./bin -lldb

metze
2007-10-10 12:53:45 -05:00
Jelmer Vernooij
3fb009b719 r727: Start working on debian package for samba4 2007-10-10 12:53:45 -05:00
Stefan Metzmacher
17c9583148 r726: fix the build: libcli/raw/clirewrite.o is gone:-)
metze
2007-10-10 12:53:45 -05:00
Stefan Metzmacher
b1161c4c83 r725: fix usage of $PERL to "$PERL" to handle perl -W correct
metze
2007-10-10 12:53:45 -05:00
Andrew Bartlett
62eef851fd r719: Follow the trend - remove more unused functions.
Andrew Bartlett
2007-10-10 12:53:45 -05:00
Andrew Tridgell
a9768c25fd r718: removed some more unused code, and two source files 2007-10-10 12:53:44 -05:00
Andrew Bartlett
099151cdab r715: Finish the ldb conversion for the auth_sam module.
Andrew Bartlett
2007-10-10 12:53:44 -05:00
Andrew Tridgell
166a664a00 r714: make sure ldb formats are portable between big/little endian machines 2007-10-10 12:53:44 -05:00
Andrew Tridgell
00916f236d r713: added a NetShareGetInfo torture test (thanks to abartlet for pointing
out that this was missing)
2007-10-10 12:53:44 -05:00
Andrew Tridgell
9397705593 r712: fixed a bug in the NetShareGetInfo idl, and added another info level 2007-10-10 12:53:44 -05:00
Andrew Tridgell
b42d1f3984 r711: don't hide attributes inside the special ldb_tdb records (so the fact
that a attribute is hidden is not itself hidden!)
2007-10-10 12:53:44 -05:00