1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-31 01:48:16 +03:00

24738 Commits

Author SHA1 Message Date
Jeremy Allison
ee6b168e6e Fix bug #5555. Don't return NT_STATUS_PASSWORD_MUST_CHANGE error on machine account logon.
Jeremy.
(This used to be commit 10da498a2349bf5944183adf5a9284eafa2b8b74)
2008-06-24 16:37:15 -07:00
Günther Deschner
2341f3381d net_vampire: add basic libnet_dssync() infrastructure.
Guenther
(This used to be commit 9486e532da602da587769d4ff8a1a2825e541a30)
2008-06-24 23:50:31 +02:00
Günther Deschner
07f06eec21 rpc_client: add cli_get_session_key().
Guenther
(This used to be commit 93b56755f739889da3a67b18a6430b14306d84f7)
2008-06-24 23:47:58 +02:00
Günther Deschner
a8332b91ef net: add basic support for sealed RPC connections (using NET_FLAGS_SEAL).
Guenther
(This used to be commit 7541a0103ad22000e94ffc6d057ffd5d33d1a930)
2008-06-24 23:45:09 +02:00
Günther Deschner
9a5fc5b5d3 crypto: add decrypt_drsuapi_blob from samba4.
Guenther
(This used to be commit 3b6352a60e6683963af1641786f9c230d49ebfb5)
2008-06-24 23:44:20 +02:00
Günther Deschner
4def7a1a32 re-run make idl.
Guenther
(This used to be commit 05d6f2e00cf5a7ad3d8a38149e9b9b1e408a666c)
2008-06-24 23:42:28 +02:00
Günther Deschner
05b5b5ff12 drsuapi: add some more attribute IDs.
Guenther
(This used to be commit fce7a195f1e299b3427a992027de68151784f586)
2008-06-24 23:42:18 +02:00
Günther Deschner
adef1b004b net_vampire: add code to vampire a SAM database to a keytab file.
Guenther
(This used to be commit ee6e422c0e035aa4779fa718bb6f142827cc2de0)
2008-06-24 23:40:14 +02:00
Günther Deschner
34e4167446 net_vampire: add username/password to samsync_context.
Guenther
(This used to be commit e884304206b512a1ffc70b7a4da8db3c6dfd4f11)
2008-06-24 23:39:50 +02:00
Günther Deschner
18c9e75218 libads: use ads_connect_user_creds in some places.
Guenther
(This used to be commit ebf31203e7cf22e32b986c536279688b17a65d22)
2008-06-24 23:37:58 +02:00
Günther Deschner
7b1f015675 libads: add ads_connect_user_creds() that won't overwrite given user creds.
Guenther
(This used to be commit 026018c9f1ed0680b3ca5b26dd6b8dc466e27e0d)
2008-06-24 23:37:49 +02:00
Günther Deschner
6b4b76c40e libads: add ADS_AUTH_USER_CREDS to avoid magic overwriting of usernames.
Guenther
(This used to be commit b5aaf5aa0f280f69e05b613271c96473a79b812e)
2008-06-24 23:37:40 +02:00
Günther Deschner
640a2972c5 kerberos: add smb_krb5_keytab_name().
Guenther
(This used to be commit c273ce8798062d1b55100411f3e92a01bdbf611c)
2008-06-24 23:34:17 +02:00
Günther Deschner
0ac8c5d49a kerberos: make smb_krb5_kt_add_entry public, allow to pass keys without salting them.
Guenther
(This used to be commit 7c4da23be1105dc224033b21eb486e7fcdc7d9c5)
2008-06-24 23:34:05 +02:00
Karolin Seeger
7c451b9b89 net ads: Fix typos.
Karolin
(This used to be commit 63c1a5146e25e05678d2bef95286add5c95a5f38)
2008-06-24 16:30:33 +02:00
Karolin Seeger
1178287eeb rpc_client: Avoid warning in builds without krb5 headers.
warning: ‘cli_auth_kerberos_data_destructor’ defined but not used

