summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Move admin user check into a helper function.Andrew Bartlett2001-08-171-18/+35
| | | | | | | | Formatting fixes.
| * Move read only check into a helper funcion. Ensure conn->service is setAndrew Bartlett2001-08-171-40/+50
| | | | | | | | before we use it to find a share's details.
| * Restore a debug I think I dropped earlierAndrew Bartlett2001-08-171-0/+2
| |
| * smbd/auth_server: Doco, we want to use cli_nt_error here soonAndrew Bartlett2001-08-175-36/+47
| | | | | | | | | | | | | | | | | | smbd/password.c: We don't use globals here anymore smbd/reply.c: Tidyness, global_myworkgroup must die! smbd/service.c: Move some of the make_connection code into a helper function.
| * Style cleanup for the last vuid change.Andrew Bartlett2001-08-173-11/+17
| | | | | | | | | | | | | | Style, doco and DEBUG() fixes for auth_smbpasswd.c (In particular for the account control call). Andrew Bartlett
| * One less getpwnam() call...Andrew Bartlett2001-08-172-11/+6
| | | | | | | | Andrew Bartlett
| * removed unused fileAndrew Tridgell2001-08-161-91/+0
| |
| * removed unused fileAndrew Tridgell2001-08-161-113/+0
| |
| * Added Jim McDonough's Win9x take ownership fix.Jeremy Allison2001-08-131-0/+12
| | | | | | | | Jeremy.
| * merge from 2.2Gerald Carter2001-08-132-0/+16
| |
| * Add printing of errno when POSIX lock requests fail.Jeremy Allison2001-08-131-3/+3
| | | | | | | | Jeremy.
| * Moved across definition of dos error types from smb.h to doserr.hTim Potter2001-08-132-4/+7
| |
| * Converted to new error API.Tim Potter2001-08-131-28/+32
| | | | | | | | | | | | Now that we support NT errors from the client, appropriate values will need to be filled in for the various invocations of check_error() within the torture code.
| * Fixed typo in debug message.Tim Potter2001-08-131-2/+2
| |
| * Fixed up 'orrible formatting.Tim Potter2001-08-131-21/+21
| |
| * Fixed crash bug when attempting to list contents of non-existentTim Potter2001-08-121-0/+3
| | | | | | | | directory.
| * this is a big global fix for the ptr = Realloc(ptr, size) bug.Simo Sorce2001-08-1230-136/+363
| | | | | | | | | | | | many possible mem leaks, and segfaults fixed. someone should port this fix to 2.2 also.
| * Kill of idra's extra become_root()/unbecome_root() now I have fixed the actualAndrew Bartlett2001-08-121-2/+0
| | | | | | | | | | | | problem. Andrew Bartlett
| * This patch does a number of things, mostly smaller than they look :-)Andrew Bartlett2001-08-1216-876/+702
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particuar, it moves the domain_client_validate stuff out of auth_domain.c to somwhere where they (I hope) they can be shared with winbind better. (This may need some work) The main purpose of this patch was however to improve some of the internal documentation and to correctly place become_root()/unbecome_root() calls within the code. Finally this patch moves some more of auth.c into other files, auth_unix.c in this case. Andrew Bartlett
| * it was half committed last time,Simo Sorce2001-08-121-2/+2
| | | | | | | | thanks to Hasch@t-online.de (Juergen Hasch) for spotting that.
| * Without this become_root()/unbecome_root() pair I was not able to loginSimo Sorce2001-08-111-3/+3
| | | | | | | | | | | | | | | | | | when samba acting as a PDC. I also removed a pdb_free_sam(sampass), because it sampass was never initialized before... Please abartlet can you check this patch is ok? I feel like this was a bad check-in
| * Added Mike Davidsons Tru64 ACL patch.Jeremy Allison2001-08-106-22/+32
| | | | | | | | Jeremy.
| * Merge in the NT drivers changes from 2.2.Jeremy Allison2001-08-104-404/+668
| | | | | | | | Jeremy.
| * - avoid possible mem leaks in rpcclient/cmd_*.c (talloc_destroy not performed)Simo Sorce2001-08-1013-112/+713
| | | | | | | | | | | | | | - ported two rpc back from TNG (WINREG: shutdown and abort shutdown) - some optimizations and changed some DEBUG statement in loadparm.c - changed rpcclient a bit moved from non reentrant next_token_nr to next_token - in cmd_reg.c not sure if getopt will work ok on all platforms only setting optind=0
| * Debug cleanups.Tim Potter2001-08-101-3/+3
| |
| * Had the test for cli_is_error() reversed. You idiot Stimpy!Tim Potter2001-08-101-1/+1
| |
| * Fixes for new client error api.Tim Potter2001-08-101-2/+2
| |
| * Use new client error api.Tim Potter2001-08-101-12/+13
| |
| * Use the new client error api.Tim Potter2001-08-104-6/+8
| |
| * A rewrite of the error handling in the libsmb client code. I've separatedTim Potter2001-08-1013-182/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | out the error handling into a bunch of separate functions rather than all being handled in one big function. Fetch error codes from the last received packet: void cli_dos_error(struct cli_state *cli, uint8 *eclass, uint32 *num); uint32 cli_nt_error(struct cli_state *); Convert errors to UNIX errno values: int cli_errno_from_dos(uint8 eclass, uint32 num); int cli_errno_from_nt(uint32 status); int cli_errno(struct cli_state *cli); Detect different kinds of errors: BOOL cli_is_dos_error(struct cli_state *cli); BOOL cli_is_nt_error(struct cli_state *cli); BOOL cli_is_error(struct cli_state *cli); This also means we now support CAP_STATUS32 as we can decode and understand NT errors instead of just DOS errors. Yay! Ported a whole bunch of files in libsmb to use this new API instead of the just the DOS error.
| * More constant conversions.Tim Potter2001-08-102-4/+4
| |
| * Removed nt_error field from cli_state as it was not used anywhere.Tim Potter2001-08-102-8/+1
| |
| * Replaced the duplicate DOS constants with appropriate ones from doserr.h toTim Potter2001-08-105-332/+335
| | | | | | | | | | emphasise the fact that the spoolss pipe returns DOS error codes instead of 32-bit nt status codes.
* | Added stuff for developmental building.John Terpstra2001-09-011-1/+3
| |
* | Fixed read beyond EOF problem (still needs testing :-).Jeremy Allison2001-08-311-4/+9
| | | | | | | | Jeremy.
* | Fixed up broken readbraw/writebraw calls. Still needs testing.Jeremy Allison2001-08-314-291/+288
| | | | | | | | Jeremy.
* | Fixed NULL pointer redirect in unlink internals.Jeremy Allison2001-08-301-136/+120
| | | | | | | | Jeremy.
* | Fixed silly typo.Jeremy Allison2001-08-303-581/+593
| | | | | | | | Jeremy.
* | Fix from Paul Green to set correct lengths.Jeremy Allison2001-08-302-6/+6
| | | | | | | | Jeremy.
* | if there are no ACL entries we need to use standard chmodHerb Lewis2001-08-301-2/+2
| |
* | Fixed adding and removing DFS links on Samba using NT.Shirish Kalele2001-08-303-19/+27
| |
* | Spinlock fixes for Solaris from HEAD.Jeremy Allison2001-08-302-13/+13
| | | | | | | | Jeremy.
* | Fixup compiler warnings.Jeremy Allison2001-08-304-5/+12
| | | | | | | | Jeremy.
* | this was a stupid typo,Simo Sorce2001-08-301-1/+1
| | | | | | | | | | thanks to Jochen Dolze (dolze@epcnet.de) for pointing out. SSS.
* | fixed unitialiazed username spotted by Andrew Esh.Gerald Carter2001-08-301-0/+2
| |
* | always compile before commit :-)Gerald Carter2001-08-301-1/+1
| |
* | merge from APPLIANCE_TNGGerald Carter2001-08-301-0/+1
| |
* | merge from APPLIANCE_TNG (fix for enumerating groups in trusted domains)Gerald Carter2001-08-301-40/+68
| |
* | reran autoconfGerald Carter2001-08-291-50/+47
| |
* | removed outdated commentGerald Carter2001-08-291-3/+0
| |