summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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 Seeger6-10/+10
2010-03-03testprogs: fix boolean return code of test_PrinterData.Günther Deschner1-8/+12
Guenther
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 Patou2-5/+5
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-03s3: Fix build file due to file move. Use the new path of iniparserMatthieu Patou2-3/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-03s3: Move source3/iniparser to lib/iniparser to allow sharing between s3/s4Matthieu Patou26-3/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-03s3: Allow pam_winbind.c to build without localedir.cMatthieu Patou1-1/+8
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-03nsswitch: libpam remove depedance on locale.h use directly LOCALEDIRMatthieu Patou2-2/+1
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-03s3:net: add a command "net registry setsd_sdd"Michael Adam1-0/+88
This permits to set the security descriptor of a registry key from the unix command line. Michael
2010-03-03s3:net: fix some i18n messages in net_registry_getsd_internal().Michael Adam1-2/+3
Michael
2010-03-03s3:net: add i18n macro _() to one messageMichael Adam1-1/+1
Michael
2010-03-03s3:net: add new subcommand "net registry getsd_sddl" to print secdesc in ↵Michael Adam1-0/+40
sddl format Michael
2010-03-03s3:net: refactor getting of secdesc out of net_registry_getsd()Michael Adam1-14/+42
New net_registry_getsd_internal does the work(), net_registry_getsd() just prints the result. This in preparation to add support for other output formats than the currently used display_sec_desc(). Michael
2010-03-03s3:smbcacls: add switch "--sddl" to output acls as sddl encoded stringsMichael Adam1-1/+9
2010-03-03s3: build sddl.c in samba3Michael Adam2-0/+2
2010-03-03libcli/security: fix sddl.c to be able to build it from source3Michael Adam1-1/+1
2010-03-03s4:move the sddl code down to the top levelMichael Adam5-2/+35
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-02s3: net_share.c: fix argc handlingHolger Hetterich1-6/+3
The "net share" command was no longer possible because it enters the net_share function with argc == 0.
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-02s3:ads fix dn parsing name was always nullSimo Sorce1-19/+16
While there also use ldap_exploded_dn instead of ldb_dn_validate() so we can remove a huge dependency that is hanging there only for one very minor marginal use. Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-02testprogs: make sure to do the same tests as in smbtorture in ↵Günther Deschner3-23/+58
test_PrinterData(). Guenther
2010-03-02testprogs: fix REG_SZ in print_printer_data.Günther Deschner1-2/+10
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-02testprogs: test result of GetPrinterDataEx against SetPrinterDataEx args.Günther Deschner1-7/+28
Guenther
2010-03-02s3: Fix some C++ warningsVolker Lendecke1-1/+1
2010-03-02s3: Fix an uninitialized variable warningVolker Lendecke1-1/+1
2010-03-02s3:vfs_aixacl2: add missing semicolonBjörn Jacke1-1/+1
fixes #7197. Thanks to William Jojo for the correction.
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. Dewata3-24/+29
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-01s3:groupmap revert to tdb storageSimo Sorce4-733/+269
Group mapping needs to be cluster aware, and this means using the tdb backend. Remove ldb group mapping as this is not cluster aware.
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-01testprogs: better usage text.Günther Deschner1-1/+9
Guenther
2010-03-01testprogs: add very basic PrinterData test for printers.Günther Deschner1-2/+40
This very basically tests SetPrinterDataEx, GetPrinterDataEx and DeletePrinterDataEx. Guenther
2010-03-01testprogs: rename test_PrinterData to test_PrinterData_Server.Günther Deschner1-4/+4
Guenther
2010-03-01testprogs: add SetPrinterDataEx test.Günther Deschner1-0/+27
Guenther
2010-03-01testprogs: add DeletePrinterKey test.Günther Deschner1-0/+23
Guenther
2010-03-01testprogs: add DeletePrinterDataEx test.Günther Deschner1-0/+24
Guenther
2010-03-01testprogs: allow to test a single printer when given on the cmdline.Günther Deschner1-0/+10
2010-03-01testprogs: add RPC_X_NULL_REF_POINTER error codeGünther Deschner1-0/+2