summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4/drs(idl): Redefine drsuapi_DsReplicaOID in drsuapi.idlKamen Mazdrashki2009-10-161-3/+3
| | | | | Structure redefined to be more similar with OID_t structure defined in [ref. MS-DRSR.pdf - p.496].
* s3-libnetapi: add nltest tool.Günther Deschner2009-10-162-1/+258
| | | | Guenther
* s3-libnetapi: add I_NetLogonControl{2} example code.Günther Deschner2009-10-163-1/+303
| | | | Guenther
* s3-libnetapi: add I_NetLogonControl{2} to public headers.Günther Deschner2009-10-161-1/+91
| | | | Guenther
* s3-libnetapi: fill in I_NetLogonControl{2}_r.Günther Deschner2009-10-161-2/+181
| | | | Guenther
* s3-libnetapi: add I_NetLogonControl{2} skeleton.Günther Deschner2009-10-164-1/+174
| | | | Guenther
* s3-libnetapi: add I_NetLogonControl{2} to IDL.Günther Deschner2009-10-164-1/+188
| | | | Guenther
* s4-winsrepl: don't put in attributes with no elementsAndrew Tridgell2009-10-161-2/+2
| | | | | | | Empty attributes are no longer allowed by ldb. This also fixes the error checking in winsdb_message() This fixes the samba4.nbt.winsreplication test
* s3-selftest: enable WINBIND-WBCLIENT against s3.Günther Deschner2009-10-161-1/+3
| | | | Guenther
* s4-smbtorture: add very basic libwbclient testsuite.Günther Deschner2009-10-163-2/+255
| | | | Guenther
* s3-net: fix build warning (missing default in switch).Günther Deschner2009-10-161-0/+4
| | | | Guenther
* Fix valgrind memory leak in bug #6814 - Fixes for problems reported by valgrindJeremy Allison2009-10-153-1/+9
| | | | Jeremy.
* s3: fixed krb5 build problem on ubuntu karmicAndrew Tridgell2009-10-162-0/+13
| | | | | | | Karmic has MIT krb5 1.7-beta3, which has the symbol krb5_auth_con_set_req_cksumtype but no prototype for it. See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531635
* s4-pvfs: fixed mask handling for SEC_FLAG_MAXIMUM_ALLOWEDAndrew Tridgell2009-10-161-2/+2
| | | | This matches the sec_access_check() code
* s4-torture: take privileges into account in BASE-MAXIMUM_ALLOWEDAndrew Tridgell2009-10-161-10/+48
| | | | The correct answer depends on the users privileges.
* idl: added bit definition for privilege masksAndrew Tridgell2009-10-162-0/+19
| | | | | | When you have backup or restore privileges, you automatically get extra access bits in ACL interpretation. This adds definitions for the bits you get.
* s4:dcerpc_server - Read the generic session key out from ↵Matthias Dieter Wallnöfer2009-10-151-5/+2
| | | | | | | | "dcerpc_generic_session_key" I don't think that this code needs to exist identically on the server and on the client side. This patch leaves it on the client side (dcerpc lib) and calls it from the server.
* s3-spnego: fix memleak in spnego_parse_auth().Günther Deschner2009-10-151-1/+5
| | | | Guenther
* s3-spnego: Fix Bug #6815. Windows 2008 R2 SPNEGO negTokenTarg parsing failure.Günther Deschner2009-10-152-20/+15
| | | | | | | | | | When parsing a SPNEGO session setup retry (falling back from KRB5 to NTLMSSP), we failed to parse the ASN1_ENUMERATED negResult in the negTokenTarg, thus failing spnego_parse_auth() completely. By just using the shared spnego/asn1 code, we get the parsing the correct way. Guenther
* s4:w32err_code.py script - put it under "scripting/bin"Matthias Dieter Wallnöfer2009-10-151-0/+0
| | | | | | I think this is a better location for this script. Since the subdirectory "script" of "source4" contains only scripts for "make install" and "make uninstall".
* s3/docs: Add missing meta data to man ldbrename.Karolin Seeger2009-10-151-0/+3
| | | | | | Avoid warnings. Karolin
* s4-smb: fill in fnum as well for root_fidAndrew Tridgell2009-10-152-1/+3
| | | | This helps with the CIFS NTVFS backend, but doesn't solve all problems
* s4-selftest: mark some CIFS backend tests as known failAndrew Tridgell2009-10-151-0/+4
| | | | The CIFS passthru NTVFS doesn't handle some options yet (eg. root_fid)
* s4-smbserver: fixed root_fid in nttrans createAndrew Tridgell2009-10-151-1/+1
|
* s4-libcli: fixed structure element bug in ntcreatexreadxAndrew Tridgell2009-10-151-1/+1
| | | | | This one didn't matter until the root_fid changed the alignment of the two structures.
* s4-torture: catch bad command line optionsAndrew Tridgell2009-10-151-0/+3
| | | | It is annoying when you mistype a command line option and aren't told.
* s4-pvfs: implement root_fid support in posix backendAndrew Tridgell2009-10-151-0/+15
| | | | Construct the filename from the old handle and the new name.
* s4-smb: declare root_fid as a file handleAndrew Tridgell2009-10-1529-139/+139
| | | | | | In order to implement root_fid in the s4 SMB server we need to declare it as a handle type, just as for other fnum values in SMB. This required some extensive (but simple) changes in many bits of code.
* s4-pvfs: fixed handling of SEC_FLAG_MAXIMUM_ALLOWEDAndrew Tridgell2009-10-151-1/+1
| | | | | The CREATEX_ACCESS test shows that this is used as a bit test, not a equality test
* s4-ldaptest: "testgroup" is a bit too commonAndrew Tridgell2009-10-151-2/+2
| | | | | This failed on one of my test boxes that has a group called "testgroup". using "testgroupXX" should be a bit better.
* s4:ntlmssp server - use also here the new "lp_dnsdomain()" callMatthias Dieter Wallnöfer2009-10-151-2/+1
|
* s4:auth/credentials/credentials - fix uninitalised pointersMatthias Dieter Wallnöfer2009-10-151-7/+35
| | | | This should fix bug #6755.
* s3: fix outdated proto.h causing build error on AIXBjörn Jacke2009-10-151-1/+1
| | | | Matthias, please check!
* s4-ldap: test the rDN size limitAndrew Tridgell2009-10-151-0/+25
|
* s4-dsdb: implement limit on rDN lengthAndrew Tridgell2009-10-151-3/+11
| | | | w2k8 imposes a limit of 64 characters on the rDN
* s4-ldb: removed incorrect rDN length testAndrew Tridgell2009-10-151-13/+0
| | | | | This is a property of AD, not ldb, so should be in our ldb modules.
* s4-ldb: removed bugus RDN length checkAndrew Tridgell2009-10-151-5/+0
| | | | This isn't the rDN !
* s4-script: flush DNS after adding new addressesAndrew Tridgell2009-10-151-0/+1
|
* s4-devel: for devel scripts its better to use bin/ than $PREFIX/binAndrew Tridgell2009-10-152-6/+7
| | | | | This avoids having to do make install after each change when using the drs devel scripts
* s4-drs: support DRSUAPI_DRS_ADD_REF flagAndrew Tridgell2009-10-151-5/+29
| | | | | | | The DRSUAPI_DRS_ADD_REF flag tells the DRS server to run an UpdateRefs call on behalf of the client after the DsGetNCChanges call. The lack of support for this option may explain why the repsTo attribute was not being created for w2k8-r2 replication partners.
* s4-drs: implement more of DsUpdateRefsAndrew Tridgell2009-10-152-27/+63
| | | | | | | | The DsUpdateRefs calls takes a set of flags that indicates if the server should ignore specific add/delete error codes. This patch also exposes the core UpdateRefs call into a public function, so that it can be called from DsGetNCChanges
* ldb: fixed display of replUpToDateVectorAndrew Tridgell2009-10-151-1/+1
|
* drs: improved error checkingAndrew Tridgell2009-10-151-16/+49
| | | | Check the validity of the requested options in DsGetNCChanges
* s4-dsdb: added samdb_rodc() and samdb_ntds_options()Andrew Tridgell2009-10-152-1/+51
| | | | | Later we will need to make samdb_rodc() look in the database, but for now we should at least have the function in a central place
* libds: added nTDSDSA options flagsAndrew Tridgell2009-10-151-0/+7
|
* idl: added WSPP DrsOptions bit namesAndrew Tridgell2009-10-154-0/+122
| | | | This should make it much easier to work through the logic in MS-DRSR
* Fix the build, missing ->.Jeremy Allison2009-10-142-3/+3
| | | | Jeremy.
* Final part of fix for bug 6793 - winbindd crash with "INTERNAL ERROR: Signal 6"Jeremy Allison2009-10-141-0/+2
| | | | | Don't use mapped_user uninitialized. Jeremy.
* s3:winbind: Fix a double-freeVolker Lendecke2009-10-141-1/+0
| | | | Part of a fix for bug #6793.
* s3:winbind: Fix bug 6793 -- segfault in winbindd_pam_authVolker Lendecke2009-10-141-7/+6
|