summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Trying to improve DC location & browsing performance for the average userMatthew Chapman1999-04-117-181/+208
| | | | | | | | | | | | | | | | | | | who doesn't know what an LMB or DMB is. * check_master_browser_exists now performs the check the first time around, so if there is indeed no master browser then Samba takes up the job much faster. * Upped default OS level to 32. There is no reason why some stupid little Windows box should become LMB instead of a Samba *server*. * "domain master" now defaults to "auto". Currently this attempts to become DMB iff Samba is the PDC (ala Windows NT). "preferred master" also defaults to "auto", which enables preferred master iff Samba is DMB. * lp_server_role now just returns the predetermined role, rather than working it out each time, since the server role is becoming very heavily used (esp for the BDC code).
* Fixed rpcclient's samuser command.Matthew Chapman1999-04-111-37/+35
|
* Incorrect length (number of unicode characters rather than buffer size)Matthew Chapman1999-04-111-1/+1
| | | | passed to ascii_to_unibuf in make_buffer2 was breaking User Manager.
* Modification to compile under egcs 2.91.63.Tim Potter1999-04-111-3/+6
|
* Put this back after it dropped off.John Terpstra1999-04-091-0/+51
|
* Mainly BDC-related changes.Matthew Chapman1999-04-081-10/+26
| | | | | | | | * Added SEC_CHAN_BDC * Added -b switch to smbpasswd (for a BDC (server) trust account). * Propagate sec_chan into the various functions which change trust account passwords, so they can be used for domain control and inter-domain trusts.
* Mainly BDC-related changes.Matthew Chapman1999-04-081-1/+5
| | | | | | | * Added SEC_CHAN_BDC * Propagate sec_chan into the various functions which change trust account passwords, so they can be used for domain control and inter-domain trusts.
* Mainly BDC-related changes.Matthew Chapman1999-04-0810-56/+648
| | | | | | | | | | | | | | | | | | * Added SEC_CHAN_BDC * Propagate sec_chan into the various functions which change trust account passwords, so they can be used for domain control and inter-domain trusts. * 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.
* 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
|