summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1999-02-01Fixed a domain functionality problem where NT clients would startMatthew Chapman1-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)
1999-02-01Added init_nt_time function which initialises an NTTIME to -1.Matthew Chapman2-7/+10
(This used to be commit e1e3875057bed830fdc0aaa9c85f04a1479fd64a)
1999-01-31Ok... Yet another round of fixes for smbmount and autofs.Michael Warfield2-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)
1999-01-29fix for enumerate domain users (bug spotted by sean matthews).Luke Leighton6-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)
1999-01-29removed encrypt-password code pre-cli_session_setup(), session setupLuke Leighton1-6/+2
fn decides whether to encrypt password or not. (This used to be commit 6d14db6a6c101e86b3c62d5098a05d29ae4e9cd8)
1999-01-29uni_svc_name not uni_srv_nameLuke Leighton1-1/+1
(This used to be commit 14080a564a24f8f35cb8711b912c46f7243cd723)
1999-01-28rpcclient "Service Control Manager" svcenum [-i] command.Luke Leighton7-16/+241
(This used to be commit a022710f1e3996ecbe6bbe035e1df0bc4c050b34)
1999-01-28error code cleanupLuke Leighton1-27/+27
(This used to be commit 61c40982d6fde34729dc6850cf3372482392f4c9)
1999-01-28returned cli_session_setup to previous behaviour. added a couple ofLuke Leighton1-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)
1999-01-27Service Control Manager - service enumeration.Luke Leighton4-37/+61
(This used to be commit f4dd8f6b566961890b2933b7a413241bf9b93797)
1999-01-27set_port warning / unused / global/local variable overlap issuesLuke Leighton3-15/+16
cmd_svcctl.c tests got put into cvs by mistake. (This used to be commit 0ed70972d72533558f0fdd43e6ec95ac2102b9d0)
1999-01-27Fuss fuss fuss.Christopher R. Hertel1-1/+5
Added missing default: statements to two switch blocks. Chris -)----- (This used to be commit 0681f6946be2f7b528a1efb6adcc2366a2951644)
1999-01-27- got client code cleartext passwords working again in cli_session_setup.Luke Leighton3-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)
1999-01-27compilation errors due to addition of smb file handle parameter.Luke Leighton1-10/+9
(This used to be commit 03967986ec6a92785b92fefce9e27b8bb088ea85)
1999-01-25Putting back the -p flag in smbclient.Richard Sharpe4-4/+32
However, it seems that the -s flag in smbclient is also ignored :-( (This used to be commit f6c78192664d611d4663ed7459a2789315861eec)
1999-01-25More changes to get SSL working with 2.x.xRichard Sharpe1-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)
1999-01-24Fixing up configure to properly support sslRichard Sharpe1-0/+4
(This used to be commit 524c4d2978f8b951708ad30316e3d69ed1c39b75)
1999-01-24Adding first of the fixes for SSL.Richard Sharpe1-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)
1999-01-18In security=user mode we must allow cli_connect_serverlist to connect to ourMatthew Chapman1-1/+1
own smbd process, rather than complaining about a password server loop. (This used to be commit 63d7822b9d87d085194de6895d3e271cedcd3c9a)
1999-01-18Added load_interfaces in smbpasswd to allow name resolution by broadcast andMatthew Chapman1-0/+2
multiple interfaces. (Jeremy already committed this in SAMBA_2_0). (This used to be commit f530e289c6f69961c51511e0220fdd886fbd2c78)
1999-01-17A small change to clitar.c (really, I promise :-)Richard Sharpe1-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)
1999-01-15eclass != ERRDOS && num != ERRmoredataMatthew Chapman1-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)
1999-01-15Fixed typo in srv_samr.c where samr_add_groupmem and samr_del_groupmem wereMatthew Chapman1-4/+4
the wrong way around. (This used to be commit 2b6f4818858d422399321064245a36be1dba9738)
1999-01-15Finally committing my LDAP changes.Matthew Chapman7-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)
1999-01-13Fixed the "You password will expire in 0 days. Would you like toGerald Carter2-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)
1999-01-13fixed an uninitialized variable in lookupsmbgrpgid() andGerald Carter2-1/+3
lookupsmbpwuid that was causing a SEGFAULT in smbd. (This used to be commit cabc7e739cb6a6c8dfc4b6988a8ef5837e3312d2)
1998-12-29Updated the docs to match the changes I made to debug2html.Christopher R. Hertel3-21/+30
Chris -)----- (This used to be commit fcbdf5fe9790298d519b678ff3a6121641c1e6d9)
1998-12-29While writing the man page, I realized that it was a bit silly not to acceptChristopher R. Hertel1-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)
1998-12-29First go at documentation for debug2html.Christopher R. Hertel3-0/+175
Chris -)----- (This used to be commit a045186d4d5d8121f46ffc380aeca1904e0686fe)
1998-12-28Sorry that this is going so slowly.Christopher R. Hertel2-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)
1998-12-27Modified packaging-prep script to remove use of "rm -f *".John Terpstra1-3/+2
(This used to be commit 1d9540bfc00381cd86f47e5673d902352e9f4b55)
1998-12-21Changing to PHT standard SPEC settings.John Terpstra1-2/+1
(This used to be commit bf2b97f5905419cdfe43b0f0f1f3b7b85881711a)
1998-12-20fix for potential lsass.exe crashing due to negative response fromLuke Leighton4-26/+30
LsaLookupNames being incorrect. this is a bit wierd: why would the lsass.exe on the nt _client_ crash due to an LsaLookupNames response from a samba _server_? (This used to be commit a15a3f95f2a14ab164ca758e2145444a803190b2)
1998-12-20adding start of remote lookup for domain member role.Luke Leighton1-29/+125
(This used to be commit 090512e18770bab9222a30e68dee83d1612eca10)
1998-12-20lib_sec_ctxt.o not .cLuke Leighton1-1/+1
(This used to be commit 2485b8e706a2d0358f075dcb8b03bc75fa122ee1)
1998-12-19Updated makefile-path info contributed on the samba-technical mailing list.John Terpstra3-57/+87
(This used to be commit bd3770235dd417d06e47d1ba16bcedc8a94e9ff9)
1998-12-19Fixed problems in debug code because I did not compileRichard Sharpe1-4/+4
first :-( (This used to be commit 47e36bed8fc3cec3a63087f30d680f2431bcfe55)
1998-12-19Added some debugging to clitar ...Richard Sharpe1-0/+4
(This used to be commit b75af70990c3a9eaed9e3537b79e8e66a0ae8286)
1998-12-17Fixed tar recurse bug.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 7be5c8e8f734a2bd8f4e3c38b7f94c501ad35a19)
1998-12-17Fix bug with nmbd running wild due to recursion in ↵Jeremy Allison3-9/+30
retransmit_or_expire_response_records(). Jeremy. (This used to be commit d5f05b4faef50e7cfc0ed05a87d92e14102106c6)
1998-12-17and in head branch:Andrew Tridgell4-3/+6
make sure we include sys/mman.h if available (This used to be commit ccf644388732287da01a943ea826187b5394ebc6)
1998-12-16A while back, Andrew and I talked about making the debug parsing code aChristopher R. Hertel7-41/+184
better "fit" with other Samba code. This is a small first step toward doing what (I think) we agreed to do. I've moved the key function from ubiqx/debugparse.c into lib/debug.c. I have also moved the enum from ubiqx/debugparse.h into the debug section in smb.h. The next thing to do is to get debug2html added into the Makefile.in so that it is always produced when compiling the suite. Chris -)----- (This used to be commit 782474f41e0c2bc0b1f098758a3e5cb44e87d8b1)
1998-12-15on Linux force fcntl/mmap based shared memory and on other systemsAndrew Tridgell1-0/+13
force IPC/shmem based shared memory. (This used to be commit ef5f752a4ae818d9c739a064410a02fa48a477e3)
1998-12-14server_cryptkey() now calling cli_connectserverlist(). stupid microsoftLuke Leighton2-76/+15
idiotic *SMBSERVER connectionism added to cli_connect_serverlist(). also added check for protocol < LANMAN2. (This used to be commit c2bcb3a286f22ed4f0f55da2a3eb2bff17906fb1)
1998-12-14added sid_name_use array argument to lsa_lookup_names and lsa_lookup_sids.Luke Leighton8-12/+84
(This used to be commit 0b2095e092d747f741e78a3349f0b81a72811629)
1998-12-14trying to track down issues in get_home_dir().Luke Leighton4-7/+21
(This used to be commit 2cce78aa00f31b79d51aaf46da72019b926e8226)
1998-12-11%U substitution should be unix user not nt userLuke Leighton2-4/+9
(This used to be commit f4b8a283065a7c1ae233a0ae01ac76f32fea6b31)
1998-12-09adding svcctl parsing codeLuke Leighton4-9/+329
(This used to be commit c6f2f58c74cd79d84ec4a7802882da07a9af80d4)
1998-12-09bugfix in smb_err_msgLuke Leighton1-3/+2
(This used to be commit 870bccb174337dec5cc14a5e7740662de56e629c)
1998-12-09oops, util_pwdb.c appears to be included in PASSDB_OBJ not LIB_OBJ.Luke Leighton4-18/+17
(This used to be commit ca10eb44909e66a07dc7f88b0a740390f9ec3922)