summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
1998-11-21global change from samba.anu.edu.au to samba.orgAndrew Tridgell3-3/+3
(This used to be commit 42d2509c9fab5c774fd33b9d4b5bd1ee125479c3)
1998-11-21Added changes to smbtar submitted by Sandy WhiteselRichard Sharpe1-1/+7
Added some extra documentation for smbclient Grr, Jeremy beat me to a bug fix in client.c Will have to get Jeremy to tell me how to check out SAMBA_2_0 :-) (This used to be commit 8594c4bcae503972679c55a2fcab8eb69faf3ae3)
1998-11-21make SWAT obey the global "hosts allow" and "hosts deny" settings.Andrew Tridgell2-13/+29
any attempt to run swat from a host that is disallowed will give an error. (This used to be commit fe4ef4bbef01aed75807c884249ca8efa5de4140)
1998-11-21try to use *SMBSERVER to connect to password server if the firstAndrew Tridgell1-13/+11
session_request fails. (This used to be commit ab2370e7ac770f1e32b8d726ab955457fcc8c2d7)
1998-11-21add a error code when failed to get lockAndrew Tridgell1-1/+1
(This used to be commit 05696b4bbfb66bfdbdc19f395efe062ac890bc41)
1998-11-21formatting changeAndrew Tridgell1-1/+1
(This used to be commit 94fc7fe3afa1dc5547050248738eb697c1eeef59)
1998-11-21use bindir not sbindir in Makefile to ensure that we don't breakAndrew Tridgell1-1/+3
existing setups (This used to be commit e97cbd6912a58d4985c2b8a649cfe6982809892d)
1998-11-21smbd/password.c: Added *SMBSERVER fix is name is too long.Jeremy Allison2-2/+10
web/swat.c: Changed '?' to help. Jeremy. (This used to be commit 631913ea856926a77304692c74a1bd27faead179)
1998-11-20Instrumented hack fix with debug level 10 statements just in case :-).Jeremy Allison1-0/+3
Jeremy. (This used to be commit 10f51b85722141f99ffecc3f19a39de108400828)
1998-11-20acconfig.h configure configure.in include/config.h.in: Added -lsec and ↵Jeremy Allison6-190/+672
-lsecurity checks in a more sane way. rpc_client/cli_netlogon.c: Removed correct bits check to see if this works with an NT3.51 PDC. rpc_parse/parse_samr.c: Fixed compile warnings. Jeremy. (This used to be commit 34d8f4b1c4d59ab3c009360fc67eef9361dd859b)
1998-11-20Fixed stupid blunder where I renamed getpwanam to getpwnam.Jeremy Allison3-4/+4
Jeremy. (This used to be commit b02d21a73d7f098c5599c606abbb5c92ea4ba13e)
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)