summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2003-09-11Merge from samba-3.0:Tim Potter1-10/+7
>Fix for bug #273 - smbd crash on machine account change. >Someone only half changed the code to use dc_name >instead of remote machine... Found via back trace from Dariush Forouher ><dariush@forouher.de>. >Jeremy. (This used to be commit 1956478ddece5899ebdf627969136603e1c21637)
2003-09-09sync 3.0 into HEAD for the last timeGerald Carter25-825/+914
(This used to be commit c17a7dc9a190156a069da3e861c18fd3f81224ad)
2003-08-02port latest changes from SAMBA_3_0 treeSimo Sorce21-736/+897
(This used to be commit 3101c236b8241dc0183995ffceed551876427de4)
2003-07-17fix the build. Ifdef out some codeGerald Carter1-532/+0
(This used to be commit e66541d0e1befec5d589890994454dd639ea0665)
2003-07-16ading new files from 3.0Gerald Carter2-0/+425
(This used to be commit 99feae7b5b1c229a925367b87c0c0f636d9a2d75)
2003-07-16trying to get HEAD building again. If you want the codeGerald Carter32-1344/+2952
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE (This used to be commit adb98e7b7cd0f025b52c570e4034eebf4047b1ad)
2003-05-28Fix bug brought up by Ken Cross that empty ACE's cause existing ACE's toJeremy Allison1-51/+14
be applied to new ACE set calls. This is incorrect. Don't think this has a bugzilla id. Jeremy. (This used to be commit 6a4502b03b95703dead4775874ff9ac08ed1a489)
2003-05-28It seems only NT4 does the VC == 0 session drop code.Jeremy Allison1-1/+5
Jeremy. (This used to be commit a1fee6594ec90a80478deee48a40d908aecb2e73)
2003-05-28Merge from 3.0:Tim Potter1-0/+1
>Restore a number of fixes that idra removed when he merged his >idmap-and-the-rest from HEAD. > >These are correctness fixes that were already in 3.0, and a memory leak fix. > >The pdb_ldap changes are held back at jerry's request (he is also playing >with pdb_ldap ATM). > >Andrew Bartlett (This used to be commit d2bc89b860a19ccdda7189b8db0a740f224046f2)
2003-05-27Correct (?) handling for VC = 0. Trying to fix XP logoff leaving resourcesJeremy Allison1-1/+18
around. Jeremy. (This used to be commit 870e111facb4abb01dd1d92739346d764eff056c)
2003-05-27volker's add_signature() fix; must pass the beginning on the outbuf to get ↵Gerald Carter1-5/+5
the flags field (This used to be commit 81cccd25b84871d282815dfa378bd687c5c29cc1)
2003-05-27Fix shadow parameter warning in free_empty_sys_acl()Tim Potter1-5/+5
(This used to be commit 7345bca285a4fed294a6120a399fa2fa3d88a440)
2003-05-22Stat opens can have fsp->fd == -1 and will have a share entry. EnsureJeremy Allison1-2/+10
that file_find_dif will find them. Fixes a core dump in smbd/open.c. Jeremy. (This used to be commit 0811acb9579007032b54daa90b2666ef07c24624)
2003-05-22More fixes for debug log to catch logic error.Jeremy Allison1-2/+4
Jeremy. (This used to be commit 0e2a47c1e6c0c7c41d5754be51848ef829a0324d)
2003-05-21fix for UNICODE plaintext passwords (bug #59) and fix smbclient to send the ↵Gerald Carter1-1/+4
unicode plain text password if negoitated (This used to be commit 207186e1c8ff0aac2a2aba9c4037d0be0c4819c8)
2003-05-21we weren't filling in the keylength in LANMAN1 and LANMAN2.1 negprotAndrew Tridgell1-0/+2
reply. Seems to have been broken for a long time! (This used to be commit a16415a6c9a0dc011acb7e6419c55dd535c5e400)
2003-05-20really make sure to include the version in the lanman string; tested spnego ↵Gerald Carter1-8/+9
using smbclient (This used to be commit a032c38ed473c8365e2ea752d2f332e022092173)
2003-05-17Cope with cumulative permissions sets. This code is #ifdef'ed out at theJeremy Allison1-1/+49
moment as I don't think cumulative permission sets make sense in POSIX even though that's the way Windows works.... Jeremy. (This used to be commit 34b170a82c02b462f9d0de85922bf8f26a260c67)
2003-05-15Fix from Steve G <linux_4ever@yahoo.com>. Ensure sigemptyset is called onJeremy Allison2-5/+7
the sa_mask to prevent valgrind complaints. Jeremy. (This used to be commit ef2d5a9c0c11a4e6d65bdebad5d9ea44dd000a68)
2003-05-14Fix winbindd coredump. Remember to set a ** pointer to null beforeJeremy Allison1-0/+1
searching and not finding otherwise we return a valid looking pointer that was whatever crap was on the stack. Jeremy. (This used to be commit b6e78900175d4362f3a4d0216aa635931a0c11e9)
2003-05-14spellingTim Potter4-5/+5
(This used to be commit 249a6974702d050644d6d61f33f0034ce2a689ee)
2003-05-12fixing typos in debug statementsGerald Carter1-1/+1
(This used to be commit bd660f45df4df686f58a181f002ca1d88e7c1015)
2003-05-10Reverse previous patch from Stefan and me after comments by Andrew Bartlett.Jelmer Vernooij1-7/+0
(This used to be commit d31509fe88da8727521586dced1da2c73bfee2bc)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functionsJelmer Vernooij1-0/+7
(This used to be commit 367a5cad1edf6a49783806d5a8b59a62d8856706)
2003-05-10Optimisation. We don't need to do 2 strlen's when we're setting the statJeremy Allison1-9/+0
struct in the correct place. Jeremy. (This used to be commit 98729bc9a60f77dbc107c42f4f7a60ed96e2102f)
2003-05-09Fix nasty bug pointed out by samba-technical poster. If name is mangledJeremy Allison1-1/+12
then we weren't always correctly detecting that it had a valid stat struct and so might now return a 'file existed'. Finally realized this when installing the W2K resource kit as a test case. Jeremy. (This used to be commit a0688316ce0a9bad0b24cbb495f6e0a112227b50)
2003-05-07SMB_QUERY_FILE_ALT_NAME_INFO and SMB_FILE_ALTERNATE_NAME_INFORMATIONJeremy Allison1-9/+1
are identical - noticed by "Dr. Tilo Levante" <tilo@levante.de>. Jeremy. (This used to be commit a635b6406ab091b4207b148d7a25099205008567)
2003-05-07Make fchown, fchmod conditional for systems that don't have them.Jeremy Allison1-5/+16
Jeremy. (This used to be commit 4fe84f61735ee2328e01d2ae864b0e6c7729f51b)
2003-05-06Add metze's exit and idle event patchJelmer Vernooij2-0/+10
(This used to be commit e599eba851db40816c684da2b7b1be4b978166e0)
2003-05-01Fix uninitialized blobs reported by Luke Howard.Jeremy Allison1-0/+6
Jeremy. (This used to be commit e954ca2ce8ec6b36794585c3bc948140cf9e7947)
2003-05-01Fix for bugid 51 from Dragan Krnic.Jeremy Allison1-5/+5
Jeremy. (This used to be commit aeba1fcab2fa61859fc1052af4752512a33bd801)
2003-05-01proper wellknown sids initialization at startupSimo Sorce1-1/+4
(This used to be commit 568feee8977ee1be210344c8ab1896512894cba2)
2003-05-01*id_to_*id call reshape to return NTSTATUS errorsSimo Sorce2-5/+5
plus internal fixes 1st stage (This used to be commit 6d036761e565bc93964bb3c939d5b7d78d5778a3)
2003-05-01Fix disk quotas support on HP/UX (patch by David Nixon)Jelmer Vernooij1-1/+1
(This used to be commit 908d839b77a03ac07b00b43a3000c8ea53dd5e35)
2003-05-01Use ints for the version numbers in the smb_register_*() functions (patch by ↵Jelmer Vernooij1-1/+1
metze) (This used to be commit 3895571eeef81db7ce4c71e85b0be5c235b16efd)
2003-04-29This is a nice rewrite:Simo Sorce4-21/+15
SAM_ACCOUNT does not have anymore uid and gid fields all the code that used them has been fixed to use the proper idmap calls fix to idmap_tdb for first time idmap.tdb initialization. auth_serversupplied_info structure has now an uid and gid field few other fixes to make the system behave correctly with idmap tested only with tdbsam, but smbpasswd and nisplus should be ok have not tested ldap ! (This used to be commit 6a6f6032467e55aa9b76390e035623976477ba42)
2003-04-29add version back to lanman string in sessetup replyGerald Carter1-1/+5
(This used to be commit 4ab1909378695383e7e5bd20898392e6d2166969)
2003-04-29consolidate idmap code in one placeSimo Sorce1-349/+0
(This used to be commit f7041ec5d74475013c839b5ea9ecac10322e5e65)
2003-04-29ok next_rid out as well local_*id_to*id functionsSimo Sorce1-229/+42
reverted user making function, did not pass the abartlet test :-) idmap is now fully integrated, we only miss user creation and removal of uid and gid from SAM_ACCOUNT (This used to be commit 67af8c26586c4829166795813a373bf9be27b753)
2003-04-28Use NTSTATUS as return value for smb_register_*() functions and init_module()Jelmer Vernooij1-11/+12
function. Patch by metze with some minor modifications. (This used to be commit f4576757d1d52a8f1b96894c869bb76450003fd1)
2003-04-27make winbind use idmap as well.Simo Sorce1-1/+1
change idmap_init call removed ldap backend for winbind idmap, seem it had problems anyway and it have to be reworked to work with idmap without calling winbind code. simo (This used to be commit 9d7d007443fc75264b2764b90f272ffc40c9be6c)
2003-04-24Fix length in findfirst2 responses, fix os/2 clientsJim McDonough1-4/+10
(This used to be commit ce56ccf932e5ae89b7d46da31ec9b17551206491)
2003-04-22Add runtime tests for "impossible" case with -DDEVELOPER. Trying to catch logicJeremy Allison1-0/+27
error on Linux. Jeremy. (This used to be commit 5d2b2b5607faa4bf2c418987776c1ee327b098c6)
2003-04-22another lost merge from 3.0; my faultGerald Carter1-2/+2
(This used to be commit 2e5e68617345beca4d1cab27d64944ebd42e899b)
2003-04-22Tidyups of some dubious logic discovered whilst trying to track down aJeremy Allison2-7/+6
strange oplock related issue on the PSA. Jeremy. (This used to be commit f8021af2a7b790e739a7ecc67c908289b0a9b719)
2003-04-21Remove unused (#ifdef'ed) code.Andrew Bartlett1-12/+0
(This used to be commit c11465b285d5eb3c42a84095a5dc41af7e07267d)
2003-04-21Use fstrcpy/pstrcpy when that's what we really mean...Andrew Bartlett2-6/+7
Andrew Bartlett (This used to be commit e8aa615591dc44de4de85322d455a47b3122b9eb)
2003-04-19use gid_t for gids not uid_tSimo Sorce1-1/+1
(This used to be commit dd8009bf599a6111440cd807dcc022039f19de15)
2003-04-19fixesSimo Sorce1-0/+2
fix debug, add "idmap" string to the list of classes fix idmap, check init failures, and enhance debugging fix idmap_tdb, _do_ init uid and gid low,high states (too bad I missed that before) fix smbd/uid.c, use gid_t for gids and uid_t for uids (This used to be commit bc95de4ebb014080bc70173e7df94c672cea8df6)
2003-04-16Expand this magic number into the #defines it is made up of.Andrew Bartlett1-1/+1
(This used to be commit 3d2d19b91036b6b11a33996d4b8bf266bad32737)