summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* lookup_alias_name() %s not %d for sid_strLuke Leighton1998-11-171-1/+1
|
* somehow this file got missed in the groupdb commit.Luke Leighton1998-11-171-35/+88
|
* make_uni_hdr() reverted accidentally with a -1 on username lengthLuke Leighton1998-11-171-2/+2
|
* swapped username:uid:[groupridlist]:[aliasridlist] toLuke Leighton1998-11-171-9/+9
| | | | u:u:a:g
* - group database API. oops and oh dear, the threat has been carried out:Luke Leighton1998-11-1747-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.
* Fixed missing NULL check in tar op.Jeremy Allison1998-11-171-2/+4
| | | | Jeremy.
* Moved PRINTCAP_NAME from smb.h to includes to allow it toJeremy Allison1998-11-172-4/+3
| | | | | be tuned per system type. Jeremy.
* Makefile.in: Re-added quotes round ROFF call for DGUX.Jeremy Allison1998-11-163-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.
* O_EXCL fixes for printing files & oplocks.Jeremy Allison1998-11-163-3/+6
| | | | Jeremy.
* Added fixes for machine accounts.Jeremy Allison1998-11-161-10/+32
| | | | Jeremy.
* fixed lmhosts parsing. We were using sizeof(name) where name was char*Andrew Tridgell1998-11-161-3/+2
|
* Updates to handle glob.h - was causing problems on SCO 5.0.4John Terpstra1998-11-164-3/+6
|
* change ROUNDUP to SMB_ROUNDUP to prevent conflicts with system macrosAndrew Tridgell1998-11-153-8/+8
|
* compile with optimisation by default on all compilersAndrew Tridgell1998-11-142-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)
* automatically uppercase server and share names (win95 won't handleAndrew Tridgell1998-11-143-12/+7
| | | | lowercase share names!)
* fixed setmode in smbclientAndrew Tridgell1998-11-141-7/+6
|
* - handle servers that don't support getattrE (ie. NT)Andrew Tridgell1998-11-142-4/+6
| | | | - use * in clitar instead of *.*
* Fixed problem with smbclient issuing '*.*' to NT server when anJeremy Allison1998-11-141-5/+5
| | | | | NT server needs '*'. Win95/98 doesn't care either way :-). Jeremy.
* prompt for password on smbclient -LAndrew Tridgell1998-11-141-1/+0
|
* - new prototypesAndrew Tridgell1998-11-142-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)
* allow all user to view the configAndrew Tridgell1998-11-141-36/+22
|
* remove code that allows installation via cgiAndrew Tridgell1998-11-142-21/+36
| | | | swat will now give an error message if run via cgi
* Removed acconfig.h configure configure.in include/config.h.in: Made ↵Jeremy Allison1998-11-1426-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.
* Change to beta1.Jeremy Allison1998-11-131-1/+1
|
* Makefile.in configure configure.in include/config.h.in: Changes for DGUX and ↵Jeremy Allison1998-11-1322-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.
* reverted includes change for FreeBSD as it breaks IRIXAndrew Tridgell1998-11-131-1/+0
|
* need 32 bit status codes to be negotiated because of STUPID dos "error moreLuke Leighton1998-11-131-1/+1
| | | | | data needed" message gets treated as a serious error code (which it isn't) so the client code terminates.
* Fixed timing window created by daemonize function. Smbmount was going daemonMichael Warfield1998-11-131-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.
* LOCAL_GRP and DOMAIN_GRP are return typesLuke Leighton1998-11-131-0/+4
|
* ZERO_STRUCTP not PNLuke Leighton1998-11-131-6/+6
|
* oops - ZERO_STRUCTP() issues again...Luke Leighton1998-11-131-4/+1
|
* use ZERO_STRUCTPN (checks for NULL) not ZERO_STRUCTP (doesn't check for NULL)Luke Leighton1998-11-131-6/+6
|
* ZERO_STRUCTP does not check argument for NULL.Luke Leighton1998-11-131-1/+4
| | | | ZERO_STRUCTPN _does_ check argument for NULL.
* fixes for OSF1 compilationAndrew Tridgell1998-11-137-13/+23
|
* include/smb.h: Re-added zero pointer protection to ZERO_STRUCTP.Jeremy Allison1998-11-134-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.
* security descriptorsLuke Leighton1998-11-136-83/+104
|
* sids in rpctorture changed from fstrings to DOM_SIDLuke Leighton1998-11-131-2/+2
|
* fixed compile for FreeBSDAndrew Tridgell1998-11-132-376/+371
|
* %\ is an interesting printf argument, but I prefer %sAndrew Tridgell1998-11-121-1/+1
|
* we don't have any jpeg images any moreAndrew Tridgell1998-11-121-7/+0
|
* Removed code that used printf/fprintf in password changin libraries.Herb Lewis1998-11-125-27/+70
| | | | Now passes strings instead.
* security descriptors.Luke Leighton1998-11-1211-93/+387
| | | | kanji const char* warnings.
* please remember to check that code compiles before checkin!Andrew Tridgell1998-11-121-2/+2
|
* .cvsignore: Removed old entries.Herb Lewis1998-11-125-52/+64
| | | | | | | | | | | | client/client.c: include/client.h: Added some debug messages that the old client used to generate. These are needed to make scripts such as 'findsmb' work - there may be other changes to keep backwards output compatibility. Do we need a -old-client-compat argument ? libsmb/clientgen.c: Fixed crash bug where malloc'ed data wasn't being cleared - corrupted malloc chains. web/swat.c: John's changes to get rid of "ghost" table entries.
* Fixed smbpasswd so that enabling a user who already has a passwordJeremy Allison1998-11-121-2/+20
| | | | | | doesn't require a new password entry. Sets the 'enable/disable' code back to being symmetrical. Jeremy.
* include/kanji.h include/proto.h lib/kanji.c: Added const parameters in ↵Jeremy Allison1998-11-123-42/+44
| | | | | | | string wrappers. printing/printing.c: Added OSF1 fix. Jeremy.
* jean-f. sent me some S-1-3-0,1,2,3 SIDs and names. S-1-3 doesn't exist.Luke Leighton1998-11-128-30/+149
| | | | security descriptor testing. hey wow, you can get a SD then send it back!
* changes from John Sygulla for changing remote passwordsHerb Lewis1998-11-121-17/+79
|
* cleaning up conflicts between group code not yet committed andLuke Leighton1998-11-129-701/+2000
| | | | | | | changes from yesterday by me, jeremy and andrew. jeremy, your ACB_PWNOTREQ mod would have caused a crash if the user didn't exist (first check should be for smb_pass != NULL)
* security descriptors and registry.Luke Leighton1998-11-124-3/+102
|