Karolin
(This used to be commit b5f9176b6ca8c137d5c065abed943fa437b5531f)
2008-06-24 16:30:32 +02:00
Volker Lendecke
9ff4001245 Remove "conn" from pipes_struct
For spoolss, we need the client's IP address
(This used to be commit 64a4dfaa826cf9319ef3f5c65023352bf8af539e)
2008-06-24 10:31:36 +02:00
Volker Lendecke
c5401a2a46 Correct calculation of "remark" in srv_srvsvc_nt.c
Very likely the client is not interested in the values for the IPC$ share :-)
(This used to be commit 40ca5764cf4310769c002b8cb6041fe2af4e6d0b)
2008-06-24 10:31:35 +02:00
Volker Lendecke
344941bb49 Move the responsibility to keep the cwd from srv_dfs_nt to msdfs.c
(This used to be commit 7db382588ac90fe250b72cf4cd07afb39fcae7c0)
2008-06-24 10:31:35 +02:00
Günther Deschner
465dba4b77 re-run make idl.
Guenther
(This used to be commit cd3a69e153d3ffb128e09871b44826041deff15a)
2008-06-23 23:42:10 +02:00
Günther Deschner
a19725ec57 drsuapi: fill in some more drsuapi_DsAttributeIds.
Guenther
(This used to be commit 7974c2c8afe2ed295d8da4daa45ba5b7cb0a7584)
2008-06-23 23:41:59 +02:00
Günther Deschner
48a680ecf2 net_vampire: more libnet_samsync restructuring.
Guenther
(This used to be commit 3bcda522f025aff249678a8a086218679fc19c6b)
2008-06-23 23:38:53 +02:00
Günther Deschner
8725626ec8 net_vampire: prepend libnet_ to the public samsync functions.
Guenther
(This used to be commit f020c947cfb1482176af8827ed9c361d7c21e26f)
2008-06-23 23:38:52 +02:00
Günther Deschner
bd6fece98a net_vampire: move out display routines to one file.
Guenther
(This used to be commit 64b48a07e714d7eb97dd49c11d9ca62951d79524)
2008-06-23 23:38:52 +02:00
Günther Deschner
de33b264d1 net_vampire: move out passdb routines to one file.
Guenther
(This used to be commit 74d431270d9b4cc1524f79fa2ad743420afef417)
2008-06-23 23:38:52 +02:00
Günther Deschner
6f4571bf69 net_vampire: fix included header.
Guenther
(This used to be commit 1dbe6ea8607549649f69e1b63cc427efe67e0778)
2008-06-23 23:38:52 +02:00
Günther Deschner
a6e887fbc6 net_vampire: display more deltas while doing samdump.
Guenther
(This used to be commit 43579907c3cbd5a4c07fe1f8da13c9a2a7db3f32)
2008-06-23 23:38:52 +02:00
Günther Deschner
ddf6e73b1f net_vampire: move pull_netr_AcctLockStr() to libnet.
Guenther
(This used to be commit 8ec64a96e43d2e55e81f725fe693178ecdc65e88)
2008-06-23 23:38:52 +02:00
Günther Deschner
33000d77e4 time: move uint64s_nt_time_to_unix_abs() to lib/time.c
Guenther
(This used to be commit 58f54f180f0a942776455ab6e813628422493dac)
2008-06-23 23:38:52 +02:00
Andreas Schneider
e5ac03b0ae Add documentation for kerberos support in libsmbclient.
Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com>
(This used to be commit fa803ce183376c938f92b0f31a7d89d522fd309f)
2008-06-23 15:36:38 -04:00
Michael Adam
1ef07a6686 libsmbconf: add "includes" to the forbidden_valnames[].
This removes the warning messages 'Unknown parameter encountered: "includes"'.

Michael
(This used to be commit b20019ceaaf4a8964792f6ba37f50f91b6847e7f)
2008-06-23 11:11:59 +02:00
Michael Adam
cb5f5eac38 libsmbconf: fastpaths first in smbconf_reg_valname_valid().
Before dropping into lp_parameter_is_valid().

