]>
git.ipfire.org Git - thirdparty/samba.git/log
Volker Lendecke [Tue, 24 Jun 2008 15:04:02 +0000 (17:04 +0200)]
remove unused extern current_user from nt_printing.c
Volker Lendecke [Tue, 24 Jun 2008 14:58:29 +0000 (16:58 +0200)]
Remove current_user reference from printfsp.c
Volker Lendecke [Tue, 24 Jun 2008 14:58:12 +0000 (16:58 +0200)]
remove unused extern current_user from lanman.c
Volker Lendecke [Tue, 24 Jun 2008 14:03:28 +0000 (16:03 +0200)]
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
Volker Lendecke [Tue, 24 Jun 2008 13:24:08 +0000 (15:24 +0200)]
Remove p->vuid
The users can use p->server_info.
Now pipes_struct is decoupled from the SMB transport.
Volker Lendecke [Tue, 24 Jun 2008 13:21:46 +0000 (15:21 +0200)]
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.
Volker Lendecke [Tue, 24 Jun 2008 12:33:31 +0000 (14:33 +0200)]
Now that we have p->server_info, use p->server_info->user_session_key
Volker Lendecke [Tue, 24 Jun 2008 12:25:23 +0000 (14:25 +0200)]
Fix typo
Volker Lendecke [Tue, 24 Jun 2008 12:18:55 +0000 (14:18 +0200)]
Add server_info to pipes_struct
Michael Adam [Tue, 24 Jun 2008 13:09:37 +0000 (15:09 +0200)]
ctdbd_connect: bump debug level to 1 for "connect failed" message.
Leave level 0 message for higher level callers.
Michael
Michael Adam [Tue, 24 Jun 2008 13:08:21 +0000 (15:08 +0200)]
messages: bump debug level to 1 for "messaging_ctdb_init failed".
Leave level 0 messages to higher level callers.
Michael
Michael Adam [Tue, 24 Jun 2008 10:46:13 +0000 (12:46 +0200)]
nmbd: untangle logic in nmbd_messaging_context() slightly.
Michael
Michael Adam [Tue, 24 Jun 2008 10:44:50 +0000 (12:44 +0200)]
nmbd: don't panic if messaging_init() fails - return NULL instead.
Michael
Michael Adam [Tue, 24 Jun 2008 10:34:49 +0000 (12:34 +0200)]
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
Michael Adam [Tue, 24 Jun 2008 10:30:38 +0000 (12:30 +0200)]
winbind: untangle logic in winbind_messaging_context() slightly.
Michael
Michael Adam [Tue, 24 Jun 2008 10:29:05 +0000 (12:29 +0200)]
winbindd: don't panic if messaging_init() fails - return NULL instead.
Leave appropriate handling to the callers.
Michael
Michael Adam [Mon, 23 Jun 2008 15:35:08 +0000 (17:35 +0200)]
smbd: untangle logic in smbd_messaging_context() slightly.
Michael
Michael Adam [Mon, 23 Jun 2008 15:32:32 +0000 (17:32 +0200)]
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
Günther Deschner [Thu, 26 Jun 2008 10:07:07 +0000 (12:07 +0200)]
drsuapi: rerun make idl and add drsblobs generated files.
Guenther
Günther Deschner [Thu, 26 Jun 2008 09:57:37 +0000 (11:57 +0200)]
drsuapi: add drsblobs.idl from samba4.
Guenther
Günther Deschner [Thu, 26 Jun 2008 08:22:40 +0000 (10:22 +0200)]
net_vampire: add some error output to libnet_dssync.
Guenther
Günther Deschner [Thu, 26 Jun 2008 07:49:13 +0000 (09:49 +0200)]
errors: add WERR_DS_DRA_BAD_NC and WERR_DS_DRA_BAD_DN.
Guenther
Jeremy Allison [Wed, 25 Jun 2008 22:24:18 +0000 (15:24 -0700)]
Merge branch 'v3-3-test' of ssh://jra@git.samba.org/data/git/samba into v3-3-test
Jeremy Allison [Wed, 25 Jun 2008 22:23:32 +0000 (15:23 -0700)]
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.
Günther Deschner [Wed, 25 Jun 2008 09:50:50 +0000 (11:50 +0200)]
rpcclient: add samr chgpasswd command.
Guenther
Günther Deschner [Wed, 25 Jun 2008 09:50:17 +0000 (11:50 +0200)]
rpc_client: add rpccli_samr_chgpasswd_user() call.
Guenther
Günther Deschner [Wed, 25 Jun 2008 19:49:57 +0000 (21:49 +0200)]
rename rpccli_samr_chgpasswd3 to rpccli_samr_chgpasswd_user3.
Guenther
Günther Deschner [Wed, 25 Jun 2008 08:35:59 +0000 (10:35 +0200)]
rename rpccli_samr_chgpasswd_user to rpccli_samr_chgpasswd_user2.
Guenther
Jeremy Allison [Wed, 25 Jun 2008 19:44:18 +0000 (12:44 -0700)]
Final (hopefully :-) part of fix for bug #5551. Allow passdb backend to enumerate domain groups.
Jeremy
Volker Lendecke [Wed, 25 Jun 2008 14:24:33 +0000 (16:24 +0200)]
Fix the build
Andrew Tridgell [Wed, 25 Jun 2008 11:27:17 +0000 (21:27 +1000)]
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
Günther Deschner [Tue, 24 Jun 2008 22:47:17 +0000 (00:47 +0200)]
netapi: add NetUserChangePassword() example code.
Guenther
Günther Deschner [Tue, 24 Jun 2008 22:47:41 +0000 (00:47 +0200)]
netapi: add NetUserChangePassword() to public headers.
Guenther
Günther Deschner [Tue, 24 Jun 2008 22:32:02 +0000 (00:32 +0200)]
netapi: add NetUserChangePassword skeleton.
Guenther
Günther Deschner [Tue, 24 Jun 2008 22:29:25 +0000 (00:29 +0200)]
re-run make idl.
Guenther
Günther Deschner [Tue, 24 Jun 2008 22:29:06 +0000 (00:29 +0200)]
netapi: add NetUserChangePassword() to IDL.
Guenther
Günther Deschner [Tue, 24 Jun 2008 22:21:37 +0000 (00:21 +0200)]
rpc_client: let cli_get_session_key() return talloced session key.
Thanks, Volker, for pointing this out.
Guenther
Jeremy Allison [Wed, 25 Jun 2008 01:01:59 +0000 (18:01 -0700)]
Fix for bug #5551, smbd recursing back into winbindd from a winbindd call.
Jeremy.
Jeremy Allison [Tue, 24 Jun 2008 23:37:15 +0000 (16:37 -0700)]
Fix bug #5555. Don't return NT_STATUS_PASSWORD_MUST_CHANGE error on machine account logon.
Jeremy.
Günther Deschner [Mon, 23 Jun 2008 21:13:21 +0000 (23:13 +0200)]
net_vampire: add basic libnet_dssync() infrastructure.
Guenther
Günther Deschner [Tue, 10 Jun 2008 19:35:34 +0000 (21:35 +0200)]
rpc_client: add cli_get_session_key().
Guenther
Günther Deschner [Tue, 24 Jun 2008 08:34:16 +0000 (10:34 +0200)]
net: add basic support for sealed RPC connections (using NET_FLAGS_SEAL).
Guenther
Günther Deschner [Mon, 23 Jun 2008 14:02:04 +0000 (16:02 +0200)]
crypto: add decrypt_drsuapi_blob from samba4.
Guenther
Günther Deschner [Tue, 24 Jun 2008 18:57:17 +0000 (20:57 +0200)]
re-run make idl.
Guenther
Günther Deschner [Tue, 24 Jun 2008 18:57:03 +0000 (20:57 +0200)]
drsuapi: add some more attribute IDs.
Guenther
Günther Deschner [Wed, 18 Jun 2008 10:52:00 +0000 (12:52 +0200)]
net_vampire: add code to vampire a SAM database to a keytab file.
Guenther
Günther Deschner [Tue, 24 Jun 2008 10:30:34 +0000 (12:30 +0200)]
net_vampire: add username/password to samsync_context.
Guenther
Günther Deschner [Tue, 24 Jun 2008 11:06:38 +0000 (13:06 +0200)]
libads: use ads_connect_user_creds in some places.
Guenther
Günther Deschner [Tue, 24 Jun 2008 11:02:03 +0000 (13:02 +0200)]
libads: add ads_connect_user_creds() that won't overwrite given user creds.
Guenther
Günther Deschner [Tue, 24 Jun 2008 10:11:06 +0000 (12:11 +0200)]
libads: add ADS_AUTH_USER_CREDS to avoid magic overwriting of usernames.
Guenther
Günther Deschner [Wed, 18 Jun 2008 10:48:35 +0000 (12:48 +0200)]
kerberos: add smb_krb5_keytab_name().
Guenther
Günther Deschner [Wed, 18 Jun 2008 10:45:57 +0000 (12:45 +0200)]
kerberos: make smb_krb5_kt_add_entry public, allow to pass keys without salting them.
Guenther
Karolin Seeger [Tue, 24 Jun 2008 13:55:30 +0000 (15:55 +0200)]
net ads: Fix typos.
Karolin
Karolin Seeger [Tue, 24 Jun 2008 13:53:23 +0000 (15:53 +0200)]
rpc_client: Avoid warning in builds without krb5 headers.
warning: ‘cli_auth_kerberos_data_destructor’ defined but not used
Karolin
Volker Lendecke [Mon, 23 Jun 2008 06:38:27 +0000 (08:38 +0200)]
Remove "conn" from pipes_struct
For spoolss, we need the client's IP address
Volker Lendecke [Mon, 23 Jun 2008 06:33:04 +0000 (08:33 +0200)]
Correct calculation of "remark" in srv_srvsvc_nt.c
Very likely the client is not interested in the values for the IPC$ share :-)
Volker Lendecke [Sun, 22 Jun 2008 20:19:10 +0000 (22:19 +0200)]
Move the responsibility to keep the cwd from srv_dfs_nt to msdfs.c
Günther Deschner [Wed, 18 Jun 2008 10:42:27 +0000 (12:42 +0200)]
re-run make idl.
Guenther
Günther Deschner [Wed, 18 Jun 2008 10:42:11 +0000 (12:42 +0200)]
drsuapi: fill in some more drsuapi_DsAttributeIds.
Guenther
Günther Deschner [Mon, 23 Jun 2008 15:29:01 +0000 (17:29 +0200)]
net_vampire: more libnet_samsync restructuring.
Guenther
Günther Deschner [Mon, 23 Jun 2008 15:03:53 +0000 (17:03 +0200)]
net_vampire: prepend libnet_ to the public samsync functions.
Guenther
Günther Deschner [Tue, 17 Jun 2008 19:53:01 +0000 (21:53 +0200)]
net_vampire: move out display routines to one file.
Guenther
Günther Deschner [Tue, 17 Jun 2008 19:44:30 +0000 (21:44 +0200)]
net_vampire: move out passdb routines to one file.
Guenther
Günther Deschner [Tue, 17 Jun 2008 19:42:27 +0000 (21:42 +0200)]
net_vampire: fix included header.
Guenther
Günther Deschner [Tue, 17 Jun 2008 19:32:12 +0000 (21:32 +0200)]
net_vampire: display more deltas while doing samdump.
Guenther
Günther Deschner [Tue, 17 Jun 2008 19:22:06 +0000 (21:22 +0200)]
net_vampire: move pull_netr_AcctLockStr() to libnet.
Guenther
Günther Deschner [Mon, 16 Jun 2008 11:36:53 +0000 (13:36 +0200)]
time: move uint64s_nt_time_to_unix_abs() to lib/time.c
Guenther
Andreas Schneider [Mon, 23 Jun 2008 14:29:40 +0000 (16:29 +0200)]
Add documentation for kerberos support in libsmbclient.
Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com>
Andreas Schneider [Mon, 23 Jun 2008 09:00:20 +0000 (11:00 +0200)]
Add krb5 support for the testbrowse example.
Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com>
Michael Adam [Mon, 23 Jun 2008 09:11:08 +0000 (11:11 +0200)]
libsmbconf: add "includes" to the forbidden_valnames[].
This removes the warning messages 'Unknown parameter encountered: "includes"'.
Michael
Michael Adam [Mon, 23 Jun 2008 09:09:38 +0000 (11:09 +0200)]
libsmbconf: fastpaths first in smbconf_reg_valname_valid().
Before dropping into lp_parameter_is_valid().
Michael
Karolin Seeger [Mon, 23 Jun 2008 08:15:53 +0000 (10:15 +0200)]
Samba3 HOWTO: Remove trailing whitespaces.
Karolin
(cherry picked from commit
c7a9c903acbba9c70211e6f3c25964533bbc1622 )
(cherry picked from commit
62e485eebd8a40b5692caa79bb3ed6108f0b835b )
Karolin Seeger [Mon, 23 Jun 2008 08:28:09 +0000 (10:28 +0200)]
man pages: Correct version in man winbindd again.
Karolin
(cherry picked from commit
ef44968276bfde2fdd3370e2558fb469357414be )
(cherry picked from commit
9fd1d784cf6044c5c03cf7ab0f2373e08df64295 )
John H Terpstra [Wed, 28 May 2008 16:02:26 +0000 (11:02 -0500)]
Fixed publishing date info.
(cherry picked from commit
b96c9d54cfd29ec87d59655839a4136977a98032 )
(cherry picked from commit
e4d03d3aede0cd611283a041eafdcd1e836aad33 )
John H Terpstra [Wed, 28 May 2008 16:00:49 +0000 (11:00 -0500)]
Added TDB File documentation requested by some users.
(cherry picked from commit
5035311af639336fdc51fa9829e984ff281216f9 )
(cherry picked from commit
a7531f4964ac8f861a41e9fa446e5a3aa69eaaa2 )
John H Terpstra [Mon, 19 May 2008 18:02:08 +0000 (13:02 -0500)]
Clarification that hosts resolution is done by winbind only on IRIX, all other systems use libnss_wins.so.
(cherry picked from commit
3a8ea6be389bedbcdb5668664d862768c026f669 )
(cherry picked from commit
8522db2075f8c9e869c6224f2852ce355bba987d )
John H Terpstra [Mon, 19 May 2008 18:00:01 +0000 (13:00 -0500)]
Clarification that hosts resolution is done by winbind only on IRIX, all other systems use libnss_wins.so.
(cherry picked from commit
2a953d6ba252e5ba4e28b7fae5979e7c47fe9bd0 )
(cherry picked from commit
59bb2b0c9a6397bb0202055d7b00dce30d7bf03b )
Volker Lendecke [Mon, 23 Jun 2008 05:14:46 +0000 (07:14 +0200)]
init_shared_module -> init_samba_module
Volker Lendecke [Sun, 22 Jun 2008 18:33:28 +0000 (20:33 +0200)]
Remove the "exists" parameter from create_msdfs_link
Jeremy, setting "exists" to True in _dfs_Add prevented the initial creation of
a new symlink for me, because the SMB_VFS_UNLINK failed. This also exists in
3.2. I only check it into 3.3 as I would like you to look at it first.
Thanks,
Volker
Volker Lendecke [Sun, 22 Jun 2008 18:27:20 +0000 (20:27 +0200)]
Check for sec_initial_uid() instead of uid==0 in dfs management
Volker Lendecke [Sun, 22 Jun 2008 09:28:57 +0000 (11:28 +0200)]
Reduce memory usage in form_junctions() a little bit
Volker Lendecke [Sun, 22 Jun 2008 16:36:37 +0000 (18:36 +0200)]
Fix an abort in junction_to_local_path
Volker Lendecke [Sun, 22 Jun 2008 11:06:35 +0000 (13:06 +0200)]
Fix a crash in _dfs_Enum
(cherry picked from commit
4a996476297963d4cb300b4d45c23e83a493c339 )
Volker Lendecke [Sun, 22 Jun 2008 10:50:30 +0000 (12:50 +0200)]
Fix an uninitialized variable access in callers of parse_msdfs_symlink
At least form_junctions() does not initialize refcount, and I don't see it in
get_referred_path(). For the latters, the callers might initialize it. But even
if they did, I think parse_msdfs_symlink() should unconditionally return the
number of referrals it found. I don't think it makes sense to count them up
from somewhere else.
Volker Lendecke [Sat, 21 Jun 2008 14:39:05 +0000 (16:39 +0200)]
Fix a double-closedir() in form_junctions()
Volker Lendecke [Sat, 21 Jun 2008 14:15:02 +0000 (16:15 +0200)]
Attempt to fix the darwin build
Volker Lendecke [Fri, 20 Jun 2008 12:30:02 +0000 (14:30 +0200)]
Use "init_shared_module" instead of "init_module" for initializing .so's
Volker Lendecke [Fri, 20 Jun 2008 14:22:49 +0000 (16:22 +0200)]
Make pipes_struct its own talloc ctx
Volker Lendecke [Fri, 20 Jun 2008 14:22:32 +0000 (16:22 +0200)]
Fix a SAFE_FREE/TALLOC_FREE mixup
Kai Blin [Fri, 20 Jun 2008 22:07:21 +0000 (00:07 +0200)]
net: Don't crash on invalid command line options.
This backs out the workaround Jerry added in
4c3bfea9f8d238f9100eaa264b9b2941dff5a6dd .
Thanks for the catch.
Jeremy Allison [Fri, 20 Jun 2008 20:23:31 +0000 (13:23 -0700)]
Fix bug #5531 - fix conversion of ns units when converting from nttime to timespec.
Fix from hkurma@datadomain.com.
Jeremy.
Jeremy Allison [Fri, 20 Jun 2008 19:49:14 +0000 (12:49 -0700)]
Fix bug #5533. Winbindd fails to cope correctly with a workgroup name containing a '.'.
Jeremy.
root [Thu, 19 Jun 2008 17:14:32 +0000 (12:14 -0500)]
net: Fix crash when specifying invalid options on the command line
Volker Lendecke [Thu, 19 Jun 2008 16:48:10 +0000 (18:48 +0200)]
Remove current_user references from nttrans.c
Volker Lendecke [Thu, 19 Jun 2008 16:46:57 +0000 (18:46 +0200)]
Remove current_user references from trans2.c
This involved replacing the CHECK_NTQUOTA_HANDLE_OK macro by a function.
Volker Lendecke [Thu, 19 Jun 2008 16:36:54 +0000 (18:36 +0200)]
Remove some current_user references from trans2.c
Volker Lendecke [Thu, 19 Jun 2008 16:21:41 +0000 (18:21 +0200)]
Remove reference to current_user from reply.c
Volker Lendecke [Thu, 19 Jun 2008 14:54:12 +0000 (16:54 +0200)]
Wrap the unix token info in a unix_user_token in auth_serversupplied_info
No functional change, this is a preparation for more current_user ref removal
Volker Lendecke [Thu, 19 Jun 2008 14:31:59 +0000 (16:31 +0200)]
Remove the "current_user" arg from fsp_belongs_conn
fsp_belongs_conn only used the vuid struct member anyway, and this is available
in the smb_request structure as well.
Volker Lendecke [Thu, 19 Jun 2008 14:31:59 +0000 (16:31 +0200)]
Remove the "current_user" arg from check_fsp
check_fsp only used the vuid struct member anyway, and this is available in the
smb_request structure as well.