summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* s4:winreg RPC - don't crash when incoming data wasn't correctly specifiedMatthias Dieter Wallnöfer2010-03-101-2/+8
| | | | Also found by the WINREG torture test enhancements by gd.
* s4:lib/registry/ldb.c - fix up registry backend to be more robustMatthias Dieter Wallnöfer2010-03-101-9/+5
| | | | This should let the new WINREG tests written by gd at least pass against us.
* s4-smbtorture: disable winreg QueryValue test for today.Günther Deschner2010-03-101-2/+2
| | | | | | wow, both s3 and s4 crash on full coverage winreg QueryValue testing. Guenther
* s4-smbtorture: fix some build warnings in RPC-SPOOLSS test.Günther Deschner2010-03-101-8/+8
| | | | Guenther
* s4-smbtorture: on HKLM hive test the well known CurrentVersion value.Günther Deschner2010-03-101-0/+17
| | | | Guenther
* s4-smbtorture: add full coverage test for winreg QueryValue calls.Günther Deschner2010-03-101-0/+101
| | | | Guenther
* s4-smbtorture: rework test_winreg_QueryValue in RPC-SPOOLSS-PRINTER once again.Günther Deschner2010-03-101-3/+8
| | | | Guenther
* s4-smbtorture: add tests for set and delete value in RPC-WINREG.Günther Deschner2010-03-101-0/+52
| | | | Guenther
* Fix typo and convert spaces to tabsSimo Sorce2010-03-091-4/+4
|
* s4:ldb fix escape parsingSimo Sorce2010-03-091-2/+24
| | | | | | sscanf can return also on short reads, in this case an invalid escape sequence like '\1k' would be accepted, returning 1 as value and swallowing the 'k'. Use an auxiliar function to validate and convert hex escapes.
* s4:winbind - use "unsigned" variables where possibleMatthias Dieter Wallnöfer2010-03-095-27/+27
|
* s4:winbind/wb_cmd_getgroups.c - fix up warningsMatthias Dieter Wallnöfer2010-03-091-8/+16
| | | | Also fix some indentations.
* s4:winbind: stub implementation of WINBINDD_PAM_LOGOFFMatthieu Patou2010-03-092-2/+29
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
* s4:winbind: Fix a misplaced returned infoMatthieu Patou2010-03-091-4/+2
| | | | | | libwbclient expect to have in auth.exra_data the INFO3_TXT and in auth.unix_username the username Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
* s4:winbind Implement logic for getgroups to workMatthieu Patou2010-03-093-17/+273
| | | | | | This function is called by the system everytime we do a id user or when we do wbinfo -r Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
* s4:winbind: implement calls for allowing getent groupsMatthieu Patou2010-03-095-2/+379
| | | | | | This is to say getgrent and setgrent, and the associated technical objects (states, build directives,...) needed. Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
* s4:torture/rpc/netlogon.c - "LogonGetDomainInfo" test - make it compatible ↵Matthias Dieter Wallnöfer2010-03-091-18/+100
| | | | | | | | against Windows Server 2008 This is a reworked version of the mentioned test which passes against Windows Server 2008. The previous version, also mainly written by me passed only against Windows Server <= 2003.
* s4:netlogon RPC - "LogonGetDomainInfo" - make the call compatible with >= ↵Matthias Dieter Wallnöfer2010-03-091-23/+62
| | | | | | Windows 2008 Add more security checks and other corrections to imitate Windows Server >= 2008.
* s4-smbtorture: fix uninitialized variable in winreg QueryValue call.Günther Deschner2010-03-091-0/+1
| | | | Guenther
* s3: Fix a typo. Thanks to Christian Ambach for pointing me at it :-)Volker Lendecke2010-03-091-1/+1
|
* A helper function to get the Infrastructure DN.Nadezhda Ivanova2010-03-091-0/+12
|
* Fixed a bug in acl tests - python error when we create user/group/ou with a ↵Nadezhda Ivanova2010-03-091-23/+23
| | | | descriptor.
* Added a check for permissions to modify the RDN attribute on rename.Nadezhda Ivanova2010-03-092-0/+44
| | | | Necessary because rdn module will be moved lower than acl in the stack.
* s4:dsdb/dns: change callers of samba_runcmd()Stefan Metzmacher2010-03-091-36/+68
| | | | metze
* s4:"dns_update_list" file: install it properly into the private directoryMatthias Dieter Wallnöfer2010-03-082-7/+10
| | | | This is what the "samba_dnsupdate" script requests (line 220).
* Revert "s4:script/installmisc.sh - install "dns_update_list" to target setup ↵Matthias Dieter Wallnöfer2010-03-081-1/+0
| | | | | | folder" This reverts commit b49276e291274652d46eed39249c07531e32b591.
* LDB:asq module - change counters to "unsigned" where appropriateMatthias Dieter Wallnöfer2010-03-081-4/+5
|
* LDB:sort module - change counters to "unsigned" where appropriateMatthias Dieter Wallnöfer2010-03-081-4/+5
|
* LDB:rdn name module - change counters to "unsigned" where appropriateMatthias Dieter Wallnöfer2010-03-081-2/+3
|
* LDB:paged searches module - change counters to "unsigned" where appropriateMatthias Dieter Wallnöfer2010-03-081-2/+2
|
* LDB:paged results module - change counters to "unsigned" where appropriateMatthias Dieter Wallnöfer2010-03-081-4/+4
|
* samba: remove cifs-utils tools from build systemsJeff Layton2010-03-083-30/+0
| | | | | | | | | | | | | | | | | | | | | Now that cifs-utils are their own project, we need to go ahead and pull them out of the samba tree. This patch represents the first step toward that end. Remove the cifs-utilities from the source3 and source4 builds. Please pay particular attention to the source4 piece. I'm not at all familiar with the build system there, and would appreciate someone sanity checking my changes. It also adds a small README.cifs-utils file in the topdir. This is optional, but I think it's a good idea to carry this for a release or two. Once this patch looks ok, I'll plan to do another patch to actually remove the client dir and the relevant docs-xml files from the tree altogether. Signed-off-by: Jeff Layton <jlayton@redhat.com>
* LDB:common - Change counters to "unsigned" where appropriateMatthias Dieter Wallnöfer2010-03-0811-67/+76
| | | | | | | | | To count LDB objects use variables of type "unsigned (int)" or "long long int" on binary or downto searches. To count characters in strings use "size_t". To calculate differences between pointers use "ptrdiff_t".
* s4:LDB TDB index code - reintroduce accidentally removed code partMatthias Dieter Wallnöfer2010-03-081-1/+3
| | | | This was removed by 95d726f3018ef5d249f89d56bde24b7ee0c24ecf. Sorry.
* s4:ldb_ldap.c - fix indentationMatthias Dieter Wallnöfer2010-03-081-1/+1
|
* LDB:TDB backend - change counter variables to "unsigned" where appropriateMatthias Dieter Wallnöfer2010-03-085-16/+19
|
* LDB:SQLITE3 backend - change counter variables to "unsigned" where appropriateMatthias Dieter Wallnöfer2010-03-081-8/+10
|
* LDB:LDAP backend - change a counter variable to "unsigned"Matthias Dieter Wallnöfer2010-03-081-1/+1
|
* LDB:map - make LDB "signed-safe" on counter variables where appropriateMatthias Dieter Wallnöfer2010-03-083-21/+28
|
* s4:ldif_handlers - Change "unsigned int" to "uint32_t" which fits better hereMatthias Dieter Wallnöfer2010-03-081-1/+1
|
* s4-gensec: Fixed wrong usage of error_string.Andreas Schneider2010-03-081-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:extended_dn_out LDB module - change counter variables to "unsigned" where ↵Matthias Dieter Wallnöfer2010-03-071-8/+11
| | | | appropriate
* s4:repl_meta_data LDB module - change counter variables to "unsigned" where ↵Matthias Dieter Wallnöfer2010-03-071-20/+24
| | | | | | | | | | | appropriate I used "unsigned int" counters where we count LDB objects (LDB specification prescribes to use "unsigned" index variables). But on DSDB replication object counters I used "uint32_t" typed variables as it is suggested. If a counter variable counts both types of objects I used "unsigned int" since size(unsigned int) >= size(uint32_t), but on most platforms equal.
* s4:local_password LDB module - change counter variables to "unsigned" where ↵Matthias Dieter Wallnöfer2010-03-071-4/+4
| | | | appropriate
* s4:ranged_results LDB module - change counter variables to "unsigned" where ↵Matthias Dieter Wallnöfer2010-03-071-2/+2
| | | | appropriate
* s4:objectguid LDB module - change counter variables to "unsigned" where ↵Matthias Dieter Wallnöfer2010-03-071-1/+1
| | | | appropriate
* s4:objectclass LDB module - change counter variabls to "unsigned" where ↵Matthias Dieter Wallnöfer2010-03-071-2/+2
| | | | appropriate
* s4:anr LDB module - change counter variable to "unsigned"Matthias Dieter Wallnöfer2010-03-071-1/+1
|
* s4:acl LDB module - change counter variable to "unsigned"Matthias Dieter Wallnöfer2010-03-071-1/+1
|
* s4:linked_attributes LDB module - change counter variables to "unsigned" ↵Matthias Dieter Wallnöfer2010-03-071-3/+5
| | | | where appropriate