Michael
(This used to be commit 59beb7acd777a4c224dce90fbbff7a137d2b89c1)
2008-06-23 11:11:59 +02:00
Volker Lendecke
993d80fd22 init_shared_module -> init_samba_module
(This used to be commit 9b174871a87677f7dfbd897a80e526f203906bea)
2008-06-23 07:20:18 +02:00
Volker Lendecke
13ebf889b3 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
(This used to be commit f58b098a4172949018e84c4d0c722d6eb9bba514)
2008-06-22 20:45:53 +02:00
Volker Lendecke
19654e232c Check for sec_initial_uid() instead of uid==0 in dfs management
(This used to be commit 948607f16112f6529f3a54cd6bbe978e8a600bc8)
2008-06-22 20:45:53 +02:00
Volker Lendecke
a7e284c62d Reduce memory usage in form_junctions() a little bit
(This used to be commit d031e6d8cabe2dd0b29e90d173d45843e145176a)
2008-06-22 20:45:53 +02:00
Volker Lendecke
b4587a7c78 Fix an abort in junction_to_local_path
(This used to be commit 587bd636cb70d09600111ced040adaa55af35d0f)
2008-06-22 18:37:41 +02:00
Volker Lendecke
65f7457583 Fix a crash in _dfs_Enum
(cherry picked from commit 4a996476297963d4cb300b4d45c23e83a493c339)
(This used to be commit 86cae83a7db87063ecd6e58eaa15f11441c45040)
2008-06-22 13:08:47 +02:00
Volker Lendecke
62f69165f6 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.
(This used to be commit 73172113484a2c6c9af014f59e84707716c61a7d)
2008-06-22 13:07:51 +02:00
Volker Lendecke
a8ae3bc317 Fix a double-closedir() in form_junctions()
(This used to be commit 1d7ad0dea7ebf7a46af6e695797e5132264307d6)
2008-06-21 16:49:00 +02:00
Volker Lendecke
36282a8b6a Attempt to fix the darwin build
(This used to be commit c919f5146990fa4b1b0cde79d55e5e3008b94e3f)
2008-06-21 16:17:14 +02:00
Volker Lendecke
3cf5395ad5 Use "init_shared_module" instead of "init_module" for initializing .so's
(This used to be commit 0c2fd687b25e32d446ef799927db6933bc61223d)
2008-06-21 11:25:41 +02:00
Volker Lendecke
df905a5d77 Make pipes_struct its own talloc ctx
(This used to be commit 829b1ad4697f2f1ea008377d591456722dccd025)
2008-06-21 10:34:34 +02:00
Volker Lendecke
c203de0e3a Fix a SAFE_FREE/TALLOC_FREE mixup
(This used to be commit b39852f51313059899630ba63509fee904ba3613)
2008-06-21 10:34:34 +02:00
Kai Blin
accc68f63e net: Don't crash on invalid command line options.
This backs out the workaround Jerry added in
4c3bfea9f8d238f9100eaa264b9b2941dff5a6dd.
Thanks for the catch.
(This used to be commit 20e0bb4800938863cb0aac1a19473748132043fc)
2008-06-21 00:07:21 +02:00
Jeremy Allison
c4d6ca41d9 Fix bug #5531 - fix conversion of ns units when converting from nttime to timespec.
Fix from hkurma@datadomain.com.
Jeremy.
(This used to be commit 8c87a4319cc83f55fb105cae81a8efbc3fb5b98b)
2008-06-20 13:23:31 -07:00
Jeremy Allison
2a4b8fa664 Fix bug #5533. Winbindd fails to cope correctly with a workgroup name containing a '.'.
Jeremy.
(This used to be commit 96325ff44dc404a68d4ebd423cf78210ec3ff902)
2008-06-20 12:49:14 -07:00
root
37ae3f9c20 net: Fix crash when specifying invalid options on the command line
(This used to be commit 4c3bfea9f8d238f9100eaa264b9b2941dff5a6dd)
2008-06-19 13:41:47 -05:00
Volker Lendecke
be5dc4f3c8 Remove current_user references from nttrans.c
(This used to be commit 5f8a5e68ea166fbeda3af6e5ec381ec09d06f0f6)
2008-06-19 18:51:38 +02:00
Volker Lendecke
52664f62ba Remove current_user references from trans2.c
This involved replacing the CHECK_NTQUOTA_HANDLE_OK macro by a function.
(This used to be commit 5595cdf837edb82db69a3e57bcf3108be7feeeb8)
2008-06-19 18:51:38 +02:00