summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-09-24convert all POST variables from display to unix charsetAndrew Tridgell2-23/+29
(This used to be commit cd6478ad9890949d0ef34a7078ec5518debe4a3c)
2001-09-24Add .headers.stampAndrew Bartlett1-0/+1
(This used to be commit e12d7570997c229177c239cd2224574a943e262a)
2001-09-23Lets call an NTSTATUS an nt_status, not an ecode.Andrew Bartlett1-6/+6
(This used to be commit b6048e28ab996ba5581cfa3b50401c0f775befdd)
2001-09-23Zero out these pstrings before we start: makes for much easier debugging.Andrew Bartlett1-2/+2
(This used to be commit d417b6b5cbdbb244cc683387d73a9200eef53427)
2001-09-23Fix up NT_STATUS return for session setups, Win2k objects to anything otherAndrew Bartlett3-12/+7
than NT_STATUS_LOGON_FAILURE. This also brings us (almost) back in line with their implementation. Kill off SMBENCRYPT() macro Kill off 'nt smb support' paramater - tridge okayed this one. Andrew Bartlett (This used to be commit 67947bf6e31ee9758f8a2186f83031ba21b716f2)
2001-09-22fixed the Makefile so we don't rebuild libsmbclient and build_env.hAndrew Tridgell4-642/+655
(and thus smbd) every time (This used to be commit e78d0a3615d74cdd023d2d623abc27ac59356ae0)
2001-09-22Ignore unmappable (NT Authority, BUILTIN etc.) SIDs in an ACL set.Jeremy Allison2-0/+35
Jeremy. (This used to be commit bc7963bd643422cce081b6284e3bdd49ae3a02ab)
2001-09-22These are RIDs not Unix UIDs so make this clear in the feild names.Andrew Bartlett2-7/+7
Andrew Bartlett (This used to be commit d1bc778301b31d77fdc3837ec3cff24ce37adcd7)
2001-09-21Attempt to make quotas work with RH7.1, and with other Linuxen... This isJeremy Allison5-107/+238
*HARD*, dammit ! Jeremy. (This used to be commit 59a4684201fb72989698db5ac8169bd8880bd9a7)
2001-09-21fixed the error code handling in can_delete() by converting it toAndrew Tridgell1-19/+22
NTSTATUS. This gets the right error codes in SMBunlink (This used to be commit c82f7828c05c747a5782d10c68cc2df80d4071bd)
2001-09-21Added -s configfile to smbcontrol.c.Volker Lendecke1-6/+9
Volker (This used to be commit 9ecd9db4efc7b736bef0e01a5e157e149a381587)
2001-09-21fixed character set for user name pullAndrew Tridgell1-4/+3
(This used to be commit 374f76fa2d5dcd036943c3f968a94f097a971ac7)
2001-09-20smbmount fixes from Urban.Jeremy Allison3-71/+101
Jeremy. (This used to be commit 73ec9392396af6183bdf43b9f8ac0a6a0359a074)
2001-09-20Move pass_check.c over to NTSTATUS, allowing full NTSTATUS from PAM to wire!Andrew Bartlett5-174/+247
Add the ability for swat to run in non-root-mode (ie non-root from inetd). - we still need some of the am_root() calls fixed however. (This used to be commit 2c2317c56ee13abdbdbc866363c3b52dab826e3c)
2001-09-20We are not meant to touch the username, so use the pass->pw_name output ratherAndrew Bartlett2-12/+12
than Get_Pwnam(user, True). (This used to be commit bf81f0021328da97afe58cc17317b15ec1b3cc96)
2001-09-20Fix up the test for some of the quirkier hosts on the farm, and enable oneAndrew Bartlett2-5/+4
previously disabled sub-test. (This used to be commit 4df974527c7dbe88e7cbe9feb8e87f7ce89012b2)
2001-09-20Check 'hosts equiv' and 'use rhosts' compatability with 'hostnameAndrew Bartlett1-0/+16
lookup' value. (This used to be commit 5f5b4b48ca78b3981001965058a2b4e796ba815c)
2001-09-20Rearrange the ordering of the checks in make_connection(). The new order hasAndrew Bartlett1-37/+56
some sainity, avoiding things like 'root preexec' when the connection would otherwise already be denied (max connections). This does change behaviour, but I think its for the best. Andrew Bartlett (This used to be commit 99e8a263ada41de2662a0290fda3dd9df3ac0cd4)
2001-09-20Add and modify some of the various tests I have had sitting around here for aAndrew Bartlett12-10/+147
little while. This should give us a bit more coverage. Andrew Bartlett (This used to be commit 9e5a1d1623872a598c936e596270abe519c36e97)
2001-09-20Fix for MiXed and UPPER case usernames with plaintext PAM passwords.Andrew Bartlett2-2/+2
(This used to be commit ba1b411f556bfac8b953c44c81257c7d8fb9817d)
2001-09-20Revert this one: The NTLMv2 checks need the original username as foundAndrew Bartlett2-2/+2
on the wire. (This used to be commit 7c9ae76b3ff4f1ba88ddad570648f32f99e38944)
2001-09-19- Fix up to use sampass->username insted of user_info->smb_usernameAndrew Bartlett2-14/+14
- Fix initial lookup to use the mapped username. (This used to be commit 162b88e2313dbcf0b95300b8f18a3e9b6b6b29bd)
2001-09-19Try to fix up the shell syntaxAndrew Bartlett1-2/+2
(This used to be commit f57b1085b3a608871f0c1c8fbfe19c121dc8504f)
2001-09-19Reran autoconf, autoheaderAndrew Bartlett2-171/+208
(This used to be commit 26e523bf6e36d1aa355bbaa7d9b1d5c65c1b5e6b)
2001-09-19typoAndrew Bartlett1-1/+1
(This used to be commit 7a47e0fceb8999de93ac9e5721bf65401630dec6)
2001-09-19Adding the appropirate files might help...Andrew Bartlett2-0/+749
(These are part of the build_options patch). Andrew Bartlett (This used to be commit 4e5c7724b4e4c132b7b43104d3063d2f7357bae2)
2001-09-19Add the ability to display Samba's build options with smbd -b and as a level 4Andrew Bartlett5-24/+54
DEBUG(). Also included are details like build date/time, location and compiler. This should get most of the options we set, except those that don't affect smbd, like WITH_PAM_SMBPASSWD or WITH_WINBINDD. This work due to Vance Lankhaar <vlankhaar@hotmail.com> Some work needs to be done to make it only rebuild when needed (ie smbd being rebuilt) but its in pretty good shape already. Also fix up some printf() -> d_printf(). Andrew Bartlett (This used to be commit beff1d2beaf4337dba6bfc372c5e09a43cfd791a)
2001-09-19printf() -> d_printf()Andrew Bartlett1-1/+1
(This used to be commit e8bd42edc05226d49ab0b6768f898d883fcf8d1a)
2001-09-19This isn't used anymoreAndrew Bartlett1-1/+0
(This used to be commit c6df98a1e3886edd64c36ae23a8bfed11e6632b6)
2001-09-19Use lp_private_dir() not magic on the lp_smb_passwd_file() output.Andrew Bartlett1-7/+2
(This used to be commit 65ae05ce638f0d12e6f1e2a6f337c53c5c0a4f3a)
2001-09-19Removed unneeded variable, added comment on deadlock prevention.Jeremy Allison1-9/+9
Jeremy. (This used to be commit 3f52632ac9c45c66613c3a2fd41f1ba73ca3fefc)
2001-09-19Put pwrite code back in expand_file.Jeremy Allison1-3/+10
Jeremy. (This used to be commit a3267551d88dffb226e4a1c3852fe9c817517d02)
2001-09-19Removed test code that got added by accident.Jeremy Allison1-22/+0
Jeremy. (This used to be commit fc91ecc236e0d27f5836e9820332ababd762f1a7)
2001-09-19removed anti-race code that could cause a classic ABBA deadlockAndrew Tridgell1-21/+1
I'd rather get the connection count wrong with a small probability than deadlock (This used to be commit d4e4e81328a63d6e3396306d5dae6cc45ddd35d7)
2001-09-19passdb/pampass.c and passdb/pass_check.c are not passdb related at all,Andrew Bartlett1-4/+5
so don't link them as such. (This used to be commit 3afad9ae012b8fb1bf5eaceca491b76ab32e68b6)
2001-09-19added a hook to reopen all tdb's after the server forkAndrew Tridgell3-10/+52
this prevents the fd seek pointer problem (This used to be commit f49518e497deeb46292456c3650769d50ec2a955)
2001-09-19*llist being NULL is not an errorAndrew Tridgell1-1/+1
(This used to be commit c4d8ad2c2e48ff31dae7477ff02e5bfc013832a9)
2001-09-19Remove the ugly hacks to get around the Get_Pwnam() calls in pass_check.c byAndrew Bartlett5-65/+56
simply not doing Get_Pwnam() calls in pass_check.c We now make *one* sys_getpnam() call in cgi.c and we always call PAM no matter what it returns. We also no longer run the password cracker for these logins. The truly parinod will note the slight difference in call paths, in that we only call crypt for valid password structs (if not --with-pam). The truly parinoid don't run SWAT either, so I don't think this is an issue. Andrew Bartlett (This used to be commit 9020d884935243f28c19cedc88f076f0709e12cb)
2001-09-19Fix (I hope) compile on HP-UX. Found by the build farm.Andrew Bartlett1-1/+1
(This used to be commit fd5c67d35a3e9eaee6c54151c5fd9381a47c7b14)
2001-09-19got rid of bogus write list substitution error messagesAndrew Tridgell1-15/+18
(This used to be commit 0deae6c407faa86ea871a219ad52fdd285166274)
2001-09-19Fix based on Andrew's insight as re-using a tdb after fork meansJeremy Allison1-3/+23
parent and child share seek pointer. Damn.... Jeremy. (This used to be commit 0e75c0fc1aa742fb0c29716c99a81cf5b33ef6e6)
2001-09-19don't try to initgroups in non root modeAndrew Tridgell1-0/+4
(This used to be commit 1a04ea247680fa7ad1ae7dc3f9953f753d8cf955)
2001-09-19fix debugAndrew Bartlett1-1/+1
(This used to be commit d103371e8028efb6eec3c4b917b68734832f5844)
2001-09-19Reverse some of the breakage I commited a day or two ago, as we need toAndrew Bartlett1-5/+21
fill out the user_info struct (otherwise we don't have a vuid for make_connection()). Also add a become_user() call, becouse it really looks like it was missing (we must pass it anyway to finish make_connection()). Is there any reason not to be the user when reading an ACL? Finally, fix up some formatting to show that the two functions are almost identical. Andrew Bartlett (This used to be commit 00c667c0ad922a1bf388b8a2b8c6137fc7f0acaa)
2001-09-19Return correct error code on lock fail in tdb_expand.Jeremy Allison1-1/+1
Jeremy. (This used to be commit b45793ec3f6ff04587bee8f463ef6410b06097d6)
2001-09-18Roll back earlier fix after talking with Andrew. The write_lock_record andJeremy Allison1-2/+2
unlock are explicitly non-blocking. I will add a comment to this effect later. Jeremy. (This used to be commit e4b41a8f31729dfec92c4cb1f8b4759446cac0ff)
2001-09-18Fixed a couple of nasty bugs only easily seen with no mmap. Firstly,Jeremy Allison1-2/+4
map_ptr not neccessarily set to NULL if no mmap, secondly, iterating through a tdb was using SETLK, instead of SETLKW - would almost never fail with mmap as the time holding the lock was so short, but was easily seen with read/write. One finaly bug needs tracking down w.r.t. traversal...... Jeremy. (This used to be commit 313c2e8652092a307165b6039dd7dfbbd0754ec3)
2001-09-18Correct fix for unaligned memcpy - malloc'ed memory incremented by ↵Jeremy Allison2-19/+24
sizeof(struct locking_data) was not forced to be 8 byte aligned. Use union to force it to be correctly aligned for memcpy and use void *, to tell compiler not to optimize aligned copy (this last fix suggested by Trond @ RedHat). The first fix should be sufficient, but this provides a "belt and braces" fix. Jeremy. (This used to be commit 22c5915bb466529ac1bcb5c2574888b360a9775b)
2001-09-18Use structure copy to fix unaligned accesses on 64bit architectures onJeremy Allison2-2/+2
Linux. Jeremy. (This used to be commit b4b891279b6292237113456f1bb0d4393f1f9af1)
2001-09-18Converted cli_net_auth2() and cli_nt_setup_creds() to return NTSTATUS.Tim Potter5-19/+34
(This used to be commit e0bdcbc5994345fdc76f7590dba7bce5f0127d58)