summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2010-03-04s4:operational LDB module - use right memory context int ↵Matthias Dieter Wallnöfer1-2/+2
"construct_primary_group_token" Use the "msg" as temporary context and not "ldb" which lives much longer.
2010-03-04Refactored ACL python testsNadezhda Ivanova1-441/+256
Made each type into a separate class to be easily run individually, removed code duplication
2010-03-04s4:provision - use the new "interface_ips" python call to detect the right ↵Matthias Dieter Wallnöfer1-8/+8
host IPv4 address Inform the user when there are more possibilities (so he can check for the right address and otherwise he is able to do an immediate reprovision) and no possibility at all (then we fall back to the loopback address "127.0.0.1" - this is thought for testing purposes). I think this should be enough for closing bug #5484.
2010-03-04s4:ldif_handlers - Use "unsigned int" for counting purposesMatthias Dieter Wallnöfer1-4/+4
I changed "uint32_t" to "unsigned int" since the LDB specification prescrives "unsigned (int)" for counter variables (number of attributes, number of values...).
2010-03-03s4:samdb.c - Make it signed-safeMatthias Dieter Wallnöfer1-2/+2
Use an unsigned argument for the numbers of groups and the counter "i" since the function is called only by "auth_generate_session_info" with an unsigned number of groups argument.
2010-03-03s4:srvsvc RPC - "srvsvc_create_ntvfs_connect"Matthias Dieter Wallnöfer1-1/+1
Previous commit was incomplete. The "service" parameter in the "tcon" structure should point to "scfg->name". I'm not sure if "share" is right but the first was used before commit f390daef475126b4ff5a3d0ffd2babbd87d4c22b.
2010-03-03s4:srvsvc RPC - fix up the "ntvfs_connect" in "srvsvc_create_ntvfs_connect"Matthias Dieter Wallnöfer1-3/+5
This should be the right fix (set the service name in the tcon union to the share name/path). That should be the solution for bug #6784.
2010-03-03s4:torture/rpc/samr - Fix up SAMR-USERS testMatthias Dieter Wallnöfer1-10/+22
"QueryDomainInfo" returns only global groups, "QueryDisplayInfo" also universal ones. Consider MS-SAMR 3.1.5.5.1.1 and 3.1.5.3.1.
2010-03-03s4:torture/rpc/samr - enhance the "EnumDomainGroups" test regarding ↵Matthias Dieter Wallnöfer1-0/+15
universal groups Find the "Enterprise Admins" group which does exist on s4 and Windows directories and is always per default universal. Test this only when the target is set to s4 (s3 deployments don't contain this group). If the number of returned objects is "0" (count) then we are likely testing the builtin domain of an AD deployment.Then we ignore the inexistent "Enterprise Admins" group. I didn't enhance the test for "QueryDomainInfo" since this does itself a comparison of all returned objects with the "EnumDomainGroups" call. Therefore if the latter passes, and the "QueryDomainInfo" test passes also the "QueryDomainInfo" call is okay regarding groups.
2010-03-03s4:dcesrv_samr - Also "OpenGroup" needs to support universal groupsMatthias Dieter Wallnöfer1-2/+3
2010-03-03s4:dcesrv_samr - Fix up "EnumDomainGroups" and "QueryDisplayInfo" callsMatthias Dieter Wallnöfer1-3/+6
We need to look for both global and universal group types when querying them. Found by ekacnet (http://lists.samba.org/archive/samba-technical/2010-March/069777.html).
2010-03-03Fix typo in comments.Karolin Seeger1-2/+2
2010-03-03dns: make dns update script use unbuffered IOAndrew Tridgell1-0/+4
Otherwise we can lose debug output when a timeout happens
2010-03-03s4-posix: allow change ownership of files if the user has the right privilegesAndrew Tridgell1-2/+21
When a user has SEC_PRIV_TAKE_OWNERSHIP or SEC_PRIV_RESTORE they have permission to change the ownership of a file. This should fix bug 6987 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-03-03s4-build: fix SMB_LIBRARY and change its name so it didn't collide with s3 oneMatthieu Patou1-4/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-03s4-winrepl: Migrated the wins replication server to tsocket.Andreas Schneider4-141/+314
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-03s4:move the sddl code down to the top levelMichael Adam3-627/+2
Michael
2010-03-03s4/ildap: fine tune ildb_callback()Kamen Mazdrashki1-3/+3
Actually ildb_context pointer is not supposed to be valid after calling ildb_request_done(). This is due to the fact that when calling ildb_request_done() caller will (most probably) free any locally built ldap_request objects - thus rendering ildb_context invalid. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-02s4-smbtorture: fix WINBIND-STRUCT assumptions about getpwent() for s3.Günther Deschner1-5/+16
In samba3 it is not an error when no users are returned in getpwent() calls (e.g. on a DC w/o interdomain trusts). Kai, please check. Guenther
2010-03-02LDB:NSS - make LDB "signed-safe" on counter variablesMatthias Dieter Wallnöfer1-2/+2
"i" needs to be unsigned on both places since it counts till a "count" variable of a "struct ldb_result" object which itself is unsigned. I see counting variables much better as "unsigned" since in most cases we don't use negative values at all. We've only to be careful on binary searches and downto counts regarding them.
2010-03-02s4:echo RPC - make this one "signed-safe"Matthias Dieter Wallnöfer1-1/+1
"i" needs to be unsigned here since it counts until "r->in.len" which itself is unsigned and not signed.
2010-03-02s4:provision - Moved default FDS SASL mappings deletion from post_setup() to ↵Endi S. Dewata2-7/+11
init(). Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-02s4:provision - Moved setup_db_config() into OpenLDAPBackend class.Endi S. Dewata1-16/+16
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-02s4:provision - Moved backend-specific variables into backend class.Endi S. Dewata2-75/+60
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-02s4:provision - Use netbios name for FDS instance name.Endi S. Dewata2-15/+17
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-02s4-libcli: Added NULL handlers for DSDB_CONTROL_DN_STORAGE_FORMAT_OID and ↵Endi S. Dewata1-0/+4
LDB_CONTROL_AS_SYSTEM_OID Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-01s4:srvsvc RPC - revert one unsigned integer "i" back to signedMatthias Dieter Wallnöfer1-1/+1
This is needed since this particular "i" counts until "count" which itself is signed. "count" is set through a signed integer variable parameter from the "share_list_all" call.
2010-03-01s4:RPC-ECHO: don't ignore errors in the Sleep test now that we support async ↵Stefan Metzmacher1-3/+3
rpc over ncacn_np metze
2010-03-01s4:rpc_server/remote: do async callsStefan Metzmacher1-6/+42
metze
2010-03-01s4:srvsvc RPC - make this one "signed-safe"Matthias Dieter Wallnöfer1-19/+20
2010-03-01s4:unixinfo RPC - make this one "signed-safe"Matthias Dieter Wallnöfer1-1/+1
2010-03-01s4:spoolss RPC - make this one "signed-safe"Matthias Dieter Wallnöfer1-1/+1
2010-03-01s4:remote RPC - make this one "signed-safe"Matthias Dieter Wallnöfer1-2/+2
2010-03-01s4:epmapper RPC - make this one "signed-safe"Matthias Dieter Wallnöfer1-2/+2
2010-03-01s4:LDB - cosmetic fix for a "for" loopMatthias Dieter Wallnöfer1-1/+1
2010-03-01Fix the build, add filtered subunit runner.Jelmer Vernooij2-1/+5
2010-03-01Add testrepository configuration.Jelmer Vernooij1-0/+3
2010-03-01More formatting fixes, pointed out by pylint.Jelmer Vernooij8-44/+51
2010-03-01s4:RPC-NETLOGON: remove useless rpc callbackStefan Metzmacher1-18/+1
If we got a failure from one request we bail out early. metze
2010-03-01s4:RPC-ECHO: don't look at the internals of 'struct rpc_request'Stefan Metzmacher1-4/+14
metze
2010-03-01s4:libnet_become_dc: don't look at the internals of 'struct rpc_request'Stefan Metzmacher1-7/+21
metze
2010-03-01s4:drepl_out_helpers: don't look at the internals of 'struct rpc_request'Stefan Metzmacher1-2/+13
metze
2010-03-01s4:drepl_notify: don't look at the internals of 'struct rpc_request'Stefan Metzmacher1-1/+9
metze
2010-03-01s4:librpc/rpc: make use of explicit dcerpc_*_recv functionsStefan Metzmacher2-3/+3
metze
2010-03-01s4:torture/rpc: make use of explicit dcerpc_*_recv functionsStefan Metzmacher5-7/+7
metze
2010-03-01s4:winbind: make use of explicit dcerpc_*_recv functionsStefan Metzmacher9-17/+17
metze
2010-03-01s4:dsdb/repl: make use of explicit dcerpc_*_recv functionsStefan Metzmacher2-4/+4
metze
2010-03-01s4:libnet: make use of explicit dcerpc_*_recv functionsStefan Metzmacher10-41/+40
metze
2010-03-01s4:libnet_become_dc: make use of explicit dcerpc_*_recv functionsStefan Metzmacher1-71/+9
metze
2010-03-01s4-smbtorture: add stricter SetPrinterDataEx tests to spoolss tests.Günther Deschner1-27/+67
Guenther