Günther Deschner
b0b080799c
r24584: Merge all pam post-processing code (in particular all extra_data code) into
...
append_data().
Guenther
(This used to be commit 8c56ee2c58
)
2007-10-10 12:30:07 -05:00
Günther Deschner
cf131be215
r24583: Make sure we don't accept invalid request options.
...
Thanks to Michael for his bit-magic.
Guenther
(This used to be commit 8a493cce98
)
2007-10-10 12:30:07 -05:00
Günther Deschner
b2ff8a2663
r24579: Merge error reporting to the end of winbindd_pam_auth().
...
Guenther
(This used to be commit d5bd8b1d61
)
2007-10-10 12:30:07 -05:00
Günther Deschner
42bb05074a
r24578: Fix build warning.
...
Guenther
(This used to be commit 27ecb0df79
)
2007-10-10 12:30:07 -05:00
Günther Deschner
18e6f9c6aa
r24573: Fix build without LDAP. Thanks Volker for pointing this out.
...
Guenther
(This used to be commit 1bae53e39f
)
2007-10-10 12:30:07 -05:00
Michael Adam
987d7010f8
r24572: Allow for functions map_parameter_canonical() and is_synonym_of() to
...
be called with inverse == NULL.
Add a new function lp_parameter_is_canonical() to check whether a
parameter name is the canonical name (as apposed to an alias).
Michael
(This used to be commit 07dc0fecf5
)
2007-10-10 12:30:07 -05:00
Volker Lendecke
8bab4bdc5d
r24571: Only look at errno if the close call actually failed
...
Patch from Ofir Azoulay <Ofir.Azoulay@expand.com> -- thanks
(This used to be commit 888e657d75
)
2007-10-10 12:30:06 -05:00
Stefan Metzmacher
8fb2e83733
r24564: regenerate after pidl changes...
...
metze
(This used to be commit ec8858c374
)
2007-10-10 12:30:05 -05:00
Stefan Metzmacher
8da26d3f96
r24561: merge from SAMBA_4_0:
...
rename some DCERPC_ prefixes into NDR_
metze
(This used to be commit 8f07b8ab65
)
2007-10-10 12:30:03 -05:00
Stefan Metzmacher
2f3511c56e
r24558: merge from SAMBA_4_0:
...
rename 'dcerpc_table_' -> 'ndr_table_'
metze
(This used to be commit 4e5908cd59
)
2007-10-10 12:29:57 -05:00
Stefan Metzmacher
c2628e19a7
r24552: merge from SAMBA_4_0:
...
rename dcerpc_interface_table -> ndr_interface_table
rename dcerpc_interface_list -> ndr_interface_list
and move them to libndr.h
metze
(This used to be commit f57d23d0f1
)
2007-10-10 12:29:56 -05:00
Volker Lendecke
8713bb2db7
r24550: Attempt to fix the non-LDAP build
...
For example host "bigboy" doesn't have it.
Günther, please fix it properly and merge to 3_2_0
Thanks,
Volker
(This used to be commit 0d29426741
)
2007-10-10 12:29:56 -05:00
Volker Lendecke
f5ab9ddd76
r24549: Fix unix_convert to return the already converted part
...
This API will change anyway when moving away from pstrings.
It took so long to fix, because that rename bug I just fixed gave make
test failures that had nothing to do with this one.
I have samba4 tests for both bugs, will check them in when the build
farm has caught up
(This used to be commit d4f442ed9b
)
2007-10-10 12:29:56 -05:00
Volker Lendecke
2efabbbf4b
r24548: Fix the case-changing renames
...
This was broken when I changed reply_mv to wrap in a open_file_ntcreate
call, unix_convert on the destination was called twice
(This used to be commit fddc9db911
)
2007-10-10 12:29:56 -05:00
Volker Lendecke
06dd8d28ae
r24547: Fix #4897 , patch from David S. Collier-Brown <davecb@spamcop.net> -- Thanks!
...
(This used to be commit 4a90264d17
)
2007-10-10 12:29:56 -05:00
Derrell Lipman
a2c3e56a49
r24543: Apply missing portion of correction for bug 4750
...
(This used to be commit 5a83c306bb
)
2007-10-10 12:29:55 -05:00
Stefan Metzmacher
24c594d0b3
r24541: merge from SAMBA_4_0:
...
rename struct dcerpc_endpoint_list/struct dcerpc_authservice_list
into ndr_interface_string_array and move it to libndr.h
metze
(This used to be commit 9fec0d6c2c
)
2007-10-10 12:29:55 -05:00
Stefan Metzmacher
68821746d8
r24538: merge from SAMBA_4_0:
...
rename struct dcerpc_interface_call -> struct ndr_interface_call
and move it to librpc/ndr/libndr.h
metze
(This used to be commit 24e096b365
)
2007-10-10 12:29:55 -05:00
Stefan Metzmacher
b018c9b9a2
r24537: regenerate after pidl fixes
...
metze
(This used to be commit e827c7311c
)
2007-10-10 12:29:54 -05:00
Stefan Metzmacher
5da47f8518
r24533: merge from SAMBA_4_0:
...
rename dcerpc_syntax_id -> ndr_syntax_id
metze
(This used to be commit 7facd9bf3f
)
2007-10-10 12:29:54 -05:00
Michael Adam
c56874d112
r24527: Add a function lp_canonicalize_parameter_with_value that turns
...
a parameter and value into the canonical paramter with the value
inverted if it was in invers boolean synonym.
Make net conf use this function when storing parameters.
Michael
(This used to be commit 3b762ab183
)
2007-10-10 12:29:54 -05:00
Michael Adam
bb76f3f98e
r24526: Refactor determiniation of the index of the canonical form of a
...
parameter given in string representation into a function of its
own (map_parameter_canonical).
Michael
(This used to be commit 0dfb5eee25
)
2007-10-10 12:29:54 -05:00
Michael Adam
7190e7515b
r24525: Add output of synonym information to show_parameter_list().
...
Also simplify lp_canonicalize_parameter by making use of
the new function "is_synonym_of".
Michael
Note: If anything depends on the exact former output format of
show_parameter list, I would trigger the output of synonym information
by a boolean verbose switch (that could be passed to testparm
via the "-v" command line switch).
(This used to be commit fd2dbae825
)
2007-10-10 12:29:53 -05:00
Michael Adam
b2455bb8d2
r24519: Refactor printing of one parameter into a helper function of its own.
...
(This used to be commit 70dfe5d098
)
2007-10-10 12:29:53 -05:00
Michael Adam
8b0b1408a0
r24513: Reformatting: eliminate trailing spaces, overly long lines
...
and adjust some formattings to standard.
Michael
(This used to be commit 00432bcd69
)
2007-10-10 12:29:53 -05:00
Volker Lendecke
f65041cbf1
r24512: Fix RAW-NOTIFY
...
With the inbuf consistency checks we have to more correctly fake the
inbuf
(This used to be commit 2b8ecda30f
)
2007-10-10 12:29:53 -05:00
Michael Adam
ed4b40e9cb
r24510: Fix logic. Thanks to Volker for the hint!
...
Michael
(This used to be commit ce1d7ad1ac
)
2007-10-10 12:29:53 -05:00
Jeremy Allison
891fa216ea
r24501: Added bcc test for reply_tcon & removed Vl's comment :-).
...
Jeremy.
(This used to be commit 9d9ed41f21
)
2007-10-10 12:29:53 -05:00
Jeremy Allison
a662a62e5a
r24500: Add check that bcc is correct in an incoming packet.
...
Jeremy.
(This used to be commit 267a0ac48d
)
2007-10-10 12:29:52 -05:00
Jeremy Allison
077d5d2e36
r24498: More extra code into a function, reply_openerror.
...
Jeremy.
(This used to be commit 43ddfb8c91
)
2007-10-10 12:29:52 -05:00
Volker Lendecke
bcc7bdcfe3
r24497: Revert r24485 -- this needs more thought
...
(This used to be commit 01f701ba1e
)
2007-10-10 12:29:52 -05:00
Michael Adam
53f5c4adfb
r24496: Add initial synonym handling to "net conf":
...
When storing parameters in the smbconf portion of the registry,
up to now, synonyms could be misused to store a parameter twice.
Now this is prevented by canonicalizing the paramter name first.
Also, the value for a boolean parameter checked for validity
before storing the bool in registry.
(The canonicalization should finally go into the registry smbconf
code to also prevent e.g. "regedit" or "net rpc registry" from
storing synonyms. - This is in the making.)
Michael
(This used to be commit 95447dde86
)
2007-10-10 12:29:52 -05:00
Michael Adam
bf374d3d3d
r24495: Add a function lp_canonicalize_parameter: It takes a name of a parameter
...
and produces the "canonical" (or main) name of the parameter (the one
synonym that does not have the flag FLAG_HIDE). The function also sets
a flag as to whether the synonym is a reverse boolean synonym.
Add some functions for the handling of string representations of boolean
values: return the canonical string representation of a bool, invert
a bool given as a string, canonicalize a bool given as a string.
Michael
(This used to be commit 113ac07199
)
2007-10-10 12:29:52 -05:00
Volker Lendecke
93fc3a0248
r24485: Even in the failure case unix_convert must pass the already converted
...
part of the string to the caller.
(This used to be commit 301ae3d68b
)
2007-10-10 12:29:51 -05:00
Jeremy Allison
622abf53f9
r24476: Fix the mappings in reply_opeXXX calls. Now to test renames.
...
Jeremy.
(This used to be commit 74d10b09a6
)
2007-10-10 12:29:51 -05:00
Jeremy Allison
522418ce16
r24475: Fix the error mapping for SMB_POSIX_PATH_OPEN.
...
Jeremy.
(This used to be commit 6dac315ba1
)
2007-10-10 12:29:51 -05:00
Jeremy Allison
606f10945f
r24474: Map error value NT_STATUS_OBJECT_NAME_COLLISION
...
to ERRDOS, ERRfilexists for NTCreateX and NTTransCreate.
Jeremy.
(This used to be commit 5b2316d173
)
2007-10-10 12:29:51 -05:00
Jeremy Allison
fd9c413786
r24470: Start fixing up the mapping of OBJECT_NAME_COLLISION
...
to DOS error ERRDOS, ERRfilexists on open calls.
Jeremy.
(This used to be commit 4674486450
)
2007-10-10 12:29:50 -05:00
Jeremy Allison
ed70bc0d8e
r24468: Don't forget the +4 for length :-).
...
Jeremy.
(This used to be commit 4d01e0b744
)
2007-10-10 12:29:50 -05:00
Jeremy Allison
a1f593cd73
r24467: Do range checking on incoming smb request.
...
Jeremy.
(This used to be commit dbd58dd647
)
2007-10-10 12:29:50 -05:00
Derrell Lipman
415b7463a3
r24466: - Sort ACEs according to http://support.microsoft.com/kb/269175 so that
...
Windows Explorer doesn't complain about the order (and so that they get
interpreted properly).
Derrell
(This used to be commit 8f371e2ea9
)
2007-10-10 12:29:50 -05:00
Jeremy Allison
3dd3c4cd01
r24464: Now Volker removed the readbmpx we don't need cached errors any more.
...
Jeremy.
(This used to be commit 9256ec0a20
)
2007-10-10 12:29:50 -05:00
Derrell Lipman
e60c0a5bff
r24462: - Removing all ACEs was causing removal of the DACL entirely. Win2000 ignored
...
the request, presumably due to the PROTECTED flag not being set. Setting
that flag (in make_sec_desc()) has much wider implications than just to
libsmbclient, so instead of modifying that, we'll remove security
descriptors by setting the number of ACEs to zero. At some point, we might
want to look into whether we should actually be setting the PROTECTED flag
in the DACL.
Reference http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/distrib/dsce_ctl_qxju.mspx?mfr=true
Derrell
(This used to be commit 319df380e5
)
2007-10-10 12:29:50 -05:00
Volker Lendecke
6051d51654
r24461: Fix Bug 4852, thank to anto <sistemac@prosoft.ba> for reporting it.
...
(This used to be commit 0fecd8a0c3
)
2007-10-10 12:29:49 -05:00
Stefan Metzmacher
fe068284e9
r24458: regenerate pidl output after pidl fixes:
...
fixes winreg_EnumValues()
metze
(This used to be commit cedf7022c5
)
2007-10-10 12:29:49 -05:00
Volker Lendecke
716e01d97e
r24457: Convert reply_tcon to the new API
...
Jeremy, I really apologize for doing this, but I just wanted to enjoy
converting the last SMB call :-)
I've left one little task for you there, I'm not certain that checking
the inbuf length is correct here.
Volker
(This used to be commit 1e08fddafd
)
2007-10-10 12:29:49 -05:00
Volker Lendecke
24f42c5cef
r24453: Remove the read and write bmpx calls
...
Talked to both Tridge and Jeremy about this, Tridge said that there is a
special error message persuading OS/2 to fall back to other methods.
The calls now checked in always return the error message we used to
return when "read bmpx = False" was set (the default): ERRSRV, ERRuseSTD.
If someone has a reproducable test case where this is really needed, we
can always dig it up from version control and convert it to the new API.
But that time without that silly parameter, and with a torture test case
for "make test" please :-)
Volker
(This used to be commit d941aae2df
)
2007-10-10 12:29:49 -05:00
Stefan Metzmacher
ffae125ad0
r24450: merge from SAMBA_4_0:
...
length_is() isn't supported without size_is().
I assume what we need is an array of strings,
so the code isn't used and broken anyway without
a testsuite...just get rid of the pidl warning
metze
(This used to be commit a3fd68d485
)
2007-10-10 12:29:49 -05:00
Jeremy Allison
2823bf10b5
r24445: Convert SMBwritebraw. No test suite unfortunately.... I need to write one for this.
...
Jeremy
(This used to be commit edc17dfcbd
)
2007-10-10 12:29:48 -05:00
Volker Lendecke
527905a09a
r24444: Convert reply_find[n]close to the new API
...
(This used to be commit 6af8595346
)
2007-10-10 12:29:48 -05:00
Volker Lendecke
5edcc342c6
r24443: Convert reply_search/fclose to the new API
...
(This used to be commit a8a33c377e
)
2007-10-10 12:29:48 -05:00
Volker Lendecke
f93b093d5f
r24442: Convert reply_copy to the new API
...
(This used to be commit 0cb00c5475
)
2007-10-10 12:29:48 -05:00
Volker Lendecke
9c2bfffece
r24441: Convert reply_ioctl to the new API
...
(This used to be commit a5af7ebb7f
)
2007-10-10 12:29:48 -05:00
Volker Lendecke
c5572072e5
r24440: Convert the reply_sendXX functions to the new API
...
(This used to be commit a64bc31098
)
2007-10-10 12:29:48 -05:00
Volker Lendecke
90741da80b
r24439: Convert reply_get/setattrE to the new API
...
(This used to be commit 6b0ad071d8
)
2007-10-10 12:29:47 -05:00
Günther Deschner
d8248816c3
r24438: Use dump_data_pw() instead of dump_data() on sensitive data in winbindd.
...
Guenther
(This used to be commit adaa5e423d
)
2007-10-10 12:29:47 -05:00
Günther Deschner
a9f02f46b1
r24437: Remove "done" in winbindd_raw_kerberos_login() as well.
...
Guenther
(This used to be commit 44c10bbe94
)
2007-10-10 12:29:47 -05:00
Volker Lendecke
05fafc1df2
r24436: Convert reply_lockread/writeunlock to the new API
...
(This used to be commit 1b6add251c
)
2007-10-10 12:29:47 -05:00
Günther Deschner
9888ecedd8
r24435: Fix typo.
...
Guenther
(This used to be commit 8705f890b1
)
2007-10-10 12:29:47 -05:00
Günther Deschner
954adf812e
r24434: Simplify winbindd_raw_kerberos_login().
...
Guenther
(This used to be commit 98ffae031a
)
2007-10-10 12:29:46 -05:00
Volker Lendecke
2ea14d4e98
r24433: Convert reply_ntrename to the new API
...
(This used to be commit 42b07a52b9
)
2007-10-10 12:29:46 -05:00
Günther Deschner
201f0e1ce4
r24432: Expand kerberos_return_pac() so that it can be used in winbindd.
...
Guenther
(This used to be commit e70bf0ecc3
)
2007-10-10 12:29:46 -05:00
Volker Lendecke
591669ba06
r24431: Convert the reply_printXX calls to the new API
...
(This used to be commit e528479f56
)
2007-10-10 12:29:46 -05:00
Volker Lendecke
4a989dac81
r24430: Convert reply_writeclose to the new API
...
(This used to be commit 6def2ee03b
)
2007-10-10 12:29:46 -05:00
Volker Lendecke
3f172071d4
r24429: reply_setdir is not used...
...
(This used to be commit ca27a718b0
)
2007-10-10 12:29:46 -05:00
Volker Lendecke
0f73d64f7d
r24428: Convert reply_unlock to the new API
...
(This used to be commit 01c7426fc0
)
2007-10-10 12:29:45 -05:00
Volker Lendecke
ca70ea9310
r24427: Convert reply_lock to the new API
...
(This used to be commit 212f43ddea
)
2007-10-10 12:29:45 -05:00
Volker Lendecke
4c7212b4e4
r24426: Convert reply_read to the new API
...
(This used to be commit 30aada0ef8
)
2007-10-10 12:29:45 -05:00
Volker Lendecke
7c25bf4511
r24425: Convert reply_write to the new API
...
(This used to be commit 244965f7b6
)
2007-10-10 12:29:45 -05:00
Günther Deschner
3e00e2e9ce
r24424: Fix the build.
...
Guenther
(This used to be commit 029bf26f8a
)
2007-10-10 12:29:45 -05:00
Volker Lendecke
fe502551c3
r24423: Convert reply_lseek to the new API
...
(This used to be commit bd22885386
)
2007-10-10 12:29:44 -05:00
Volker Lendecke
dee4ab1533
r24422: Convert reply_ctemp to the new API
...
(This used to be commit 3cc22fd74f
)
2007-10-10 12:29:44 -05:00
Günther Deschner
1ba6b71691
r24421: Ignore long #defines (like for registry keys).
...
Guenther
(This used to be commit b310b1dfd6
)
2007-10-10 12:29:44 -05:00
Günther Deschner
6c3d3bc0fa
r24420: Pure pedantism: the talloc_init could have failed...
...
Guenther
(This used to be commit e6415c5232
)
2007-10-10 12:29:44 -05:00
Günther Deschner
a573b80df7
r24419: Hm, I think this protoype is not required here.
...
Guenther
(This used to be commit 42abe8450b
)
2007-10-10 12:29:44 -05:00
Günther Deschner
873bc06d95
r24418: Adding reg_deleteallvalues().
...
Guenther
(This used to be commit f7457c6173
)
2007-10-10 12:29:44 -05:00
Volker Lendecke
06ed827edf
r24417: Convert reply_setatr to the new API
...
(This used to be commit 56bab5ea4c
)
2007-10-10 12:29:43 -05:00
Günther Deschner
36a85969f9
r24416: Some more minor edits for libgpo, mostly reformatting and moving of functions.
...
Guenther
(This used to be commit 3e240672b4
)
2007-10-10 12:29:43 -05:00
Volker Lendecke
73b3ae9c55
r24415: Convert reply_getatr to the new API
...
(This used to be commit 1a08b97a93
)
2007-10-10 12:29:43 -05:00
Volker Lendecke
5fe4384cd9
r24414: Convert reply_mv to the new API
...
(This used to be commit fa341e4840
)
2007-10-10 12:29:42 -05:00
Günther Deschner
444fd1e848
r24413: Minor edits for libgpo.
...
Guenther
(This used to be commit 5dc791f4cf
)
2007-10-10 12:29:42 -05:00
Volker Lendecke
2da44a2dee
r24412: Convert reply_open to the new API
...
(This used to be commit 394987f522
)
2007-10-10 12:29:42 -05:00
Derrell Lipman
c638a84cb1
r24410: - I got tricked by function naming. Contrary to what seemed obvious to me,
...
prs_mem_free() is not the function to be called to free memory allocated by
prs_alloc_mem(). I've added a comment so others may not get bitten too.
- Remove incorrect memory free calls added yesterday to replace SAFE_FREE.
The memory is actually now on a talloc context, so gets freed by the caller
when that context is freed. We don't need to free it iternally.
Derrell
(This used to be commit 2fde343150
)
2007-10-10 12:29:41 -05:00
Volker Lendecke
a12e7ef30a
r24409: Check wct in reply_open
...
(This used to be commit ee6f212ed0
)
2007-10-10 12:29:41 -05:00
Volker Lendecke
ec5b2a7181
r24408: Remove reply_prep_legacy from reply_lockingX
...
(This used to be commit e0db5fd11b
)
2007-10-10 12:29:41 -05:00
Volker Lendecke
29df25351d
r24406: Push reply_prep_legacy into reply_lockingX
...
(This used to be commit bce87ebdc0
)
2007-10-10 12:29:41 -05:00
Volker Lendecke
439d6020e9
r24405: Check wct in reply_lockingX
...
(This used to be commit c4972632f8
)
2007-10-10 12:29:41 -05:00
Volker Lendecke
ae89ba48ec
r24404: Remove get_OutBuffer usage from blocking.c
...
(This used to be commit cb8fab5663
)
2007-10-10 12:29:41 -05:00
Volker Lendecke
e0880fa7bd
r24403: Remove reply_prep_legacy from send_nttrans_replies
...
(This used to be commit a6400ca6e2
)
2007-10-10 12:29:40 -05:00
Volker Lendecke
df6edb0d3c
r24402: Fix a 64-bit warning
...
(This used to be commit 73d99d6f9a
)
2007-10-10 12:29:40 -05:00
Volker Lendecke
f7f176dd0d
r24401: Push reply_prep_legacy into send_nt_replies
...
(This used to be commit 489436a656
)
2007-10-10 12:29:40 -05:00
Volker Lendecke
52a738301a
r24400: Fix a valgrind bug
...
(This used to be commit 7c65deaed7
)
2007-10-10 12:29:40 -05:00
Volker Lendecke
6a5bdb79e1
r24399: Change change_notify_reply to use send_nt_replies_new
...
(This used to be commit be67bb50ee
)
2007-10-10 12:29:40 -05:00
Volker Lendecke
b41b38031f
r24398: Convert call_nt_transact_notify_change to the new API
...
(This used to be commit 607b3ab8bc
)
2007-10-10 12:29:40 -05:00
Volker Lendecke
bba684f2c0
r24394: Convert call_nt_transact_rename to the new API
...
(This used to be commit 189876a664
)
2007-10-10 12:29:39 -05:00
Volker Lendecke
4f111b6e78
r24393: Convert call_nt_transact_set_user_quota to the new API
...
(This used to be commit 4cb60abd4c
)
2007-10-10 12:29:39 -05:00
Volker Lendecke
3038f27a59
r24392: Minor simplifications
...
(This used to be commit 96a9435874
)
2007-10-10 12:29:39 -05:00
Volker Lendecke
4b485d807e
r24391: Convert call_nt_transact_get_user_quota to the new API
...
(This used to be commit 0e47a6643e
)
2007-10-10 12:29:39 -05:00
Derrell Lipman
83fc92c82c
r24388: - ACL retrieval provided incomplete information because the buffer pointer was
...
incremented too far in some circumstances. In these cases, only the first
of multiple concatenated strings would be seen.
- Working on bug 4649 pertaining to delete an ACL, this fixes the reported
crash. It appears to have been an incomplete switchover from malloc to
talloc, as the memory was still being freed with SAFE_FREE.
Deleting ACLs still doesn't work. Although a valid request is sent to the
server and a SUCCESS response is returned, the method that's used in
libsmbclient for deleting ACLs seems to be incorrect. In looking at the
samba4 torture tests, it appears that we should be turning on the INHERIT
flag if we want to delete the ACL. (I could use some assistance on the
proper flags to send, from anyone familiar with this stuff.)
- Apply patch from SATOH Fumiyasu to fix bug 4750. smbc_telldir_ctx() was not
returning a value useful to smbc_lseekdir_ctx().
Derrell
(This used to be commit 2ac502e29b
)
2007-10-10 12:29:39 -05:00
Jeremy Allison
d701a47c73
r24387: Convert readbraw to the new api. Volker, keep checking in
...
your patches please :-). I'll work on SMBreadBmpx tomorrow.
Jeremy.
(This used to be commit 27e183afa8
)
2007-10-10 12:29:38 -05:00
Jeremy Allison
5cc0a6b43c
r24386: Piss off Volker (not deliberately) by checking in a reply_mknew -> conversion.
...
Sorry vl, remove one of your 15 patches :-).
Jeremy.
(This used to be commit a7648ed9d4
)
2007-10-10 12:29:38 -05:00
Volker Lendecke
6624bf7fd2
r24385: Convert call_nt_transact_query_security_desc to the new API
...
(This used to be commit f44e0aac2b
)
2007-10-10 12:29:38 -05:00
Volker Lendecke
ff355558e3
r24384: Convert call_nt_transact_set_security_desc to the new API
...
(This used to be commit 925ed1e186
)
2007-10-10 12:29:38 -05:00
Volker Lendecke
89dfa3883f
r24383: Convert call_nt_transact_ioctl to the new API
...
(This used to be commit 8e6485e078
)
2007-10-10 12:29:38 -05:00
Volker Lendecke
89f27bb35b
r24382: Remove reply_prep_legacy from call_nt_transact_create
...
(This used to be commit 73392485f4
)
2007-10-10 12:29:37 -05:00
Volker Lendecke
8590265e94
r24381: Push reply_prep_legacy into call_nt_transact_create
...
(This used to be commit ca18ba96be
)
2007-10-10 12:29:37 -05:00
Volker Lendecke
20b3daec50
r24368: Push down reply_prep_legacy one level
...
Not pretty, but necessary to convert the calls one by one
(This used to be commit 523a463be4
)
2007-10-10 12:29:37 -05:00
Volker Lendecke
1b034a8f9e
r24367: Push reply_prep_legacy into handle_nttrans
...
(This used to be commit 8b5e51c266
)
2007-10-10 12:29:37 -05:00
Volker Lendecke
2a375f12be
r24362: Initialize padding also when no params are sent back
...
(This used to be commit 03c5e960a2
)
2007-10-10 12:29:36 -05:00
Volker Lendecke
1d8e64aece
r24361: Push reply_prep_legacy down in reply_nttrans[s]
...
(This used to be commit d97a2e91d3
)
2007-10-10 12:29:36 -05:00
Günther Deschner
968c43f874
r24360: Make ndr_print_debug_helper() output readable.
...
Guenther
(This used to be commit 45ee3b55d5
)
2007-10-10 12:29:36 -05:00
Volker Lendecke
6216cd58c2
r24359: Fix the build
...
(This used to be commit b2ac1a3ec5
)
2007-10-10 12:29:36 -05:00
Volker Lendecke
6bee410431
r24358: Push reply_prep_legacy into reply_nttrans[s]
...
(This used to be commit 197c231079
)
2007-10-10 12:29:36 -05:00
Volker Lendecke
ecb32af916
r24357: Check wct in reply_nttrans[s]
...
(This used to be commit 9ab87e644e
)
2007-10-10 12:29:35 -05:00
Volker Lendecke
2d8e4456cd
r24356: Add send_nt_replies_new wrapper
...
(This used to be commit 8a910d37cc
)
2007-10-10 12:29:35 -05:00
Stefan Metzmacher
5af3e2d613
r24355: move reply_outbuf() to the place where it's used
...
metze
(This used to be commit c7ed550483
)
2007-10-10 12:29:35 -05:00
Volker Lendecke
b01978f2a9
r24354: Remove offsetof macro
...
Samba4 seems not to suffer from it
(This used to be commit d93b5d50a0
)
2007-10-10 12:29:35 -05:00
Kai Blin
0bb638a798
r24353: Add a getpwuid lookup to wbinfo.
...
Merged from my Samba4 GSoC branch.
Volker, can you check if that's done the way you thought?
(This used to be commit f8560ea66c
)
2007-10-10 12:29:32 -05:00
Volker Lendecke
5d39acf2f8
r24351: Remove reply_prep_legacy from reply_read_and_X
...
(This used to be commit 8f3e3a2100
)
2007-10-10 12:29:32 -05:00
Volker Lendecke
2fb27fcb69
r24349: For large read&x we need more than 64k of outbuf.
...
(This used to be commit f7e2eec35f
)
2007-10-10 12:29:32 -05:00
Volker Lendecke
a0ad547ccb
r24348: Do not use inbuf/outbuf in the sendfile path of read_and_X
...
(This used to be commit 595ea708ee
)
2007-10-10 12:29:31 -05:00
Volker Lendecke
6dcf0c64cf
r24347: fake_sendfile does not need Inbuf/Outbuf
...
In the future, we might put the new Linux splice(2) syscall here. This
should also work for reply_write, but getting that in is a bit trickier.
We need to decide very early before fetching the whole buffer that we
have a write call.
(This used to be commit 32921c878a
)
2007-10-10 12:29:31 -05:00
Volker Lendecke
d198962d14
r24346: Push reply_prep_legacy into send_file_readX
...
(This used to be commit cded66a7dc
)
2007-10-10 12:29:31 -05:00
Jelmer Vernooij
db2666759d
r24341: Make libreplace provide offsetof.
...
(This used to be commit 4a5fa715a6
)
2007-10-10 12:29:31 -05:00
Jelmer Vernooij
594bbfcdee
r24340: Use standard data type uint32_t rather than tdb-specific u32.
...
(This used to be commit 26d1430283
)
2007-10-10 12:29:30 -05:00
Volker Lendecke
921fbb25eb
r24332: schedule_aio_read_and_X does not need InBuf/OutBuf
...
(This used to be commit 9ad91bd205
)
2007-10-10 12:29:30 -05:00
Volker Lendecke
ef6c3a3c7a
r24331: Fix an error where gid_t != 32 bit
...
(This used to be commit 748fdfbd7b
)
2007-10-10 12:29:30 -05:00
Volker Lendecke
1b69659315
r24330: Fix a 64-bit error
...
(This used to be commit 30fd903465
)
2007-10-10 12:29:30 -05:00
Volker Lendecke
99a1f5a75c
r24329: Fix a 64-bit bug
...
enums are not necessarily represented as 32-bit uints. On assignment
(see line 1029) implicit conversion happens, but not when pointers are
taken.
(This used to be commit 67ec6863dd
)
2007-10-10 12:29:30 -05:00
Volker Lendecke
d90f6fa1bd
r24328: Restore chain_reply error handling
...
Get the whole smb header from the second chained function, in particular
the error fields
(This used to be commit 0eb831ca0e
)
2007-10-10 12:29:30 -05:00
Volker Lendecke
26f6826dfc
r24327: First round of fixes to chain_reply
...
The argument to smb_setlen does not contain the nbt header of 4 bytes
The chained function might allocate outbuf itself (as now happens with
reply_read_and_X). This would erroneously overwrite the caller's outbuf.
Give it an outbuf pointer of it's own
(This used to be commit f923bba908
)
2007-10-10 12:29:29 -05:00
Volker Lendecke
bf47a89c98
r24326: Fix the build for Solaris CC
...
(This used to be commit 7af4c1f547
)
2007-10-10 12:29:29 -05:00
Volker Lendecke
bb373dbd6c
r24325: Push down reply_prep_legacy in reply_read_and_X
...
(This used to be commit 9d2354129d
)
2007-10-10 12:29:29 -05:00
Volker Lendecke
8e146e4b7b
r24324: No reply_prep_legacy() in reply_pipe_read_and_X
...
(This used to be commit 304843315c
)
2007-10-10 12:29:29 -05:00
Volker Lendecke
8d6dcd94eb
r24323: Remove the reply_read_and_X wrapper function
...
(This used to be commit 96b2187894
)
2007-10-10 12:29:29 -05:00
Volker Lendecke
61ee2d3720
r24322: Wrap reply_read_and_X in reply_prep_legacy
...
(This used to be commit 7926b5dfb8
)
2007-10-10 12:29:28 -05:00
Volker Lendecke
02c21aa207
r24321: Attempt to fix the "hape" cc build
...
(This used to be commit 4e819aea0b
)
2007-10-10 12:29:28 -05:00
Volker Lendecke
23998e1da8
r24320: Fix the wct checks in reply_trans2 and the reply_trans calls
...
No idea what I've been smoking here.
Thanks to Stefan for closely looking
(This used to be commit 708f5af2e8
)
2007-10-10 12:29:28 -05:00
Volker Lendecke
d465b468c1
r24319: Check wct in reply_read_and_X
...
(This used to be commit 9ddacdfa13
)
2007-10-10 12:29:28 -05:00
Volker Lendecke
c898c51984
r24318: Print a prominent warning when reply_prep_legacy is called
...
This is a temporary function anyway
(This used to be commit 9269e3d588
)
2007-10-10 12:29:27 -05:00
Volker Lendecke
22b30d2a37
r24316: Fix an uninitialized read
...
Jerry, please check this!
Thanks,
Volker
(This used to be commit db1b89072c
)
2007-10-10 12:29:27 -05:00
Volker Lendecke
3c5811c272
r24314: Attempt to fix bug 4868
...
(This used to be commit 0ced8fcfe1
)
2007-10-10 12:29:27 -05:00
Stefan Metzmacher
5cc4dbd449
r24312: revision 24091 removed the 'FORCE'...
...
metze
(This used to be commit 34d821daf0
)
2007-10-10 12:29:27 -05:00
Stefan Metzmacher
a5f412f305
r24311: add a reply_force_nterror() macro
...
metze
(This used to be commit b9ae00f498
)
2007-10-10 12:29:27 -05:00
Stefan Metzmacher
c25f22562e
r24310: we should not call END_PROFILE(SMBntcreateX); twice...
...
metze
(This used to be commit 7a98e09f2e
)
2007-10-10 12:29:27 -05:00
Stefan Metzmacher
66294f9db5
r24309: if no protocol matches, just return choise 0xffff
...
as we've done before revision 24002
metze
(This used to be commit 6014ecbbfd
)
2007-10-10 12:29:26 -05:00
Stefan Metzmacher
aece6db714
r24308: this needs a better fix that compiles...
...
metze
(This used to be commit 1a177eb08d
)
2007-10-10 12:29:26 -05:00
Stefan Metzmacher
f210f7c432
r24307: fill in choise with value -1 on error
...
as we've done before revision 24002
metze
(This used to be commit 2961a35e90
)
2007-10-10 12:29:26 -05:00
Stefan Metzmacher
9239b8e8d3
r24306: the check_fsp() function has an explicit user argument
...
so use it...
metze
(This used to be commit 4154bee0d9
)
2007-10-10 12:29:26 -05:00
Stefan Metzmacher
9342df7027
r24304: patch from Bjoern JAcke <bj@SerNet.DE>:
...
attached patches add EA support for Solaris. If no one disagrees, can
someone check this in please?
metze
(This used to be commit 81e5afc363
)
2007-10-10 12:29:25 -05:00
Stefan Metzmacher
d68145a509
r24302: add a module that overloads the file_id_create VFS function
...
and alters the device id depending on the configured algorithm.
The algorithm is configured via "fileid:algorithm":
- "fsname" (default) uses a uint64 hash over the mount point
- "fsid" uses the fsid returned from statfs()
This is needed for "clustering = yes" on some clusterfilesystems
metze
(This used to be commit 30f9171cca
)
2007-10-10 12:29:25 -05:00
Volker Lendecke
b87c0dde71
r24291: Fix Coverity ID 364
...
We've checked num_rids != 0 above.
(This used to be commit dab5449f38
)
2007-10-10 12:29:25 -05:00
Herb Lewis
c7b9f06647
r24290: fix debug statments to match function name
...
(This used to be commit 5ee0bfde50
)
2007-10-10 12:29:25 -05:00
Jeremy Allison
87afcae522
r24281: Fix bug found by Herb. The vuid entry in the cli_state structure gets
...
left as nonzero as returned by the failed cli_session_setup_spnego. When we then try
to authenticate as the user in cli_session_setup this returns an
error "Bad userid" (as seen in wireshark).
"We should only leave cli->vuid != 0 on success. Looks like it's
getting set in the cli_session_setup_blob_receive() call and not
cleared again on error."
Jeremy.
(This used to be commit fa8e66dd8d
)
2007-10-10 12:29:25 -05:00
Volker Lendecke
e215bd8b99
r24280: Fix the build of vfs_afsacl.c
...
(This used to be commit c231f7b8f6
)
2007-10-10 12:29:24 -05:00
Volker Lendecke
12d94f77f9
r24279: Remove reply_prep_legacy from reply_write_and_X
...
(This used to be commit f18b7a9a28
)
2007-10-10 12:29:24 -05:00
Volker Lendecke
a6810cb9a3
r24278: Push down reply_prep_legacy in reply_write_and_X
...
Remove the need for reply_prep_legacy for reply_pipe_write_and_X
(This used to be commit de143d5fa6
)
2007-10-10 12:29:24 -05:00
Stefan Metzmacher
3e8fc031c8
r24272: try to fix the build on irix...
...
metze
(This used to be commit dd7e94258b
)
2007-10-10 12:29:24 -05:00
Volker Lendecke
b0dc209c19
r24271: Push reply_prep_legacy into reply_write_and_X
...
(This used to be commit 607e7d2447
)
2007-10-10 12:29:24 -05:00
Volker Lendecke
1f67efab7c
r24270: Fix some END_PROFILE(SMBwriteX)
...
(This used to be commit 36f2347561
)
2007-10-10 12:29:23 -05:00
Volker Lendecke
bb9664302b
r24269: Check wct in reply_write_and_X
...
(This used to be commit 1297fac117
)
2007-10-10 12:29:23 -05:00
Volker Lendecke
456305325c
r24268: Fix two crashes for spoolss
...
strlcpy does not like a NULL source. Fix a use-after-free.
(This used to be commit c2a2145017
)
2007-10-10 12:29:22 -05:00
Volker Lendecke
42c1eca265
r24267: Fix the build farm
...
I had only tested with "net getlocalsid". posix_locking_init() calls this
with a NULL name...
(This used to be commit 3eee1fe280
)
2007-10-10 12:29:22 -05:00
Volker Lendecke
28210588ed
r24266: Remove the "open files database hash size" parameter
...
This has been superseded by the "tdb_hashsize:<tdbname>" parameter
(This used to be commit df40d336af
)
2007-10-10 12:29:22 -05:00
Volker Lendecke
8c154674c6
r24265: Add the tdb_hashsize:<tdbname> parameter
...
This makes it possible to set the default hashsize for any tdb. I would
like to remove the "open files database hash size" in favor of this one.
I'll check that removal in with the next commit, please complain/revert
if it's not ok.
Volker
(This used to be commit e9bd7a63a8
)
2007-10-10 12:29:21 -05:00
Volker Lendecke
d18b7b1223
r24254: Fix a segfault in r24102
...
The really pure bugfix would have replaced pparam by *pparam, but we pulled
the fid anyway.
Metze, in line 2421 the FSP_BELONGS_CONN is commented out, is that intended?
The FSCTL_CREATE_OR_GET_OBJECT_ID ioctl did not have it.
Volker
(This used to be commit 2c1376225b
)
2007-10-10 12:29:21 -05:00
Jeremy Allison
d75a38ae26
r24253: From Jan Martin <Jan.Martin@rwedea.com>.
...
----------------------------------------------------------
In rare cases, Samba 3.0.25b shows directory contents at the wrong
position in the file tree when displaying a subdirectory of a DFS link.
The problem occurs whenever Windows XP asks for a DFS referral for a
subdirectory of a DFS link with a trailing backslash.
Windows does not do this very often, but we saw it several times per day
on our central DFS server.
smbd/msdfs.c, dfs_path_lookup() does the following with the requested
path:
- in line 390, the local copy 'localpath' is 'unix_convert'ed; the
trailing backslash is removed inside unix_convert
- in lines 417-20, 'dfspath' (another copy of the requested path) is
mangled another way without removing trailing backslashes
That's why the following loop (lines 435-461) that is meant to
synchronously cut off the last path component from both strings until it
comes to a DFS link, does not handle both strings the same. When the
original path ended with a backslash, 'canon_dfspath' has always one
component more than 'localpath', so that *consumedcntp gets too big in
line 446. This value is reported to the client.
----------------------------------------------------------
Bug #4860 .
Jeremy.
(This used to be commit 42d1c6713a
)
2007-10-10 12:29:21 -05:00
Günther Deschner
6ba2d944a0
r24252: Dump guid of msExchMailboxGuid when returned.
...
Guenther
(This used to be commit 1142f3df54
)
2007-10-10 12:29:21 -05:00
Günther Deschner
bed0ea0693
r24251: Neverending fun:
...
Heimdal doesn't accept all OIDs and gss_import_name() fails with
GSS_S_BAD_NAMETYPE using this one. Use the GSS_KRB5_NT_PRINCIPAL_NAME OID
instead (which works with at least MIT 1.6.1 and Heimdal 1.0.1).
Guenther
(This used to be commit f783b32b65
)
2007-10-10 12:29:21 -05:00
Günther Deschner
b805bcc1b0
r24250: Merge W_ERROR_HAVE_NO_MEMORY macro from Samba 4.
...
Guenther
(This used to be commit 054084a235
)
2007-10-10 12:29:21 -05:00
Volker Lendecke
b0ed26faf0
r24244: Complete the conversion of reply_trans[s]
...
Remove reply_prep/post_legacy from send_trans_replies
(This used to be commit c08366f840
)
2007-10-10 12:29:20 -05:00
Volker Lendecke
d274724ebb
r24243: Remove reply_prep_legacy from api_reply
...
(This used to be commit b01664b43b
)
2007-10-10 12:29:20 -05:00
Volker Lendecke
43a77ab149
r24242: Remove reply_prep_legacy from api_rpc_trans_reply
...
(This used to be commit 160f65946a
)
2007-10-10 12:29:20 -05:00
Volker Lendecke
40f6afcea2
r24241: Remove reply_prep_legacy from api_WNPHS and api_SNPHS
...
(This used to be commit 8702450e91
)
2007-10-10 12:29:20 -05:00
Volker Lendecke
b8de67a2f2
r24240: Push down reply_prep_legacy one level inside api_fd_reply
...
(This used to be commit 0bb95639d6
)
2007-10-10 12:29:20 -05:00
Volker Lendecke
fbe15d8db9
r24239: Push reply_prep_legacy into api_fd_reply
...
(This used to be commit e2a9649792
)
2007-10-10 12:29:20 -05:00
Volker Lendecke
bcd0bf8e5e
r24238: Push down reply_prep_legacy one level
...
(This used to be commit a6a2d97fac
)
2007-10-10 12:29:19 -05:00
Volker Lendecke
d57a88a994
r24237: Add send_trans_reply_new
...
(This used to be commit f0598b3ca0
)
2007-10-10 12:29:19 -05:00
Volker Lendecke
97a817dceb
r24236: Push reply_prep_legacy() into named_pipe()
...
(This used to be commit b38f9347e8
)
2007-10-10 12:29:19 -05:00
Volker Lendecke
3bb9f20bc3
r24235: Make handle_trans reply to errors itself
...
(This used to be commit 06d0c74b74
)
2007-10-10 12:29:19 -05:00
Volker Lendecke
abc519ff43
r24234: Reformatting -- SCNR
...
(This used to be commit 040d6d5db6
)
2007-10-10 12:29:19 -05:00
Volker Lendecke
e41528c3f4
r24233: Push reply_prep_legacy into handle_trans
...
(This used to be commit dc27c3c668
)
2007-10-10 12:29:19 -05:00
Volker Lendecke
0cfea6de67
r24232: Push down reply_prep_legacy inside reply_transs
...
(This used to be commit 511f8bc030
)
2007-10-10 12:29:18 -05:00
Volker Lendecke
1d3c1de502
r24231: Push allocating InBuffer/OutBuffer into reply_transs
...
(This used to be commit 74ae19cca6
)
2007-10-10 12:29:18 -05:00
Volker Lendecke
f1822fe737
r24230: Push down reply_prep_legacy in reply_trans
...
The last checkin was for reply_trans, not reply_transs
(This used to be commit 50a2bfd9e0
)
2007-10-10 12:29:18 -05:00
Volker Lendecke
133ef281c0
r24229: Push allocating InBuffer/OutBuffer into reply_transs
...
(This used to be commit 39a7809aa4
)
2007-10-10 12:29:18 -05:00
Volker Lendecke
5d2031915e
r24225: Convert reply_flush to the new API
...
(This used to be commit f843c02f07
)
2007-10-10 12:29:18 -05:00
Volker Lendecke
bf160bb621
r24224: Check wct in reply_trans
...
(This used to be commit fc8759e63c
)
2007-10-10 12:29:18 -05:00
Volker Lendecke
c847b2afe7
r24223: Convert reply_echo to the new API
...
(This used to be commit 4863ff2899
)
2007-10-10 12:29:17 -05:00
Volker Lendecke
87165a81d9
r24167: Fix Coverity ID 365
...
We checked argc>=3 some lines above
(This used to be commit fa385e9f3c
)
2007-10-10 12:29:17 -05:00
Volker Lendecke
8476d072d3
r24166: Fix Coverity ID 391
...
(This used to be commit 461974d2cc
)
2007-10-10 12:29:17 -05:00
Volker Lendecke
d7b7ef4a33
r24165: Fix Coverity ID 369.
...
This was not really a bug I think, but this change cleans up the code a
bit.
(This used to be commit 59b4914df3
)
2007-10-10 12:29:17 -05:00
Jeremy Allison
01ee1c7909
r24164: Fix for write cache corruption bug reported by Jean-Francois Panisset <panisset@A52.com>.
...
Awaiting confirmation from reporter.
Jeremy.
(This used to be commit 7bd65060bd
)
2007-10-10 12:29:17 -05:00
Volker Lendecke
c7a425f30f
r24163: Remove the send_trans2_replies_new wrapper
...
This changes send_trans2_replies to not depend on large buffers anymore
and finishes the trans2 conversion.
(This used to be commit b1d133e4ff
)
2007-10-10 12:29:16 -05:00
Volker Lendecke
c2fb81bbf0
r24162: send_trans2_replies is now static in trans2.c
...
(This used to be commit 47261fb6fe
)
2007-10-10 12:29:16 -05:00
Volker Lendecke
72ce8ef168
r24161: handle_trans2 takes care of errors itself, no need to do it in reply_transs2
...
(This used to be commit ca26b43e02
)
2007-10-10 12:29:16 -05:00
Volker Lendecke
9f3062d8a7
r24160: process_trans2 in smbd/blocking.c used send_trans2_replies.
...
Fake a struct smb_request here.
Volker
(This used to be commit f712d1c92b
)
2007-10-10 12:29:16 -05:00
Volker Lendecke
1d8851f4c7
r24159: Convert reply_transs2 to the new API
...
(This used to be commit a55a4d71ff
)
2007-10-10 12:29:15 -05:00
Gerald Carter
cdd140fe27
r24158: SE_GROUP_RESOURCE in the other_sids list apparently means a
...
domain local group.
Fix a typo in the PAC debugging routine
(This used to be commit b0b66b2e7a
)
2007-10-10 12:29:15 -05:00
Volker Lendecke
e2f0b5dd2a
r24156: Convert reply_trans2 to the new API
...
(This used to be commit a9c2d75b42
)
2007-10-10 12:29:15 -05:00
Volker Lendecke
675a484670
r24155: Check wct in reply_trans2
...
(This used to be commit e0a708c79b
)
2007-10-10 12:29:15 -05:00
Volker Lendecke
c28bd38aa6
r24154: handle_trans2 does not reference inbuf/outbuf anymore
...
(This used to be commit 8eb016a91e
)
2007-10-10 12:29:14 -05:00
Volker Lendecke
2516942a4b
r24153: Convert call_trans2setfsinfo to the new API.
...
This *might* break the transport encryption stuff. I need to check that.
(This used to be commit 82b34d7bdb
)
2007-10-10 12:29:14 -05:00
Volker Lendecke
4514ea2034
r24152: Convert call_trans2ioctl to the new API
...
(This used to be commit db4e6781c4
)
2007-10-10 12:29:14 -05:00
Volker Lendecke
70496e030f
r24151: Convert call_trans2getdfsreferral to the new API
...
(This used to be commit 642c58648b
)
2007-10-10 12:29:14 -05:00
Volker Lendecke
ccd0b815e8
r24150: Convert call_trans2qfsinfo to the new API
...
(This used to be commit cdd86497b9
)
2007-10-10 12:29:14 -05:00
Volker Lendecke
24e97edc78
r24149: Convert call_trans2setfilepathinfo to the new API
...
(This used to be commit 50aa149cef
)
2007-10-10 12:29:13 -05:00
Volker Lendecke
67fde05d68
r24148: Remove some inbuf refs from subcommands of call_trans2setfilepathinfo
...
(This used to be commit 09ed6537b3
)
2007-10-10 12:29:13 -05:00
Volker Lendecke
f2e2c22b6f
r24147: Remove some inbuf refs from call_trans2setfilepathinfo
...
(This used to be commit a13c42be75
)
2007-10-10 12:29:13 -05:00
Volker Lendecke
fe92fdc67d
r24145: Fix a comment
...
(This used to be commit 34a00d8aa9
)
2007-10-10 12:29:13 -05:00
Volker Lendecke
bd627a1597
r24144: Fix the build
...
In a function returning void the "return;" needs to stand alone on some
compilers
(This used to be commit 28affcca8e
)
2007-10-10 12:29:12 -05:00
Volker Lendecke
44c5ee4ca6
r24143: Convert call_trans2qfilepathinfo to the new API
...
(This used to be commit 0b84e29120
)
2007-10-10 12:29:12 -05:00
Volker Lendecke
fa2b8a447a
r24142: Remove some direct inbuf references from call_trans2qfilepathinfo
...
(This used to be commit c9c0133d55
)
2007-10-10 12:29:12 -05:00
Volker Lendecke
2945d4492d
r24141: Add check_fsp as a replacement for CHECK_FSP
...
(This used to be commit a3d77a576f
)
2007-10-10 12:29:12 -05:00
Volker Lendecke
e3a53acafe
r24140: Convert call_trans2findnotifyfirst/next to the new API
...
(This used to be commit 46d9c51631
)
2007-10-10 12:29:11 -05:00
Volker Lendecke
133a8bbe07
r24139: Convert call_trans2mkdir to the new API
...
(This used to be commit d0b7f409e1
)
2007-10-10 12:29:11 -05:00
Volker Lendecke
a1d70fcad7
r24138: Convert call_trans2findnext to the new API
...
(This used to be commit af1855e4ce
)
2007-10-10 12:29:11 -05:00
Volker Lendecke
e5ad62702b
r24137: Convert call_trans2findfirst to the new API
...
(This used to be commit 238edebab7
)
2007-10-10 12:29:11 -05:00
Volker Lendecke
4d34c5eef7
r24136: get_lanman2_dir_entry() does not need access to inbuf/outbuf
...
It did not use inbuf anyway. Outbuf was used for alignment and to the
flags2. The alignment works ok if we align relative to base_data because this
and outbuf are both malloc'ed, and we put send_trans2_replies aligns out_data
properly relative to the start of the outbuf.
I don't know if the explicit align_string() calls in get_lanman2_dir_entry are
really necessary. I think that srvstr_push also does the same.
Please also note that this changes dst_len in srvstr_push from -1 to the real
length remaining.
Volker
(This used to be commit 9b1614f8cb
)
2007-10-10 12:29:10 -05:00
Volker Lendecke
b91704d47b
r24135: Convert call_trans2open to the new API
...
This itself won't help much, because send_trans2_replies_new still allocates
the big buffers, but stay tuned :-)
Also add/update my copyright on stuff I recently touched.
Volker
(This used to be commit 248f15ff14
)
2007-10-10 12:29:10 -05:00
Volker Lendecke
d526657d5f
r24134: talloc smb_request for handle_trans2
...
When starting to convert the individual trans2 subcalls, I need the new
API conventions to be present there. This means that those calls fill in
req->outbuf when there's something to ship
(This used to be commit d9eef977dc
)
2007-10-10 12:29:10 -05:00
Volker Lendecke
b62bd05b93
r24133: Explicitly pass flags2 down to push_string_fn
...
This needs a bit closer review, it also touches the client libs
(This used to be commit 824eb26738
)
2007-10-10 12:29:10 -05:00
Stefan Metzmacher
cc8d700364
r24131: - make it more clear what the different min and max fields mean
...
- with the "GSSAPI" sasl mech the plain, sign or seal negotiation
is independed from the req_flags and ret_flags
- verify the server supports the wrapping type we want
- better handling on negotiated buffer sizes
metze
(This used to be commit d0ec732387
)
2007-10-10 12:29:09 -05:00
Volker Lendecke
6c6fed5e65
r24130: Explicitly pass flags2 to srvstr_push
...
This is in preparation of the trans2 conversion: srvstr_push should not
look at inbuf directly.
(This used to be commit 5fd7e6a382
)
2007-10-10 12:29:09 -05:00
Stefan Metzmacher
d2900ddf11
r24128: fix double free in error path
...
metze
(This used to be commit 29e2d8e044
)
2007-10-10 12:29:09 -05:00
Stefan Metzmacher
82e80e023b
r24125: use TALLOC_FREE()
...
metze
(This used to be commit 4c21ebae95
)
2007-10-10 12:29:09 -05:00
Stefan Metzmacher
564e6841d6
r24123: add file_id_create() to some vfs modules
...
metze
(This used to be commit 0bc5a9cd01
)
2007-10-10 12:29:09 -05:00
Stefan Metzmacher
4b15f31f10
r24120: add a file_id_create() hook into the VFS layer
...
it's needed for some cluster filesystems to
overload this function.
metze
(This used to be commit cdaa24e804
)
2007-10-10 12:29:08 -05:00
Volker Lendecke
a0a9a301d2
r24119: Convert reply_exit to the new API
...
(This used to be commit d4d550aa2b
)
2007-10-10 12:29:08 -05:00
Stefan Metzmacher
b352a4532a
r24117: use locking_key() instead of forming the TDB_DATA key
...
by hand
metze
(This used to be commit a7449e4ab3
)
2007-10-10 12:29:08 -05:00
Stefan Metzmacher
39ddd0a520
r24115: try to get the file name and share patch for printing
...
brlocks from the share_mode db, as the same fileid
is used.
metze
(This used to be commit 8cccf470cb
)
2007-10-10 12:29:08 -05:00
Stefan Metzmacher
ebdfd34548
r24113: some little fixes to get the correct error message
...
when using "clustering = yes" and ctdbd isn't running
metze
(This used to be commit c5f020ba1f
)
2007-10-10 12:29:08 -05:00
Volker Lendecke
a81c8b2a28
r24107: Fix bug 4849. Thanks to Matthijs Kooijman <matthijs@stdin.nl>
...
(This used to be commit 6e6eea64a5
)
2007-10-10 12:29:07 -05:00
Volker Lendecke
bfbd756535
r24106: Pass fnum instead of buf/offset into get_rpc_pipe_p
...
(This used to be commit eb353412c6
)
2007-10-10 12:29:07 -05:00
Stefan Metzmacher
e1b1177196
r24104: fix the build, sorry...
...
metze
(This used to be commit a5e1f9fd29
)
2007-10-10 12:29:07 -05:00
Stefan Metzmacher
56766b1f3e
r24103: add some useful debug messages, as not all LDAP
...
libraries support wrapping hooks...
metze
(This used to be commit 581a1d3a20
)
2007-10-10 12:29:07 -05:00
Volker Lendecke
a2d6aa829f
r24102: Pass the fid instead of inbuf and an offset to file_fsp.
...
This removes the buf==NULL condition in file_fsp(), but wherever it is called
we do have a buffer anyway.
Volker
(This used to be commit d70a1f82fe
)
2007-10-10 12:29:07 -05:00
Volker Lendecke
3d769de244
r24101: Move prohibited_ea_names[] into samba_private_attr_name()
...
Minor cleanup
(This used to be commit 0487971722
)
2007-10-10 12:29:06 -05:00
Volker Lendecke
4473a5ec54
r24100: Convert reply_ntcancel to the new API
...
(This used to be commit 6e5f39379f
)
2007-10-10 12:29:06 -05:00
Stefan Metzmacher
3edc6088aa
r24098: - make use of the ads_service_principal abstraction
...
also for the "GSSAPI" sasl mech.
- also use the ads_kinit_password() fallback logic
from the "GSS-SPNEGO" sasl mech.
metze
(This used to be commit cbaf44de1e
)
2007-10-10 12:29:06 -05:00
Volker Lendecke
ae5da66e23
r24097: Convert reply_ntcreate_and_X_quota to the new API
...
(This used to be commit 08acadae56
)
2007-10-10 12:29:06 -05:00
Stefan Metzmacher
db718085fd
r24095: add one more fallback alternative to
...
construct the principal
metze
(This used to be commit b545667d2a
)
2007-10-10 12:29:05 -05:00
Stefan Metzmacher
062bca6675
r24093: move gssapi/krb5 principal handling into a function
...
metze
(This used to be commit 83de27968d
)
2007-10-10 12:29:05 -05:00
Volker Lendecke
04dcbbbd68
r24092: Convert do_ntcreate_pipe_open to the new API
...
nt_open_pipe_new() is a copy of nt_open_pipe(). It will stick for a bit
until do_nt_transact_create_pipe is converted as well.
(This used to be commit 247d6baaed
)
2007-10-10 12:29:05 -05:00
Volker Lendecke
d95725370f
r24091: Convert reply_ntcreate_and_X to the new API
...
The routines called will follow
(This used to be commit 28025fc17e
)
2007-10-10 12:29:05 -05:00
Volker Lendecke
5e9d12cd30
r24090: Separate parsing in reply_ntcreate_and_X
...
In particular, check if we have enough parameters
(This used to be commit 7a19b3071e
)
2007-10-10 12:29:05 -05:00
Volker Lendecke
15dc8917db
r24089: Add reply_prep/post_legacy
...
Routines to ease the transition to the new API
(This used to be commit 1bb2b341e2
)
2007-10-10 12:29:04 -05:00
Volker Lendecke
4254af7180
r24088: Convert reply_unlink to the new API
...
(This used to be commit fb0a1b7bd0
)
2007-10-10 12:29:04 -05:00
Volker Lendecke
e198b9d167
r24087: Fix bug 4836, patch by Matthijs Kooijman <matthijs@stdin.nl>. Thanks!
...
Volker
(This used to be commit 6c3813cf65
)
2007-10-10 12:29:04 -05:00
Volker Lendecke
8084a39ce0
r24086: Convert reply_ulogoffX to the new API
...
(This used to be commit bbc99e1c3b
)
2007-10-10 12:29:04 -05:00
Volker Lendecke
4694e757ba
r24085: Convert reply_rmdir to the new API
...
(This used to be commit 7689048d71
)
2007-10-10 12:29:03 -05:00
Volker Lendecke
68513d521d
r24084: Convert reply_mkdir to the new API
...
(This used to be commit e93f3996fc
)
2007-10-10 12:29:03 -05:00
Volker Lendecke
ef97e2dece
r24079: Convert reply_dskattr to the new API
...
(This used to be commit c8e0aa5752
)
2007-10-10 12:29:03 -05:00
Volker Lendecke
4392d47b34
r24078: Add reply_unixerror
...
(This used to be commit 10ac991750
)
2007-10-10 12:29:02 -05:00
Volker Lendecke
09b3d25252
r24077: Convert reply_tdis to the new API
...
(This used to be commit bd0cb48dde
)
2007-10-10 12:29:02 -05:00
Stefan Metzmacher
31dc9126c1
r24072: Add "client ldap sasl wrapping" parameter.
...
Possible values are "plain" (default), "sign" or "seal".
metze
(This used to be commit 26ccbad721
)
2007-10-10 12:29:02 -05:00
Volker Lendecke
dd98820185
r24071: Fix a missing END_PROFILE call
...
(This used to be commit c9f12326dd
)
2007-10-10 12:29:01 -05:00
Volker Lendecke
c1ca4c298b
r24070: Apply some const
...
(This used to be commit e6d592dcb8
)
2007-10-10 12:29:01 -05:00
Volker Lendecke
ed74f288f1
r24069: Fix Coverity ID 368. We would segfault if 0 < data.dsize < 8
...
(This used to be commit fa53632568
)
2007-10-10 12:29:01 -05:00
Volker Lendecke
d5ca533043
r24068: Fix Coverity id 366 (dead code). We have checked for argc >= 3 above.
...
(This used to be commit b876bca6bc
)
2007-10-10 12:29:01 -05:00
Volker Lendecke
84058d4933
r24067: Fix a type mismatch found by the IBM checker
...
(This used to be commit 411a1a2037
)
2007-10-10 12:29:01 -05:00
Günther Deschner
3ec8b1702c
r24066: Fix memleak found by Volker. We don't leak keys now with MIT and Heimdal.
...
Guenther
(This used to be commit 7755ad750f
)
2007-10-10 12:29:01 -05:00
Volker Lendecke
bf27a77c05
r24065: According to gd, this breaks heimdal. Thanks for checking!
...
(This used to be commit ea5f53eac8
)
2007-10-10 12:29:01 -05:00
Stefan Metzmacher
b4f6db40ab
r24062: fix logic for broken krb5 libs which always force
...
sign and seal...
metze
(This used to be commit 4a4fc8cccb
)
2007-10-10 12:29:00 -05:00
Volker Lendecke
d44063715a
r24058: Fix some memory leaks in ads_secrets_verify_ticket.
...
Jeremy, Günther, please review!
Thanks,
Volker
(This used to be commit 000e096c27
)
2007-10-10 12:29:00 -05:00
Volker Lendecke
6e419551ae
r24057: Fix some uninitialized variables found by the IBM checker
...
(This used to be commit d74bbc53c2
)
2007-10-10 12:29:00 -05:00
Volker Lendecke
7d2d4ddfa2
r24056: Another big one: This converts reply_sesssetup_and_X to the new API. As usual,
...
its history can be found on http://samba.org/~vlendec/sesssetup/ . This very
obviously needs close review.
Volker
(This used to be commit 35675a6a33
)
2007-10-10 12:29:00 -05:00
Volker Lendecke
63acef8e46
r24054: Fix some warnings
...
(This used to be commit ed84540bb2
)
2007-10-10 12:29:00 -05:00
Volker Lendecke
e29325a6ce
r24050: Fix a typo
...
(This used to be commit 53027d0ee2
)
2007-10-10 12:29:00 -05:00
Volker Lendecke
115062e7ce
r24049: Some more 64-bit warnings
...
(This used to be commit eabe796e46
)
2007-10-10 12:28:59 -05:00
Volker Lendecke
70faa40a2d
r24048: Fix the C++ warnings in our version of popt
...
(This used to be commit fd3683c1b3
)
2007-10-10 12:28:59 -05:00
Volker Lendecke
5e066d5ee1
r24047: With -Wmissing-prototypes these two always generate warnings. They
...
should be properly prototyped. For now, gloss over the warning.
(This used to be commit 2137158260
)
2007-10-10 12:28:59 -05:00
Volker Lendecke
e5cdc454aa
r24046: Fix a 64-bit warning
...
(This used to be commit a2ecc34aa4
)
2007-10-10 12:28:59 -05:00
Volker Lendecke
602271632a
r24044: Fix an uninitialized variable warning
...
(This used to be commit 69326a56e7
)
2007-10-10 12:28:59 -05:00
Stefan Metzmacher
75ae998b99
r24042: add support for krb5 sign and seal in LDAP via "GSS-SPNEGO"
...
metze
(This used to be commit 34ab84aceb
)
2007-10-10 12:28:59 -05:00
Stefan Metzmacher
09a16eba87
r24039: remove unused global variable...
...
metze
(This used to be commit 05fce8815f
)
2007-10-10 12:28:58 -05:00
Stefan Metzmacher
6b5c55b0f0
r24037: only setup sasl wrapping after a successful bind
...
metze
(This used to be commit 85d6cd3dfb
)
2007-10-10 12:28:58 -05:00
Jeremy Allison
76f0168f4f
r24036: Fix dfs rename bug in smbclient reported by Thomas Bork <tombork@web.de>.
...
Couldn't rename file as we weren't DFS enabling the target path.
Jeremy.
(This used to be commit cd66c133a1
)
2007-10-10 12:28:58 -05:00
Volker Lendecke
63fcb7a2fd
r24034: Print the full cluster pid in print_lock_struct
...
(This used to be commit ff1996ce4b
)
2007-10-10 12:28:58 -05:00
Volker Lendecke
798fc28a6a
r24033: We need to be able to cope with packet_handler calling itself
...
recursively
(This used to be commit b74797a31e
)
2007-10-10 12:28:58 -05:00
Volker Lendecke
33c57437a4
r24032: It helps testing tremendously if the cluster messaging actually sends
...
and receives messages to other nodes... :-)
(This used to be commit 3e9e9a3f28
)
2007-10-10 12:28:58 -05:00
Volker Lendecke
7c257b2214
r24031: Fix some 64 bit warnings
...
(This used to be commit c0fd9a14cf
)
2007-10-10 12:28:57 -05:00
Stefan Metzmacher
1ba6f17278
r24029: merge from http://samba.org/~tridge/samba_3_2_ctdb/ :
...
the claim_connection() must come after the sockets are open
metze
(This used to be commit 306846a14f
)
2007-10-10 12:28:57 -05:00
Stefan Metzmacher
4ce5c36367
r24027: merge from http://people.samba.org/bzr/metze/samba/3_2-ctdb-metze/ :
...
add in any cluster addresses. We need to response to these,
but not listen on them. This allows us to run nmbd on every
node in the cluster, and have all of them register with a
WINS server correctly
metze
(This used to be commit 98c57562c4
)
2007-10-10 12:28:57 -05:00
Stefan Metzmacher
12324f017c
r24025: packet_send() expects DATA_BLOB elements as vaargs
...
and not TDB_DATA
metze
(This used to be commit 3e4f552dbd
)
2007-10-10 12:28:57 -05:00
Günther Deschner
bed567bffc
r24024: Minor cleanup in ads_parse_gp_ext().
...
Guenther
(This used to be commit 57aa0acb84
)
2007-10-10 12:28:57 -05:00
Günther Deschner
e14d97bd10
r24023: Correctly support REG_BINARY in registry_push_value() and
...
registry_pull_value().
Guenther
(This used to be commit 6a3c44fd99
)
2007-10-10 12:28:57 -05:00
Stefan Metzmacher
93c56c712c
r24021: use MSG_BROADCAST_PID_STR as value for broadcast messages
...
to fix the cluster case
vl: please check, if this works with clustering = no
metze
(This used to be commit 9d4104b8d5
)
2007-10-10 12:28:56 -05:00
Stefan Metzmacher
efddd9c753
r24019: merge from http://people.samba.org/bzr/metze/samba/3_2-ctdb-metze/ :
...
use a timed event to make sure the timelimit is correctly
handled in smbcontrol when waiting for messages
metze
(This used to be commit 68c786dafa
)
2007-10-10 12:28:56 -05:00
Stefan Metzmacher
c8a07d8431
r24017: merge from http://samba.org/~tridge/samba_3_2_ctdb/ :
...
add add_trusted_domain() can return NULL
metze
(This used to be commit 12440efe0b
)
2007-10-10 12:28:56 -05:00
Stefan Metzmacher
213e178cb0
r24013: merge from http://samba.org/~tridge/samba_3_2_ctdb/ :
...
fixed prototype
metze
(This used to be commit 0add4e9478
)
2007-10-10 12:28:56 -05:00
Volker Lendecke
8e2aa47b3f
r24009: Revert to the 3.0.25 logic for parsing the client's protocols. hpisgr8
...
with gcc still gives timeouts which worry me.
Volker
(This used to be commit c30835b4f0
)
2007-10-10 12:28:56 -05:00
Volker Lendecke
40485cc81f
r24008: Fix Bug 4792. Thanks to David Gajewski <dgajews@math.utoledo.edu> and to
...
Timur I. Bakeyev for bugging me :-)
Volker
(This used to be commit 59aef0451b
)
2007-10-10 12:28:55 -05:00
Volker Lendecke
1bbb6e5a0b
r24007: Attempt to fix the build on host "gwen". The Makefile ended up with an
...
empty line.
(This used to be commit d05f7aefdf
)
2007-10-10 12:28:55 -05:00
Volker Lendecke
3a836c3ee4
r24006: Some more paranoia in reply_negprot
...
Some hosts see the smb_bufrem(req->inbuf, p) as an unsigned int. And as
the p += strlen(p) + 2 went one beyond the buffer, this was a very
large positive. Also take the chance to add one more consistency check.
(This used to be commit 3673707f9f
)
2007-10-10 12:28:55 -05:00
Volker Lendecke
16d13dcc74
r24005: Attempt to fix the build on host deckchair
...
(This used to be commit cdc8ca57a7
)
2007-10-10 12:28:55 -05:00
Volker Lendecke
01d5091c26
r24004: Convert reply_checkpath to the new API
...
(This used to be commit e5c7c6406a
)
2007-10-10 12:28:55 -05:00
Volker Lendecke
db9f25c1c5
r24003: Convert reply_tcon_and_X to the new API
...
(This used to be commit 9422385d9c
)
2007-10-10 12:28:55 -05:00
Volker Lendecke
3d12c53eb3
r24002: Convert reply_negprot to the new API
...
(This used to be commit bd981f5328
)
2007-10-10 12:28:54 -05:00
Volker Lendecke
de1c9f1f6d
r24001: Separate out the parsing of the client's requested protocols
...
This way the range checking only needs to be done once
(This used to be commit befaa9713a
)
2007-10-10 12:28:54 -05:00
Volker Lendecke
944fe69d03
r24000: Add message_push_blob() and message_push_string().
...
The proposed new API convention is to start with a 0 bcc length and then
push things step by step. These routines reallocate the outbuf and
adjust the length and bcc fields as necessary.
(This used to be commit 624f1fe4f6
)
2007-10-10 12:28:54 -05:00
Volker Lendecke
9e40557047
r23999: Convert reply_open_and_X
...
This is an example of chained code that is executed in make test
(This used to be commit e3a10e9ffb
)
2007-10-10 12:28:54 -05:00
Volker Lendecke
47cdfc0413
r23998: Convert reply_close to the new API
...
(This used to be commit dbf74cb747
)
2007-10-10 12:28:54 -05:00
Volker Lendecke
cc6a41017c
r23997: Check in the infrastructure for getting rid of the global InBuffer/OutBuffer
...
The complete history of this patch can be found under
http://www.samba.org/~vlendec/inbuf-checkin/ .
Jeremy, Jerry: If possible I would like to see this in 3.2.0. I'm only
checking into 3_2 at the moment, as it currently will slow down operations for
all non-converted (i.e. all at this moment) operations, as it will copy the
talloc'ed inbuf over the global InBuffer. It will need quite a bit of effort
to convert everything necessary for the normal operations an XP box does.
I have patches for negprot, session setup, tcon_and_X, open_and_X, close. More
to come, but I would appreciate some help here.
Volker
(This used to be commit 5594af2b20
)
2007-10-10 12:28:53 -05:00
Volker Lendecke
041204d1a4
r23996: One more const
...
(This used to be commit a54fa551a4
)
2007-10-10 12:28:53 -05:00
Volker Lendecke
530f6a927b
r23992: Some const
...
(This used to be commit bc106cf507
)
2007-10-10 12:28:53 -05:00
Volker Lendecke
ece86db24c
r23991: Some const
...
(This used to be commit 804be77e46
)
2007-10-10 12:28:53 -05:00
Volker Lendecke
8579dd4ded
r23990: Reformatting for 80 cols and trailing whitespace
...
(This used to be commit 0484de27d9
)
2007-10-10 12:28:53 -05:00
Volker Lendecke
9e78a3cb38
r23989: For testing purposes, add "echo" to smbclient
...
(This used to be commit 4cdfc88754
)
2007-10-10 12:28:52 -05:00
Volker Lendecke
941db29ab4
r23988: Looks a lot more scary than it is: This just unwraps the else-branch of
...
if (smb_messages[type].fn == NULL) { into the function top-level. Makes
this function a bit easier to understand IMO.
Volker
(This used to be commit ada23b7f06
)
2007-10-10 12:28:52 -05:00
Volker Lendecke
799c3ec8d4
r23987: Remove static pid in switch_message()
...
There's no point in duplicating functionality that exists in
sys_getpid() that also only used in a debug statement
(This used to be commit ebf1b1e97c
)
2007-10-10 12:28:52 -05:00
Volker Lendecke
25a3427ef1
r23986: Some const
...
(This used to be commit dc6f4bdb7f
)
2007-10-10 12:28:52 -05:00
Michael Adam
7712e7eeb6
r23981: Make tdb_validate_and_backup try harder to end up with a valid tdb:
...
If restoring a backup fails due to lack of space, remove the
corrupt tdb previously moved away to "name.corrupt", and retry.
If restoring still fails, move the backup in place instead of
copying it.
Michael
(This used to be commit f81f2bf480
)
2007-10-10 12:28:52 -05:00
Michael Adam
84f352caa5
r23980: Fix one more use of pwrite in expand_file.
...
Michael
(This used to be commit de0ef91346
)
2007-10-10 12:28:52 -05:00
Michael Adam
207a213c06
r23979: Fix another occurence of (written != requested) as an
...
error condition to write. This is in tdb_new_database.
Fix one call to tdb_new_database in tdb_open_ex to not
overwrite the newly propagated errno (typically ENOSPC).
Michael
(This used to be commit 24fed55d72
)
2007-10-10 12:28:51 -05:00
Michael Adam
e5051dd4a6
r23977: Im prove the pwrite-patch to tdb_expand_file of r23972:
...
* prevent infinite loops due to 0 bytes written:
try once more. if we still get 0 as return,
set errno to ENOSPC and return -1 (error)
* replace int by correct types (ssize_t and size_t).
* print a warning log message in case "written < requested to write"
usually this means, that the next call to pwrite will fail
with return value -1 and set errno accordingly.
Note that the former error condition "written != requested to write"
is not a correct error condition of write/pwrite. If this is due
to an error, a subsequent call to (p)write will reveal the cause
(typically "no space left on device" - ENOSPC).
Michael
(This used to be commit 5b8d53dfe1
)
2007-10-10 12:28:51 -05:00
Günther Deschner
8ba1569eef
r23976: Move authdata.o to LIBADS_SERVER_OBJ.
...
Guenther
(This used to be commit 3544d19d54
)
2007-10-10 12:28:51 -05:00
Michael Adam
6a16ad09cb
r23975: Enhance some debug output.
...
(This used to be commit 909172839a
)
2007-10-10 12:28:51 -05:00
Volker Lendecke
9a97fb7ff3
r23974: Fix Coverity ID 361. num_rids == 0 is caught on function entry
...
(This used to be commit 839d64add4
)
2007-10-10 12:28:51 -05:00
Günther Deschner
2349acdd43
r23973: For debugging, add (undocumented) net ads kerberos commands (kinit, renew,
...
pac).
Guenther
(This used to be commit 4cada7c148
)
2007-10-10 12:28:51 -05:00
Michael Adam
146c0781f3
r23972: Fix a bug in pwrite error detection in tdb_expand_file():
...
The proper error condition is (ret == -1) instead of
(ret != number_of_byte_told_to_write).
Michael
(This used to be commit e3af95f098
)
2007-10-10 12:28:50 -05:00
Günther Deschner
e4b268b2b5
r23971: Prevent build failures.
...
Guenther
(This used to be commit f959a0f152
)
2007-10-10 12:28:50 -05:00
Günther Deschner
f659ffc0ee
r23970: Allow to set the debuglevel at which to dump the PAC logon info.
...
Guenther
(This used to be commit 7d321aad83
)
2007-10-10 12:28:50 -05:00
Günther Deschner
fce64f6833
r23969: Some helper routines to retrieve a PAC and PAC elements.
...
Guenther
(This used to be commit d4c87c792a
)
2007-10-10 12:28:50 -05:00
Günther Deschner
7d3e5834ec
r23968: Harmonize net's password prompts.
...
Guenther
(This used to be commit 7e2fb14d6e
)
2007-10-10 12:28:50 -05:00
Volker Lendecke
16443996b5
r23967: Memleak fix from Atsushi Nakabayashi <nakabayashi@miraclelinux.com>
...
Thanks!
Volker
(This used to be commit 46997a7019
)
2007-10-10 12:28:50 -05:00
James Peach
33d54d1642
r23962: Linux oplock support is conditional on HAVE_KERNEL_OPLOCKS_LINUX,
...
not plain old LINUX.
(This used to be commit 234cb7c893
)
2007-10-10 12:28:49 -05:00
Michael Adam
b8a4863ca4
r23957: Use tdb_open_log instead of tdb_open.
...
Michael
(This used to be commit efabd7fe03
)
2007-10-10 12:28:49 -05:00
Stefan Metzmacher
070215ef13
r23956: merge from 3_2-ctdb-tridge:
...
fixed a bug with dead share mode entries
jra: please tell me if it's ok to merge this to 3_2_0.
metze
(This used to be commit 044ac6afa7
)
2007-10-10 12:28:49 -05:00
Stefan Metzmacher
fa07beaf80
r23954: merge from 3_0-ctdb-tridge:
...
don't display dead share mode entries in smbstatus
metze
(This used to be commit b52bb1e155
)
2007-10-10 12:28:49 -05:00
Volker Lendecke
f5033a1e62
r23953: Some C++ warnings
...
(This used to be commit 8716edf157
)
2007-10-10 12:28:49 -05:00
Michael Adam
21a847473d
r23952: Streamline and improve the logic of tdb_validate_and backup:
...
- call tdb_validate on the given tdb.
- if validation is successful, create a backup
return 0 (success) even if the backup fails.
- if validation fails:
- move tdb to name.corrupt (don't exit if this fails)
- look for a valid backup
- if a valid backup is found, restore it, else return -1 (failure)
if restoring succeeds, return 0 (success), else -1 (failure)
Summing up:
If 0 is returned, there is a valid tdb at the given location:
either the original one ore one restrored from a backup.
If -1 is returned, there is no valid tdb at the given location:
Either there is no file at all, or the original file is still
in place (if moving it away failed).
Michael
(This used to be commit 1c36ccd86d
)
2007-10-10 12:28:49 -05:00
Günther Deschner
e6875b1b45
r23951: Fix segfault.
...
Guenther
(This used to be commit 1a5c8780ae
)
2007-10-10 12:28:48 -05:00
Michael Adam
67b0553f56
r23950: unlink before rename is superfluous.
...
Michael
(This used to be commit 63c4c40cf7
)
2007-10-10 12:28:48 -05:00
Stefan Metzmacher
14e81b3009
r23948: add gsskrb5 sign and seal support for LDAP connections
...
NOTE: only for the "GSSAPI" SASL mech yet
metze
(This used to be commit a079b66384
)
2007-10-10 12:28:48 -05:00
Stefan Metzmacher
ea3c3b9272
r23946: add support for NTLMSSP sign and seal
...
NOTE: windows servers are broken with sign only...
metze
(This used to be commit 408bb2e6e2
)
2007-10-10 12:28:48 -05:00
Stefan Metzmacher
07c034f7c4
r23945: add infrastructure to select plain, sign or seal LDAP connection
...
metze
(This used to be commit 2075c05b3d
)
2007-10-10 12:28:48 -05:00
Stefan Metzmacher
e0c4034393
r23943: - always provide ads_setup_sasl_wrapping() function
...
- read/write returning 0 means EOF and we need to return direct
metze
(This used to be commit 885d557ae7
)
2007-10-10 12:28:48 -05:00
Jeremy Allison
e6c6c0438d
r23942: Fix issue found by Shlomi Yaakobovich <Shlomi@exanet.com> where
...
invalid names sent as a resume name were incorrectly mapped into
. and .. Ensure they really *are . and ..
Jeremy.
(This used to be commit 78d0c5194f
)
2007-10-10 12:28:47 -05:00
Jeremy Allison
921ac7da4f
r23941: Don't use "False" when you mean "MARSHALL".
...
Jeremy.
(This used to be commit 57d4d5f2cd
)
2007-10-10 12:28:47 -05:00
Jeremy Allison
cf09627894
r23940: Added missing line that was deleted accidently.
...
Should fix the build.
Jeremy.
(This used to be commit b085366d5b
)
2007-10-10 12:28:47 -05:00
Jeremy Allison
ed9e0d9a3a
r23939: Fixes for notify returns. Returned param value must fix inside
...
max_param or return NT_STATUS_OK.
Jeremy.
(This used to be commit ab4af60d1a
)
2007-10-10 12:28:47 -05:00
Michael Adam
f932dccd5d
r23938: Add a debug message.
...
(This used to be commit 6bd2c48921
)
2007-10-10 12:28:47 -05:00
Günther Deschner
9e0c550922
r23937: Use ads_config_path() when we need to know the configration context.
...
Guenther
(This used to be commit 1a62c731c6
)
2007-10-10 12:28:46 -05:00
Jeremy Allison
14826b0a79
r23935: We were lying to the client in the case of POSIX_UNLINK
...
if a Windows client had the file open. We were setting
delete on close and returning "ok". The POSIX client then
believed the file was gone (and it wasn't). Fix this to
return SHARING_VIOLATION if there is an existing NTcreateX
open on the file and someone calls POSIX_UNLINK. Still one
more Cthon test to fix but getting closer now. Should
be in 3.0.25c also.
Jeremy.
(This used to be commit 24e625a615
)
2007-10-10 12:28:46 -05:00
Stefan Metzmacher
00b27d2d69
r23933: - implement ctrl SASL wrapping hook
...
- pass down sign or seal hooks
- some sasl wrapping fixes
metze
(This used to be commit 8c64ca3394
)
2007-10-10 12:28:46 -05:00
Michael Adam
dc278f2d8f
r23932: Fill extended status with information in case the validation traverse
...
functions did not do so but returned an error. (This is the case when
error occurred deeper than at the level of the content checking done by
the per entry validate_fn.)
Michael
(This used to be commit e56be59947
)
2007-10-10 12:28:46 -05:00
Michael Adam
b82060b88f
r23931: Use the new tdb_validate_and_backup function instead of pure tdb_validate
...
in winbindd cache validation.
Michael
(This used to be commit 2c2a1ff2c2
)
2007-10-10 12:28:46 -05:00
Michael Adam
7291251efb
r23930: Introduce tdb_validate_and_backup:
...
This is a wrapper around tdb_validate, that does backup handling:
* if the given tdb is valid, a backup is created (name.bak)
* if the tdb is invalid, if a valid bakup is found (validated
with the same validation function) under the name "name.bak"
the orignal tdb is moved to name.corrupt and the backup
is restored.
For the backup handling, a variant of the backup_tdb function
from lib/tdb/tools/tdbbackup.c is included in lib/util_tdb.c.
The copy function for the traverse action eliminates the need
to maintain a global success state by using a struct wrapping
the target tdb and a success flag as the private data.
Michael
(This used to be commit ca63a99b61
)
2007-10-10 12:28:46 -05:00
Günther Deschner
d9c902cb59
r23929: Deleting gpo_sd_check_trustee_in_sid_token() as nt_token_check_sid() is what we
...
need here.
Guenther
(This used to be commit 465c89ee4a
)
2007-10-10 12:28:45 -05:00
Günther Deschner
4b4a3c7df1
r23928: Merge all "copy-info3-groups-to-sid-array" blocks to a sid_array_from_info3()
...
function.
Guenther
(This used to be commit 1e1e480115
)
2007-10-10 12:28:45 -05:00
Stefan Metzmacher
307e51ed14
r23926: implement output buffer handling for the SASL write wrapper
...
metze
(This used to be commit 65ce6fa21a
)
2007-10-10 12:28:45 -05:00
Michael Adam
4e23e4bd18
r23925: Use NULL instead of 0 for a void * argument.
...
(This used to be commit 864b3d260f
)
2007-10-10 12:28:45 -05:00
Stefan Metzmacher
7bef162aeb
r23922: implement input buffer handling for the SASL read wrapper
...
metze
(This used to be commit 7d8518ebd9
)
2007-10-10 12:28:42 -05:00
Günther Deschner
db4099884a
r23921: Remove GPO_SID_TOKEN struct and use nt_user_token instead, that already has
...
S-1-5-11 in the token.
Guenther
(This used to be commit 83c734690a
)
2007-10-10 12:28:42 -05:00
Günther Deschner
95d5042803
r23920: Fix debug statement.
...
Guenther
(This used to be commit 7317eb408d
)
2007-10-10 12:28:42 -05:00
Stefan Metzmacher
8cd89a20ce
r23918: not all ldap libraries support debugging
...
metze
(This used to be commit 3f68189c9a
)
2007-10-10 12:28:41 -05:00
Stefan Metzmacher
d48dbc8bad
r23916: use the correct io operations for debugging
...
metze
(This used to be commit d745a1a719
)
2007-10-10 12:28:41 -05:00
Stefan Metzmacher
63e93ad012
r23914: try to fix the build on Tru64
...
/usr/include/sys/acl.h:#define acl_type acl_common.entry_type
was the problem...
metze
(This used to be commit 8557b8b570
)
2007-10-10 12:28:41 -05:00
Jeremy Allison
1ffa14ff92
r23913: Revert back to Volker's original logic to fix the
...
RAW-SFILEINFO-RENAME until I can figure out what
is different from the way CIFSFS drives this in
the cthon tests and the way smbtorture drives it.
Jeremy.
(This used to be commit 99f72dd9af
)
2007-10-10 12:28:41 -05:00
Jeremy Allison
02730aa86c
r23911: Revert r23910 to try and fix the build farm. I
...
need to look at this more closely tomorrow.
Stevef's cthon tests definately show we're not
matching Windows behaviour (as his tests pass
against Windows but not SAMBA_3_2) but this isn't
the fix.
Jeremy.
(This used to be commit 90bbc077e1
)
2007-10-10 12:28:41 -05:00
Jeremy Allison
cfb7c04696
r23910: We used to deny renames on the
...
source open for non-delete open.
Turns out this is not the case.
VL please test but this matches
Windows behaviour. (I'll add a
torture test tomorrow).
Jeremy.
(This used to be commit 03e3d58746
)
2007-10-10 12:28:41 -05:00
Jeremy Allison
5e3e15f754
r23909: Get closer to passing the cthon tests for delete open file.
...
It matters how the target is open.
Jeremy.
(This used to be commit 0989877fd1
)
2007-10-10 12:28:40 -05:00
Jeremy Allison
44b9493418
r23908: Fix bug with interaction of optimization with
...
POSIX locking. We can't do lock counts with POSIX,
so stop counting if we get a POSIX lock request.
Jeremy.
(This used to be commit a48e4a29e6
)
2007-10-10 12:28:40 -05:00
Jeremy Allison
b3d471d367
r23906: Fix POSIX unlink bug found by Steve. If we
...
used lstat during the open (which we always
do for POSIX) then use lstat for the unlink.
Jeremy.
(This used to be commit 4aad77c27c
)
2007-10-10 12:28:40 -05:00
Volker Lendecke
f798837c23
r23904: Remove an unused variable reference
...
(This used to be commit 7f4ceb1bf0
)
2007-10-10 12:28:40 -05:00
Volker Lendecke
5e8590753c
r23903: Fix a potential reason for the segfault Steve found
...
(This used to be commit c06bc91085
)
2007-10-10 12:28:40 -05:00
Jeremy Allison
b4366f6c37
r23902: Fix uninitialized read in devicetype noticed by Volker.
...
Jeremy
(This used to be commit 98c2393973
)
2007-10-10 12:28:39 -05:00
Stefan Metzmacher
164f75efea
r23900: LDAP_OPT_SOCKBUF doesn't exists on all platforms
...
metze
(This used to be commit 8455c65be3
)
2007-10-10 12:28:39 -05:00
Stefan Metzmacher
77619f37a0
r23898: rename HAVE_ADS_SASL_WRAPPING -> HAVE_LDAP_SASL_WRAPPING
...
metze
(This used to be commit 873eaff8fe
)
2007-10-10 12:28:39 -05:00
Stefan Metzmacher
fc3f3c655b
r23896: hopefully fix the build on most systems
...
metze
(This used to be commit d5512da62a
)
2007-10-10 12:28:39 -05:00
Stefan Metzmacher
57dd25cccb
r23893: add dummy callbacks for LDAP SASL wrapping,
...
they're not used yet...
metze
(This used to be commit a3b97cdce7
)
2007-10-10 12:28:39 -05:00
Stefan Metzmacher
0f0e847e39
r23891: fix compiler warning
...
metze
(This used to be commit 6dcbc0b605
)
2007-10-10 12:28:39 -05:00
Stefan Metzmacher
809c9d4d31
r23888: move elements belonging to the current ldap connection to a
...
substructure.
metze
(This used to be commit 00909194a6
)
2007-10-10 12:28:38 -05:00
Stefan Metzmacher
2fc53c947b
r23886: add ads_disconnect() function
...
metze
(This used to be commit ba70737b70
)
2007-10-10 12:28:38 -05:00
Volker Lendecke
476c30b9ce
r23885: Fix make test on opi.
...
(This used to be commit b2adb28808
)
2007-10-10 12:28:38 -05:00
Volker Lendecke
ffd2b4e4cd
r23884: Fix Coverity ID 379
...
(This used to be commit 86476efc7a
)
2007-10-10 12:28:38 -05:00
Volker Lendecke
7ba884db5d
r23883: Fix Coverity ID 380
...
(This used to be commit 5eda562f2b
)
2007-10-10 12:28:38 -05:00
Volker Lendecke
c9da49790e
r23882: Fix Coverity id 389 -- finally (I hope)
...
(This used to be commit 9b8f2d8bd1
)
2007-10-10 12:28:38 -05:00
Volker Lendecke
d537225c4c
r23879: Fix two memleaks, found by the IBM checker
...
(This used to be commit 4d1b33f513
)
2007-10-10 12:28:37 -05:00
Volker Lendecke
e84f8662e6
r23878: Fix an error return, found by the IBM checker
...
(This used to be commit a369c67f66
)
2007-10-10 12:28:37 -05:00
Volker Lendecke
3912eebdc9
r23877: Fix two segfaults in (very unlikely) error paths, found by the IBM
...
checker.
(This used to be commit 33068885e6
)
2007-10-10 12:28:37 -05:00
Günther Deschner
2e6b56061d
r23874: Some more minor edits for net ads gpo.
...
Guenther
(This used to be commit cc41b3b60f
)
2007-10-10 12:28:37 -05:00
Günther Deschner
a1def4de32
r23873: Make use of ads_find_samaccount().
...
Guenther
(This used to be commit 94d11806fd
)
2007-10-10 12:28:36 -05:00
Günther Deschner
e997cf9fe2
r23872: Dump all GPFLAGS in dump_gpo().
...
Guenther
(This used to be commit 4b5c4b4fff
)
2007-10-10 12:28:36 -05:00
Günther Deschner
3488299232
r23871: The snapin handler needs to have the full struct GROUP_POLICY_OBJECT.
...
Guenther
(This used to be commit 9dc8ec0e19
)
2007-10-10 12:28:36 -05:00
Günther Deschner
ee7bf1530b
r23870: Use GPO_LINK_TYPE in GROUP_POLICY_OBJECT struct.
...
Guenther
(This used to be commit f60ad2ccff
)
2007-10-10 12:28:36 -05:00
Günther Deschner
28041b6064
r23869: Protect against partial security descriptors.
...
Guenther
(This used to be commit 0a96a11f01
)
2007-10-10 12:28:36 -05:00
Volker Lendecke
ac51ffb77b
r23866: Fix a 1-byte buffer overrun
...
(This used to be commit 2ed83d36fe
)
2007-10-10 12:28:36 -05:00
Volker Lendecke
6eca5f5042
r23865: Fix a type-punned error
...
(This used to be commit a40d3a566a
)
2007-10-10 12:28:35 -05:00
Stefan Metzmacher
894a02ef4d
r23863: handle NT_STATUS_RETRY and always print out the NTSTATUS string
...
before calling ctdb_fatal()
metze
(This used to be commit 48ece3c21e
)
2007-10-10 12:28:35 -05:00
Günther Deschner
ed0ffc5cef
r23861: Fix return code in ads_find_samaccount().
...
Guenther
(This used to be commit 684fcf39dc
)
2007-10-10 12:28:35 -05:00
Jeremy Allison
e8dc2ea03d
r23858: Added srvstr_pull_buf_talloc() and srvstr_pull_talloc()
...
calls and converted reply_tcon and reply_tconX to use
them - to show the boilerplate usage (valgrind tested).
In conjunction with Volker's srvstr_get_path_talloc()
work this should allow us to start eliminating all
pstrings/fstrings out of the main path processing
code.
I'll watch the build farm tonight...
Jeremy.
(This used to be commit b4eff3f680
)
2007-10-10 12:28:35 -05:00
Jeremy Allison
79a9f6dcb8
r23856: Add Jiri.Sasek@Sun.COM;s fix from Axel Apitz for ZFS ACLs.
...
Jeremy.
(This used to be commit 6ba12b6cb9
)
2007-10-10 12:28:35 -05:00
Jeremy Allison
967b22827f
r23855: Setting the allocation size updates the modified time
...
as a write does. Fix bug #4779 .
Jeremy.
(This used to be commit ed0e2174a8
)
2007-10-10 12:28:35 -05:00
Michael Adam
c52c8b4821
r23853: Fix a very misleading error message in tdbbackup.
...
Michael
(This used to be commit 3a2a032a44
)
2007-10-10 12:28:34 -05:00
Michael Adam
451224166d
r23850: Fix whitespacing in DEBUG output.
...
(This used to be commit 918aad0d8b
)
2007-10-10 12:28:34 -05:00
Jeremy Allison
6b0e3194e3
r23847: As Dr. Volker says, "A pstring a day....".
...
Jeremy.
(This used to be commit 8adf81696a
)
2007-10-10 12:28:34 -05:00
Jeremy Allison
b114d3dc70
r23846: Belt-and-braces on the msdfs bug. Ensure ELOOP maps
...
correctly.
Jeremy.
(This used to be commit f2cf4b6b9d
)
2007-10-10 12:28:34 -05:00
Jeremy Allison
da0758cb04
r23845: Second part of the fix for #4777 . Looks like on AIX opendir
...
returns an errno of ELOOP for a symlink of msdfs:server\path\to\link.
Cope with this by mapping to a known error NT_STATUS_OBJECT_PATH_NOT_FOUND
that we know dfs_path_lookup should ignore.
Jeremy.
(This used to be commit d4a7411c48
)
2007-10-10 12:28:34 -05:00
Jeremy Allison
f01698027d
r23844: Add patch series from Volker (after review and consultation).
...
0001-Save-a-strdup-in-stat_cache_add.patch
0002-Use-ISDOT-and-ISDOTDOT.patch
0003-Move-fname_equal-around.patch
0004-unix_convert-pstring-dirpath-char.patch
0005-Ignore-.o-files.patch
0006-Get-rid-of-pstrings-inside-unix_convert.patch
0007-revert-pstring-unix_convert.patch
0008-Make-name-an-allocated-pstring-inside-unix_convert.patch
0009-Pass-explicit-pstring-to-mangle_check_cache.patch
0010-Don-t-overwrite-orig_path-unnecessarily.patch
0011-Defer-allocating-name.patch
0012-Make-sure-dirpath-is-always-correctly-allocated.patch
0013-Remove-one-pstring-dependency-in-unix_convert.patch
0014-Remove-more-name-pstring-dependencies.patch
0015-Hide-the-nasty-API-of-mangle_check_cache-in-mangle_c.patch
0016-name-does-not-need-to-be-pstring-size-anymore.patch
0017-Make-use-of-ISDOT-and-ISDOTDOT.patch
0018-Remove-pstring-from-stat_cache_lookup.patch
0019-Add-my-copyright.patch
To remove pstrings from statcache and unix_convert.
Jeremy.
(This used to be commit ea6ef36889
)
2007-10-10 12:28:34 -05:00
Jeremy Allison
188b84f9d0
r23843: Fix bug #4777 , reported by Bill Marshall <bmarsh@us.ibm.com>.
...
Doing a DFS traverse through a deep link could fail (not using
explorer).
Jeremy.
(This used to be commit cd93f0cb00
)
2007-10-10 12:28:33 -05:00
Günther Deschner
8d786a4e2b
r23842: Attempt to fix the build with LDAP.
...
Guenther
(This used to be commit efd817ae11
)
2007-10-10 12:28:33 -05:00
Günther Deschner
5d95214cf7
r23841: Show all acl types when displaying a security descriptor.
...
Guenther
(This used to be commit 06418a63a0
)
2007-10-10 12:28:33 -05:00
Günther Deschner
bdb7c621e6
r23840: Fix the build.
...
Guenther
(This used to be commit 07bce67121
)
2007-10-10 12:28:33 -05:00
Günther Deschner
34d091f1c6
r23839: Try to get the attribute name from schema GUIDs or the display name from
...
extended rights GUID from ad while dumping the security descriptors's aces.
This would perform much better with a guid cache, but for the rare cases where
it is used
net ads search cn=mymachine ntSecurityDescriptor -U user%pass
it should be ok for now.
Guenther
(This used to be commit b36913433e
)
2007-10-10 12:28:33 -05:00
Günther Deschner
b62ade20d0
r23838: Allow to store schema and config path in ADS_STRUCT config.
...
Guenther
(This used to be commit 1d5b08326f
)
2007-10-10 12:28:33 -05:00
Günther Deschner
9d6f8ed5e7
r23837: Pass ADS_STRUCT and TALLOC_CTX down to ads_disp_sd.
...
Guenther
(This used to be commit ad0a6d5703
)
2007-10-10 12:28:32 -05:00
Günther Deschner
f05dcab9bf
r23836: Add ads_config_path() and ads_get_extended_right_name_by_guid().
...
Guenther
(This used to be commit 4d62f1191b
)
2007-10-10 12:28:32 -05:00
Günther Deschner
fd8dc4b561
r23835: Pass down a struct GUID to ads_get_attrname_by_guid() directly.
...
Guenther
(This used to be commit a4d5206d0b
)
2007-10-10 12:28:32 -05:00
Günther Deschner
c252b04abf
r23834: Allow to pass an ADS_STRUCT pointer down to the dump function callback in
...
libads.
Guenther
(This used to be commit 311bbbafa6
)
2007-10-10 12:28:32 -05:00
Günther Deschner
c8e23e4091
r23833: Document ads_find_samaccount().
...
Guenther
(This used to be commit 3effd1c346
)
2007-10-10 12:28:31 -05:00
Alexander Bokovoy
5dbce9081c
r23831: Fix vfs_readahead: transparent modules should always pass through
...
(This used to be commit 800cf5c81c
)
2007-10-10 12:28:31 -05:00
Günther Deschner
e7705f9eb9
r23829: Add ads_get_attrname_by_guid().
...
Guenther
(This used to be commit a84fd83006
)
2007-10-10 12:28:31 -05:00
Michael Adam
f0072e5476
r23828: Add entry and exit debug statments to tdb_validate
...
at a lower debug level.
Michael
(This used to be commit b636f8cdad
)
2007-10-10 12:28:31 -05:00
Günther Deschner
1c957f9559
r23826: Fix gpo security filtering by matching the security descriptor ace's for the
...
extended apply group policy right.
Guenther
(This used to be commit d832014a6f
)
2007-10-10 12:28:31 -05:00
Günther Deschner
e05f45baef
r23825: Add ".." command as an alias to "cd ..".
...
Guenther
(This used to be commit c254c5e254
)
2007-10-10 12:28:30 -05:00
Günther Deschner
36d74b678b
r23824: Add ls alias for lazy typers like me.
...
Guenther
(This used to be commit cdec09956c
)
2007-10-10 12:28:30 -05:00
Volker Lendecke
0ff8556f8b
r23823: Memory leak fix from Atsushi Nakabayashi <nakabayashi@miraclelinux.com>
...
Thanks!
Volker
(This used to be commit 17b875ae5b
)
2007-10-10 12:28:30 -05:00
Michael Adam
d775ad4aba
r23822: Clean some debugging output (as well in content and
...
amount as in source code formatting...)
Michael
(This used to be commit 9794b94ebf
)
2007-10-10 12:28:30 -05:00
Günther Deschner
6d0141c17e
r23820: Display security_ace_object in LDAP security descriptors for debugging.
...
Guenther
(This used to be commit 3925e85812
)
2007-10-10 12:28:30 -05:00
Michael Adam
0543963797
r23819: It is currently unnecessary to pass the extended validation status
...
from the validating child process down to the parent though the
pipe. All the parent evaluates is the overall success, so the exit
status should do.
Michael
(This used to be commit 9415ea0fde
)
2007-10-10 12:28:30 -05:00
Michael Adam
344f7aa381
r23814: Fix a couple of comments and debug messages.
...
(This used to be commit ef40ef6764
)
2007-10-10 12:28:29 -05:00
Volker Lendecke
fa919f24f0
r23813: Remove unused global variable
...
(This used to be commit 3b811134c0
)
2007-10-10 12:28:29 -05:00
Volker Lendecke
0c03be5503
r23808: Make us a bit more C++ friendly. Thanks to Constantine Vetoshev
...
<gepardcv@yahoo.com> for checking.
(This used to be commit 84b8a56fe9
)
2007-10-10 12:28:29 -05:00
Andrew Tridgell
714209baaa
r23804: here too
...
(This used to be commit e5d18768a0
)
2007-10-10 12:28:28 -05:00
Andrew Tridgell
0726ed4f41
r23802: fixed URL in XML
...
(This used to be commit 256301a21a
)
2007-10-10 12:28:28 -05:00
Andrew Tridgell
153cfb9c83
r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
...
(This used to be commit 87c91e4362
)
2007-10-10 12:28:27 -05:00
Andrew Tridgell
28b9d61076
r23800: LGPL is now called GNU Lesser General Public License
...
not GNU Library General Public License
(This used to be commit 727a6cf2cb
)
2007-10-10 12:28:26 -05:00
Andrew Tridgell
674b835241
r23799: updated old Franklin Street FSF addresses to new URL
...
(This used to be commit 43cd589773
)
2007-10-10 12:28:26 -05:00
Andrew Tridgell
9fa1c63578
r23798: updated old Temple Place FSF addresses to new URL
...
(This used to be commit c676a97114
)
2007-10-10 12:28:26 -05:00
Andrew Tridgell
5b4c4181b4
r23797: started fixing old FSF addresses. Fixed pcap2nbench COPYING file
...
(This used to be commit e87bb12093
)
2007-10-10 12:28:26 -05:00
Andrew Tridgell
fbfaaa9993
r23795: more v2->v3 conversion
...
(This used to be commit c14aba93c0
)
2007-10-10 12:28:26 -05:00
Andrew Tridgell
fd881dad3f
r23794: convert more code from LGPLv2+ to LGPLv3+
...
(This used to be commit f3df6cd87e
)
2007-10-10 12:28:25 -05:00
Andrew Tridgell
34bb47c9b0
r23791: found some more v2->v3 conversions
...
(This used to be commit b6cbac3db3
)
2007-10-10 12:28:25 -05:00
Andrew Tridgell
2c09988e46
r23790: LGPLv3+ conversion for our LGPLv2+ library code
...
(This used to be commit 1b78cace50
)
2007-10-10 12:28:25 -05:00
Andrew Tridgell
ef591178d0
r23786: Use linux/dqblk_xfs.h rather than a private copy of this header in the
...
Samba3 tree.
This is neater, plus it avoids the need to get legal approval from SGI
to use their GPLv2-only code under GPLv3.
If/when SGI legal sort things out, we could consider adding back this
header for very old systems where linux/dqblk_xfs.h is not available.
(This used to be commit cb435543f8
)
2007-10-10 12:28:24 -05:00
Andrew Tridgell
5e54558c6d
r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
...
(This used to be commit b0132e94fc
)
2007-10-10 12:28:22 -05:00
Andrew Tridgell
df2465298b
r23783: Processing the UAS change message was causing problems on ppc64 Linux
...
systems. Rather than trying to fix this, it's much better just to
remove the code, as it serves no purpose at all (the message that is
generated is ignored by smbd).
This sort of parsing should really be done by PIDL generated code.
(This used to be commit 22e8404cef
)
2007-10-10 12:28:21 -05:00
Simo Sorce
f622dc8d2f
r23782: I tested this against NT4 PDC, W2K Server, W2K3 Dc, and a Win XP std alone
...
client and they all work with this code.
(This used to be commit 44e22581d7
)
2007-10-10 12:28:21 -05:00
Jeremy Allison
2a9b4da0fa
r23780: Find and fix more GPL2 -> GPL3.
...
Jeremy.
(This used to be commit c2f7ab1c17
)
2007-10-10 12:28:21 -05:00
Jeremy Allison
d824b98f80
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
(This used to be commit 407e6e695b
)
2007-10-10 12:28:20 -05:00
Gerald Carter
70f2baf656
r23776: Setting version in 3.2 branch to 3.2.1pre1-SVN
...
Setting version in 3.2.0 branch to 3.2.0pre1-SVN
(This used to be commit 240b19c8ca
)
2007-10-10 12:28:18 -05:00
Volker Lendecke
f850ba5787
r23773: One pstring a day...
...
(This used to be commit 0c3016d32b
)
2007-10-10 12:23:55 -05:00
Günther Deschner
221d06d6f3
r23772: Add ads_find_samaccount() helper function.
...
Guenther
(This used to be commit 6fafa64bea
)
2007-10-10 12:23:55 -05:00
Günther Deschner
3438f7d533
r23771: Merge useful W_ERROR_NOT_OK_RETURN macro from samba4.
...
Guenther
(This used to be commit 31d689b248
)
2007-10-10 12:23:55 -05:00
Günther Deschner
5512dacbca
r23770: Some minor cleanups in libgpo
...
(including some valgrind errors, uninitialized vars, etc.)
Guenther
(This used to be commit 1a2878db2d
)
2007-10-10 12:23:55 -05:00
Michael Adam
5e4962d9e7
r23769: Move removal of the tdb from the generic tdb_validate function
...
to the caller (winbindd_validate_cache in this case).
Next, there will be a backup handling for the tdb files.
Michael
(This used to be commit 821bc84109
)
2007-10-10 12:23:55 -05:00
Volker Lendecke
5daa21f558
r23768: Get rid of the three global variables for the case semantics. I think
...
this is really not worth globals.
Jeremy, please check for 3.0.26.
(This used to be commit 6e655500c0
)
2007-10-10 12:23:55 -05:00
Günther Deschner
a83b84cbd5
r23766: Add GTYPE_SECURITY_UNIVERSAL_GROUP define.
...
Guenther
(This used to be commit 964acb2716
)
2007-10-10 12:23:54 -05:00