summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2001-05-07Patch from Simo:Gerald Carter2-9/+10
o sed 's/pdb_clear_sam/pdb_free_sam/g' o add pdb_reset_sam() o password changing should be ok now as well. (This used to be commit 96d0e7c3301ad990f6c83b9c216720cb32661fb5)
2001-05-07Removed unused variable.Tim Potter1-1/+0
(This used to be commit 6bd197714a6f51e43efb8fb72bb51e83c6991c79)
2001-05-07merge some fixes from 2.2Andrew Tridgell2-74/+14
(This used to be commit 7e57adf2a039cb5b6458496f9190c9c642645600)
2001-05-04Big cleanup of passdb and backends.Jean-François Micouleau3-42/+81
I did some basic tests but I have probably broken something. Notably the password changing. So don't cry ;-) J.F. (This used to be commit a4a4c02b12f030a3b9e6225b999c90689dfc4719)
2001-05-03Fixed SHM_R/SHM_W warnings by moving sys/ipc.h and sys/shm.h into includes.hJeremy Allison1-2/+0
and using autoconf tests. Added "restrict acl with mask" parameter. Jeremy. (This used to be commit 7792e32ba7fd734cc68b354f31c382ac11521fe8)
2001-05-01Fixup smbcacls. Don't return memory already freed, don't free memory allocatedJeremy Allison1-10/+3
with talloc. Jeremy. (This used to be commit 0ae0d024f5898f7e47e4b1d4487b15447096780c)
2001-05-01fixed some uninitialised variablesAndrew Tridgell1-1/+1
(This used to be commit 5d899e51a4fc4e872da550b88ef603dbd2d8391f)
2001-04-28rpcclient merge from 2.2 (including Jeremy's non-void return fix)Gerald Carter1-3/+3
(This used to be commit 0a6ceed279cc8111008b21f75c6791efbd993f4b)
2001-04-28rpcclient/rpcclient.c: Non-void return in void function.Jeremy Allison1-1/+1
smbd/sec_ctx.c: Fixed potential memory leak spotted by Kenichi Okuyama@Tokyo Research Lab, IBM-Japan, Co. utils/nmblookup.c: gcc warning on Solaris fix. Jeremy. (This used to be commit 1be60597cd62af2b30a1496d06ea5704e87d3b7d)
2001-04-27More gcc compile on solaris tidyups.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 956201c4fb6e604407911b9709574f0c24dcb84f)
2001-04-24fix typoHerb Lewis1-1/+1
(This used to be commit ed2dfae0e503367671c54ad8f1f49ac3af0b1c6a)
2001-04-24don't allow both add and delete user to be set at the same timeHerb Lewis1-1/+4
(This used to be commit 9db84de46a3823878c2a9356ac4ae4fd179d5847)
2001-04-14This little piece of insanity is inspired by theJeremy Allison1-1/+68
fact that an NT client can open a file for O_RDONLY, but set the create disposition to FILE_EXISTS_TRUNCATE. If the client *can* write to the file, then it expects to truncate the file, even though it is opening for readonly. Quicken uses this stupid trick in backup file creation... Thanks *greatly* to "David W. Chapman Jr." <dwcjr@inethouston.net> for helping track this one down. It didn't bite us in 2.0.x as we always opened files read-write in that release. Jeremy. (This used to be commit 5baef56831f9bc4fa10a851abd5f9305b974fb3b)
2001-04-13Fixed potential file descriptor leak with MS-Access fix.Jeremy Allison1-2/+25
Jeremy. (This used to be commit 192887fe72157a141b8df1977085f479e5204782)
2001-04-13Merge of Andrew's changes in 2.2.Jeremy Allison2-9/+6
Jeremy. (This used to be commit fc76681812b1469208ad6c8847afdfc68bc6db49)
2001-04-11Added SMB_ prefix to enums that clash with Solaris ACL definitions.Jeremy Allison1-9/+9
Jeremy. (This used to be commit 493d2c316a9e80de0239ef3a6f0b3f4ec9ac6e13)
2001-03-30utils/torture.c: Added one more delete on close test.Jeremy Allison1-0/+55
smbd/notify_kernel.c: This code was wrong I believe. It was structured to only return a changenotify event on being called from timeout processing (t != 0). The kernel changenotify events should fire on *asynchronous* processing (EINTR return from select caused by the realtime signal delivery) with t == 0. Reported by Juergen Hasch (Hasch@t-online.de). ANDREW PLEASE CHECK THIS ! Currently the hash style changenotify is done on async processing as well as timeout processing. As this is expensive we may want to revisit doing this and maybe set it to fire only on timeout processing. Jeremy. (This used to be commit f952380c5d0cfbbec1e7de98b712952f302cddfd)
2001-03-30Added one more test - just to make sure flag can be unset.Jeremy Allison1-1/+43
Jeremy. (This used to be commit 54960b9c8d6be6646a0c0e8ef9ee6c61a4b69cf8)
2001-03-30Expanded delete on close test to 6 cases. I now understand the semantics ofJeremy Allison1-2/+53
this and the FILE_SHARE_DELETE flag exactly. The bad news is it means our share mode handling is broken (again :-). Jeremy. (This used to be commit a55ed1a91d91beafb2f199d1da530169715dbe0e)
2001-03-30Changed to using GENERIC_XX constants instead of hex values to makeJeremy Allison1-9/+57
delete test explicit. Jeremy. (This used to be commit cb5963af0ecabab928aafacd27714e337b9bb37e)
2001-03-30Added delete on close test that has allowed me to determine how w2kJeremy Allison1-0/+147
behaves in this situation. Jeremy. (This used to be commit b0266fe0a8c707cb7e818269dc7fe52da709fdab)
2001-03-27Fix for ENOSPC from DCB.Jeremy Allison1-4/+10
Jeremy. (This used to be commit 55fcd71eecf4477c56fc4a01bda6d452d3b0caa4)
2001-03-26Fix from Ryo Kawahara <rkawa@lbe.co.jp> to make SWAT correctly write and ↵Jeremy Allison1-2/+12
smb.conf file in utf8. Jeremy. (This used to be commit 42052d6079479452aa43eb37ad3d679d28337779)
2001-03-23groupdb/mapping.c:Jeremy Allison1-0/+2
include/proto.h: Fix missing (void) in proto. rpc_server/srv_samr_nt.c: Fix user private group problem by filtering out groups that clash with users. smbd/posix_acls.c: Ensure default ACE's are sensible. utils/pdbedit.c: Fix from Simo Sorce. Jeremy. (This used to be commit 29414fe0d6665642d9b5f88a35e712426376c47f)
2001-03-23can delete mapping from command line now.Jean-François Micouleau1-12/+15
J.F. (This used to be commit 287d9fb06899fe7721fdfcd5ccaa566935d31c4d)
2001-03-23first pass of the new group mapping codeJean-François Micouleau1-0/+341
J.F. (This used to be commit 7154deb026d53cb0cd503562174c3332a372be63)
2001-03-21added -E option (for exit on errors)Andrew Tridgell1-2/+8
forced exclusion of filenames containing only '.' as NT rejects those (This used to be commit a83ff172f271aa74148016f0e2ac62c868c140fb)
2001-03-21latest attempt at lanman1 wildcard matchingAndrew Tridgell1-4/+20
(This used to be commit 32361fc53e11a71f133a1727c6234a2bf01a5ccf)
2001-03-14patches from Simo. Couple of snity thingsGerald Carter1-4/+4
(This used to be commit af3f2a30c657fc42171bbf7da2354bc4cc7b088d)
2001-03-11Added JF's new util.Jeremy Allison1-0/+64
Jeremy. (This used to be commit 96bcfdcded7202a7bced58fae6534f1fcd4c4e36)
2001-03-11Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison2-14/+9
RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy. (This used to be commit 0be41d5158ea4e645e93e8cd30617c038416e549)
2001-02-28Ooops - forgot to check the rpcclient and smbcacls compile with the newJeremy Allison1-22/+18
code :-(. Jeremy. (This used to be commit 70beabf73bdaad7b6a60e24b7a11798a411bed02)
2001-02-27better handling of '.'Andrew Tridgell1-15/+17
better verbose print (This used to be commit 1f8b8a7189fb8c142801d679cf53c586aee74740)
2001-02-27remove some test codeAndrew Tridgell1-1/+2
(This used to be commit 2c509c9860fdcf4d2b3bb35e12f9fedbb77bd17e)
2001-02-27almost there with lanman1 wildcards. We now seem to correctly handleAndrew Tridgell1-4/+17
'<', '>', '"' and '?' when combined with '.'. The '*' character is proving troublesome. (This used to be commit 0a55d9a17b5d98c7e151bb2ee014cfb0b3660400)
2001-02-27I have now found that despite initial appearences the lanman1 wildcardAndrew Tridgell1-35/+24
algorithm does *not* match separately on base and extension. I also added a -v option to masktest for verbose output (This used to be commit 76c8fa5cd1ce9095583f818d100cd0f2116ddc62)
2001-02-26made some LANMAN1 wildcard progressAndrew Tridgell1-6/+7
it now handles -M LANMAN1 -f '.x' -m '?x' nicely (This used to be commit e7ccb9be6da9b1426eb136b4a0a1171232471768)
2001-02-26made some progress in masktestAndrew Tridgell1-16/+15
it now handles the server renaming files on create (This used to be commit 85ce14f36da4f5a3fb3029634279bb473873bbd5)
2001-02-25a snapshot of my attempts to get wildcard matching right for LANMAN1Andrew Tridgell1-10/+108
clients. This is not complete and not correct - expect some more work on this soon (This used to be commit 06d158d5e91a222e6bf8d22f02107c60da383f82)
2001-02-23make sure denied aces are firstAndrew Tridgell1-1/+1
(This used to be commit b0b49a4b28891f3e2ec8e8e221af713250cc8e17)
2001-02-23cast the qsortAndrew Tridgell1-1/+1
(This used to be commit 703d9f5cb32ca4131051c50646fd833fb1ae7d76)
2001-02-23- fixed the sort_acl bug, sorting now works rightAndrew Tridgell1-45/+32
- don't allow setting of duplicate ACEs - fixed a ACE delete bug (This used to be commit 61293979ce2aded58a5ef2a54b3b05d1d278f7cf)
2001-02-22don't crash on null acl sortAndrew Tridgell1-0/+2
(This used to be commit 59341377413fcbf30c090a3763608d23ac2bff95)
2001-02-22fixed character set init in smbw_sampleAndrew Tridgell1-0/+2
(This used to be commit c43593ad069670fb47b8e98248254c739bb7ab18)
2001-02-22- workaround filer lsa lookup bug for unknown sidsAndrew Tridgell1-11/+10
- add \ at start of name if not needed (another filer workaround) (This used to be commit 48ab6297a1b462e03f70a4d90d50b21982d0d90d)
2001-02-22cope with filer/NT/samba all in one binary. yeah.Andrew Tridgell1-7/+35
we now don't open rw for acls (This used to be commit c0f57c3fe636c5a5885c6b2ed4723252597533eb)
2001-02-21fixed a crash bug in smbpasswdAndrew Tridgell1-1/+0
(the user can come from optarg, so we can't free it) (This used to be commit 56ffb58effe80f7c62a9de6ba4f634d995fbc4e6)
2001-02-20don't need _uni hack nowAndrew Tridgell1-30/+6
(This used to be commit f191271986d085cc73b62c8d3de8ab7b326c19c0)
2001-02-20playing with CAP_NT_SMBSAndrew Tridgell1-2/+2
(This used to be commit 3eff509a65d164d66eb70f51ef115acd7328266c)
2001-02-12Merge of JohnR's changes to appliance-head, JF's changes to 2.2,Jeremy Allison1-19/+32
updated the POSIX_ACL code to be in sync. Jeremy. (This used to be commit c0517d6f4e3079feca1309fd1ea7b21e83f0de02)