1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

29147 Commits

Author SHA1 Message Date
Jeremy Allison
384052f546 Fix return of uninitialized variable.
Jeremy.
2008-06-26 13:19:40 -07:00
Günther Deschner
cbff970fac libnet_dssync: pass down drsuapi_DsReplicaOIDMapping_Ctr to callback.
Guenther
2008-06-26 18:36:35 +02:00
Günther Deschner
6eedd167e7 libnet_dssync: always decrypt attributes before passing them to the processing routine.
Guenther
2008-06-26 18:35:54 +02:00
Volker Lendecke
8e7effd58f Fix valgrind errors in _spoolss_addprinterdriver
Jerry, this was dropped as part of your SVN r15309 (037f9f83). Can you please
check?

Thanks,

Volker
(cherry picked from commit 5aa2411f0b3720b790439359a2dadb23008e936e)
2008-06-26 16:55:48 +02:00
Volker Lendecke
8573032877 Fix a segfault in rpcclient adddriver
(cherry picked from commit d4b5a9d67389578f531527b339f6feead62f082d)
2008-06-26 15:35:56 +02:00
Volker Lendecke
8dd94d448b Fix a debug message 2008-06-26 13:32:11 +02:00
Volker Lendecke
b34283adef remove unused extern current_user from nt_printing.c 2008-06-26 13:13:23 +02:00
Volker Lendecke
510f45d01a Remove current_user reference from printfsp.c 2008-06-26 13:13:23 +02:00
Volker Lendecke
e2009c0b8d remove unused extern current_user from lanman.c 2008-06-26 13:13:23 +02:00
Volker Lendecke
fd43059b3d Change print_access_check to take auth_serversupplied_info instead of current_user
Reason: This is the main user of p->current_user which I would like to remove
2008-06-26 13:13:23 +02:00
Volker Lendecke
d4cf5a1319 Remove p->vuid
The users can use p->server_info.

Now pipes_struct is decoupled from the SMB transport.
2008-06-26 13:13:23 +02:00
Volker Lendecke
fbc00460f8 Remove a check on p->vuid in _netr_LogonSamLogon/off
This is in preparation of removing p->vuid completely. I don't think this check
here makes any sort of sense, it only proves that the user having done the
session setup on its way to the schannel bind (ususally anonymous) did not do a
logoff in between. But this would have been caught way before this in
reply_pipe_write_and_X.
2008-06-26 13:13:23 +02:00
Volker Lendecke
aefad64e3a Now that we have p->server_info, use p->server_info->user_session_key 2008-06-26 13:13:23 +02:00
Volker Lendecke
41d2daeaa5 Fix typo 2008-06-26 13:13:22 +02:00
Volker Lendecke
d621867bb8 Add server_info to pipes_struct 2008-06-26 13:13:22 +02:00
Michael Adam
fee770e5d0 ctdbd_connect: bump debug level to 1 for "connect failed" message.
Leave level 0 message for higher level callers.

Michael
2008-06-26 12:31:11 +02:00
Michael Adam
7bbf29137b messages: bump debug level to 1 for "messaging_ctdb_init failed".
Leave level 0 messages to higher level callers.

Michael
2008-06-26 12:31:11 +02:00
Michael Adam
3baf9eb6a2 nmbd: untangle logic in nmbd_messaging_context() slightly.
Michael
2008-06-26 12:31:11 +02:00
Michael Adam
e6a403209c nmbd: don't panic if messaging_init() fails - return NULL instead.
Michael
2008-06-26 12:31:11 +02:00
Michael Adam
e9177ec56a winbind: remove duplicate debug message for failing messaging_init().
Leave the message inside winbind_messaging_context() for now.
There might be callers, where this debug message could prove useful...

Michael
2008-06-26 12:31:10 +02:00
Michael Adam
e710a9b73e winbind: untangle logic in winbind_messaging_context() slightly.
Michael
2008-06-26 12:31:10 +02:00
Michael Adam
3e0c24323a winbindd: don't panic if messaging_init() fails - return NULL instead.
Leave appropriate handling to the callers.

Michael
2008-06-26 12:31:10 +02:00
Michael Adam
fae4c21b14 smbd: untangle logic in smbd_messaging_context() slightly.
Michael
2008-06-26 12:31:10 +02:00
Michael Adam
3b6541ff48 smbd: don't panic if messaging_init() fails but return NULL
leaving panic or more appropriate action to callers.
This can for instance happen in a clustered setup, when
ctdb is not running. This allows for a more defined behaviour,
reducing chicken-egg-problems.

