summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* refinement of random ipc$ SMBtrans torture test. send requests, andLuke Leighton1999-02-111-4/+58
| | | | | don't wait for responses :-) (This used to be commit c1d65e906054297e42d6d177194d3b9ab16c7e35)
* uninitialised pointer being freed if lookupnames failed. oops.Luke Leighton1999-02-111-1/+1
| | | | (This used to be commit d77de868588b6291353fa7a426b6e5da4b5f2c49)
* use jeremy's versions of the UNICODE routines.Luke Leighton1999-02-105-47/+59
| | | | (This used to be commit c5109ff782be8774db47a92b48ca6335ec8d6065)
* Having Well-known Domain Groups ("Domain Admins/Guests/Users") returnedLuke Leighton1999-02-092-2/+2
| | | | | | under SID_NAME_ENUM 0x5 instead of 0x2 (Well-known group instead of Domain Group) was making it impossible to view these groups from USRMGR.EXE. (This used to be commit 3072044134eadbf46350b32c1ed0703681b0d590)
* groups and aliases being "manually" added which do not necessarily haveLuke Leighton1999-02-091-45/+7
| | | | | | | | | | | | representation in the underlying database: removed this code. for example, with the nt->unix mapping system (don't know about the ldap one) if you want "Domain Admins" to appear you _must_ put it in the domaingroup.map file. the previous code was adding builtin aliases and well-known groups even if they weren't in the domain maps. bad idea. (This used to be commit 56469578a1af0fbcf6edddf94c498c7bbfb385c6)
* when multiple independent large rpc calls come in on the same pipe,Luke Leighton1999-02-092-6/+4
| | | | | prev_pdu_file_offset was not being re-initialised to zero. (This used to be commit fcaa1214412f5a417a648d4da5c4332f75f59f57)
* removal of the use of unistrn2 function: replace it with unistr2_to_strLuke Leighton1999-02-098-43/+39
| | | | | which is more appropriate. (This used to be commit ac72fe1ab3d10f64a5945ccbd4ed3817e30f9f7b)
* pwdb_smb_to_sam was not returning NULL for nt name so thatLuke Leighton1999-02-092-13/+25
| | | | | | | | | pwdb_sam_map_names() was using a "blank" static string instead of a NULL pointer for nt names. NULL means over-ride, so the nt name got left as "blank". this causes nt clients to terminate with extreme prejudice. (This used to be commit ddd350198202d6a1d2c715b3dce7db3a5d76a63a)
* Fix for NT BSOD problem. There's no reason to have two "NT usernames" runningMatthew Chapman1999-02-091-3/+1
| | | | | | | | | | | | around anyway. The real problem is, once again, the brokenness of pwdb_sam_map_names et al. This time it is deciding to return blank NT usernames, which NT's redirector objects to. I'm currently working on improving the pwdb/mapping code, should be ready in a couple of weeks. (This used to be commit 30a085bf80982c619cd78aee9ad410ece5f88679)
* UNICODE byte ordering issue: typecast to uint16* replaced with SSVAL()Luke Leighton1999-02-088-21/+21
| | | | (This used to be commit 9084b7e33dfe717bd8d5604ee71d137e3baef0f5)
* reload_services needs to be called prior to init_files but afterLuke Leighton1999-02-081-4/+4
| | | | | get_myname. (This used to be commit 9ab81caa065a0e08368fc9137d42ed810fd4b817)
* iteration of sam passwd entries was an order n-cubed algorithm dueLuke Leighton1999-02-083-25/+92
| | | | | | to resolution of unix name to nt name being unnecessarily _inside_ another loop. (This used to be commit d455c9d2c9f60289d78d0331228f5922152070bf)
* initialise my name (used in %h) prior to loading smb.conf files.Luke Leighton1999-02-031-26/+15
| | | | (This used to be commit ed128c38a88746ec7822d598e72f0106a30a4af7)
* %s not $sLuke Leighton1999-02-031-1/+1
| | | | (This used to be commit 62118e15fed8c9a7e13705842d0ae59669a2dd8f)
* corrections to get data stream for 2nd and subsequent pdus copied fromLuke Leighton1999-02-033-23/+19
| | | | | right place (forgot to subtract 0x18 header bytes) (This used to be commit 5b9a7278da4a25ea217f914c8daae31238fa5cfe)
* cache unix groups so that two-level getgrent calls don't occur.Luke Leighton1999-02-039-31/+226
| | | | (This used to be commit f7dfa55a2e191ae780d399026bce48f68cda4bf0)
* multiple dce/rpc PDUs failed to work after ntlmssp update was added.Luke Leighton1999-02-033-33/+24
| | | | (This used to be commit f082f07e764c04b75b6880f852b80faec86f1b1c)
* server type announcements modified to include the "role" of the server:Luke Leighton1999-02-022-15/+69
| | | | | domain member, pdc, bdc. (This used to be commit d95bb252f838b3612f5eba5d2b61d7b38b01f5ef)
* Minor change to bring smbmount in the main branch in line with some bzeroMichael Warfield1999-02-011-3/+3
| | | | | to memset changes... (This used to be commit 1cb8fcb33bb9e930d8f3cba4cc1ba5aa880c5f8e)
* comma after DOM_MAP_USER removedLuke Leighton1999-02-011-1/+1
| | | | (This used to be commit ce1ae86cbd8dec18ff981d1fce05ed660e263f38)
* Must set password length to 24 after we encrypt a password.Matthew Chapman1999-02-011-0/+2
| | | | (This used to be commit af83778abc5fae0df53ed1874181e33bc8de8d94)
* Initialise NTTIME properly in make_reg_q_enum_key instead of usingMatthew Chapman1999-02-011-1/+1
| | | | | | unix_to_nt_time hack. Seems to me it's ignored anyway (dummy return buffer?). (This used to be commit 1e3873111faf352ef14a098eff250b505ab0b800)
* Fixed a domain functionality problem where NT clients would startMatthew Chapman1999-02-011-30/+11
| | | | | | | | | | | | endlessly repeating a network SAMLOGON (hoping it to change, hmmm...). ( Guess what I found in pwdb_init_sam... unix_to_nt_time(&user->logon_time, (time_t)-1); unix_to_nt_time(&user->logoff_time, (time_t)-1); unix_to_nt_time(&user->kickoff_time, (time_t)-1); ... ) (This used to be commit e9c79c85e6d1352693ab13e907b07d4706975891)
* Added init_nt_time function which initialises an NTTIME to -1.Matthew Chapman1999-02-012-7/+10
| | | | (This used to be commit e1e3875057bed830fdc0aaa9c85f04a1479fd64a)
* Ok... Yet another round of fixes for smbmount and autofs.Michael Warfield1999-01-312-18/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1) The earlier fix for the smbmount race conditions broke the PID registration with smbfs. That fix has been backed out and replaced by a signalling convention from the child smbmount process back to the parent telling the parent when it is safe to exit. 2) Fixing all of this uncovered a NASTY deadly embrace between smbmount, smbmnt, and autofs. This was caused by the setsid call in the daemon code. The smbmnt process no longer was registered as "magic" because it was no longer in the autofs process group. Many many kudos and thanks to H Peter Anvin for giving me the clue to solving this agravating puzzle. The setsid was moved down the where the child signals the parent and a warn left in its place in the daemonize code. 3) Fixed (actually worked around with a BUTT UGLY HACK) a problem with SMB_GET_MOUNTPID in smbumount.c. The smb_fs.h header file has the parameter to this ioctl defined as a uid_t. Unfortunately that's a 32 bit quantity under glibc and it's currently a 16 bit quantity in kernel space. Undefined the macro and redefined it with a parameter of __kernel_uid_t. That should keep us out of trouble till I can have someone fix smb_fs.h in the kernel sources... (This used to be commit c5608093e48ed7fd3b7a1e2a4b1af7e4e59fc2f9)
* fix for enumerate domain users (bug spotted by sean matthews).Luke Leighton1999-01-296-31/+30
| | | | | | | | | | also needed to use start index properly and generate next index. both client and server code need to recognise error code 0x105 when there's not enough room to store all the users in one call. sort this out another time. (This used to be commit ad58cdfac6b85d9431216e32e532ad4d60f9c6dd)
* removed encrypt-password code pre-cli_session_setup(), session setupLuke Leighton1999-01-291-6/+2
| | | | | fn decides whether to encrypt password or not. (This used to be commit 6d14db6a6c101e86b3c62d5098a05d29ae4e9cd8)
* uni_svc_name not uni_srv_nameLuke Leighton1999-01-291-1/+1
| | | | (This used to be commit 14080a564a24f8f35cb8711b912c46f7243cd723)
* rpcclient "Service Control Manager" svcenum [-i] command.Luke Leighton1999-01-287-16/+241
| | | | (This used to be commit a022710f1e3996ecbe6bbe035e1df0bc4c050b34)
* error code cleanupLuke Leighton1999-01-281-27/+27
| | | | (This used to be commit 61c40982d6fde34729dc6850cf3372482392f4c9)
* returned cli_session_setup to previous behaviour. added a couple ofLuke Leighton1999-01-281-7/+22
| | | | | | | | validation checks and also added capability to send plaintext passwords. send "ntpasslen" of zero to do this. sending same plaintext password for pass and ntpass arguments will result in previous behaviour of encrypting password if server supports it. (This used to be commit 17f4c5a785cf20901bcb76510e5ea9b0a6928115)
* Service Control Manager - service enumeration.Luke Leighton1999-01-274-37/+61
| | | | (This used to be commit f4dd8f6b566961890b2933b7a413241bf9b93797)
* set_port warning / unused / global/local variable overlap issuesLuke Leighton1999-01-273-15/+16
| | | | | cmd_svcctl.c tests got put into cvs by mistake. (This used to be commit 0ed70972d72533558f0fdd43e6ec95ac2102b9d0)
* Fuss fuss fuss.Christopher R. Hertel1999-01-271-1/+5
| | | | | | | Added missing default: statements to two switch blocks. Chris -)----- (This used to be commit 0681f6946be2f7b528a1efb6adcc2366a2951644)
* - got client code cleartext passwords working again in cli_session_setup.Luke Leighton1999-01-273-23/+34
| | | | | | | | | | | | | | | | | | | | needed this for some tests. - removed code that said "if lm password is not encrypted then encrypt both lm and nt passwords". actually it said "if lm password length is not 24 bytes and we're in security=user mode..." it didn't bother to check whether the nt password was NULL or not, and doing the encryption inside cli_session_setup is the wrong place. - checked all instances where cli_session_setup is called with cleartext passwords that are expected to then be encrypted (see above) with the test "if pwlen != 24...". there was only one: all the others either provide encrypted passwords, do null sessions or use cli_establish_connection. * recommendation: use cli_establish_connection() in smbwrapper/smbw.c (This used to be commit 2a509e9606f8aefbefa6e7b49878726464dbed44)
* compilation errors due to addition of smb file handle parameter.Luke Leighton1999-01-271-10/+9
| | | | (This used to be commit 03967986ec6a92785b92fefce9e27b8bb088ea85)
* Putting back the -p flag in smbclient.Richard Sharpe1999-01-254-4/+32
| | | | | | However, it seems that the -s flag in smbclient is also ignored :-( (This used to be commit f6c78192664d611d4663ed7459a2789315861eec)
* More changes to get SSL working with 2.x.xRichard Sharpe1999-01-251-0/+26
| | | | | | Now, we have most of the configure support done, next have to fix Makefile.in and other things ... (This used to be commit 3598d90a325eaf90341832c1aa35ad17f6d34af7)
* Fixing up configure to properly support sslRichard Sharpe1999-01-241-0/+4
| | | | (This used to be commit 524c4d2978f8b951708ad30316e3d69ed1c39b75)
* Adding first of the fixes for SSL.Richard Sharpe1999-01-241-9/+14
| | | | | | | | | A whole bunch of string variables in loadparm.c were not being initialized properly. Programs crashed as a result. This set of code not tested, but same code tested elsewhere, and all this guarded by #ifdef HAVE_SSL (This used to be commit fb6048bb8655e8bd87cc69b48c99219d6701a907)
* In security=user mode we must allow cli_connect_serverlist to connect to ourMatthew Chapman1999-01-181-1/+1
| | | | | own smbd process, rather than complaining about a password server loop. (This used to be commit 63d7822b9d87d085194de6895d3e271cedcd3c9a)
* Added load_interfaces in smbpasswd to allow name resolution by broadcast andMatthew Chapman1999-01-181-0/+2
| | | | | multiple interfaces. (Jeremy already committed this in SAMBA_2_0). (This used to be commit f530e289c6f69961c51511e0220fdd886fbd2c78)
* A small change to clitar.c (really, I promise :-)Richard Sharpe1999-01-171-0/+7
| | | | | | | | If we are writing the tar file to stdout, set dbf to stderr so that we do not screw up tar output with log info etc. Compiles clean and tested with 38MB backup. Honest :-) (This used to be commit 57301a3eb4723d0790822d3409da788fec4d8378)
* eclass != ERRDOS && num != ERRmoredataMatthew Chapman1999-01-151-1/+1
| | | | | | | | is not the same as !(eclass == ERRDOS && num == ERRmoredata) This was causing smbclient to segfault on receiving certain errors. (This used to be commit 15bd172530af360cf16ad626330dfe2ea92100df)
* Fixed typo in srv_samr.c where samr_add_groupmem and samr_del_groupmem wereMatthew Chapman1999-01-151-4/+4
| | | | | the wrong way around. (This used to be commit 2b6f4818858d422399321064245a36be1dba9738)
* Finally committing my LDAP changes.Matthew Chapman1999-01-157-101/+523
| | | | | | | | | | | | | | | | | | | * Added new APIs for modifying groups. * RIDs are allocated similarly to NT, starting from 1000 and incrementing by 1 for each new user/group. * RIDs are now consistently in hex * Fixed bugs reported by Allan Bjorklund <allan@umich.edu>: - ldap_close_connection is exported by OpenLDAP - changed to ldap_disconnect - Missing ldap_connect() in getusergroups functions - ldap_next_entry was being called too early while retrieving a sam_struct - LDAP globals should be extern in sampassldap.c * Fixed bugs reported by Martin Hofbauer <mh@bacher.at> - Newly added workstation trust accounts had attributes DU rather than W. - User dn's were forced to start with "uid=XX" rather than using the existing dn. (This used to be commit 91c77f5432169553572bb4d85ad5f09d17524f20)
* Fixed the "You password will expire in 0 days. Would you like toGerald Carter1999-01-132-1/+30
| | | | | | | | | | | | | | | | change it now?" message when you login to a Samba Controlled domain. The fix is a hard coded 42 days from right now until you need to change you pasword again time (see passdb/sampassdb.c:pwdb_smb_to_sam()) Also fixed getsmbfilepwent() so that it will read in the last password change time correctly. * Related to this lib/util_pwdb.c:StrnCaseCmp() returns 0 if the strings match. Chouldn't this be the pther way? Oh well. I didn't change the return code as it was used in several other cases (see lib/util_pwdb.c:pwdb_get_last_set_time()) (This used to be commit 175e598dccd042c0f8b045db45fbe3ae928a7387)
* fixed an uninitialized variable in lookupsmbgrpgid() andGerald Carter1999-01-132-1/+3
| | | | | lookupsmbpwuid that was causing a SEGFAULT in smbd. (This used to be commit cabc7e739cb6a6c8dfc4b6988a8ef5837e3312d2)
* While writing the man page, I realized that it was a bit silly not to acceptChristopher R. Hertel1998-12-291-32/+117
| | | | | | | | command-line parameters. I've added that capability. Of course, the man page is now wrong. Sigh. Chris -)----- (This used to be commit 300a8c9e5077206b706c522c0b4288b00b7afda7)
* Sorry that this is going so slowly.Christopher R. Hertel1998-12-282-3/+9
| | | | | | | | | | I've added debug2html to Makefile.in so that it compiles as part of the normal build. Fixed a typo in debug2html.c as well. One problem: I found it necessary to link with both $(PARAM_OBJ) and $(LIB_OBJ). The result is an executable that is much larger than it really needs to be. (This used to be commit d2d6f0bf362d376f39d0ec7e4b6651ca2b8c8819)