summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-03-06s3: re-run make samba3-idl.Günther Deschner5-126/+133
Guenther
2009-03-06spoolss: make all enum out info pointers a pointer to an array.Günther Deschner1-7/+7
Without this we never can get a reasonable s3 cli_spoolss fn for the enum calls. Guenther
2009-03-06s4:errormap: map ECANCELED to NT_STATUS_CANCELLEDStefan Metzmacher1-0/+4
metze
2009-03-05Get the sense of the integer wrap test the right way around. Sorry.Jeremy Allison1-1/+1
Jeremy.
2009-03-05Now we're allowing a lower bound for auth_len, ensure weJeremy Allison1-1/+5
also check for an upper one (integer wrap). Jeremy.
2009-03-05Fix bug #6161 - smbclient corrupts source path in tar modeJeremy Allison1-0/+16
This was my fault. I broke the smbclient tar argument processing in creating the string for chdir when removing pstrings. Jeremy.
2009-03-06Load the schema with a more efficient single searchAndrew Bartlett1-93/+15
This search uses the index, and is not recursive, so should avoid the major performance problem with the current sorted schema load. The ad2oLschema code (recently moved to provision-backend) no longer needs the schema to be sorted. Andrew Bartlett
2009-03-06Load the schema for provision-backend in a transactionAndrew Bartlett1-18/+24
Loading data in a transaction is faster than without. Andrew Bartlett
2009-03-06Sort output of schema for OpenLDAP during conversionAndrew Bartlett1-98/+132
This avoids the need to assume that the schema is sorted on load, which happens more often and is a major performace issue in the Samba4's use of ldb. Andrew Bartlett
2009-03-05Last part of fix for #6154 - zfs does not honor admin users.Jeremy Allison2-7/+18
Jeremy.
2009-03-05Complete the fix for bug 6100Volker Lendecke1-1/+1
According to [MS-RPCE].pdf, section 2.2.2.11: ---- A client or a server that (during composing of a PDU) has allocated more space for the authentication token than the security provider fills in SHOULD fill in the rest of the allocated space with zero octets. These zero octets are still considered to belong to the authentication token part of the PDU.<36> ---- RPC implementations are allowed to send padding bytes at the end of an auth footer. Windows 7 makes use of this. Thanks to Nick Meier <nmeier@microsoft.com> Volker
2009-03-05Fix bug #6160 - Office 2007 fails saving files to a Samba mapped drive.Jeremy Allison1-0/+22
Confirmed by reporters. Jeremy.
2009-03-05Allow ms_schema.py to produce output much like minschema_wsppSreepathi Pai1-0/+15
I've patched the new ms_schema.py (which was intended to be used as a library) to function as minschema_wspp if invoked standalone. Although this is less robust than minschema_wspp on incorrect data, having two programs doing the same thing might not be good idea. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-03-05Remove ad2oLschema, insted call it directly from provision-backendAndrew Bartlett7-225/+113
This removes a level of indirection via external binaries in the provision-backend code, and also makes better use of our internal code for loading schema from an LDIF file. Remaining to do: Sort the output again, as the load from LDIF is unsorted (also needed because the normal LDB load from sorted input is too slow anyway, and is only needed here). Andrew Bartlett
2009-03-04librpc: Re-run make idl_full from source3Tim Prouty1-1/+0
2009-03-04pidl: Don't generate variables declarations for pointless array counters.Tim Prouty1-1/+19
Code isn't generated to iterate over arrays of length 0, but the variable declarations still are. The result is 'unused variable' warnings. This only seems to be happening in one place right now, so I targeted the fix to this case, but refactoring could be done to make all variable declarations do this zero length check. Making it the default would be a much more invasive fix. Jelmer, please check!
2009-03-04s3 OneFS: Use the public open_streams_for_deleteTim Prouty1-113/+0
2009-03-04s3: Change open_streams_for_delete to call through the vfs layerTim Prouty2-5/+9
This eliminates the last direct caller of create_file_unixpath
2009-03-04Fix careless mistake in winbindd_setup_sig_usr2_handlerBo Yang1-1/+1
2009-03-05Merge branch 'master' of ssh://git.samba.org/data/git/samba into wspp-schemaAndrew Bartlett237-4382/+9499
2009-03-04Second part of fix for #6154, ensure we return max accessJeremy Allison1-0/+9
if admin user. Jeremy.
2009-03-04Fix bug #6154 - zfs does not honor admin users.Jeremy Allison1-0/+5
Jeremy
2009-03-05Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-develAndrew Bartlett7-47/+55
2009-03-05Remove parse_control from header, long after the function was removedAndrew Bartlett1-1/+0
Simo reminded me that when (long ago) I moved parse_controls away from this place, I forgot to update the manually maintained header file. Andrew Bartlett
2009-03-05Update talloc version so we don't fail on system talloc 1.2.0Andrew Bartlett2-2/+2
The problem is that talloc in the Samba tree now includes talloc_get_type_abort(), which is not present on Fedora 10 or ubuntu's talloc 1.2.0. Andrew Bartlett
2009-03-04Fix crashes when running RAW-ACLs against system with tdb ACL modulesJeremy Allison2-3/+3
(caused by the POSIX pathname fixes). Jeremy.
2009-03-04s3:dbwrap_ctdb_marshall_add: don't leak the ctdb_rec_data to the outsideMichael Adam1-6/+6
Michael
2009-03-04s3:smbconf: move smbconf_share_exists checks into backendMichael Adam2-28/+9
Michael
2009-03-04s3:net conf: reduce memory usage of "net conf import".Michael Adam1-6/+33
"net conf import" was wrapped in one big transaction. This lead to MAX_TALLOC_SIZE being exceeded at roughly 1500 shares. This patch resolves that problem by limiting the top level transactions in "net conf import" to 100 shares. Michael
2009-03-04socket wrapper: Fix 'might be used uninitialized' warningTim Prouty1-4/+4
2009-03-04s3: Remove madvise supportSteven Danneman2-36/+0
This reverts 193be432. The MADVISE_PROTECT is inherited by all child processes and cannot be unset. The intention of the original patch was to protect the parent process, but allow children to be killed in low memory. Since this isn't possible with the current API, reverting the whole feature.
2009-03-04Attempt to fix the build on IRIXVolker Lendecke1-1/+3
2009-03-04Make use of gpfs_get_real_filename optionalVolker Lendecke2-1/+10
2009-03-04s3: Fix a memleak in dbwrap_rbt.Michael Adam1-4/+4
The SMB_MALLOC'ed rbt node data was not free'd on talloc free of the db context. This is a quick fix using talloc instead of malloc for allocation of the node data. Since malloc was originally used for performance reasons, one might want to reverse to malloc and create a talloc destructor that walks the tree and frees all the node data if this talloc approach proves to be too slow.. Michael
2009-03-04socket_wrapper: add multiple interface support for ipv6Stefan Metzmacher1-10/+39
We use FD00::5357:5FXX in the same way we use 127.0.0.XX metze
2009-03-04socket_wrapper: add ipv6 pcap supportStefan Metzmacher1-3/+87
metze
2009-03-04socket_wrapper: pass down sockaddr instead of sockaddr_in to prepare pcap ↵Stefan Metzmacher1-78/+100
support for ipv6 metze
2009-03-04socket_wrapper: prepare pcap support for ipv6 trafficStefan Metzmacher1-148/+170
metze
2009-03-04s4:blackbox/test_ldb: make use of the $VALGRIND envvarStefan Metzmacher1-1/+1
metze
2009-03-04socket_wrapper: don't crash if we get EAGAIN from real_recv()Stefan Metzmacher1-1/+1
This fixes a crash in the ldaps tests with socket wrapper pcap support. metze
2009-03-04Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-develAndrew Bartlett5-21/+47
2009-03-04Pull in all the schema information during DRS schema fetchAndrew Bartlett1-9/+38
This includes things such as allowed attributes, which were not populated into the schema structure before. Andrew Bartlett
2009-03-04Don't print the admin password if we don't set one.Andrew Bartlett1-1/+2
For example, if we don't create the admin user (perhaps expecting users to be in LDAP already, or we are due an incoming replication) we should not confuse the administrator by printing a unused password. Andrew Bartlett
2009-03-04Allow 'net vampire' to work without an existing smb.confAndrew Bartlett2-3/+7
Now the provision can generate one based on the detected settings from the target domain. Andrew Bartlett
2009-03-03s3 passdb: Add back some useful debug statementsTim Prouty1-18/+24
Originally removed in be1dfff02d562e42a7847bd02fed8538630d3f41
2009-03-03Fix bug #6155 - "force group" is no longer working as expected.Jeremy Allison4-3/+23
We need to store the "force group" uid separately from the conn->server_info token as we need to apply it separately also. Volker PLEASE CHECK ! Jeremy.
2009-03-03s3 OneFS: Add parameter to ignore streamsTim Prouty4-3/+17
2009-03-03lib/util: remove samba specific talloc_get_type_abort()Stefan Metzmacher4-27/+0
metze
2009-03-03talloc: add talloc_get_type_abort()Stefan Metzmacher2-0/+26
metze
2009-03-03Fix "ignore return" warning.Jeremy Allison1-2/+3
Jeremy.