Michael
2008-06-26 12:31:10 +02:00
Günther Deschner
6725b751d8 drsuapi: rerun make idl and add drsblobs generated files.
Guenther
2008-06-26 12:17:43 +02:00
Günther Deschner
58dc161ac9 drsuapi: add drsblobs.idl from samba4.
Guenther
2008-06-26 12:17:34 +02:00
Günther Deschner
891d4cca0c net_vampire: add some error output to libnet_dssync.
Guenther
2008-06-26 10:24:14 +02:00
Günther Deschner
2efe18f7c9 errors: add WERR_DS_DRA_BAD_NC and WERR_DS_DRA_BAD_DN.
Guenther
2008-06-26 10:24:02 +02:00
Jeremy Allison
9075c5f2ad Merge branch 'v3-3-test' of ssh://jra@git.samba.org/data/git/samba into v3-3-test 2008-06-25 15:24:18 -07:00
Jeremy Allison
77b99530e0 Part of fix for #5551. Split out the group enumeration functions to a BUILTIN and a Domain
specific version. Stops the domain groups appearing twice.
Jeremy.
2008-06-25 15:23:32 -07:00
Günther Deschner
b90ae34372 rpcclient: add samr chgpasswd command.
Guenther
2008-06-25 23:58:50 +02:00
Günther Deschner
10fd2baa83 rpc_client: add rpccli_samr_chgpasswd_user() call.
Guenther
2008-06-25 23:58:50 +02:00
Günther Deschner
b1209a039b rename rpccli_samr_chgpasswd3 to rpccli_samr_chgpasswd_user3.
Guenther
2008-06-25 23:58:50 +02:00
Günther Deschner
5b4650d56c rename rpccli_samr_chgpasswd_user to rpccli_samr_chgpasswd_user2.
Guenther
2008-06-25 23:58:50 +02:00
Jeremy Allison
2181770e45 Final (hopefully :-) part of fix for bug #5551. Allow passdb backend to enumerate domain groups.
Jeremy
2008-06-25 12:44:18 -07:00
Volker Lendecke
3bfeae651f Fix the build 2008-06-25 16:25:05 +02:00
Andrew Tridgell
c10aad9f13 make parametic options case insensitive
This is needed as some options are uppercased internally in Samba, such as the idmap config option
Without this change it is not possible to set these options via net conf which lowercases options
2008-06-25 21:40:53 +10:00
Günther Deschner
ac5aaf2900 netapi: add NetUserChangePassword() example code.
Guenther
2008-06-25 09:55:12 +02:00
Günther Deschner
5d06891238 netapi: add NetUserChangePassword() to public headers.
Guenther
2008-06-25 09:55:12 +02:00
Günther Deschner
f4ce688710 netapi: add NetUserChangePassword skeleton.
Guenther
2008-06-25 09:55:11 +02:00
Günther Deschner
397d305e90 re-run make idl.
Guenther
2008-06-25 09:55:11 +02:00
Günther Deschner
7020a5bd6e netapi: add NetUserChangePassword() to IDL.
Guenther
2008-06-25 09:55:11 +02:00
Günther Deschner
b47899195e rpc_client: let cli_get_session_key() return talloced session key.
Thanks, Volker, for pointing this out.

Guenther
2008-06-25 09:51:31 +02:00
Jeremy Allison
a07fe72538 Fix for bug #5551, smbd recursing back into winbindd from a winbindd call.
Jeremy.
2008-06-24 18:01:59 -07:00
Jeremy Allison
10da498a23 Fix bug #5555. Don't return NT_STATUS_PASSWORD_MUST_CHANGE error on machine account logon.
Jeremy.
2008-06-24 16:37:15 -07:00
Günther Deschner
9486e532da net_vampire: add basic libnet_dssync() infrastructure.
Guenther
2008-06-24 23:50:31 +02:00
Günther Deschner
93b56755f7 rpc_client: add cli_get_session_key().
Guenther
2008-06-24 23:47:58 +02:00
Günther Deschner
7541a0103a net: add basic support for sealed RPC connections (using NET_FLAGS_SEAL).
Guenther
2008-06-24 23:45:09 +02:00
Günther Deschner
3b6352a60e crypto: add decrypt_drsuapi_blob from samba4.
Guenther
2008-06-24 23:44:20 +02:00
Günther Deschner
05d6f2e00c re-run make idl.
Guenther
2008-06-24 23:42:28 +02:00