summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-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.
2009-03-02It appears that the first time we see a uid/gid that winbind can't map,Dan Sledz1-14/+22
we end up returning the null sid instead of falling back to the legacy code. Next time through the code we'll hit the negative cache and do the right thing, but we still fail the first time. If we fail the winbind id to sid mapping, call the legacy version. This catches the case where we don't have a negative cache entry for the mapping. This is better than returning the NULL sid to the caller.
2009-03-02More fix to initialize idmap statusesBo Yang7-0/+70
2009-03-02use test -f, Solaris /bin/sh doesn't know test -eBjörn Jacke1-1/+1
2009-03-02Fix wbclient.c wrt tevent_req changes too.Simo Sorce1-4/+3
2009-03-02Attempt to fix the buildVolker Lendecke1-2/+2
Simo, with which compiler did you build this? I'd be curious to learn about the compiler settings that make this build. Thanks, Volker
2009-03-02Make struct tevent_req opaqueSimo Sorce8-166/+192
Move struct tevent_req in tevent_internal, and ad getters and setters for private data and the callback function. This patch also renames 'private_state' into 'data'. What is held in this pointer is in fact data and not a state like enum tevent_req_state. Calling it 'state' is confusing. The functions addedd are: tevent_req_set_callback() - sets req->async.fn and req->async.private_data tevent_req_set_print_fn() - sets req->private_print tevent_req_callback_data() - gets req->async.private_data tevent_req_data() - gets rea->data This way it is much simpler to keep API/ABI compatibility in the future.
2009-03-02s3-spoolss: PRINTER_STATUS_OK has been moved to IDL.Günther Deschner1-3/+0
Guenther
2009-03-02s3-rpcclient: zero out devmode and secdesc in setdriver and setprinter command.Günther Deschner1-0/+5
Guenther
2009-03-02s3: re-run make samba3-idl.Günther Deschner3-231/+148
Guenther
2009-03-02spoolss: move up printer and job status codes.Günther Deschner1-50/+52
Guenther
2009-03-02spoolss: use dummy pointers for truncated devmode and secdesc in SetJobInfo2/4.Günther Deschner1-4/+4
Guenther