Age | Commit message (Collapse) | Author | Files | Lines |
|
Jeremy
(This used to be commit fd682c3f397714ebdaf4af3f6d1cbcbab6a2f572)
|
|
Samba's own registry, the access mask for opening the
registry for the write operations needs to be
SEC_RIGHTS_MAXIMUM_ALLOWED instead of REG_WRITE: we can
not open e.g. HKLM read write explicitly, since we can
not write to this virtual part of the registry, only
to the subkeys like 'HKLM\Software\Samba\smbconf' that
are stored on disk.
Note that MAXIMUM_ALLOWED is also what windows' regedit
passed to the open calls.
Michael
(This used to be commit 57c30f7319b35fa452e8a6c585810e55c7e934b2)
|
|
issue a level 0 debug message.
Michael
(This used to be commit c0022ff9278a06b92a550cf0d6a8e75af31a673c)
|
|
Guenther
(This used to be commit e9178af01d68b7cbe91157d1d196f2148eeef7ca)
|
|
aliases.
This prevents creation of problematic configurations from registry editors
like regedit or "net rpc registry".
I will refactor the code to be somewhat more concise,
but I wanted to have this in the tree, now I got it working... :-)
Michael
(This used to be commit 4424a030324ab646a025b50fcb89e1b5cdfcbbe8)
|
|
of the number of bytes read in the last of possibly several
read calls.
This was noted by Metze.
Michael
(This used to be commit 0193a49223c6314e2834c89fff9920ae7edc4f8a)
|
|
as TALLOC_ABORT() is defined to abort() by default
wrap it into a function so that the function name
in the backtrace shows what happens.
metze
(This used to be commit ddbe971030070ab1b9fc37b8b0ac44a3d9303fe4)
|
|
TODO: don't allow '-i -D' and '-D -i' on all
server binaries in the SAMBA_3_2 branch!
The &server_mode patch makes this difficult to check...
metze
(This used to be commit 102bb0fc17d6dec102d628f1051675a1ae5a9c27)
|
|
- use poptPrintUsage() to give the user more info
metze
(This used to be commit a95d9d1ef99d6a2f77a289f8d2011cae482821b1)
|
|
into the popt _POST processing.
Now 'smbd -V --bla' complains about an unknown option
metze
(This used to be commit c115de4beac887442a73b4a85367d7b5fded68e6)
|
|
if parsing of the boolean string was successful.
Also, initialize the local result variable
(although not strictly necessary anymore, now.)
(This used to be commit bf0daa74fadcd506b80c29d04ccf6ec7345ee0e1)
|
|
Guenther
(This used to be commit 1ce1958f7a5f41072ad1e2f1fb55f3cd4ebe4b14)
|
|
(This used to be commit a12f3bf6e93f7a902a1f6274d67f15cc4eeb20bd)
|
|
instead of a 2-byte zero character. I can't recall what
rode me when I put that "2" there. But now I think I
have got it right... :-)
Michael
(This used to be commit fa010bef11b78ac3bbf0091870ce8cd5a53334af)
|
|
metze
(This used to be commit 5514e8487fee453b730a966ebc6fcdcd56da047a)
|
|
the first
statement will return positively but prefix_cache_hashes would be NULL
(This used to be commit fdc20894a0deb3c68b834e5d9d466873ca634bed)
|
|
contains a correct representation of a boolean value (in the
understanding of loadparm.c).
Make set_boolean() catch passing NULL for the boolean target.
Michael
(This used to be commit d13eaa60f504987445b7333ef6972491c9483e6a)
|
|
(This used to be commit 12cb06d6ad73c37b9ee4bdf31f88dd3ce8cc3935)
|
|
smbd, nmbd and winbindd can be started with invalid options currently.
The first patch attached would be a possible solution.
It contains an exit if an invalid option has been used. The main problem
is, that existing setups with wrong options or missing arguments in start
scripts will break (which is the right behaviour from my point of view).
metze
(This used to be commit 8532e3182ab44d4ac84823e9798293f156192aaf)
|
|
and make that the primary context for the request
which the implementations can also use.
- go via functions pointers in the ndr_interface_table
instead of calling functions directly.
metze
(This used to be commit 5c4d998300d0c9836eb3cc6c3cd8ee4f262396b8)
|
|
In this error case we would have used "start" not having it initialized
(This used to be commit 751834fff92e85a424152c1642b238daa3060dbd)
|
|
instead of the pull and push functions
metze
(This used to be commit 5e3d4df9bca069708d72f548dc5ddfc7708ac122)
|
|
should
have been :-).
Jeremy.
(This used to be commit 41611a22ed852bb74e2ef3f45766c0580ffd3a18)
|
|
vuid that was allocated whilst the connection is
being constructed and after the connection has been set up.
This is what Windows does and at least one client
(and HP printer) depends on this behaviour. As it
depends on the req struct not yet ported to SAMBA_3_2_0
(Volker, hint hint.... :-) I am not yet adding this
to that branch, but will investigate that tomorrow.
Jeremy.
(This used to be commit a54f2805df92c67e74a6764568eedebe394fd500)
|
|
code) into
append_data().
Guenther
(This used to be commit 8c56ee2c58ef5aab64292d4420947ea0a5e2766f)
|
|
Thanks to Michael for his bit-magic.
Guenther
(This used to be commit 8a493cce98c5fcc2e498df9ef1ac0f1e3ee6a75e)
|
|
Guenther
(This used to be commit d5bd8b1d618828fe390ca76120863316606dc250)
|
|
Guenther
(This used to be commit 27ecb0df792b54d167a829f23bd82c27e0731f0d)
|
|
Guenther
(This used to be commit 1bae53e39f86a9b3b277578a71b906ca1cd0e4fa)
|
|
be called with inverse == NULL.
Add a new function lp_parameter_is_canonical() to check whether a
parameter name is the canonical name (as apposed to an alias).
Michael
(This used to be commit 07dc0fecf5116b34e468bddae8b36920c492717a)
|
|
Patch from Ofir Azoulay <Ofir.Azoulay@expand.com> -- thanks
(This used to be commit 888e657d758173c0eb4b68059d6fb5ae45b2b2ed)
|
|
metze
(This used to be commit ec8858c37482f0d2ac1291d9a9df00dace6944a8)
|
|
rename some DCERPC_ prefixes into NDR_
metze
(This used to be commit 8f07b8ab658ae3d63487ca5fb20065318cdd9d0e)
|
|
rename 'dcerpc_table_' -> 'ndr_table_'
metze
(This used to be commit 4e5908cd596f97d3bb73bd9c0bf3d360944f7810)
|
|
rename dcerpc_interface_table -> ndr_interface_table
rename dcerpc_interface_list -> ndr_interface_list
and move them to libndr.h
metze
(This used to be commit f57d23d0f1b1c7a435f3a4ad801e58519cc92a77)
|
|
For example host "bigboy" doesn't have it.
Günther, please fix it properly and merge to 3_2_0
Thanks,
Volker
(This used to be commit 0d294267414b12c31afd316c39689984e5047865)
|
|
This API will change anyway when moving away from pstrings.
It took so long to fix, because that rename bug I just fixed gave make
test failures that had nothing to do with this one.
I have samba4 tests for both bugs, will check them in when the build
farm has caught up
(This used to be commit d4f442ed9b145990af4db26859663954ddd70926)
|
|
This was broken when I changed reply_mv to wrap in a open_file_ntcreate
call, unix_convert on the destination was called twice
(This used to be commit fddc9db91175bdb0b7ac6a636f8bef918bd7c1b4)
|
|
Thanks!
(This used to be commit 4a90264d173ef5a870f2a44554c3bb9e738e98fb)
|
|
(This used to be commit 5a83c306bb80b492a3c3d5e86b0767dc45e5c262)
|
|
rename struct dcerpc_endpoint_list/struct dcerpc_authservice_list
into ndr_interface_string_array and move it to libndr.h
metze
(This used to be commit 9fec0d6c2ceaf66752baa5c8a34821bef2c5b833)
|
|
rename struct dcerpc_interface_call -> struct ndr_interface_call
and move it to librpc/ndr/libndr.h
metze
(This used to be commit 24e096b3659c3070a1ce029174fba51ae59e89ad)
|
|
metze
(This used to be commit e827c7311ce9890358be145099391c6b3cee15a1)
|
|
rename dcerpc_syntax_id -> ndr_syntax_id
metze
(This used to be commit 7facd9bf3ffd0718bc9f9161274d18a0014f3744)
|
|
a parameter and value into the canonical paramter with the value
inverted if it was in invers boolean synonym.
Make net conf use this function when storing parameters.
Michael
(This used to be commit 3b762ab18392fd06427957b0263262e3b8e34b9d)
|
|
parameter given in string representation into a function of its
own (map_parameter_canonical).
Michael
(This used to be commit 0dfb5eee25e287c129f7d34e4d079c60d56dce59)
|
|
Also simplify lp_canonicalize_parameter by making use of
the new function "is_synonym_of".
Michael
Note: If anything depends on the exact former output format of
show_parameter list, I would trigger the output of synonym information
by a boolean verbose switch (that could be passed to testparm
via the "-v" command line switch).
(This used to be commit fd2dbae82594c6d6ab10a7318f127aea0a9a61ea)
|
|
(This used to be commit 70dfe5d098b5d815e652b82fca57be0eb826f820)
|
|
and adjust some formattings to standard.
Michael
(This used to be commit 00432bcd69bb1c30774af277af1dc7271380d75b)
|
|
With the inbuf consistency checks we have to more correctly fake the
inbuf
(This used to be commit 2b8ecda30fc57bb4027b7208d22d85d213074158)
|