Andrew Bartlett
ff9b6682a0
s3-auth Rename user_session_key -> session_key to match auth_session_info
2011-04-05 06:32:07 +10:00
Günther Deschner
7e73214ebf
s3-auth: use auth.h where needed.
...
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
2f36ef7225
s3-passdb: add passdb.h where needed.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
d85f140826
s3-winbind: remove global inclusion of libwbclient.
...
Guenther
2011-03-30 01:13:06 +02:00
Stefan Metzmacher
d7fa349052
s3:auth: change num_groups to from size_t to uint32_t
...
This will help with the change from UNIX_USER_TOKEN to security_unix_token
metze
2011-02-22 16:20:11 +11:00
Günther Deschner
ac4127a9f4
s3-auth: add copy_netr_SamBaseInfo().
...
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-04 16:57:32 +01:00
Volker Lendecke
c6b5136f02
s3: Fix bug 7066 -- wbcAuthenticateEx gives unix times
...
We might eventually want to change this, but right now we get unix times
out of the winbind pipe struct
2010-12-19 23:25:06 +01:00
Volker Lendecke
097be4b101
s3: Make proper use of sid_check_is_in_xx routines
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Nov 5 15:35:59 UTC 2010 on sn-devel-104
2010-11-05 15:35:59 +00:00
Volker Lendecke
26b2a132ff
s3: Fix a typo
2010-11-05 15:54:05 +01:00
Andreas Schneider
f22e6cf3b7
s3-rpc_server: Make auth_serversupplied_info const.
2010-10-15 11:34:03 +00:00
Andrew Bartlett
f768b32e37
libcli/security Provide a common, top level libcli/security/security.h
...
This will reduce the noise from merges of the rest of the
libcli/security code, without this commit changing what code
is actually used.
This includes (along with other security headers) dom_sid.h and
security_token.h
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
2010-10-12 05:54:10 +00:00
Günther Deschner
102a70e809
s3-util: use shared dom_sid_dup.
...
Guenther
2010-09-20 14:05:07 -07:00
Günther Deschner
4dbd743e46
s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.
...
Guenther
2010-09-20 14:04:37 -07:00
Günther Deschner
0f8e032628
s3-netlogon: remove global include of netlogon.h.
...
This reduces precompiled headers by another 4 MB and also slightly speeds up the
build.
Guenther
2010-08-06 15:46:16 +02:00
Volker Lendecke
032bf5c629
s3: Fix a typo (missing space)
2010-07-24 11:19:42 +02:00
Volker Lendecke
17cd3d06cb
s3: In copy_netr_SamInfo3 copy all of the sids array
2010-06-25 16:58:46 +02:00
Günther Deschner
4bb351ac80
s3-auth: Fix valgrind warning (unitialized var) in samu_to_SamInfo3().
...
Guenther
s3:auth do not fail if there are 0 group sids
Signed-off-by: Günther Deschner <gd@samba.org>
2010-06-11 15:11:31 +02:00
Simo Sorce
4fc36ca802
s3:auth fix samu->info3 conversion
...
Some pdb_get_ functions where missing because of previous mis-patching
2010-06-11 08:26:39 -04:00
Simo Sorce
e6456df148
s3:auth handle unix domain sids in samu
...
When we generate a user out of thin air we may end up adding sids
that are not part of the sam domain (unix domain sids).
Handle the case and preserve these sids as extra sids.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-07 22:53:07 +10:00
Simo Sorce
bd38c0d47d
s3:auth fix info3 duplication function
2010-05-29 17:08:02 -04:00
Günther Deschner
c5eeb0d155
s3-auth: fix c++ buildwarnings.
...
Guenther
2010-05-28 02:49:37 +02:00
Simo Sorce
3bb819581b
Fix Out of memory checks
...
Günther pushed an older version of the patch "s3:auth add function to copy a
netr_SamInfo3 structure" that was missing these fixes.
2010-05-27 19:23:54 -04:00
Simo Sorce
2a6a696e32
s3:auth add function to convert wbcAuthUserInfo to netr_SamInfo3
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 01:20:09 +02:00
Simo Sorce
d9cffc01be
s3:auth use info3 in auth_serversupplied_info
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 00:55:53 +02:00
Simo Sorce
6713f3d945
s3:auth add function to copy a netr_SamInfo3 structure
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 00:55:27 +02:00
Simo Sorce
605cfef56c
s3:auth: add function to convert samu to netr_SamInfo3
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 00:55:17 +02:00
Andrew Bartlett
cba7f8b827
s3:dom_sid Global replace of DOM_SID with struct dom_sid
...
This matches the structure that new code is being written to,
and removes one more of the old-style named structures, and
the need to know that is is just an alias for struct dom_sid.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-21 10:39:59 +02:00
Günther Deschner
1d2dd47d31
s3-crypto: only include crypto headers when crypto is done.
...
Guenther
2010-05-18 00:44:27 +02:00
Matthias Dieter Wallnöfer
1a27343366
s3/s4:netlogon IDL - fix up "struct netr_SamInfo6" regarding the "forest" attribute
...
According to MS-NRPC 2.2.1.4.13 this should be the DNS domainname, not the
forest one.
2010-04-12 18:49:01 +02:00
Volker Lendecke
8e95db9eea
s3: Move serverinfo_to_SamInfoX to auth/server_info.c
2010-04-11 22:59:47 +02:00
Volker Lendecke
80708b75f8
s3: Move make_server_info to auth/server_info.c
2010-04-11 22:59:46 +02:00