summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* More printf fixes - size_t is long on some architectures.Tim Potter2003-07-2415-26/+26
| | | | (This used to be commit ba4d334b822248d8ab929c9568533431603d967e)
* Fix from matt.zinkevicius@hp.com to stop files being created on read-onlyJeremy Allison2003-07-241-0/+1
| | | | | | shares in some circumstances. Jeremy. (This used to be commit b826e8c8980d26e932da55384f109f0fe6a124c7)
* Fix packet signing with asynchronous oplock breaks. Removed bad error messageJeremy Allison2003-07-243-10/+75
| | | | | | | due to w2k bug. I think this code is now working.... Need more testing of course but works on all the obvious cases I can think of. Jeremy. (This used to be commit a6e537f6611cc1357fffea0b69901fba7c9ad6ea)
* Add a macro to check whether module-specific data set already or not. ↵Alexander Bokovoy2003-07-241-0/+3
| | | | | | Returns True or False. Should support further encapsulation of VFS-specific structs (This used to be commit 180e617f54021ced270c7c8cb86dd478d809d041)
* Rise debug level to 5 for not-found-nt-quota message (quota setting for user ↵Alexander Bokovoy2003-07-241-1/+1
| | | | | | wasn't found) (This used to be commit 422dffdc40742091df027fcffbc074eb2b1396dc)
* Some fclose -> x_fclose found by Tony Jago.Jeremy Allison2003-07-241-2/+2
| | | | | Jeremy. (This used to be commit 919078cf397155ede0169ce95a726d0fdbef696a)
* Ensure everywhere we defer an incoming SMB request (blocking lock queue,Jeremy Allison2003-07-244-250/+256
| | | | | | | | in oplock break state, change notify queue) we also push the MID onto the deferred signing queue. Tomorrow I will test this with valgrind and oplock tests. Jeremy. (This used to be commit 33a377f3726c85379ba5b962dd7c8ead337b892f)
* SMB signing is now working with change notify. Need to fix the disconnectJeremy Allison2003-07-243-19/+31
| | | | | | when bad signature received, plus check the oplock breaks.... Jermey. (This used to be commit dd83931a00ec0a2c4b78b939c54bc101ec82312f)
* Server side NTLM signing works - until the first async packet. Working on thisJeremy Allison2003-07-243-25/+122
| | | | | | next.... Jeremy. (This used to be commit eff74a1fcc597497a4c70589a44c1b70e93ab549)
* Some more [ug]id_t printf fixes.Tim Potter2003-07-241-4/+4
| | | | (This used to be commit 165d1ae55622ca1e89c94fc5e40bdf5cddbcab45)
* Ensure a prototype is generated for smb_snprintf()Tim Potter2003-07-231-1/+1
| | | | | Final bit for bug 187. (This used to be commit 13840704f5434bedef0ce21242e2dff7c2a0bddb)
* connect to the right realm or domain for trusted AD domainsGerald Carter2003-07-231-8/+4
| | | | (This used to be commit 83376671c511be4bb10d3fca8e49e5f6ef792b9c)
* fix typoGerald Carter2003-07-231-2/+2
| | | | (This used to be commit 9de53f309ca686abbe970d8d452bb75398214a6d)
* convert snprintf() calls using pstrings & fstringsGerald Carter2003-07-2325-87/+80
| | | | | | | to pstr_sprintf() and fstr_sprintf() to try to standardize. lots of snprintf() calls were using len-1; some were using len. At least this helps to be consistent. (This used to be commit 9f835b85dd38cbe655eb19021ff763f31886ac00)
* fixed segv in calls to pstrcpy() in cliprint.cAndrew Tridgell2003-07-231-6/+6
| | | | (This used to be commit 36bc2b99b4fec2c14f8471d89381b2d6c2f9d339)
* Fix out of date comment.Tim Potter2003-07-231-2/+1
| | | | (This used to be commit 2e5bd1665430768b06da99beba5ac11a59c9bf07)
* Move a function to avoid a warning.Tim Potter2003-07-231-24/+24
| | | | (This used to be commit a3b4c57503e0966145b0adab247297e4c8e0f165)
* Typo in comment.Tim Potter2003-07-231-1/+1
| | | | (This used to be commit 6a9bfcd3b8996a0322f733689fd5e8bf24f224c8)
* Don't check in two places for signing turned off...Jeremy Allison2003-07-231-3/+0
| | | | | Jeremy. (This used to be commit f4b02e52e25556e5b101d493e2e6404563bf96dd)
* A fix for bug 174. I'm pushing this to the tree to test it on one ofTim Potter2003-07-232-4/+10
| | | | | the build farm machines that I don't have direct access to (hpntc9I). (This used to be commit b01965823341bbabb74dcbc09d379b43db2ec680)
* Fix two memory leaks in the smb module:Tim Potter2003-07-231-1/+7
| | | | | | | - free talloc context when cli_query_secdesc() fails - dispose of cli_state when python cli_state_object is garbage collected (This used to be commit 36052f95ffad4f227596e8038d3f056312d0ad82)
* removing unused functionGerald Carter2003-07-221-43/+0
| | | | (This used to be commit b8394a107d3448434f1a34076eaab8e6dd9a8a9d)
* bumping version stringGerald Carter2003-07-221-1/+1
| | | | (This used to be commit e4cd21222dbd1a7a7f79618762799373230d4905)
* Fix commentAlexander Bokovoy2003-07-221-3/+3
| | | | (This used to be commit 04f1577a39b926317911f59714de5c5ca87f02bd)
* sync from bea3 releaseGerald Carter2003-07-221-2/+45
| | | | (This used to be commit e42cc1e920601883cd404e9b2292ca58554ccf63)
* Another round of uid/gid/pid format string changes I missed theTim Potter2003-07-227-13/+15
| | | | | first time. (This used to be commit 6616485dbad74dab7506609c6bfd183fc9c1f93c)
* Fixup a bunch of printf-style functions and debugs to use unsigned long whenTim Potter2003-07-2226-148/+172
| | | | | | | displaying pid_t, uid_t and gid_t values. This removes a whole lot of warnings on some of the 64-bit build farm machines as well as help us out when 64-bit uid/gid/pid values come along. (This used to be commit f93528ba007c8800a850678f35f499fb7360fb9a)
* Use %p for a pointer type in a printf-style format string. Also castingTim Potter2003-07-221-1/+1
| | | | | a pointer to a uint32 value is incorrect on a 64-bit architecture. (This used to be commit afed2cbbcc07de9e453156972250f5f9d22e8e83)
* Replace the eight (!) copies of dummy become/unbecome root with a single one.Tim Potter2003-07-2210-97/+43
| | | | (This used to be commit 8b818ce381595cdcb36631a2440d6aa0038805f1)
* Use lp_idmap_[ug]id() instead of lp_winbind_[ug]id()Tim Potter2003-07-221-3/+3
| | | | (This used to be commit cfb86b4503c13b34583a61ef01ca8e1ed00fb9e4)
* Metze's AD/LDAP detection patches mainly to do with library detection.Tim Potter2003-07-213-197/+326
| | | | | | | Tested on a large combination of operating systems and versions. Hopefully the build farm will find any remaining nasties if they exist. (This used to be commit 2e42fa3d7217615d90ad64261513bd1e8a65f535)
* Clarify a debug log a little. The path might not exist, so say so.Richard Sharpe2003-07-211-1/+1
| | | | (This used to be commit 8409cf3e470df79f219f9a21c0cb780e9257186c)
* This creates passdb backend files automatically when adding first account.Rafal Szczesniak2003-07-202-3/+38
| | | | | | | | | | | | An extra message notifying that needed file didn't exist is displayed. There's still a little catch with tdb backend, but it's better than it was, from end-user's point of view. This fixes #198 rafal (This used to be commit b0be700605c289ce8e9dd3abe49d78ac77256911)
* Typo fixes.Rafal Szczesniak2003-07-201-1/+1
| | | | (This used to be commit 85df8213fc67a9c8e8712cb64f27e5559dc11af9)
* Fix typoJelmer Vernooij2003-07-201-1/+1
| | | | (This used to be commit ee4b69c539000b17db31ea3d41d0c7145f0ca25c)
* Fix memleakVolker Lendecke2003-07-191-3/+3
| | | | (This used to be commit defc71d4cb9bb1efcb39157bad2806f73b3cc3f5)
* Fix StrCaseCmp() to avoid calling smb_panic() on invalid multibyte strings.Andrew Bartlett2003-07-191-11/+24
| | | | | | | | | | | | | | | | | | | | | | This fix results in - we no longer use fixed-size buffers in StrCaseCmp (previously limited to a pstring) - we return strcmp(s, t) if either of the strings is invalid - for non-ascii cases, we call iconv twice, not 4 times. The basic idea with this fix is that if a string is not valid in the currnet charset, then (unless it is byte-equivilant) it cannot be case-equivilant to any other string. This should address the majority of our smb_panic() cases on this matter. It will not fix them all - we still call unix_strupper(), aka strupper_m() elsewhere, but this was being called on every file in the directory when we performed unix_convert(). Tested with the stf unit tests for this routine. Andrew Bartlett (This used to be commit 9918fa73145a22b1d7adf001f0a9cf0e1bda4136)
* According to the result of voting, net has default debug level withRafal Szczesniak2003-07-191-3/+12
| | | | | | | ability to change it by command line instead of turn-off cmdline switch for debug messages. It's a bit more comfortable to use now. (This used to be commit b65fe75bec8170ad48d1ad0a9017ccc4de651eba)
* Fix memleakVolker Lendecke2003-07-181-1/+1
| | | | (This used to be commit 228fe54f0d65b895bef9e095ad996a48edf964df)
* Fix two memleaks in pdb_ldap.c.Volker Lendecke2003-07-182-1/+13
| | | | | | | | | | | Whoever put the private.backend_private_data_free_fn thingy into SAM_ACCOUNT, could you please revisit my change to pdb_get_set.c and comment on my comment there? Thanks, Volker (This used to be commit 922ec277d1c80b5532f5cac0ee99ae7cd20f83f1)
* make sure we don't allow the creation of directories containingAndrew Tridgell2003-07-181-1/+5
| | | | | | | | | wildcard characters. I've only put this in mkdir at the moment, but I suspect this will apply to all places that can create new filenames. We need to allow the opening of existing filenames that contain wildcards, but not allow the creation of new ones. (This used to be commit 2fd5569938b8970f3e9d761eecad5bc0b8bb267e)
* this fixes a bug where Samba would under some circumstances returnAndrew Tridgell2003-07-181-1/+7
| | | | | | | | incomplete directory listings. The problem was the exact_match optimisation that short circuited directory listings on exact matches. This optimisation doesn't work when the unix filename contains Microsoft wildcard characters. (This used to be commit 84cee2c3fcc34fe6356e842821a5f0a361477637)
* Fix spelling typo.Tim Potter2003-07-181-1/+1
| | | | (This used to be commit 5cb7d92751b6da58bb3ecd97cced5c963d348bed)
* Uninstall modules as part of uninstall. Partial fix for 236.Tim Potter2003-07-181-1/+1
| | | | | We still don't uninstall swat or the man pages properly. (This used to be commit 90157b9bd3d4122e647faa48b17a44d63b07e32e)
* fixed the pstrcpy() bug in directory recursion properlyAndrew Tridgell2003-07-181-1/+2
| | | | (This used to be commit 132d6fdf635eb2bf2a1afd6e850d0f6967260f84)
* Signing so far... the client code fails on a SMBtrans2 secondary transactionJeremy Allison2003-07-186-72/+159
| | | | | | | | I think (my changes haven't affected this I believe). Initial support on the server side for smbclient. Still doesn't work for w2k clients I think... Work in progress..... (don't change). Jeremy. (This used to be commit e5714edc233424c2f74edb6d658f32f8e0ec9275)
* Formatting tidyups to match the rest of the source.Jeremy Allison2003-07-171-23/+33
| | | | | Jeremy. (This used to be commit 86c5ebcf8f5eb57e9885627b3da4e486ee3f62d9)
* Disconnect an idle LDAP connection after 150 seconds.Volker Lendecke2003-07-172-1/+46
| | | | | | | | | | | | | Not strictly a bugfix, but it should considerably reduce the load we put on LDAP servers given that at least nss_ldap on Linux keeps a connection open. And it should also stress our reconnect-code a bit more ;-) Thanks to metze for this! Volker (This used to be commit e68d8eabeb9c64dc45d057619f9b3dd0cd507444)
* Ban getgrouplist on linux glibc systems with glibc <= 2.3.Volker Lendecke2003-07-171-1/+33
| | | | | | | | | | This segfaults when you have to many group membership entries in /etc/group. Fixed in glibc CVS end of April 2003. Volker (This used to be commit 61bfdf0b12457689b08c19a6269259abf3d15410)
* Fix for bug 222 from Marcin Owsiany.Tim Potter2003-07-171-0/+5
| | | | | | | Don't get stuck in an infinite loop listing directories recursively if the server returns an empty directory name. This can happen with incorrect i18n configuration on a Samba server. (This used to be commit f93a2831f1b4e5751ca86d46a6e5ede9adf660cb)