summaryrefslogtreecommitdiffstats
path: root/source3/web
Commit message (Collapse)AuthorAgeFilesLines
...
* Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij2003-05-101-3/+0
| | | | (This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
* Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij2003-05-101-0/+3
| | | | | | that is now possible to, for example, load a module which contains an auth method into a binary without the auth/ subsystem built in. (This used to be commit 74d9ecfe2dd7364643d32acb62ade957bd71cd0d)
* Make fchown, fchmod conditional for systems that don't have them.Jeremy Allison2003-05-071-0/+4
| | | | | Jeremy. (This used to be commit cf78b1e7fe72aec72d03c86c46a8ca49df539c11)
* Added patch from Stephen Roylance.John Terpstra2003-04-242-26/+26
| | | | (This used to be commit 71369f90890eeca399fec55d978a5dd4a13f077f)
* Added Stephen Roylance's patch - Adds to Status page, a Start All, Restart AllJohn Terpstra2003-04-221-9/+38
| | | | | and Stop All deamons button. (This used to be commit 57cfcb3108935f46cb3938b403a3eaba2888fb55)
* Merge Jelmer's popt updates from HEAD.Tim Potter2003-04-141-3/+2
| | | | (This used to be commit 98e84b3e83d2a365c818ea64f9418edb29d690f2)
* Fixup swat warning.Jeremy Allison2003-04-031-1/+1
| | | | | | | Fix winbindd dual mode in the same was as in APP_HEAD. "Ken Cross" <kcross@nssolutions.com> noticed the problem. Jeremy. (This used to be commit 8bbcb833317245d7f5b8695e4a5c676f67003937)
* A fixed type TRUE -> True, reported by Paul Green.John Terpstra2003-03-261-1/+1
| | | | (This used to be commit 14499e64555481fdd5fa8ba656a4cba9a597a86b)
* Make swat use poptJelmer Vernooij2003-03-201-12/+15
| | | | (This used to be commit eccb6998111ce7a56bfd11578ccd7c09958f407e)
* Merge from HEAD:Andrew Bartlett2003-03-171-1/+1
| | | | | | | | | new 'net ads dn' doxygen fixes net help fixes. (This used to be commit de24fcb097ebf0d1aec92e787622cab64d10c553)
* Fix HTTP error codes (patch by Vance Lankhaar)Jelmer Vernooij2003-02-281-3/+3
| | | | (This used to be commit e660b0b8d034c6cb9771601c64b952380d136ca1)
* base64_decode() with heimdal libs, so I've renamed it base64_decode_inplace().Jim McDonough2003-02-181-1/+1
| | | | (This used to be commit d510ff85fb0dafddf3dea9412a09eeee6e70f0cb)
* Merge from HEAD - convert username/password to unix before checking them inAndrew Bartlett2003-02-011-4/+11
| | | | | SWAT. (This used to be commit 8485c51bc47f45a6263bda83a0bc3ba15abcd250)
* Merge from HEAD:Andrew Bartlett2003-01-281-31/+0
| | | | | | | | | | | | | | | - NTLMSSP over SPENGO (sesssion-setup-and-x) cleanup and code refactor. - also consequential changes to the NTLMSSP and SPNEGO parsing functions - and the client code that uses the same functions - Add ntlm_auth, a NTLMSSP authentication interface for use by applications like Squid and Apache. - also consquential changes to use common code for base64 encode/decode. - Winbind changes to support ntlm_auth (I don't want this program to need to read smb.conf, instead getting all it's details over the pipe). - nmbd changes for fstrcat() instead of fstrcpy(). Andrew Bartlett (This used to be commit fbb46da79cf322570a7e3318100c304bbf33409e)
* connect to the actual netbios name in smb.conf and not LOCALHOSTGerald Carter2003-01-171-1/+1
| | | | (This used to be commit 50d65996e497a6b4647b74dadb4a7f3f5dddf2ed)
* *lots of small merges form HEADGerald Carter2003-01-151-41/+4
| | | | | | | *sync up configure.in *don't build torture tools in make all *make sure to remove torture tools as part of make clean (This used to be commit 0fb724b3216eeeb97e61ff12755ca3a31bcad6ef)
* patch to include support for daemontools from Michael HandlerGerald Carter2003-01-031-3/+3
| | | | (This used to be commit a8db1b611d83bfd8dcf60f1e6d8fcbf57c798528)
* Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett2003-01-033-25/+25
| | | | | | | warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
* Sync with HEADJelmer Vernooij2002-11-091-3/+3
| | | | (This used to be commit 1a25dc776ddc36de9a214e023becff1ceb10290c)
* Try to catch up on the code I've put into HEAD that should be in 3.0:Andrew Bartlett2002-10-261-1/+1
| | | | | | | | | | - vorlan's hosts allow with DNS names patch - use x_fileno() in debug.c, not the struct directly. - check for server timeout on password change (was reporting success) - better error/status loggin in both the pam_winbind client and winbindd_pam server code. - (pdb_ldap) don't set the ldap version twice - we do it on every bind anyway. (This used to be commit 9fa1863d8e7788eda83911ca2610754486b33069)
* Use memmove when copies can overlap. Spotted by SUGIOKA Toshinobu ↵Jeremy Allison2002-10-091-1/+1
| | | | | | | <sugioka@itonet.co.jp>. Jeremy. (This used to be commit 0ab08186f419a09e15f1ab7db621d429b1a3f994)
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-251-53/+290
| | | | (This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
* sync 3.0 branch with HEADJelmer Vernooij2002-08-175-14/+142
| | | | (This used to be commit d53d77cc8e21dfbfd376d529661ef299e14e31a0)
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-157-6/+10
| | | | (This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
* Add assertions that kill() is never accidentally passed a non-positiveMartin Pool2002-03-201-2/+2
| | | | | | | | | | pid. This follows a bug in rsync where it would accidentally kill(-1), removing all the user's processes. I can't see any way this would directly happen in Samba, but having the assertions seems beneficial. http://cvs.samba.org/cgi-bin/cvsweb/rsync/util.c.diff?r1=1.108&r2=1.109&f=h (This used to be commit 098905bea29c7d5b886809d431294ddf2fc1e152)
* Removed version number from file header.Tim Potter2002-01-305-9/+5
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* getpwnam -> getpwnam_allocAndrew Bartlett2002-01-211-1/+2
| | | | (This used to be commit f8208458b3ac05743932d96e4d0a919adc0d9e55)
* A nice *big* change to the fundemental way we do things.Andrew Bartlett2002-01-171-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Samba (ab)uses the returns from getpwnam() a lot - in particular it keeps them around for a long time - often past the next call... This adds a getpwnam_alloc and a getpwuid_alloc to the collection. These function as expected, returning a malloced structure that can be free()ed with passwd_free(&passwd). This patch also cuts down on the number of calls to getpwnam - mostly by taking advantage of the fact that the passdb interface is already case-insensiteve. With this patch most of the recursive cases have been removed (that I know of) and the problems are reduced further by not using the sys_ interface in the new code. This means that pointers to the cache won't be affected. (This is a tempoary HACK, I intend to kill the password cache entirly). The only change I'm a little worried about is the change to rpc_server/srv_samr_nt.c for private groups. In this case we are getting groups from the new group mapping DB. Do we still need to check for private groups? I've toned down the check to a case sensitve match with the new code, but we might be able to kill it entirly. I've also added a make_modifyable_passwd() function, that copies a passwd struct into the form that the old sys_getpw* code provided. As far as I can tell this is only actually used in the pass_check.c crazies, where I moved the final 'special case' for shadow passwords (out of _Get_Pwnam()). The matching case for getpwent() is dealt with already, in lib/util_getent.c Also included in here is a small change to register the [homes] share at vuid creation rather than just in one varient of the session setup. (This picks up the SPNEGO cases). The home directory is now stored on the vuid, and I am hoping this might provide a saner way to do %H substitions. TODO: Kill off remaining Get_Pwnam_Modify calls (they are not needed), change the remaining sys_getpwnam() callers to use getpwnam_alloc() and move Get_Pwnam to return an allocated struct. Andrew Bartlett (This used to be commit 1d86c7f94230bc53daebd4d2cd829da6292e05da)
* Store some path names in global variables initialized to configureMartin Pool2001-11-192-18/+28
| | | | | default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
* Fix const warning. Doxyfy comment.Martin Pool2001-11-191-5/+8
| | | | (This used to be commit 91e07a7fdc47b2baf42fc06e77d1e1d883111668)
* the next step in the intl changeover. This should get us compiling agian,Andrew Tridgell2001-10-144-352/+130
| | | | | | | | and also completes the switch to lang_tdb.c. SWAT should now work with a po file in the lib/ directory also removed useless SYSLOG defines in many files (This used to be commit 5296b20ad85d7519c870768455cb4d8df048c55a)
* first step in converting the head branch to use lang_tdb.c insteadAndrew Tridgell2001-10-111-107/+0
| | | | | of gettext for internationalisation support. There is more to do (This used to be commit ab7f67677a1ade4669e5c2750d0a38422ea616a9)
* merge from 2.2Gerald Carter2001-10-061-2/+84
| | | | (This used to be commit 831530d93d606d13a792be1d3d4ac561697504d8)
* Fixup passdb stuff to add new nisplus and ldap backends.Jeremy Allison2001-09-252-1/+2
| | | | | Jeremy. (This used to be commit 611bf806d569b70edabbc04a2f5408142370a550)
* Added SWAT i18n feature:Motonobu Takahashi2001-09-244-134/+571
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | TO enable configure with --with-i18n-swat to support this gettext is integrated and a new directories name "po" and "intl" are created. now these languages are supported: en - English (default) ja - Japanese po - Polish tr - Turkish To add your language, to create ${your_language}.po by translating source/po/en.po into your language is needed. some of html and image files of various language version are not included yet, though message catalogue files are installed. you need to copy files manually under ${swatdir}/lang/$ln/{help,images,included,using_samba} And also added a option to intall manual pages: of various lang version To enable configure with --with-manlangs but manual pages themself are not included yet. (This used to be commit 486b79a6fc4ba20a751aab544bd0f7ccff2b3d19)
* fixed a silly off by 1 bugAndrew Tridgell2001-09-241-2/+2
| | | | (This used to be commit e558ab6ac8930e3393291fe12289ad43175b8a1d)
* fixed bug in POST var handlingAndrew Tridgell2001-09-241-4/+2
| | | | (This used to be commit 73f10d3ef6de2dbcb23f93ef93eb9e7053ebf26b)
* convert all POST variables from display to unix charsetAndrew Tridgell2001-09-242-23/+29
| | | | (This used to be commit cd6478ad9890949d0ef34a7078ec5518debe4a3c)
* Move pass_check.c over to NTSTATUS, allowing full NTSTATUS from PAM to wire!Andrew Bartlett2001-09-201-8/+5
| | | | | | 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)
* Remove the ugly hacks to get around the Get_Pwnam() calls in pass_check.c byAndrew Bartlett2001-09-191-47/+24
| | | | | | | | | | | | | | 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)
* move to SAFE_FREE()Simo Sorce2001-09-172-2/+2
| | | | (This used to be commit 67db8f03c5c9e81e11b5f3276b50ee23e09a2659)
* declare dbf in one spotAndrew Tridgell2001-09-101-1/+0
| | | | (This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)
* replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell2001-09-102-6/+6
| | | | | | | | | | replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor limit that we hit with nasty consequences on some systems I would eventually prefer us to have a configure test to see if we need to replace stdio, but for now this code needs to be tested widely so I'm enabling it by default. (This used to be commit 1af8bf34f1caa3e7ec312d8109c07d32a945a448)
* convert more code to using d_printfAndrew Tridgell2001-09-081-165/+165
| | | | (This used to be commit 60d297303488ed583537ca2853828fccd6da2ade)
* got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell2001-09-061-1/+1
| | | | (This used to be commit c26e0d3f27a05ecc8bd2390f9aab7f9451524e47)
* A few changes:Andrew Bartlett2001-08-221-3/+1
| | | | | | | | | | | | | drop paramaters: status utmp hostname change session code to always record each vuid current on the server. The sessionid struct is no longer packed, as I couldn't get that to work ;-) change smbstatus to show this info and less of the connections.tdb info (its not actualy that accurate). I'll get swat doing some of this shortly. (This used to be commit b068ad300527c44673bbee0aede7849199c89de7)
* it was half committed last time,Simo Sorce2001-08-121-2/+2
| | | | | thanks to Hasch@t-online.de (Juergen Hasch) for spotting that. (This used to be commit a2a4d4e6286c2127b6f8e32fc97b96dabd7cdb40)
* Change all realloc() statements to Realloc() (ecxept for tdb.c)Simo Sorce2001-08-081-13/+13
| | | | | | | | changed some code to exploit the fact that Realloc(NULL, size) == malloc(size) fixed some possible mem leaks, or seg faults. thanks to andreas moroder (mallocs not checked in client/client.c, client/smbumount.c) (This used to be commit 7f33c01688b825ab2fa9bbb2730bff4f2fa352be)
* Added "use mmap" for HPUX.Jeremy Allison2001-07-301-1/+1
| | | | | Jeremy. (This used to be commit 840802f10677cb0009cb4df4c37c7d01aa5edacd)
* This removes unused paramaters from various authtication functions, and shouldAndrew Bartlett2001-07-081-2/+2
| | | | | | | | | | not change behaviour. This should make my later diffs smaller, where I actualy start cleaning up this mess... Andrew Bartlett (This used to be commit 04f090c224bb7ac3b53c430a591fce1fc939a81c)