Age | Commit message (Collapse) | Author | Files | Lines |
|
Michael
(This used to be commit 6447bae71c99407485307dd508603c73d5bb9823)
|
|
Michael
(This used to be commit 8e87dd79ba4e3aeceb26c7b4e131053172f077cd)
|
|
Also make libnet.c:libnet_smbconf_format_registry_value() static.
(There are nor more external callers.)
Michael
(This used to be commit ac7baa17e89d2363b5b3db85de9c842b596dea25)
|
|
This leaves only output logic in net_conf_list().
Michael
(This used to be commit 95d9981d59fe69ee1ed98f21475bd1ba72930c1b)
|
|
This gets the whole config as a set of lists (of share names
and corresponding lists of parameter names and values). The function
is an aggregate of libnet_smbconf_get_share_names() and
libnet_smbconf_getshare().
Michael
(This used to be commit 94e97a72548a7f76a5273346d472e3ba5b24795a)
|
|
Michael
(This used to be commit 4842438c396b93007fc4f4dded437567e562a2dc)
|
|
Jeremy.
(This used to be commit a5df44f5b7887d10c1e1a0b7a3dd05bcf31015e1)
|
|
ndr_size_security_descriptor does the same as sec_desc_size
(This used to be commit bc3bd7a8e7c6e9e27acb195c86abb92c0f53112f)
|
|
(This used to be commit 387936ec3952f88d46df2d4943bbc4e408ad2bb5)
|
|
(This used to be commit 54576733d6c0511dc7379f964b1cb035913b7c8d)
|
|
sid_size did the same as ndr_size_dom_sid
(This used to be commit 8aec5d09ba023413bd8ecbdfbc7d23904df94389)
|
|
get_root_nt_token asks for "struct nt_user_token". talloc_get_type is not smart
enough to see that this is the same as NT_USER_TOKEN... :-)
(This used to be commit 22a98bf7b81fb89dce1f32ef65cfe6caaba985b3)
|
|
(This used to be commit 241b72141e3d9e31e30977517f871a97d74bbf7d)
|
|
Michael
(This used to be commit bfe3d1462f52d2849611fc58ad70fa08b4917077)
|
|
Michael
(This used to be commit ded60dec7d75db7df485a159fb6bf628d8e24805)
|
|
And don't return count-1 but count.
Michael
(This used to be commit b7cb9b78231512dc4a88c307048d7fb5334fa319)
|
|
libnet_smbconf_add_string_to_array().
Michael
(This used to be commit f4a4c1b26a03cd0f334e00912d32f15c73474ff1)
|
|
(This used to be commit 2322fe718728178990fdc3696b84f5de7ae7701b)
|
|
For some reason AIX does not return the sender address in the AF_UNIX recvfrom.
So the faked netbios name lookup does not work with socket wrapper, nmbd can't
know where to send the reply. This patch works around this by telling smbclient
explicitly where to connect.
If there's any AIX experts listening -- how do I get the sender address from
AF_UNIX recvfrom?
Volker
(This used to be commit 8ba3b8cf7aca657ad8426981d810c36ee6a34a2f)
|
|
Michael
(This used to be commit e276e48177f890531ee8b4024c90352f284d4608)
|
|
Michael
(This used to be commit 9b3b9aa7e1044719a5112b9e5446e6fbdd7cecf9)
|
|
Michael
(This used to be commit 7b51535f2f76b5c3c18620ffd9ac64505357e6db)
|
|
into new function libnet_smbconf_getshares().
Michael
(This used to be commit 306c7e4d9cecac4c2c0ea1172bd585c3c17d4541)
|
|
The functionality is moved to a new function libnet_smbconf_getshare().
This returns the parameters of the given share as two lists: the list
of parameter names and the list of matching (formatted) parameter values.
The retrieval and formatting is done in a new internal helper function
libnet_smbconf_reg_get_values() that is to become the replacement for
list_values() from net_conf.c once functionality of net_conf_list() has
been moved to libnet_conf, too.
Michael
(This used to be commit 198232bd525cfac933b4885e6b330ebf4ac2c8ae)
|
|
Jerry, as part of d6cdbfd87 the default location of passdb.tdb has changed from
the private directory to the state directory. I think because passdb.tdb holds
the password hashes, it is reasonable to keep this next to the smbpasswd file.
Please review and potentially push.
Thanks,
Volker
(This used to be commit c9c7607c402c0a9df9796c767b689d207d67d8e4)
|
|
Michael
(This used to be commit dd6e09a65e67a9a16b35b078ebfb41da09926029)
|
|
Michael
(This used to be commit e9694ae20e1da1d8c1cbb252e630815b561647dd)
|
|
Michael
(This used to be commit 80e73407ea326cc68cd8728845c7a1c0907e2201)
|
|
Maybe we should generate a new context instead of returning NULL?
Michael
(This used to be commit d7aaec713e17f93eed5177f0c3468deb625402a8)
|
|
Return a formatted string of the value instead.
Michael
(This used to be commit 7d0ec5bae155cda6620db04dcb7bd43db59241aa)
|
|
Michael
(This used to be commit 95d5dd9bb0546181cd499e6deabff562166412e3)
|
|
Michael
(This used to be commit 3422a5048ad4b7f789ec233356885d78dbdacf9a)
|
|
(This used to be commit fada689893314bed2fc78588b3fd9b144f4c808a)
|
|
(This used to be commit 515f6a8cff7e28b0e98136f3214ef52512cfaf37)
|
|
tdb won't allow us to write anyway
(This used to be commit 069cd6d63a61065be7926230235e198c456d38ae)
|
|
(This used to be commit dbcc213710a9af31b6094d4741a6f68f573dcdad)
|
|
This might be worth it, mangle_hash is hardly used these days
(This used to be commit 44775ea38bc320ac8e2208769a8cde2c6f44f640)
|
|
(This used to be commit 476d3abf9c6142d99822212141fc3d843aca4798)
|
|
This failed to link if you compile with -j.
(This used to be commit fed8f2abd704d1993146ad462d81f69367537cfb)
|
|
Karolin
(This used to be commit 4260c79bf7687bd2ebcc4ca5e0a5f020a759c1fb)
|
|
is mandatory or signing is on.
Jeremy.
(This used to be commit 5088b704791be2f36641fa0ec59dff7f289ae868)
|
|
on a share (or global) and have the server reply with
ACCESS_DENIED for all non-encrypted traffic (except
that used to query encryption requirements and set
encryption state).
Jeremy.
(This used to be commit d241bfa57729bb934ada6beabf842a2ca7b4f8a2)
|
|
This fixes a make test failure on Solaris. When creating a new file,
file_set_dosmode() called from open_file_ntcreate calculates a new permission
mask, very likely different from what had been calculated in
open_file_ntcreate. Further down we overwrote the newly calculated value with
SMB_FCHMOD_ACL, ignoring what file_set_dosmode had calculated.
Why did Linux not see this? fchmod_acl on a newly created file without acls
would not retrieve an acl at all, whereas under Solaris acl(2) returns
something even for files with just posix permissions returns something.
Jeremy, given that we have very similar code in 3.0.28 this might also explain
some of the bug reports that people have concerning ACLs on new files.
Volker
P.S: This one took a while to find...
(This used to be commit 2135dfe91bf1ae114a18c15286b535662200677d)
|
|
Currently if set required this is not enforced. I'll be adding
that soon.
Jeremy.
(This used to be commit df7e447623ac03d81bec384f5cfe83c3976cf7b2)
|
|
(This used to be commit 1e07368b5f96e4ada622682e38d260eb0c6185f2)
|
|
(This used to be commit ef75dcc9ffda85d77c8f22d0db702efbf8e642ed)
|
|
(This used to be commit 7fb858b350856d626fed6f062029fcf09b8251e2)
|
|
On my Laptop with some limited netbench runs this gains about 1.5% of
performance. When looking at the assembler output I would suspect the biggest
gain is by the fact that with this in place the calls to the debug functions is
moved to the function end, out of the way of the normal code paths. valgrind
tests pending I would suspect this to be much more cache friendly.
Comments?
Volker
(This used to be commit 51448a9dca95de9d35dd8eea68fde2554cb69921)
|
|
our reported caps.
Jeremy.
(This used to be commit e86d027823c85173c64e7b85406e98f6f7345b10)
|
|
Jeremy.
(This used to be commit d67b2634068be9c69082a2b8c22c831aba371cd9)
|