Volker Lendecke
6b6bb484a8
Fix a memleak in new auth_serversupplied code
...
(This used to be commit f23e970848b6e6655453fa65f6f160f624acfcff)
2008-05-11 00:23:36 +02:00
Volker Lendecke
4f9b325fb2
Fix a memleak
...
(This used to be commit 9891c7c30858a3bea9adbea1c5bfa5c6b1b85221)
2008-05-10 23:27:21 +02:00
Volker Lendecke
5bda9a8af0
Remove "user" from connection_struct
...
(This used to be commit 368454a27cb53a408ec416cbf37235b304592fb5)
2008-05-10 11:17:01 +02:00
Volker Lendecke
66835ba2b7
Add a comment explaining server_info in connection_struct
...
(This used to be commit 35438a940734340d5d6389ae0551fe3c25902f93)
2008-05-10 11:17:01 +02:00
Volker Lendecke
53a623d8a6
Remove the unix token info from connection_struct
...
(This used to be commit 2834dacc8d49f77fe55fb5d7e3eb2dda431d1d3d)
2008-05-10 11:17:01 +02:00
Volker Lendecke
776caa081b
Replace nt_user_token with server_info in connection_struct
...
(This used to be commit a3738aef59e97d4533010b048534d937d36c0950)
2008-05-10 11:17:01 +02:00
Volker Lendecke
0c2bf9521e
Empty some nonempty blank lines
...
(This used to be commit 1a406def02bf171b223467d6b76317586d6205fc)
2008-05-10 11:17:01 +02:00
Volker Lendecke
ac9c7de9d0
Use TALLOC_ZERO_P instead of separate ZERO_STRUCTP in dup_nt_token
...
(This used to be commit 124a2c71852f39fcfe62ea19a5a8d25638d47400)
2008-05-10 11:17:00 +02:00
Volker Lendecke
e2b9ac714b
Make use of talloc_tos() in change_to_user()
...
(This used to be commit c4bed3a48b86d44ad641250add2fc189af7e72f5)
2008-05-10 11:17:00 +02:00
Volker Lendecke
c881c866d6
Next try at making the vuid cache circular
...
Jeremy, please check!
(This used to be commit a34f73521712e3820d417f0d9ed811723b7681d6)
2008-05-10 11:17:00 +02:00
Volker Lendecke
322896f8dd
find_forced_group can directly change the token in server_info
...
Now that we have a token that is correctly set up with gids already, this saves
manual translation of the SIDs to GIDs.
(This used to be commit 6136a6d9d7301c65f37e2bf485681138cddd8bd2)
2008-05-10 11:17:00 +02:00
Volker Lendecke
d2157f1342
Add an error return in find_forced_group()
...
(This used to be commit 93ce0705c14f222bda3e6204f4b54ba1893f33e1)
2008-05-10 11:17:00 +02:00
Volker Lendecke
39bd6a9595
Do not unnecessarily mess with the results in find_forced_group()
...
(This used to be commit 6d9860d09b54c61625f011c2d56d710aa59d7686)
2008-05-10 11:17:00 +02:00
Volker Lendecke
ddcea20947
Replace find_forced_user by a direct call to make_serverinfo_from_username
...
(This used to be commit 7991e6764b4187ba86802569dfdc5816e6137f78)
2008-05-10 11:17:00 +02:00
Volker Lendecke
ca25800287
Simplify make_connection_snum: Copy connection_struct info from server_info
...
(This used to be commit 5aa3cdf355c179d89c2703f528919194ab084337)
2008-05-10 11:17:00 +02:00
Volker Lendecke
90995202c0
Add "server_info" to connection_struct
...
This will replace all the user identity stuff in connection_struct, for now it
is just a source where the other fields in connection_struct are filled from.
(This used to be commit 0f53f9e7db9f99f239c4d0950452d0e2cde2ae8b)
2008-05-10 11:17:00 +02:00
Volker Lendecke
f93e232535
Remove unused "force_group" from connection_struct
...
(This used to be commit 03944f8d8934cff74e19fc036f7611c1491e0d57)
2008-05-10 11:17:00 +02:00
Volker Lendecke
39a318aee4
"status" -> "pstatus" in make_connection_snum
...
(This used to be commit 3ce395e61e931a77c5d2f52f39c7e3f71a9605a9)
2008-05-10 11:17:00 +02:00
Volker Lendecke
270a3f2a6f
Add create_connection_server_info() -- not used yet
...
(This used to be commit 50bf075f7556fd09e0081175c31a5020a8eaf4d6)
2008-05-10 11:17:00 +02:00
Volker Lendecke
b446bb05d0
Add function make_serverinfo_from_username()
...
This will be used for 'security=share' and 'force user'
(This used to be commit 88e43097cafcd2849d9f1200a377357fde4cce99)
2008-05-10 11:17:00 +02:00
Volker Lendecke
0283e95a7c
Add a mem_ctx argument to make_server_info_guest()
...
(This used to be commit e4a9492967f3d2b64f27943f99414608e0c03d21)
2008-05-10 11:16:59 +02:00
Volker Lendecke
505205b1cb
Make copy_serverinfo non-static, add mem_ctx
...
(This used to be commit a3651ced9e0859578df8cc44da64e7a8066bde76)
2008-05-10 11:16:59 +02:00
Volker Lendecke
232853d700
Fix the build with DNS_UPDATES
...
(This used to be commit 6c9500c290fe0d6d71d4c33eb265906ce3a1d9f3)
2008-05-10 10:58:56 +02:00
Kai Blin
4206d97544
net: more whitespace cleanup
...
(This used to be commit ef0184d580500734fc7af51e1c790b075180a3d0)
2008-05-10 09:22:31 +02:00
Kai Blin
f576910944
net: Remove globals
...
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
2008-05-10 09:22:27 +02:00
Kai Blin
378527215e
net: Some whitespace clean-up.
...
(This used to be commit 4dcce8b653671c8ce907f8353df1db8a5c8f8e19)
2008-05-10 09:22:19 +02:00
Kai Blin
44c689289c
net: Fix usage string.
...
(This used to be commit e3470e9a1b19c239d6fa576f8c8c1a5a5c3b5d3c)
2008-05-10 09:22:16 +02:00
Michael Adam
1e161b8c81
loadparm: Fix activation of registry globals in lp_load_*.
...
This completes bba04a8fba6fd5cf62578733cfdabea590e8ff51:
The reverted logic has to be put into the callers
lp_load() and lp_load_initial_only() of lp_load_ex(), too.
Silly bug.
Michael
(This used to be commit c1f300c76e882f2d108596aa3dbc211d545c665a)
2008-05-10 00:15:00 +02:00
Jeremy Allison
48b8bacfe4
Fix replacement getpass. If we ^C at the prompt echo was left off.
...
Jeremy.
(This used to be commit e54c71954ae484fe4a4e195db33440490e78e256)
2008-05-09 14:51:45 -07:00
Jeremy Allison
3f76504d92
Remove a couple of uses of SMB_VFS_GET_NT_ACL(), use
...
SMB_VFS_FGET_NT_ACL instead. I'd like to ultimately
remove SMB_VFS_GET_NT_ACL.
Jeremy.
(This used to be commit 4221937b68e2414295279b27c5f12a80f826ed4b)
2008-05-09 11:14:45 -07:00
Günther Deschner
1830d6b159
dsgetdcname: add reminder that we need to support ipv6 here once we know how.
...
Guenther
(This used to be commit 4b3617bf505a835a6d4bb9b80c4ad837a2082dea)
2008-05-09 17:56:04 +02:00
Günther Deschner
d59cf703ba
dsgetdcname: make use of nbt_cldap_netlogon_15.
...
Guenther
(This used to be commit 5b0eda98f3d127399770f7a037ad3277dbe23393)
2008-05-09 17:41:50 +02:00
Günther Deschner
8af909301c
re-run make idl.
...
Guenther
(This used to be commit 5a216d2340bb06a8866718d1b4b07265006bd900)
2008-05-09 17:40:29 +02:00
Günther Deschner
de11bbafd3
IDL: Fix nbt_cldap_netlogon union, removing the default member.
...
Guenther
(This used to be commit a56d7999a445f7157f85e5636f5b2c5e471a98e2)
2008-05-09 17:39:53 +02:00
Günther Deschner
486a96a4e4
IDL: Add nbt_cldap_netlogon_15.
...
Guenther
(This used to be commit 5e91bd1d2bfe458c6f8b3696f99e0f75e43cbae8)
2008-05-09 17:24:38 +02:00
Günther Deschner
67c644aa59
dsgetdcname: use existing messaging_context if possible.
...
Guenther
(This used to be commit 7889516a384c155a9045aad4409c041fddd0d98d)
2008-05-09 14:59:20 +02:00
Günther Deschner
c58ab8f3b2
dsgetdcname: the forest name should never be empty.
...
Guenther
(This used to be commit 2c0a96f1e5fc065fdbeb5671cfa693009321dde8)
2008-05-09 14:59:20 +02:00
Günther Deschner
f11acf3582
Use strip_hostname after dsgetdcname/getdcname calls.
...
Guenther
(This used to be commit 82cbb3269b2e764c9c2a2fbcbe9c29feae07fb62)
2008-05-09 14:59:19 +02:00
Günther Deschner
e556dfbb93
util: add strip_hostname() to strip of leading '\\'.
...
Guenther
(This used to be commit dbf96120d8b33e592bfd3e9df1777f1670e218be)
2008-05-09 14:59:19 +02:00
Günther Deschner
e668cb4594
dsgetdcname: add map_dc_and_domain_names() for consolidating returned names.
...
Guenther
(This used to be commit eb7fee6e2a00326c03aa013058247e06279a4930)
2008-05-09 14:59:19 +02:00
Günther Deschner
4bd94c8338
cldap: move out cldap object to fix the build.
...
Guenther
(This used to be commit 56be9c98d24e64bf855439df21766d30f448f407)
2008-05-09 14:59:19 +02:00
Günther Deschner
5e24d83e41
dsgetdcname: fix gencache store for dsgetdcname().
...
While storing always a type 29 reply structure in gencache, we are now able to
deliver correct data according to return flags such as DS_RETURN_FLAT_NAME and
DS_RETURN_DNS_NAME out of the cached data from gencache.
Guenther
(This used to be commit c67b6dc0ca866781043e443177d550e23b83ae36)
2008-05-09 14:59:19 +02:00
Günther Deschner
5d7a60afd8
dsgetdcname: pure cosmetics.
...
Guenther
(This used to be commit 4b56c294e8ba045c84cab538b3d286e433d292ed)
2008-05-09 14:59:19 +02:00
Günther Deschner
9adc40a38f
dsgetdcname: simply call ourself with DS_FORCE_REDISCOVERY after cache expiry.
...
Guenther
(This used to be commit 847f258632f6d49a3fd45f466c5d3d8c6222ff85)
2008-05-09 14:59:19 +02:00
Günther Deschner
8441681819
dsgetdcname: be more paranoid about the existance of an ip_address.
...
Guenther
(This used to be commit d13fe66f3d9ba152e3e8197ee6682e175163a6cd)
2008-05-09 14:59:19 +02:00
Günther Deschner
eaef936523
dsgetdcname: remove invalid assumption in discover_dc_dns().
...
Guenther
(This used to be commit f48b2e844b673e99c84cb24f3c3718352ab93ce5)
2008-05-09 14:59:19 +02:00
Günther Deschner
9be17e2187
dsgetdcname: mailslot replies are identical to the cldap ones, use cldap everywhere.
...
Guenther
(This used to be commit fe904ee77a7fec1674e9db660978c40c17897f77)
2008-05-09 14:59:19 +02:00
Günther Deschner
926cc82897
dsgetdcname: wait a little longer for mailslot replies.
...
Guenther
(This used to be commit bc0d7a90dcc7bf702b24feb16abf4634ff178671)
2008-05-09 14:59:18 +02:00
Günther Deschner
9d99ef899c
dsgetdcname: map additional flags to nt_version.
...
Guenther
(This used to be commit 1009123b8600e6ccebe180f4a2f87c217638fef8)
2008-05-09 14:59:18 +02:00
Günther Deschner
0354d00ddf
dsgetdcname: use make_dc_info_from_cldap_reply() for cldap replies.
...
Guenther
(This used to be commit a3e5b073f0474543ca74b40775ce1d7f80719c96)
2008-05-09 14:59:18 +02:00