summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-12-28Improve error messages of 'net rpc user [add|delete]' commands.Karolin Seeger1-10/+14
Karolin (This used to be commit 4260c79bf7687bd2ebcc4ca5e0a5f020a759c1fb)
2007-12-28Ensure we turn off POSIX large read/write if encryptionJeremy Allison1-1/+4
is mandatory or signing is on. Jeremy. (This used to be commit 5088b704791be2f36641fa0ec59dff7f289ae868)
2007-12-27Add the capability to set "smb encrypt = required"Jeremy Allison5-3/+60
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)
2007-12-28Fix setting the initial permission bitsVolker Lendecke2-6/+25
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)
2007-12-27Add "smb encrypt" parameter. Can be set to "no, yes, required".Jeremy Allison2-1/+28
Currently if set required this is not enforced. I'll be adding that soon. Jeremy. (This used to be commit df7e447623ac03d81bec384f5cfe83c3976cf7b2)
2007-12-28Fix the non-gcc branch of "likely"Volker Lendecke1-2/+2
(This used to be commit 1e07368b5f96e4ada622682e38d260eb0c6185f2)
2007-12-27Remove a silly staticVolker Lendecke1-6/+6
(This used to be commit ef75dcc9ffda85d77c8f22d0db702efbf8e642ed)
2007-12-27Fix the buildVolker Lendecke1-2/+3
(This used to be commit 7fb858b350856d626fed6f062029fcf09b8251e2)
2007-12-27Wrap the DEBUG checks in a "unlikely"Volker Lendecke1-6/+21
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)
2007-12-27Add CIFS_UNIX_TRANSPORT_ENCRYPTION_CAP capability toJeremy Allison2-2/+7
our reported caps. Jeremy. (This used to be commit e86d027823c85173c64e7b85406e98f6f7345b10)
2007-12-26Encryption works better when you add the client decrypt code :-).Jeremy Allison1-0/+11
Jeremy. (This used to be commit d67b2634068be9c69082a2b8c22c831aba371cd9)
2007-12-26Add SMB encryption. Still fixing client decrypt butJeremy Allison34-214/+2116
negotiation works. Jeremy. (This used to be commit d78045601af787731f0737b8627450018902b104)
2007-12-27typosVolker Lendecke1-2/+2
(This used to be commit 30fa3477c8f810d8f2b4c4be218509544735274c)
2007-12-26Fix some memleaksVolker Lendecke1-5/+6
(This used to be commit 78b0b66cbac349625257260d2e45d918e0c93617)
2007-12-26Remove the sampwent interfaceVolker Lendecke6-471/+3
(This used to be commit 9e80b969fb40766de2c9b1a05d16bf4d4c6e46f7)
2007-12-26Convert pdbedit to use pdb_search_usersVolker Lendecke1-78/+123
(This used to be commit 8a8f2583b8bda22f65c7483dea54ac823ed1c0c3)
2007-12-26Properly destroy the pdb search objectVolker Lendecke1-1/+1
(This used to be commit 514cf532248723e7f775dc5f8f2e6936e02b7a1c)
2007-12-26smbpasswd_search_usersVolker Lendecke1-0/+114
(This used to be commit 84af4fb65677cf137f14f57c8820c77c9d006d89)
2007-12-26Add tdbsam_search_usersVolker Lendecke1-0/+134
(This used to be commit 02f0b0bd393bd942fc934f251bd6afed8e5424b0)
2007-12-26We need to return the correct atimeVolker Lendecke1-1/+6
On systems with nanosecond atime we need to re-stat after messing with the fd, at least Solaris 10 updates atime after we stat(2)ed the file. (This used to be commit 6e6ec0a563f8b7e3d4618ce60e776bcce53f40c4)
2007-12-26Move libnet_smbconf_reg_open_basepath() in source fileMichael Adam1-9/+9
to group helper functions more logically. Michael (This used to be commit 3fa3891f8721e9f02594cd1be2dc6b9b88692416)
2007-12-26Rename libnet_smbconf_open_basepath() to libnet_smbconf_reg_open_basepath().Michael Adam2-6/+8
Michael (This used to be commit 4c0e7270c42788e7f77c402032ae74cf0f8a7106)
2007-12-26Rename libnet_smbconf_open_path() to libnet_smbconf_reg_open_path().Michael Adam2-11/+13
Michael (This used to be commit 4b0e636965bd37e7c0deecb7b5eff0cc4487408b)
2007-12-26Rename libnet_smbconf_open_path_q() to libnet_smbconf_open_path()Michael Adam1-27/+10
removing previouse libnet_smbconf_open_path() and adding DEBUG output (instead of d_fprintf error output) to new libnet_smbconf_open_path(). Michael (This used to be commit e63cc54fab8a0b03573f76305eab366a3ee4eda1)
2007-12-25Host SerNet-AIX has __ss_family instead of ss_family in sockaddr_storageVolker Lendecke2-0/+13
(This used to be commit e33286f4a68352e55df081d06307f64f190773b3)
2007-12-25AIX iface test needs rep_vasprintfVolker Lendecke1-0/+1
(This used to be commit 3e5788cc9665acb450be793fb88db8e2a871aaa5)
2007-12-25ifreq needs more from lib/replaceVolker Lendecke1-0/+2
(This used to be commit e85290550ad33433f584009ffce34c81bea5b164)
2007-12-25Next try to fix get_interfaces detectionVolker Lendecke1-0/+3
(This used to be commit 2dc0282f245c62b83b80f8da0394201e1c00f284)
2007-12-25make clean should remove everything in bin/Volker Lendecke1-0/+1
Jerry, you might want to review/change removing libwbclient.so.0 (This used to be commit 768e0439507caeff430358eb24dc9288a21c8a03)
2007-12-25Interface detection should not go through the socket wrapperVolker Lendecke1-0/+1
Next try to get the build farm more in line again than it is now (This used to be commit 38e178df12d30672f74bf272338954c7917b59e3)
2007-12-25Revert "Attempt to fix the ifreq detection"Volker Lendecke1-2/+0
This reverts commit 2d08959685b495caf1884babbece27775d8bcb4f. (This used to be commit acb560900be29c407e7da955d16c2de7898e49b8)
2007-12-25Fix the buildVolker Lendecke1-2/+1
(This used to be commit 72dc71710813ea9f1d8864c4401fef25a25577bd)
2007-12-25Remove now unneeded talloc ctx parameter from do_JoinConfig().Michael Adam1-3/+2
Michael (This used to be commit be985d8d0ce80d12aa7f0b447b16b14aa0362826)
2007-12-25Remove now unneeded talloc ctx parameter from do_join_modify_vals_config().Michael Adam1-3/+2
Michael (This used to be commit f8823ae1232022ed3f7f9be6b8959d413e8aed19)
2007-12-25Remove now unneeded talloc ctx parameter from do_UnjoinConfig().Michael Adam1-3/+2
Michael (This used to be commit 92b8e5ea4ba26d663ea4e6fb65e4225d8259ea60)
2007-12-25Remove now unneeded talloc ctx parameter from do_unjoin_modify_vals_config().Michael Adam1-3/+2
Michael (This used to be commit 4f7375a110a69530d6ef9781573f45a5bf8391a5)
2007-12-25Add two missing free-s.Michael Adam1-0/+2
Michael (This used to be commit 4efac39c363d565c2c7211da73d5e1cf2ac3d0b2)
2007-12-25Remove talloc context parameter from libnet_smbconf_delparm().Michael Adam3-8/+5
Make use of talloc stackframe internally. This removes talloc contxt from net_conf_delparm. Michael (This used to be commit 16f137393881edc78c9322f038ba38e53e3ee07d)
2007-12-25Add a missing free.Michael Adam1-0/+1
Michael (This used to be commit bf6031287f75a0e17092f60f9885e7e55cd0f93c)
2007-12-25Remove talloc context parameter from libnet_smbconf_setparm().Michael Adam3-21/+13
Make use of talloc stackframe internally. This removes talloc contxt from net_conf_setparm. Michael (This used to be commit efaffefc438f8375a083b194ac7a09e563000d3c)
2007-12-25Typofix in comment.Michael Adam1-1/+1
Michael (This used to be commit 5039a70246a475176fa8212ad78b430f2211951f)
2007-12-25Add comment header to function libnet_smbconf_drop().Michael Adam1-0/+3
Michael (This used to be commit e94edb6bdbc9379b48679d7c72618acfe862fe52)
2007-12-25Remove a d_fprintf() from libnet_smbconf_drop().Michael Adam1-1/+0
Michael (This used to be commit 078e5e98b3589cec78893d44146a653dad9a7460)
2007-12-25Remove talloc context parameter from libnet_smbconf_drop().Michael Adam2-15/+9
Make use of talloc_stackframe. Michael (This used to be commit aaceab1153f6c2a2adde83681913c771a16ca81f)
2007-12-25Rename drop_smbconf_internal() to libnet_smbconf_drop().Michael Adam2-2/+2
Michael (This used to be commit 5873e6a1f8242e07b1699366a536350a7199c28c)
2007-12-25Move drop_smbconf_internal() to libnet_conf.cMichael Adam2-50/+50
Michael (This used to be commit 4c2a3396bb687703f6b74655fda2014d1f75200b)
2007-12-25Use the proper boolean constants in net_conf.cMichael Adam1-10/+10
Michael (This used to be commit 1fe4ea63b197cb7ebc054909d888d74b5ad6523c)
2007-12-25Add error reporting to net_conf_delshare().Michael Adam1-2/+8
Michael (This used to be commit 8d02a2de61eb6b62fef1fbe57194c9d286423ba0)
2007-12-25Simplify libnet_smbconf_delshare().Michael Adam2-9/+6
Remove talloc context parameter. Remove d_printf error message. Michael (This used to be commit 870d35c04889603843bae989fb9c01396b4c6ed1)
2007-12-25Rename reg_delkey_internal() to libnet_smbconf_delshare().Michael Adam2-5/+5
Michael (This used to be commit 7d501f0d78ec57509d0bc5ef0dc16fcd24ee27e7)