summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Mainly BDC-related changes.Matthew Chapman1999-04-084-8/+370
| | | | | | | | | | | | | | | * Added SEC_CHAN_BDC * Fix for endianness problem reported by Edan Idzerda <edan@mtu.edu>. A BUFFER2 is really a "unibuf" in my terminology and we should treat it as such. * Added some more common NT structures (BIGINT, BUFHDR2, BUFFER4). * Added NET_SAM_SYNC (-> NetDatabaseSync2) RPC for account replication. Still experimental and incomplete, with a few too many NULL security descriptors lying around (must go look at Jeremy's SD code). Haven't worked out password encryption yet either. However, the XXX_INFO structures I've added to rpc_netlogon.h are quite nice as they give some insight into how these objects are stored in the SAM.
* Fix for endianness problem reported by Edan Idzerda <edan@mtu.edu>. AMatthew Chapman1999-04-081-2/+3
| | | | | BUFFER2 is really a "unibuf" in my terminology and we should treat it as such.
* Always do a compile before CVS commit! )-:Tim Potter1999-04-082-1/+2
|
* Forgot about closedir() function for VFS. Hoo embarassing.Tim Potter1999-04-084-2/+13
|
* Changed calls to strncat() to safe_strcat(). Fix from SAMBA_2_0 branch.Tim Potter1999-04-071-4/+4
|
* Dejan Ilic: spotted "NETLOGON" bug, failure of NT_STATUS WRONG_PASSWORD.Luke Leighton1999-04-061-3/+3
|
* Under IRIX, a void function may return a value, even if that value isTim Potter1999-04-051-1/+1
| | | | void!
* Fix incorrect conversion of fd_attempt_open() calls to vfs_ops.open().Tim Potter1999-04-051-9/+12
| | | | Use VFS I/O for fd_attempt_open() and check_access_allowed_for_current_user().
* Use VFS I/O for stat_cache_lookup()Tim Potter1999-04-051-3/+5
|
* Disable VFS routines if no libdl available.Tim Potter1999-04-052-3/+13
|
* Documentation for VFS construction.Tim Potter1999-04-051-0/+9
|
* Fixed spelling typo in Kerberos configure option.Tim Potter1999-04-041-1/+1
|
* Updated for VFS merge.Tim Potter1999-04-041-6/+47
|
* Fixed up incorrect calls to read_file().Tim Potter1999-04-041-2/+2
|
* Use VFS operations for file I/O.Tim Potter1999-04-041-8/+7
| | | | | | Modified args to read_predict to pass in fsp. Renamed sync_file() function to sys_sync_file().
* Use VFS operations for file I/O.Tim Potter1999-04-041-3/+2
| | | | | Modified invocations of fd_attempt_close as it now takes a fsp instead of a fd.
* #ifdef'ed out functions obsoleted by VFS:Tim Potter1999-04-041-4/+14
| | | | | | | | dos_opendir dos_readdirname dos_file_exist Added warning comments to dos_mkdir() as it's used in client code.
* Added smbd/vfs.o and smbd/vfs-wrap.o to object list for smbd.Tim Potter1999-04-041-1/+2
|
* Wrote VFS initialisation routines.Tim Potter1999-04-041-0/+407
| | | | | | | | | | | | | | | | Converted some useful routines from doscalls.c and changed them to use VFS I/O functions: dos_file_exist dos_read_data dos_write_data dos_transfer_file dos_readdirname Some of these functions have been #ifdef'ed out of doscalls.c as they are not used anywhere else. Not sure whether they should be deleted or not. The remaining dos_* calls seem to be used by clients and for locking stuff. This should be cleaned up sometime.
* Wrapped up all VFS disk I/O functions for portability. I rememberTim Potter1999-04-041-0/+180
| | | | | tridge telling me why this needed to be done but I have since forgotten. (-:
* Use VFS operations for file I/O.Tim Potter1999-04-047-110/+126
|
* Call VFS initialisation, share connect and share disconnect functions.Tim Potter1999-04-041-1/+35
| | | | | | | | | Initialise VFS function pointers with symbols from the 'vfs object' file, use disk pointers otherwise. Added a hook to check for a 'default' VFS share (like the [homes] section). Currently empty - I'm unsure whether this will be useful or not.
* Use VFS operations for file I/O.Tim Potter1999-04-041-22/+32
| | | | Changed arg to fd_attempt_close() from fd to fsp_struct.
* Use VFS operations for file I/O.Tim Potter1999-04-041-5/+5
| | | | | Pass files_struct and connection_struct to read_predict() and do_read_prediction() functions, respectively.
* Use VFS operations for file I/O.Tim Potter1999-04-041-3/+3
| | | | | Changed calls to dos_{opendir,readdir} to vfs_{opendir,readdir} equivalents.
* Use VFS operations for file I/O.Tim Potter1999-04-042-7/+8
|
* Added struct vfs_ops describing virtual filesystem operations.Tim Potter1999-04-041-30/+77
| | | | Created constants for pstring and fstring lengths.
* Added configuration parameter 'vfs object' to specify loadable objectTim Potter1999-04-041-0/+20
| | | | file containing a VFS implementation.
* new files needed by profiling codeAndrew Tridgell1999-04-012-0/+145
|
* Ken McDonell from SGI was interested in adding some profilingAndrew Tridgell1999-04-0112-629/+870
| | | | | | | | | | | | capabilities to Samba so that Samba could talk to the SGI PCP (Performance Co-Pilot) apps. This change adds a profiling shared memory area and uses it to count two fairly trivial things, the number of uid switches and the number of SMB packets processes. To add more just edit include/profile.h and then increment it at the right place. I've also added a -P switch to smbstatus to dump the profile area.
* declare ttarf as double, as in client.cAlexandre Oliva1999-03-301-1/+1
|
* use double instead of SMB_BIG_UINT for dir_total and ttarfAlexandre Oliva1999-03-302-4/+4
| | | | (by tridge, merged from branch)
* added SamrQueryDomainInfo call info level 0x3 for kix32.exe supportLuke Leighton1999-03-294-10/+57
|
* "User Manager" - create user + change password now work.Luke Leighton1999-03-253-7/+68
| | | | | next problem: user group adding not supported so an "access denied" message is reported instead of "ok" when a new user is created.
* SMB_BIG_INT dir_total incompatible with %d: must use %llu (line 446)Luke Leighton1999-03-251-1/+1
|
* fixed issues with "Welcome to SAMBA Domain" for when admin user/pass isLuke Leighton1999-03-255-12/+174
| | | | | used to add workstation to domain. unix account db not modified: only SAM password db is used.
* * client/client.c (dir_total): use SMB_BIG_UINTAlexandre Oliva1999-03-253-6/+31
| | | | | | * client/clitar.c (ttarf): ditto * * lib/snprintf.c: support long longs; adapted from Cloyce D. Spradling's patch <cloyce@headgear.org>
* added SAMR_USER_INFO_24 info level to samr_set_userinfo. this is usedLuke Leighton1999-03-254-0/+89
| | | | by "Welcome to SAMBA Domain".
* SAM database "set user info".Luke Leighton1999-03-2518-170/+772
| | | | | | | | | | | | | | | | | | | | | | | ---------------------------- - removed DOM_RID4 - removed SAMR_UNKNOWN_32 - added SAMR_SET_USERINFO (opcode 0x32) - added level 0x1 to SAMR_QUERY_DOM_INFO (needed for create user) - fixed pwdb_gethexpwd() it was failing on XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - added mod_sam21pwd_entry() - preparing to call mod_sam21pwd_entry() - added "user session key" to user_struct.dc. this is md4(nt#) and is needed to decode user's clear-text passwords in SAMR_SET_USERINFO. - split code out in chgpasswd.c to decode 516 byte password buffers.
* NULL pointer handling in nt_lm_owf_genLuke Leighton1999-03-241-1/+4
|
* matt, you had removed a "pointer" from DOM_R_REF structure which made itLuke Leighton1999-03-241-1/+5
| | | | | possible to fix lsa_r_lookup_names, but forgot to add that pointer in to lsa_r_lookup_sids, where DOM_R_REF was also being used.
* removed 2 unnecessary args from make_uni_hdr.Luke Leighton1999-03-249-73/+111
|
* Fixed LSA Lookup Names. There were a few too many NULL pointers in aMatthew Chapman1999-03-245-37/+86
| | | | negative response, which tended to crash lsass.exe.
* dynamic memory allocation in samr enum dom users. works with 849 entries now.Luke Leighton1999-03-234-21/+42
|
* Fixed a typo where the RPC header mem_buffer was initialised as 0x8 bytes longMatthew Chapman1999-03-231-1/+1
| | | | | rather than 0x18. Rather nasty, I doubt the client ever worked for multiple PDU's.
* ERRmoredata is informational and should not be treated as a hard errorMatthew Chapman1999-03-231-7/+6
| | | | anywhere.
* Same infinite loop bug as I fixed in SAMBA_2_0, but I just spent halfMatthew Chapman1999-03-231-4/+4
| | | | an hour tracking it down in HEAD so I'm going to commit it here as well.
* #if defined(HAVE_MYSQL_H) || defined(WITH_MYSQLSAM)Matthew Chapman1999-03-231-1/+1
| | | | should instead have &&.
* Another UNICODE issue - this time BUFFER2 was being transmitted incorrectly.Matthew Chapman1999-03-233-46/+10
|
* If a buffer pointer is NULL then its length_is() attribute should not beMatthew Chapman1999-03-231-4/+19
| | | | | | transmitted. Such a problem was crashing Server Manager.