Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Mainly BDC-related changes. | Matthew Chapman | 1999-04-08 | 4 | -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>. A | Matthew Chapman | 1999-04-08 | 1 | -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 Potter | 1999-04-08 | 2 | -1/+2 | |
| | ||||||
* | Forgot about closedir() function for VFS. Hoo embarassing. | Tim Potter | 1999-04-08 | 4 | -2/+13 | |
| | ||||||
* | Changed calls to strncat() to safe_strcat(). Fix from SAMBA_2_0 branch. | Tim Potter | 1999-04-07 | 1 | -4/+4 | |
| | ||||||
* | Dejan Ilic: spotted "NETLOGON" bug, failure of NT_STATUS WRONG_PASSWORD. | Luke Leighton | 1999-04-06 | 1 | -3/+3 | |
| | ||||||
* | Under IRIX, a void function may return a value, even if that value is | Tim Potter | 1999-04-05 | 1 | -1/+1 | |
| | | | | void! | |||||
* | Fix incorrect conversion of fd_attempt_open() calls to vfs_ops.open(). | Tim Potter | 1999-04-05 | 1 | -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 Potter | 1999-04-05 | 1 | -3/+5 | |
| | ||||||
* | Disable VFS routines if no libdl available. | Tim Potter | 1999-04-05 | 2 | -3/+13 | |
| | ||||||
* | Documentation for VFS construction. | Tim Potter | 1999-04-05 | 1 | -0/+9 | |
| | ||||||
* | Fixed spelling typo in Kerberos configure option. | Tim Potter | 1999-04-04 | 1 | -1/+1 | |
| | ||||||
* | Updated for VFS merge. | Tim Potter | 1999-04-04 | 1 | -6/+47 | |
| | ||||||
* | Fixed up incorrect calls to read_file(). | Tim Potter | 1999-04-04 | 1 | -2/+2 | |
| | ||||||
* | Use VFS operations for file I/O. | Tim Potter | 1999-04-04 | 1 | -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 Potter | 1999-04-04 | 1 | -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 Potter | 1999-04-04 | 1 | -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 Potter | 1999-04-04 | 1 | -1/+2 | |
| | ||||||
* | Wrote VFS initialisation routines. | Tim Potter | 1999-04-04 | 1 | -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 remember | Tim Potter | 1999-04-04 | 1 | -0/+180 | |
| | | | | | tridge telling me why this needed to be done but I have since forgotten. (-: | |||||
* | Use VFS operations for file I/O. | Tim Potter | 1999-04-04 | 7 | -110/+126 | |
| | ||||||
* | Call VFS initialisation, share connect and share disconnect functions. | Tim Potter | 1999-04-04 | 1 | -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 Potter | 1999-04-04 | 1 | -22/+32 | |
| | | | | Changed arg to fd_attempt_close() from fd to fsp_struct. | |||||
* | Use VFS operations for file I/O. | Tim Potter | 1999-04-04 | 1 | -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 Potter | 1999-04-04 | 1 | -3/+3 | |
| | | | | | Changed calls to dos_{opendir,readdir} to vfs_{opendir,readdir} equivalents. | |||||
* | Use VFS operations for file I/O. | Tim Potter | 1999-04-04 | 2 | -7/+8 | |
| | ||||||
* | Added struct vfs_ops describing virtual filesystem operations. | Tim Potter | 1999-04-04 | 1 | -30/+77 | |
| | | | | Created constants for pstring and fstring lengths. | |||||
* | Added configuration parameter 'vfs object' to specify loadable object | Tim Potter | 1999-04-04 | 1 | -0/+20 | |
| | | | | file containing a VFS implementation. | |||||
* | new files needed by profiling code | Andrew Tridgell | 1999-04-01 | 2 | -0/+145 | |
| | ||||||
* | Ken McDonell from SGI was interested in adding some profiling | Andrew Tridgell | 1999-04-01 | 12 | -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.c | Alexandre Oliva | 1999-03-30 | 1 | -1/+1 | |
| | ||||||
* | use double instead of SMB_BIG_UINT for dir_total and ttarf | Alexandre Oliva | 1999-03-30 | 2 | -4/+4 | |
| | | | | (by tridge, merged from branch) | |||||
* | added SamrQueryDomainInfo call info level 0x3 for kix32.exe support | Luke Leighton | 1999-03-29 | 4 | -10/+57 | |
| | ||||||
* | "User Manager" - create user + change password now work. | Luke Leighton | 1999-03-25 | 3 | -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 Leighton | 1999-03-25 | 1 | -1/+1 | |
| | ||||||
* | fixed issues with "Welcome to SAMBA Domain" for when admin user/pass is | Luke Leighton | 1999-03-25 | 5 | -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_UINT | Alexandre Oliva | 1999-03-25 | 3 | -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 used | Luke Leighton | 1999-03-25 | 4 | -0/+89 | |
| | | | | by "Welcome to SAMBA Domain". | |||||
* | SAM database "set user info". | Luke Leighton | 1999-03-25 | 18 | -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_gen | Luke Leighton | 1999-03-24 | 1 | -1/+4 | |
| | ||||||
* | matt, you had removed a "pointer" from DOM_R_REF structure which made it | Luke Leighton | 1999-03-24 | 1 | -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 Leighton | 1999-03-24 | 9 | -73/+111 | |
| | ||||||
* | Fixed LSA Lookup Names. There were a few too many NULL pointers in a | Matthew Chapman | 1999-03-24 | 5 | -37/+86 | |
| | | | | negative response, which tended to crash lsass.exe. | |||||
* | dynamic memory allocation in samr enum dom users. works with 849 entries now. | Luke Leighton | 1999-03-23 | 4 | -21/+42 | |
| | ||||||
* | Fixed a typo where the RPC header mem_buffer was initialised as 0x8 bytes long | Matthew Chapman | 1999-03-23 | 1 | -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 error | Matthew Chapman | 1999-03-23 | 1 | -7/+6 | |
| | | | | anywhere. | |||||
* | Same infinite loop bug as I fixed in SAMBA_2_0, but I just spent half | Matthew Chapman | 1999-03-23 | 1 | -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 Chapman | 1999-03-23 | 1 | -1/+1 | |
| | | | | should instead have &&. | |||||
* | Another UNICODE issue - this time BUFFER2 was being transmitted incorrectly. | Matthew Chapman | 1999-03-23 | 3 | -46/+10 | |
| | ||||||
* | If a buffer pointer is NULL then its length_is() attribute should not be | Matthew Chapman | 1999-03-23 | 1 | -4/+19 | |
| | | | | | | transmitted. Such a problem was crashing Server Manager. |