summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2001-05-08Removed S_ISSOCK() macro as it's only used within winbind client code.Tim Potter1-10/+0
(This used to be commit 8fe76adb33bb7de19c8b2c8783dc6e3a3977bd8f)
2001-05-08make protoTim Potter1-2/+7
(This used to be commit 6d218c3e942a9be3af57f2500374b49d8ad25763)
2001-05-07merge from 2.2 removing the 'domain XXX' parameters.Gerald Carter1-3/+0
(This used to be commit 9aefc86e355bf160300580acb85a58a18207ccdf)
2001-05-07Patch from Simo:Gerald Carter1-2/+41
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-07Preliminary merge of winbind into HEAD. Note that this compiles and linksTim Potter1-0/+8
but I haven't actually run it yet so it probably doesn't work. (-: (This used to be commit 59f95416b66db6df05289bde224de29c721978e5)
2001-05-07rebuild proto.hAndrew Tridgell1-114/+50
(This used to be commit 2e2073447490e192ccb838dd488feb335dfba265)
2001-05-06Patch from David_Tiller@ccnotes.ccity.com finally applied now I've thoughtJeremy Allison1-0/+5
about it to stop account lockouts with "security=server" mode. Sorry for the delay David. Jeremy. (This used to be commit e8819715038ed49b07ed5639b1b88ad12e994b53)
2001-05-04Big cleanup of passdb and backends.Jean-François Micouleau3-40/+42
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-04make protoGerald Carter1-0/+4
(This used to be commit 09b287e1782938bc4472b88921ed1604eb91ac27)
2001-05-04make protoTim Potter1-1/+14
(This used to be commit a56badc206abb88ae1e648004c168db71c862340)
2001-05-04Merge of struct acct_info from TNG.Tim Potter1-1/+2
(This used to be commit 2eb28b3d516325725678a67f8b0030aec8ec61d7)
2001-05-04renamed unknown field to access mask in open alias structures.Tim Potter1-2/+2
(This used to be commit 4d0ac3c71d930ab9cf88bd688c23c72ce5a53179)
2001-05-03Fixed SHM_R/SHM_W warnings by moving sys/ipc.h and sys/shm.h into includes.hJeremy Allison2-0/+14
and using autoconf tests. Added "restrict acl with mask" parameter. Jeremy. (This used to be commit 7792e32ba7fd734cc68b354f31c382ac11521fe8)
2001-05-02Had to add a "pam password change" parameter (defaults to "off") and inlinedJeremy Allison2-6/+2916
the pam password change code to ensure that existing and working password chat scripts don't break with 2.2.1. PAM password changing has to be explicitly requested. Allowed wildcards in pam password change matching (matches password chat script matching). Had to add const (sorry Tim :-) to ms_fnmatch() to stop warnings. Don't worry - the const changes are isolated and don't cause any other warnings :-). Jeremy. (This used to be commit 47b4d82536c09bffe3a0d9917fa31d935f1be7d8)
2001-05-02Fix noticed by John Trostel - we need to return our account SID for level 5.Jeremy Allison1-2915/+1
Jeremy. (This used to be commit acf32f277d1a45f49fa3bf6af82850e35df9ae5a)
2001-05-01Fixup smbcacls. Don't return memory already freed, don't free memory allocatedJeremy Allison1-1/+1
with talloc. Jeremy. (This used to be commit 0ae0d024f5898f7e47e4b1d4487b15447096780c)
2001-05-01Added code from "Nigel Williams" <nigel@veritas.com> (yes, the same famousJeremy Allison2-1/+49
Nigel Williams who did NIS/GINA !) to implement add/modify/delete shares for Win2k. Needs testing as I made a few mods to the original code. Jeremy. (This used to be commit 9b3dd801765fad28c0f9d58e5af2537cfccdd4ee)
2001-04-30Ensure correct password change script gets selected --with-pam.Jeremy Allison1-0/+4
Jeremy. (This used to be commit 6703f621ea798bd1877bd3baa523307ee288dccd)
2001-04-30Based on an original PAM patch by Andrew Bartlett, re-written by me toJeremy Allison1-3/+6
remove global static PAM variables, and to tidy up the PAM internals code. Now looks like the rest of Samba. Still needs testing. Jeremy. (This used to be commit 1648ac64a75de74d1a1575eb49cccc4f75488bfa)
2001-04-28- fixed some compiler warningsAndrew Tridgell2-10/+12
- fixed slprintf and vsprintf macros (This used to be commit c986a3c51e8cdbc1230edbe0f4a91138c4ada29d)
2001-04-28- added test for vasprintfAndrew Tridgell7-40/+252
- cleaned up GNUC printf attribute macros - added enum handling in mkproto - removed non-vararg code - made slprintf and vslprintf just macros for snprintf and vsnprintf - don't need slprintf code any more (This used to be commit c7aeb2254dfc3cd0aa0b6c0bdd426f9323be0ddf)
2001-04-28added asprintf testAndrew Tridgell1-0/+3
(This used to be commit 8bda86c0bfd3693420e334a10d19bed61b131bae)
2001-04-28rpcclient merge from 2.2 (including Jeremy's non-void return fix)Gerald Carter4-394/+174
(This used to be commit 0a6ceed279cc8111008b21f75c6791efbd993f4b)
2001-04-27C99 test for snprintfAndrew Tridgell1-0/+1
(This used to be commit fcd100eec51034cc4ea1e781e971b6dd65801b31)
2001-04-25converted the passdb smbpasswd implementation to using tallocGerald Carter2-6/+2
for memory allocation. This fixes a long standing seg fault (i knew i would get around to it one day :) ) Tested with NT4 and Win2k. Needs a little more testing with the "create the machine account on the fly" code for NT4. Simo, this is probably going to break the tdb passdb code. Can you look at that when you get a chance and see what you think? (This used to be commit 1c13110873e456748dc09fd51749f664643fe888)
2001-04-25Re-ran autoheader; autoconf to fix pam_smb build.Jeremy Allison1-0/+5
Jeremy. (This used to be commit c6f25e84d3e15319d263386c101727d787cf0679)
2001-04-23Fix "proc num out of range" error. Missing rpc call.Jeremy Allison2-2/+20
Jeremy. (This used to be commit 6248fb22926d72fddaecad5af117af1bdd08fda3)
2001-04-23Added "obey pam restrictions" parameter - default to "off".Jeremy Allison1-0/+1
Only set this to "on" if you know you have your PAM set up correctly..... NB. Doesn't apply to plaintext password authentication, which must use pam when compiled in. Jeremy. (This used to be commit 59aa99f3901d098b7afbe675021bda53b62ee496)
2001-04-23Added smb_ prefix to all Samba wrapper pam functions.Jeremy Allison1-3/+3
Fixed off by one bug using StrnCpy instead of strdup(). Jeremy. (This used to be commit d4b1c0be2e700c86a4338bb497777f97e3c960a7)
2001-04-22Commit of a modified version of Andrew Bartlett's patch that removes theJeremy Allison1-1/+1
horrid utmp hostname parameter - now uses the client name instead. Also tidies up some of the unencrypted password checking when PAM is compiled in. FIXME ! An pam_accountcheck() is being called even when smb encrypted passwords are negotiated. Is this the correct thing to do when winbindd is running ! This needs *SEVERE* testing.... Jeremy. (This used to be commit 071c799f479dd25efdb9c41745fc8f2beea7b568)
2001-04-22merging from 2.2 to headAndrew Tridgell1-4/+17
(This used to be commit bfcc6f88271025760732271f03933839b1cbe0de)
2001-04-18merge from 2.2Andrew Tridgell3-6/+27
(This used to be commit f52a5014ee325f9d91f266f88eac51b6136a75b9)
2001-04-18Removed mktemp from HEAD - same as done in 2.2.Jeremy Allison1-2/+22
Jeremy. (This used to be commit 121b59669fbcd1aaedb08011ff36169fc6561c55)
2001-04-18Merge of changes from 2.2.Jeremy Allison1-0/+30
Jeremy. (This used to be commit df912162bbe93611c80defe830641f580687edbb)
2001-04-17AIX ACLs donated by IBM.Jeremy Allison2-0/+48
Merge Andrew's fnmatch fix for WfW. Jeremy. (This used to be commit 1d4438f07745df3d02ed8ab3ef048e20016816b6)
2001-04-16hide unreadable patch from idraAndrew Tridgell1-0/+1
(This used to be commit 7b6cfe243002a92f5dfb52413e9b3550c61cecfb)
2001-04-14Added POSIX_ACL support for *BSD. Patch from jedgar@fxp.org. ChangedJeremy Allison1-0/+1
a bit to use AC_TRY_LINK to ensure functions are available for link instead of AC_TRY_COMPILE. Jeremy. (This used to be commit c23628746342b6afa28cb34b0b4eaa61189ad390)
2001-04-14configure:Jeremy Allison4-2/+18
configure.in: include/config.h.in: include/profile.h: smbd/vfs-wrap.c: smbd/vfs.c: Added fchmod and fchown to VFS (sorry Gerald - but we needed them anyway). smbd/dosmode.c: smbd/files.c: printing/printfsp.c: smbd/close.c: smbd/open.c: Fixed "dos filemode" correctly so there are no race conditions. Forces test of open of file O_WRONLY before allowing fchmod as root. Afterwards, calls standard close function that preserves POSIX locks due to POSIX-me-harder braindamage. :-). Andrew please review this code. Also - in removing the tmpdir param in smbrun an extra NULL parameter was missed in each print_run_command() call (which is a varargs fn.). Now fixed. Jeremy. (This used to be commit 32397e5bc6d995ce7ca37c82d6aedc1e5b1b6fbd)
2001-04-13Michael Davidson <md@sco.COM> pointed out that acl_get_qualifier can potentiallyJeremy Allison1-0/+5
return a malloced area so added sys_acl_free_qualifier() calls to all supported ACL interfaces to code with this (only Linux needs actual free call). Jeremy. (This used to be commit 5870e6019b82d2088b99acdc0f84e9e4847a1fa5)
2001-04-13Merge of Andrew's changes in 2.2.Jeremy Allison2-8/+3
Jeremy. (This used to be commit fc76681812b1469208ad6c8847afdfc68bc6db49)
2001-04-13Updated Major/Minor version to 4.50 - see notes.John Terpstra1-10/+14
(This used to be commit bdb68cf37e9b512e9f72f1cf20b7ca265888319e)
2001-04-13As Andrew suggested, make smbrun return a fd for a deleted file which can thenJeremy Allison1-1/+12
be read. Jeremy. (This used to be commit e7d59d6de89a5fdd201e4b5c6072dab08b1519db)
2001-04-12forgot one thingGerald Carter1-0/+4
(This used to be commit a17f2471571596e97b212ff9de1c8b45dac12eb6)
2001-04-12still working on itGerald Carter1-6/+13
(This used to be commit ff7c5be88a05c0f1858fedb966ccfc038299bbc9)
2001-04-12Changed lp_add/delete/enum scripts to use lockdir if spool dir doesn'tJeremy Allison1-2/+2
exist for printer. Rather than using pid for suffix, use a 16 byte random string. Created generate_random_str() function in genrand.c. Still needs more testing but this is the way to go. Jeremy. (This used to be commit 71a330987f990007beb16f00fc468107361b5e9d)
2001-04-11To stop people complaining about the mktemp call, move it into lib/util.c. ↵Jeremy Allison2-0/+2
Thanks to Andrew for all this code. Fixed extra line in lib/sysacls.c that broke XFS ACL code. Jeremy. (This used to be commit 9b32b8a8cfc8ddb93c14d5581f433d2e93f89ed2)
2001-04-11Fix for core dump in security = share code with new share security db.Jeremy Allison1-1/+7
Jeremy. (This used to be commit 20b13bafdff2fd7be9219ed164e7fe91b597298d)
2001-04-10Fixed --with-automount compile error.Jeremy Allison1-0/+2
Jeremy. (This used to be commit ab916199f542528293b3f63fe6f24eecd83eccb4)
2001-04-10Use message system to notify when smb.conf is updated.Jeremy Allison1-0/+2
Jeremy. (This used to be commit ae9eda5c3c3bbfc8ec795b43ab18dc492e5fdcf6)
2001-04-09looking towards abstracting the passdb and uidmapping interfaces.Gerald Carter1-0/+66
This is more of a note to myself. In not used anywhere yet. (This used to be commit 442605c6bc81dd115f4df5cc20df3f61601c6013)