Volker Lendecke
ed25c6c287
Add a "bytes_padding" parameter to smb_splice_chain
...
For example open&x and write&x needs the bytes to be aligned relative to the
SMB header. In particular for write&x we should not have to move stuff around.
2008-12-08 22:09:33 +01:00
Volker Lendecke
f0bb53dd0f
Factor out smb_splice_chain(), to be used by chain_reply() in smbd
2008-12-08 22:09:33 +01:00
Stefan Metzmacher
53c41661bd
s4:rpc_server: fix crash bugs in 26200f4fb1db81be7a9da51f317e46405351b170
...
call->context needs to be valid.
metze
2008-12-08 15:51:01 +01:00
Stefan Metzmacher
26200f4fb1
s4:rpc_server: make it possible for iface->bind() to specify the assoc_group_id
...
This helps the openchange mapiproxy plugin to work correctly.
metze
2008-12-08 15:25:25 +01:00
Volker Lendecke
e3eb94ef8e
Replace some pointless variables in reply_open_pipe_and_X by comments
2008-12-07 21:30:36 +01:00
Volker Lendecke
1db7076b8e
Fix nonempty blank lines
2008-12-07 21:30:35 +01:00
Volker Lendecke
691cf386fb
Slightly simplify cli_session_setup_ntlmssp
...
Remove three pointless variables
2008-12-07 21:30:35 +01:00
Stefan Metzmacher
54b90cd1da
s4:winbind: fill in the correct variable...
...
metze
2008-12-06 15:48:10 +01:00
Stefan Metzmacher
a2700f3731
s4:secrets: remove unused structure
...
metze
2008-12-06 15:38:49 +01:00
Stefan Metzmacher
e9215c9713
RPC-BROWSER: send the correct data in later requests
...
metze
2008-12-06 15:04:34 +01:00
Stefan Metzmacher
2c31b7975d
s4:torture: add simple RPC-BROWSER test
...
metze
2008-12-06 14:56:51 +01:00
Stefan Metzmacher
d595844891
s4:librpc: add SUBSYSTEM::RPC_NDR_BROWSER
...
metze
2008-12-06 14:56:50 +01:00
Stefan Metzmacher
b7a1dd9a94
s4:loadparm: start 'browser' rpc_server
...
metze
2008-12-06 14:56:49 +01:00
Stefan Metzmacher
f8bbdb100b
s4:dcesrv_browser: implement dcesrv_BrowserrQueryOtherDomains()
...
metze
2008-12-06 14:56:49 +01:00
Stefan Metzmacher
6627080e00
s4:rpc_server: add dcesrv_browser template
...
metze
2008-12-06 14:56:48 +01:00
Stefan Metzmacher
3e1cd3dda7
s4:brwoser.idl: add idl for BrowserrQueryOtherDomains()
...
metze
2008-12-06 14:56:44 +01:00
Stefan Metzmacher
ba0facd688
s4:winbind: move setting up the primary_sid into a new function wbsrv_setup_domains()
...
metze
2008-12-06 12:40:30 +01:00
Dan Sledz
f9172a2af5
Fix logging to syslog
2008-12-05 18:00:32 -08:00
Tomasz Krasuski
33193c2bb7
Fix bug #5928 - Option --version in testparm does not work.
2008-12-05 16:30:39 -08:00
Jeremy Allison
3b6e5e6cc8
Fix lp_socket_address() prototype.
...
Jeremy.
2008-12-05 14:04:51 -08:00
Yasuma Takeda
611ef42053
Fix bug #5944 - nmbd does not boot if socket adress = "" is defined in smb.conf
2008-12-05 13:37:51 -08:00
Volker Lendecke
ac4a77ccca
Fix for crash bug freeing a non-malloc'ed buffer if the client sends a non-encrypted packet with the crypto state set.
2008-12-05 13:20:55 -08:00
Günther Deschner
3656cb2e57
s3-samr: fix samr_SetUserInfo level 18 server-side.
...
Guenther
2008-12-05 16:35:22 +01:00
Günther Deschner
f29d31a7e0
s4-smbtorture: do full level 18, 21, 23, 24, 25, 26 testing in pwdlastset test.
...
Guenther
2008-12-05 16:29:04 +01:00
Günther Deschner
c0b67b4aa6
s4-smbtorture: add support for level 18 and 21 in test_SetUserPass_level_ex.
...
Guenther
2008-12-05 16:28:57 +01:00
Günther Deschner
97c3ae12cf
s4-smbtorture: more tests for RPC-SAMR-PASSWORDS-PWDLASTSET.
...
Guenther
2008-12-05 16:28:50 +01:00
Günther Deschner
b514da4afd
s4-smbtorture: add test for setting passwords via samr_UserInfo21.
...
Guenther
2008-12-05 16:03:08 +01:00
Günther Deschner
985d9b1099
s4-smbtorture: add test for setting passwords via samr_UserInfo18.
...
Guenther
2008-12-05 16:03:04 +01:00
Günther Deschner
58102a366b
s4-smbtorture: fix build of samr test (bad git merge).
...
Guenther
2008-12-05 15:48:47 +01:00
Steve French
420a9071e1
mount.cifs: if mount user not specified use USER environment variable
...
smbfs also would use the USER environment variable if the user was not
specified on the mount command and no credential file specified, and
mount.cifs man page says that we will use this environment variable
(in most cases this will not cause a behavior change, because
we were doing getuid of the current process which will usually be
the same name).
Fixes Samba bug #5934
Acked-by: Jeff Layton
2008-12-05 08:09:08 -06:00
Günther Deschner
8be38511a3
s3-rpcclient: add setuserinfo to set passwords using level 18,21,23,24,25,26.
...
Guenther
2008-12-05 14:27:03 +01:00
Günther Deschner
b883bcd4ff
s3: store user session key in cli_rpc_pipe_open_noauth().
...
Guenther
2008-12-05 14:27:03 +01:00
Günther Deschner
b8204ffd03
s3-samr: fix samr callers of samr_UserInfo18.
...
Guenther
2008-12-05 14:27:03 +01:00
Günther Deschner
4bcf8edcf8
s4-samr: fix samr callers after SAMR_FIELD_PASSWORD change.
...
Guenther
2008-12-05 14:27:03 +01:00
Günther Deschner
7423b6a4b8
s3-samr: fix SAMR_FIELD_PASSWORD callers.
...
Guenther
2008-12-05 14:27:03 +01:00
Günther Deschner
ce01168158
s4-samr: fix s4 samr server after idl change.
...
Guenther
2008-12-05 14:27:03 +01:00
Günther Deschner
e97149087a
s3-samr: fix rpcclient after idl change.
...
Guenther
2008-12-05 14:27:03 +01:00
Günther Deschner
eb906e1d2d
s3-samr: fix init_samr_user_info2{1,3,5} callers.
...
Guenther
2008-12-05 14:27:02 +01:00
Günther Deschner
98ea2b12c4
s3-build: re-run make samba3-idl.
...
Guenther
2008-12-05 14:27:02 +01:00
Günther Deschner
9bb1f4ca0e
samr: fix samr_UserInfo18, lm/nt pwd mixup.
...
Guenther
2008-12-05 14:27:02 +01:00
Günther Deschner
1e90c5773c
samr: fix samr_UserInfo18. It also contains password_expired, thanks metze.
...
Guenther
2008-12-05 14:27:02 +01:00
Günther Deschner
b0e813d28c
samr: make more explicit what SAMR_FIELD_PASSWORD{2} means.
...
Guenther
2008-12-05 14:27:02 +01:00
Günther Deschner
8210177ea4
samr: fill in two unknowns in samr_UserInfo21.
...
Guenther
2008-12-05 14:27:02 +01:00
Günther Deschner
809d44e3db
samr: fill in two unknowns in samr_DomInfo13.
...
Guenther
2008-12-05 14:27:02 +01:00
Günther Deschner
de443a4240
samr: fix samr_UserInfo21 (order of lm_password_set and nt_password_set).
...
Guenther
2008-12-05 14:27:02 +01:00
Günther Deschner
e9269e57fc
s3-rpcclient: add get_domain_handle for samr commands.
...
Guenther
2008-12-05 14:27:02 +01:00
Stefan Metzmacher
0f74de3d37
s4:password_hash: really catch the clearTextPasswordAttr case...
...
This fixes the creation of the user object for incoming trusts
in dcesrv_lsa_CreateTrustedDomain_base().
And now w2k3 trust samba4 just fine:-)
metze
2008-12-05 14:16:47 +01:00
Sam Liddicott
39e468f558
vfs_cifs - Use ntvfs request transport close to close downstream session
...
When upstream session closes, close the downstream session
Signed-off-by: Sam Liddicott <sam@liddicott.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-05 12:52:19 +01:00
Sam Liddicott
7d8f3cdbfc
Let ntvfs request transport close via ntvfs_request state
...
[I can't swear that this covers all the smb2 cases, there are some reply
functions that I can't trace properly]
Add NTVFS_ASYNC_STATE_CLOSE bit to ntvfs_request->async_states->state
so that the ntvfs layer can signify that the client transport should
be closed, most useful for proxy servies, and most likely due to a
forwarding transport having been closed.
Signed-off-by: Sam Liddicott <sam@liddicott.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-05 12:52:13 +01:00
Jeremy Allison
0e723d8f7d
Fix bug #5937 - filenames with "*" char hide other files
...
Jeremy.
2008-12-04 15:35:32 -08:00