Richard Sharpe
4201038588
Port the fix to cli_setup_write to handle offsets greater than 32-bits from
...
Samba 2.2.x ...
0001-01-01 00:00:00 +00:00
Andrew Bartlett
1ad782282a
Add a new VFS module, that just fiddles the file permissions. Still need to
...
make it fiddle with NT ACLs (or report no ACL, so Samba fakes it up).
The idea here is that Samba reports an NT ACL to Windows clients, which use
that ACL in downloaded profiles.
If the user doesn't have write permissions on the directories being downloaded,
then it cant put the subfolders in (yes, NT will set perms so that it can't
access the dir as the user the created it) and the profile download fails.
The current solution it to give the user unix write perms to the folders, but
this is rather dangerous - sombody could trojen the profile. This should
avoid that mess.
I'll test this out properly next week, but it works in vfstest (thanks idra!).
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Shirish Kalele
9df93b1ffc
Add msdfs proxy functionality to HEAD.
0001-01-01 00:00:00 +00:00
Jeremy Allison
c7c3afbd0d
Revert by Simo's request. HEAD and 3.0 should be in sync for
...
this except for the modules load.
Jeremy.
0001-01-01 00:00:00 +00:00
Simo Sorce
54f11b7de8
some more work on gums.
...
- Building a tdbsam2 backend to see what I got right and what not about the proposed API
- Corrections to API based on tdbsam2 work
0001-01-01 00:00:00 +00:00
Jeremy Allison
5914c38a54
Patch for coredump with missing arg from "Bradley W. Langhorst" <brad@langhorst.com>
...
Jeremy.
0001-01-01 00:00:00 +00:00
Richard Sharpe
91e2d21bd1
For some reason, the configure tests for sendfile support in FreeBSD
...
were broken. This works for 4.3 and 4.6.2.
0001-01-01 00:00:00 +00:00
Jeremy Allison
784d15761c
Finish adding strings to all talloc_init() calls.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
d7f18c60f7
the 'padding' field in the query domain info reply is not a padding
...
field at all. It seems to be an optional 12 byte structure of some
kind. mkaplan found a situation where the structure was not present at
all (depending on ptr_0)
0001-01-01 00:00:00 +00:00
Jeremy Allison
20a44d4cf1
talloc_init_named -> talloc_init.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
842e08e52a
Forward port the change to talloc_init() to make all talloc contexts
...
named. Ensure we can query them.
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
a2159610b9
Fixed bug in debug statement when tconX fails.
0001-01-01 00:00:00 +00:00
Jeremy Allison
65d5bf65c4
Protect nmbd against malformed reply packets. Some reports on the lists showing
...
these.
Jeremy.
0001-01-01 00:00:00 +00:00
Herb Lewis
723c4caf64
merge from 2.2 fix for smbclient large files
0001-01-01 00:00:00 +00:00
Herb Lewis
47a0ba53fd
merge from 2.2
...
actually print args for %g and %e
0001-01-01 00:00:00 +00:00
Gerald Carter
3ceff08eb7
app_head merge for get_friendly_nt_err()
0001-01-01 00:00:00 +00:00
Herb Lewis
773e5af6eb
fix make proto to work with SGI smake
0001-01-01 00:00:00 +00:00
Gerald Carter
f017fa7c47
* fix memory leak when constructing an driver_level_6 structure
...
and no dependent files (working on smbd memory leak). No CR# yet.
0001-01-01 00:00:00 +00:00
Richard Sharpe
9181ba0c68
Start adding code to allow the in memory version of the registry tree
...
structure to be manipulated. Keys can be partially deleted now.
0001-01-01 00:00:00 +00:00
Simo Sorce
eb595efa7e
it's getting comic ...
...
yet another missing piece :-O
0001-01-01 00:00:00 +00:00
Simo Sorce
5320d54b90
Uhmm a bad day to commit changes :-((
0001-01-01 00:00:00 +00:00
Herb Lewis
f3b994326e
merge smbtar fixes from 2.2
0001-01-01 00:00:00 +00:00
Simo Sorce
0b2591cc40
oh god, I will forgot my name one of these days :-/
0001-01-01 00:00:00 +00:00
Simo Sorce
4029dae906
forgont genstruct.pl is needed to build new include files for genparse
...
sorry
0001-01-01 00:00:00 +00:00
Gerald Carter
e68c7e0ebc
fix usage message
0001-01-01 00:00:00 +00:00
Simo Sorce
831d3d1ec7
updates to the gums
...
introduce genparser will be used by tdbsam2
0001-01-01 00:00:00 +00:00
Richard Sharpe
8686b551cd
We now read in the whole of the registry, including security bits.
...
Still have to make sure that the datastructure is correct, though.
Then on to writing it out and editing/changing keys, values and sec_descriptors
0001-01-01 00:00:00 +00:00
Tim Potter
ab337572b8
Fix fnum leak under error condition in cacl_dump.
0001-01-01 00:00:00 +00:00
Richard Sharpe
330012a4d7
All the code for reading in the registy is done, but I have a malloc'd
...
area overrun somewhere :-(
0001-01-01 00:00:00 +00:00
Richard Sharpe
eb2f1c826b
Almost finished processing the registry encoded SEC DESC ...
...
Soon to move onto writing these things out.
0001-01-01 00:00:00 +00:00
Richard Sharpe
3564565d33
More code to read in and create security descriptor entries ...
0001-01-01 00:00:00 +00:00
Jeremy Allison
3520195523
Ensure talloc pool query messages are reserved.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
63f344e27b
The name pointer in the talloc context must not be a talloced entry as
...
calling talloc_destroy_pool(as we do sometimes) will destroy it.
Jeremy.
0001-01-01 00:00:00 +00:00
Jim McDonough
f0fc4e30f6
Store printer guid in the dsspooler registry key so we don't have to
...
query the directory server every time someone asks
0001-01-01 00:00:00 +00:00
Jeremy Allison
636ab292db
Fix for old DOS client when veto files is set to /.*/
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jim McDonough
adda04379e
More printer publishing code.
...
- Add published attribute to info2, needed for win clients to work properly
- Return proper info on getprinter 7
This means you can now look at the sharing tab of a printer and get correct
info about whether it is published or not, and change it.
0001-01-01 00:00:00 +00:00
Richard Sharpe
eca76f2f66
Begin to handle Security descriptors for keys.
0001-01-01 00:00:00 +00:00
Tim Potter
bbb0b2ee40
Guy Harris points out that the level and ptr fields in a
...
SPOOL_USER_CTR look like they should be transposed. We don't make use
of the user level information (what is it used for??) so I haven't
changed any code, just added a comment.
0001-01-01 00:00:00 +00:00
Gerald Carter
6b18ca9511
merge of get_dc_name()-like code from APP_HEAD; better support password server = DC1 *
0001-01-01 00:00:00 +00:00
Gerald Carter
a48d8d3f11
ignore editreg
0001-01-01 00:00:00 +00:00
Gerald Carter
8311c4bf8d
merge of smbpasswd segfault from SAMBA_2_2
0001-01-01 00:00:00 +00:00
Martin Pool
1e63dc101a
CR1333: Fix memory leak when unpacking some structures.
...
* (pytdbunpack_item): PyList_Append creates an additional reference to
the appended object. Therefore, release the initial reference after
it's added to the list.
0001-01-01 00:00:00 +00:00
Martin Pool
3bb4bd3ed6
* Ignore .pyc and .pyo files produced as a side-effect of running
...
Python examples.
0001-01-01 00:00:00 +00:00
Jeremy Allison
ac856fbb96
Added "kernel change notify" boolean to allow easier valgrind testing.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
ff3a8d3728
Fixed auth module code. Added VALGRIND defines to reduce spurious warnings.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
2d63fc7760
Fix write error returning EFBIG - found by Conrad.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Richard Sharpe
16e0a3cc08
Fix a small bug.
0001-01-01 00:00:00 +00:00
Richard Sharpe
fbdd850e5a
Improve the iterator wrt values ... Now prints keys and value names.
...
Does not print value values, yet.
0001-01-01 00:00:00 +00:00
Tim Potter
89be695b29
Some more tweaking for compilation of py_tdbpack.
0001-01-01 00:00:00 +00:00
Jeremy Allison
185804ac94
Fix client large file reporting.
...
Jeremy
0001-01-01 00:00:00 +00:00