summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
1998-11-20wrong directory path for smbd and nmbdHerb Lewis1-2/+2
(This used to be commit a33b4f623f196ca7e8056454b9212fe0ffa389c2)
1998-11-19Makefile.in: Added passing of CPPFLAGS into Makefile.Jeremy Allison4-415/+438
configure configure.in include/config.h.in: Fixes for AIX4.x. AIX *will not* enable large file support of *any* description unless either -D_LARGE_FILES or -D_LARGE_FILES_API are defined. I chose "-D_LARGE_FILES" as this leads to cleaner code... Also fixed bug where getpwnam was listed as getpw(a)nam in configure.in. Jeremy. (This used to be commit 2d62dc26f4e3a171ecbe56f33d94db2fea0ef0ad)
1998-11-19Sync up with 2.0 code.Jeremy Allison9-403/+586
Added HPUX autoconf changes. Added "gross hack" printer code. Jeremy. (This used to be commit 1ef6d3bd63722afe9c376793a6ea72046d1a0602)
1998-11-19update testparm with -s option so it doesn't require a carriage returnHerb Lewis1-10/+34
also allow specifying [host hostip] without [configfile] updated man page (This used to be commit 85fbd401026e7f1464c9a125cbaa505b768f8a10)
1998-11-19Changes to make the default prefix /usr/local/samba - as it was in 1.9.18p10.Jeremy Allison6-482/+706
acconfig.h configure configure.in include/config.h.in: Fixes to DEC OSF1. libsmb/nmblib.c: Fixes to nmbd jumps in scope names. Jeremy. (This used to be commit 5ad77769be85e6727319afb0f02e5d94c2f9f16f)
1998-11-18Added OSF1 changes to HEAD (-lsecurity etc.)Jeremy Allison7-158/+243
groupdb/groupdb.c: Fixed compile error caught by IRIX compiler. utils/smbpasswd.c: Fixed SunOS optind, optarg problem. Jeremy. (This used to be commit 30af39ae1edf51d5d06a1764982e5df431c142ac)
1998-11-18Fixed crash bug which was assuming that fd_ptr was always non-nullJeremy Allison3-6/+12
(which is not the case with open directories). Jeremy. (This used to be commit c154b1601f5891d664fc538ec8874fa8ef2061e6)
1998-11-18Fixed problem with HAVE_NETGROUP being used on platformsJeremy Allison5-15/+26
that cannot support it. Jeremy. (This used to be commit 7a6f25ac4ab0f0bef7a66f26004c15120248ff66)
1998-11-17Fixed NT modify timestamp issue.Jeremy Allison3-2/+27
If a client does a modify timestamp on an open file (which will do no good at all on UNIX :-) then keep the modify request pending in the files_struct and apply it at close instead. Jeremy. (This used to be commit 92a7a86f0e0255e3812dd35bebfcd653091514ae)
1998-11-17Changed Makefile.in to use autoconf prefixes.Jeremy Allison1-7/+5
NOTE: The packaging scripts will have to be changed !!!! Jeremy. (This used to be commit 79c259f05cf7cd4f2d3d1bb92fff3bde7acd8a50)
1998-11-17Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls.Jeremy Allison56-178/+238
Tidied up some of the mess (no other word for it). Still doesn't compile cleanly. There are calls with incorrect parameters that don't seem to be doing the right thing. This code still needs surgery :-(. Jeremy. (This used to be commit 18ff93a9abbf68ee8c59c0af3e57c63e4a015dac)
1998-11-17lookup_alias_name() %s not %d for sid_strLuke Leighton1-1/+1
(This used to be commit 2a98135bbc759ab334d76cce98ea673871445db1)
1998-11-17somehow this file got missed in the groupdb commit.Luke Leighton1-35/+88
(This used to be commit 06da8e49f1cf5d6b954f586f6720ade1c5b8de74)
1998-11-17make_uni_hdr() reverted accidentally with a -1 on username lengthLuke Leighton1-2/+2
(This used to be commit 7da1b0bb511e6c5e44ab83759914134cf91f6f78)
1998-11-17swapped username:uid:[groupridlist]:[aliasridlist] toLuke Leighton1-9/+9
u:u:a:g (This used to be commit 2f456ed92ffbf596945a9ec800c373495fc4e38a)
1998-11-17- group database API. oops and oh dear, the threat has been carried out:Luke Leighton47-2310/+3044
the pre-alpha "domain group" etc parameters have disappeared. - interactive debug detection - re-added mem_man (andrew's memory management, detects memory corruption) - american spellings of "initialise" replaced with english spelling of "initialise". - started on "lookup_name()" and "lookup_sid()" functions. proper ones. - moved lots of functions around. created some modules of commonly used code. e.g the password file locking code, which is used in groupfile.c and aliasfile.c and smbpass.c - moved RID_TYPE_MASK up another bit. this is really unfortunate, but there is no other "fast" way to identify users from groups from aliases. i do not believe that this code saves us anything (the multipliers) and puts us at a disadvantage (reduces the useable rid space). the designers of NT aren't silly: if they can get away with a user- interface-speed LsaLookupNames / LsaLookupSids, then so can we. i spoke with isaac at the cifs conference, the only time for example that they do a security context check is on file create. certainly not on individual file reads / writes, which would drastically hit their performance and ours, too. - renamed myworkgroup to global_sam_name, amongst other things, when used in the rpc code. there is also a global_member_name, as we are always responsible for a SAM database, the scope of which is limited by the role of the machine (e.g if a member of a workgroup, your SAM is for _local_ logins only, and its name is the name of your server. you even still have a SID. see LsaQueryInfoPolicy, levels 3 and 5). - updated functionality of groupname.c to be able to cope with names like DOMAIN\group and SERVER\alias. used this code to be able to do aliases as well as groups. this code may actually be better off being used in username mapping, too. - created a connect to serverlist function in clientgen.c and used it in password.c - initialisation in server.c depends on the role of the server. well, it does now. - rpctorture. smbtorture. EXERCISE EXTREME CAUTION. (This used to be commit 0d21e1e6090b933f396c764af535ca3388a562db)
1998-11-17Fixed missing NULL check in tar op.Jeremy Allison1-2/+4
Jeremy. (This used to be commit 6db04cd4622289dbdbd0c6d4d084baa8f84c40c2)
1998-11-17Moved PRINTCAP_NAME from smb.h to includes to allow it toJeremy Allison2-4/+3
be tuned per system type. Jeremy. (This used to be commit c1a3346547d887bfd2402a6b0bcc185680eb4470)
1998-11-16Makefile.in: Re-added quotes round ROFF call for DGUX.Jeremy Allison3-4/+3
script/installman.sh: Make installman ignore ROFF argument if it is "". smbd/oplock.c: Move location of oplock test file to lockdir. Jeremy. (This used to be commit 6c25a3314243997508b0b2da4bfa10bb979e9c10)
1998-11-16O_EXCL fixes for printing files & oplocks.Jeremy Allison3-3/+6
Jeremy. (This used to be commit 4ca71c90985b1c88d92bdd0f9079a4afc263dc46)
1998-11-16Added fixes for machine accounts.Jeremy Allison1-10/+32
Jeremy. (This used to be commit 7aa644c2f996433f8ec125bfd4221aec49bece2b)
1998-11-16fixed lmhosts parsing. We were using sizeof(name) where name was char*Andrew Tridgell1-3/+2
(This used to be commit 67ba0b1ce335bc80e1c33fa28458ec9ebe5f446a)
1998-11-16Updates to handle glob.h - was causing problems on SCO 5.0.4John Terpstra4-3/+6
(This used to be commit 5f7d9d4656eb501e14b98f4ae1990a791c7901e3)
1998-11-15change ROUNDUP to SMB_ROUNDUP to prevent conflicts with system macrosAndrew Tridgell3-8/+8
(This used to be commit d9d44d98ec719b7fc6d5b0fc35bf8727f4cd0372)
1998-11-14compile with optimisation by default on all compilersAndrew Tridgell2-394/+402
this has 2 effects: 1) non gcc platforms get some optimisation 2) it disables -g by default which means the samba binaries won't be so huge (they were over 60MB on some systems) (This used to be commit 263b13222c14db7ddec1430132c6362be4442147)
1998-11-14automatically uppercase server and share names (win95 won't handleAndrew Tridgell3-12/+7
lowercase share names!) (This used to be commit dddf1d8522707b828cac466c4a9ab2807d098573)
1998-11-14fixed setmode in smbclientAndrew Tridgell1-7/+6
(This used to be commit c58f4965100692d8edcd613a341df9e2ad88cfa0)
1998-11-14- handle servers that don't support getattrE (ie. NT)Andrew Tridgell2-4/+6
- use * in clitar instead of *.* (This used to be commit 2d9335fe2a6fc3bb6687360c99d8fc69cb2d555a)
1998-11-14Fixed problem with smbclient issuing '*.*' to NT server when anJeremy Allison1-5/+5
NT server needs '*'. Win95/98 doesn't care either way :-). Jeremy. (This used to be commit a0adae90cadd7702f8263c97d4495fa093e713e6)
1998-11-14prompt for password on smbclient -LAndrew Tridgell1-1/+0
(This used to be commit 1558f34a878d6fea0cc745a7fcec04f79f7e50ff)
1998-11-14- new prototypesAndrew Tridgell2-4/+17
- much as I hate doing it I've removed the "commit changes" button for users that don't have write access to smb.conf (Jeremy insisted) (This used to be commit 8e8ab4df1fe77dfcae73a34f4de174afe09cd695)
1998-11-14allow all user to view the configAndrew Tridgell1-36/+22
(This used to be commit ab35d99e52225b0e9f519903ae99e575075187e7)
1998-11-14remove code that allows installation via cgiAndrew Tridgell2-21/+36
swat will now give an error message if run via cgi (This used to be commit 55377e3cdd5d8428e89b40946f0535b8cf5247ae)
1998-11-14Removed acconfig.h configure configure.in include/config.h.in: Made ↵Jeremy Allison26-576/+638
smbwrapper not made by default. nmbd*: Changed all calls to namestr() to nmbd_namestr() to fix broken FreeBSD include file problem...sigh. Jeremy. (This used to be commit 9ee8f39aed8772a05c203161b4ae6b7d90d67481)
1998-11-13Change to beta1.Jeremy Allison1-1/+1
(This used to be commit 26c3ff2bcb225f65002620fec07aa6423477e6d9)
1998-11-13Makefile.in configure configure.in include/config.h.in: Changes for DGUX and ↵Jeremy Allison22-625/+803
UNIXWARE. groupdb/aliasdb.c groupdb/aliasfile.c groupdb/groupfile.c: Don't use snprinf, use slprintf. include/includes.h: Fix YP problem. include/smb.h: Fix ZERO_STRUCTP. lib/util_sock.c: Added strerror() in debugs. passdb/ldap.c: Don't use snprinf, use slprintf. rpc_client/cli_lsarpc.c rpc_client/cli_pipe.c rpc_parse/parse_sec.c rpc_server/srv_pipe.c: Don't use snprinf, use slprintf. script/installman.sh: DGUX changes. smbd/open.c smbd/oplock.c: Fixed gcc warnings. web/swat.c: Changes USER to SWAT_USER. (This used to be commit 4c2b5a00983501e5d4aad1456ba8b5ab0dfd9b4c)
1998-11-13reverted includes change for FreeBSD as it breaks IRIXAndrew Tridgell1-1/+0
(This used to be commit 24b2bf1741366045eca02cbd09e3283531d28422)
1998-11-13need 32 bit status codes to be negotiated because of STUPID dos "error moreLuke Leighton1-1/+1
data needed" message gets treated as a serious error code (which it isn't) so the client code terminates. (This used to be commit d9b59580dcd5076d3027e364964dcd624300fe45)
1998-11-13Fixed timing window created by daemonize function. Smbmount was going daemonMichael Warfield1-7/+10
before the mount was actually completed. This caused weird problems when used with autofs such as empty directories on first listing or files which would appear in "ls" but would return "no such file or directory" under "ls -l". Note to Volker: Initial attempt from CIFS conference didn't work. Had to move daemonize function inside of loop after ioctl. (This used to be commit 2f456be660b4bbf22c618b506062f812f35e368a)
1998-11-13LOCAL_GRP and DOMAIN_GRP are return typesLuke Leighton1-0/+4
(This used to be commit 887063e421d476fe2c2f6809750af3bfb020a85c)
1998-11-13ZERO_STRUCTP not PNLuke Leighton1-6/+6
(This used to be commit ff8667c8801a59c80c33b43f033d23f3a0fd8313)
1998-11-13oops - ZERO_STRUCTP() issues again...Luke Leighton1-4/+1
(This used to be commit 2908ccd14d1aa4ffb7d09714bae78cebb7eee755)
1998-11-13use ZERO_STRUCTPN (checks for NULL) not ZERO_STRUCTP (doesn't check for NULL)Luke Leighton1-6/+6
(This used to be commit 70ac9dbcecdf4be92638a24f096e4a8807997498)
1998-11-13ZERO_STRUCTP does not check argument for NULL.Luke Leighton1-1/+4
ZERO_STRUCTPN _does_ check argument for NULL. (This used to be commit 0be34ca1402f95506680caa3461e94d4ae54bb7d)
1998-11-13fixes for OSF1 compilationAndrew Tridgell7-13/+23
(This used to be commit 5be3c37f50eac35cad3eadf0d24e7a4ee04c075e)
1998-11-13include/smb.h: Re-added zero pointer protection to ZERO_STRUCTP.Jeremy Allison4-12/+10
lib/util_sock.c: Added strerror() calls to getpeername failures (which seem to be giving IRIX trouble at the moment). rpc_parse/parse_sec.c: Changed use of ZERO_STRUCTPN to ZERO_STRUCTP which again does zero pointer protection. smbd/quotas.c: Fixed typo. Jeremy. (This used to be commit b62f008974c96e0302d6c146cf49bc2045bef005)
1998-11-13security descriptorsLuke Leighton6-83/+104
(This used to be commit 9412edfd4c11a26e4ef290839375e3959cf70a7e)
1998-11-13sids in rpctorture changed from fstrings to DOM_SIDLuke Leighton1-2/+2
(This used to be commit bd09e00112fd371aa070b5b47f1d4e27137a7f2e)
1998-11-13fixed compile for FreeBSDAndrew Tridgell2-376/+371
(This used to be commit 78e63e17c59de68200308641dce7c413520a2980)
1998-11-12%\ is an interesting printf argument, but I prefer %sAndrew Tridgell1-1/+1
(This used to be commit b93f686655e871d7bfec9c7601cf3c175008041a)