summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-04-24When possible, store the IP address of the connecting client, not just theAndrew Bartlett3-4/+30
hostname. This makes 'last -i' show the IP. Thanks to Philip Anderson <pza@australia.op.org> for the idea. Andrew Bartlett (This used to be commit 107731c080da1e3e4e13e966f8b79bfd2692a952)
2003-04-24This is really trying to be a StrnCpy (most names will overflow the 10 charAndrew Bartlett1-1/+1
limit) (This used to be commit 0e04761abe375bfea48fa2c9ba9e1dc0d56d39f7)
2003-04-24Update from HEAD.John Terpstra1-0/+1
(This used to be commit 587ced729cb136370c090a03ca6de1b83c4c4772)
2003-04-24Updating from HEAD.John Terpstra8-195/+234
(This used to be commit 81203dc95c682d9ef5458a68f8ecbf8db197dba6)
2003-04-24Patch from Guenther Deschner to fix build with gcc 3.2Jelmer Vernooij1-6/+6
(This used to be commit ab631b31fbabc25cd74ca46fd583cd857538953c)
2003-04-24Patch from Stephan Metzmacher to add default arguments to lp_parm() smb.confJelmer Vernooij5-269/+542
parameters. Does not break binary compatibility with older modules. (This used to be commit 147c4d56d873a20a49194c5b036a3694299b1b48)
2003-04-24Added patch from Stephen Roylance.John Terpstra2-26/+26
(This used to be commit 71369f90890eeca399fec55d978a5dd4a13f077f)
2003-04-24More updates: Fix typo in VFS, added docs for pam_smbpass.so to PAM.John Terpstra2-22/+203
(This used to be commit 2dc12c8c64616b01934aa98d5d0650b77d33194b)
2003-04-23More updates.John Terpstra2-56/+409
(This used to be commit e4012c90323f7e87c3174d74020c6fcddb05820c)
2003-04-23For deep referrals, track consumed path using a counter, and calculate theShirish Kalele1-10/+11
consumed count only if and when it is needed. Check into SAMBA_3_0. (This used to be commit d6a326ba46b0e45a2d97b7aa9762bfefca347d89)
2003-04-23Missed two references to a renamed file.Paul Green2-2/+2
(This used to be commit 513dd6d414270b4e8f91f1cee6c49155b095c488)
2003-04-23Backport changes from head to shorten the filenames of the test cases.Paul Green9-63/+5
(This used to be commit e2315ebc9a653a3c804323d55a96e0b378351e8d)
2003-04-23Updated FLAGs - Affects only SWAT.John Terpstra1-7/+8
(This used to be commit 80f2790eb9c1382c91e5e2668f3b8d82c220ce51)
2003-04-23Thanks to a reminder from vance - delete build_options.c from CVS, nowAndrew Bartlett1-532/+0
it's autogenerated. (This used to be commit 1cbc66e2e35342980f27151622658e2f2f498245)
2003-04-23Patch by Vance Lankhaar <vlankhaar@linux.ca> to automaticly regenerate theAndrew Bartlett4-14/+293
build options, so we will always have the right values for how and when an smbd was built. In particular, this is indended to address bitrot caused by configure.in changes. Andrew Bartlett (This used to be commit 2be258071c71986ba9af01e9a09ec49909a620dd)
2003-04-23Patch by Metze to ensure that we always at least initialize our output stringAndrew Bartlett3-3/+12
for rpc_pull_string. If we had a NULL or zero-length string, we would use uninitialised data in the result string. Andrew Bartlett (This used to be commit df10aee451b431a8a056a949a98393da256185da)
2003-04-23More fun with Sun CC needing constant initializersAndrew Bartlett1-1/+1
(This used to be commit ce3dd8fd69231798185e3e3bb988775e5671e070)
2003-04-23StrnCpy -> safe_strcpy() on a over-malloced struct.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit e4f1171d57a6186f85b87586a525b3bbaf601974)
2003-04-23Merge the 'safe' parts of my StrnCpy patch - many of the users really wantedAndrew Bartlett19-149/+148
a pstrcpy/fstrcpy or at most a safe_strcpy(). These have the advantage of being compiler-verifiable. Get these out of the way, along with a rewrite of 'get_short_archi' in the spoolss client and server. (This pushes around const string pointers, rather than copied strings). Andrew Bartlett (This used to be commit 32fb801ddc035e8971e9911ed4b6e51892e9d1cc)
2003-04-23We don't have IDMAP in 3.0 yet.Andrew Bartlett1-1/+1
(This used to be commit a507f170d29914b0bb845878a8db97f51e7dff55)
2003-04-23Merge HEAD's winbind into 3.0.Andrew Bartlett16-903/+701
This includes the 'SIDs Rule' patch, mimir's trusted domains cacheing code, the winbind_idmap abstraction (not idmap proper, but the stuff that held up the winbind LDAP backend in HEAD). Andrew Bartlett (This used to be commit d4d5e6c2ee6383c6cceb5d449aa2ba6c83eb0666)
2003-04-23Don't try to continue if initialisation fails (merge from HEAD)Andrew Bartlett1-2/+4
(This used to be commit ff3ec67e120d29db2b85ce444ce89a205ea7a067)
2003-04-23Make the variable name match the comment.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 5a577f8cafa7375bd8485763f163de939ddc4a39)
2003-04-23This define does not always seem to be present, so define it if need be.Andrew Bartlett1-0/+4
Andrew Bartlett (This used to be commit 007143e2435904d941a62934986ac54e343f4936)
2003-04-23Fix up non-constant initialisers for Sun's CC.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 82ba1b4d16da587c5e21739b11c5d84a575534ad)
2003-04-23Add some more info to the diags output.Andrew Bartlett1-1/+1
(This used to be commit 2ee7254fded79d888f8009b71347bea8a89f47e9)
2003-04-23Parinoia for compleatly broken SMB servers that don't send back the rightAndrew Bartlett1-2/+3
fstype for IPC$ - assume the device type is IPC. Andrew Bartlett (This used to be commit 5ec78042124589d7d4e377581c187712950c93b2)
2003-04-23Make this safe for -DDEVELOPER checks.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 39fb77d8c1d9dddf00e8063198157bf77fb58a8f)
2003-04-23This const isn't quite vaild C.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit de96c1aaca9006696d61aa3d07151c0f74516e63)
2003-04-23add test file for FDSESSAndrew Bartlett1-0/+2
(This used to be commit 309ebac68999f6ba97a3dc558283e5f13dfc3044)
2003-04-23Add a check to ensure that the server returns the correct device type, notAndrew Bartlett2-14/+20
just the correct error. This should help us avoid breaking NT4 IPC$ connections, for example. This has required that we don't overwrite the device type for IPC$ in our tcon&X code, but only smbwrapper even uses it, and a server that doesn't send a correct dev type breaks other things pretty badly. In any case, I'll 'fix' smbwrapper :-). Andrew Bartlett (This used to be commit a93057efcb6e639be05b7bdcb9729ed8f39f5f62)
2003-04-23Start testing a few more things out of smbtorture in the build farm.Andrew Bartlett11-5/+25
Andrew Bartlett (This used to be commit 273a9bd7aa608d37b127b61d41773ba8135e38f7)
2003-04-23Merge torture tests from HEAD - it looks like we had rather an incompleteAndrew Bartlett8-90/+202
merge last time. I hope this might fix a few failures on the build farm too. Andrew Bartlett (This used to be commit 0c837126923cc30fa60223a5a68d4f527971cc7b)
2003-04-23Update - closed off for nowJohn Terpstra1-13/+199
(This used to be commit 2ddb882596e5d2219ccc96fa11dffa0fdc900a17)
2003-04-23Try to keep existing behaviour for our printing code - never returnAndrew Bartlett1-17/+6
global_myname(), always either the name the client called us, or if they didn't call us anything useful, our IP address. Jerry, can you check this? Andrew Bartlett (This used to be commit 599e70bffbae9930b949c9b82cbc8dfc7c966d78)
2003-04-23Fix this for both *SMBSERVER and *SMBSERV as per comments in loadparm.c.Andrew Bartlett1-1/+9
Andrew Bartlett (This used to be commit c6d416541be5349254a63e30fa29b022516b094e)
2003-04-23Try to avoid setting *SMBSERVER as a 'local name'.Andrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit 5b5e167bb1a760a4f9c603feea886ce1dab52e19)
2003-04-23Don't leak the session identifier string when we shut down a vuid.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit 33189b4be0ac79d5e7bc2606f40187118ee506a4)
2003-04-23Now that Volker fixed the real issues with ldapsam and adding null attributesAndrew Bartlett1-40/+8
etc, move the SAMR create_user code back to using the 'pdb_init_sam_pw' method to fill out the attributes. This is basicly the same code, but we really didn't need the duplication. Also, take advantage of the fact that RIDs will always be returned back into the SAM_ACCOUNT on ADD, so we don't need to duplicate the 'get'. This should also help in sites with replicated LDAP - the second fetch might occour before the first is replicated back. Andrew Bartlett (This used to be commit 39714c24fd9da4701d4fe69ddd3d61a25254409f)
2003-04-23- Merge a memory leak fix from HEADAndrew Bartlett1-11/+16
- change update behaviour for new RIDs: - store the new RID into the SAM_ACCOUNT, so that the caller get's it back automaticly - use this to make the code paths simpiler for the normal 'need_update' code. We must always store a RID if we intend to use the sambaAccount objectClass Andrew Bartlett (This used to be commit 5edeee5116b9c775a1bded1d53cb2b22c7a2765f)
2003-04-23Merge idra's fix for pdb_tdb segfaults from HEAD to 3.0 - sombody changedAndrew Bartlett1-3/+7
unix_strlower semantics. Andrew Bartlett (This used to be commit 93bdd1a2925edb9dea3e85d8b025a65460896c05)
2003-04-23allow the unix group in a mapping to be changed; doesn't work with LDAP ↵Gerald Carter1-1/+21
right now but should be ok with tdb's (This used to be commit fdacad185c4f78958d56bccbd69a0f2628f1b792)
2003-04-23Limit the number of outstanding print notify messages for a process toJeremy Allison2-1/+39
1000. Jeremy. (This used to be commit 2e5e4c10d2377493913554e7dab79d97a4d16d87)
2003-04-22Added Stephen Roylance's patch - Adds to Status page, a Start All, Restart AllJohn Terpstra1-9/+38
and Stop All deamons button. (This used to be commit 57cfcb3108935f46cb3938b403a3eaba2888fb55)
2003-04-22Remove ldapsam_search_one_user_by_uid from pdb_ldap.Andrew Bartlett2-68/+22
sambaAccount requires the rid to be present, and doing this fallback is quite dangerous, becouse it assumes that alorithmic RIDs are in use - which is quite often not the case. Also finish of vl's work on 'use a function pointer, not embedded logic' to tell lower levels that they should/should not attempt to set the user's password into LDAP with the extended operation. Andrew Bartlett (This used to be commit 715d0bd804b6bff4c0b365f98ca196d41ed9c5c4)
2003-04-22My last change left the wording a little awkward, so I fiddled it a bit.Christopher R. Hertel1-3/+3
(This used to be commit 4dd84707f92e4cf6f6ecfce510d242a07561ce88)
2003-04-22The wording described "CIFS" as the successor to SMBFS. I changed it toChristopher R. Hertel1-3/+3
say that "CIFS VFS" was the successor to SMBFS. (This used to be commit d7d48e9d9ddfde7309a7221be3be3eb8243407a7)
2003-04-22don't reset the group type unless specifiedGerald Carter1-14/+8
(This used to be commit 541f40a144461ca139ac53837d3f31ce6972d18c)
2003-04-22update copyright notice that is written to the logsGerald Carter1-1/+1
(This used to be commit 6735a9889f6629f4f77006c59c011570031e044f)
2003-04-22Add runtime tests for "impossible" case with -DDEVELOPER. Trying to catch logicJeremy Allison1-0/+27
error on Linux. Jeremy. (This used to be commit 546d1a941b63a538702f2fb668019d2b89f63bdc)