Günther Deschner
3253d5ad05
s3-passdb: move some passdb defines to passdb.h
...
Guenther
2011-03-30 15:14:55 +02:00
Günther Deschner
643b08dd25
s3: include ../librpc/gen_ndr/lsa.h where needed.
...
Guenther
2011-03-30 01:13:10 +02:00
Günther Deschner
f378f9f144
s3-passdb: add machine_sid.h and lookup_sid.h
...
Guenther
2011-03-30 01:13:08 +02:00
Günther Deschner
b0773aa61a
s3-passdb: move mapping.h into passdb.h, its needed here.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
35c2d8ec1e
s3-passdb: move passdb headers to passdb/proto.h.
...
Guenther
2011-03-30 01:13:07 +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
0ed46df56a
s3-passdb: add PDB_CAP_TRUSTED_DOMAINS_EX.
...
Guenther
2011-02-17 16:02:20 +01:00
Sumit Bose
d638f4a3b8
s3-lsa: Implement lsaRSetForestTrustInformation
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:06 +01:00
Sumit Bose
72de982289
s3-ipasam: add ipasam_get_trusted_domain_by_sid()
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:04 +01:00
Sumit Bose
b4dd65d3f9
s3-passdb: add {get,set,del,enum}_trusted_domain calls
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:34:44 +01:00
Volker Lendecke
ead7ffa1a7
s3: Add "code_page" to struct samu
2011-02-15 21:12:22 +01:00
Volker Lendecke
d9d0fef862
s3: Add "country_code" to struct samu
2011-02-15 21:12:22 +01:00
Günther Deschner
65bb6b3524
s3: move some stuff out of smb.h to better locations.
...
Guenther
2011-02-09 22:51:23 +01:00
Günther Deschner
c136b84f0d
s3-secrets: only include secrets.h when needed.
...
Guenther
2010-08-05 10:12:25 +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
Andrew Bartlett
a92b653af9
s3:passdb Remove use of uint8 uint16 and uint32 in favour of C99 types
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-21 10:24:55 +02:00
Günther Deschner
4afdb5a2a7
s3: move BASE_RID to main includes.h (in preparation to separate passdb).
...
Guenther
2010-05-08 01:45:39 +02:00
Volker Lendecke
13a278c1b9
s3: Remove a typedef
2010-03-16 22:35:41 +01:00
Günther Deschner
86f4536b7a
s3-passdb: move some defines out of rpc headers (they really belong to passdb).
...
Guenther
2009-11-26 19:21:33 +01:00
Michael Adam
7e418bf736
s3:passdb: bump interface VERSION 18->19 (removed uid_to_rid)
...
Michael
2009-11-14 01:28:57 +01:00
Michael Adam
30ab3a762e
s3:passdb: remove the uid_to_rid method - we only need uid_to_sid
...
Michael
2009-11-14 01:28:50 +01:00
Günther Deschner
9f15ef11bd
s3-account_policy: add pdb_policy_type enum.
...
Guenther
2009-07-14 12:12:18 +02:00
Volker Lendecke
f2998feb8e
Actually increase PASSDB_INTERFACE_VERSION to 18 :-)
2009-07-05 23:50:11 +02:00
Volker Lendecke
b8322ec2b2
Add pdb_get_domain_info
2009-07-04 12:54:22 +02:00
Volker Lendecke
1c778aa19a
Make pdb_ads return an additional flag
2009-07-04 12:54:22 +02:00
Volker Lendecke
711544d494
Turn the pdb_rid_algorithm into a capabilities call that returns flags
2009-06-28 22:13:50 +02:00
Volker Lendecke
a51e6ce43c
Pass a talloc_ctx to pdb_enum_aliasmem
2009-06-08 21:14:10 +02:00
Volker Lendecke
e63d9c29c9
Fix some nonempty blank lines
2009-05-28 14:10:14 +02:00
Volker Lendecke
46bcb10b5a
Shape up pdb_search a bit by making it a talloc ctx with a destructor
2009-03-07 17:51:21 +01:00
Stefan Metzmacher
671469ae7e
s3:passdb: add SAMU_BUFFER_V4 with no changes
...
The upgrade is required because of the followin TDBSAM_VERSION
upgrade.
metze
2008-12-29 21:10:49 +01:00
Stefan Metzmacher
0544734309
s3:passdb: make marshalling struct samu from and to a buffer more generic
...
This marshalling isn't specific to tdbsam and it's
ugly to have the related functions in two different files.
metze
2008-12-29 21:10:49 +01:00
Günther Deschner
61a6b49e48
s3-passdb: remove unused (now samr.idl) ACCT_NT/LM_PWD_SET flags.
...
Guenther
2008-12-02 00:52:39 +01:00
Volker Lendecke
2b3d03d6f1
Remove unix_homedir from struct user_struct
...
This makes pdb_get_unix_homedir unused. I wonder if that was ever really used...
(This used to be commit 36bfd32f1f
)
2008-05-05 18:28:58 +02:00
Günther Deschner
90631dd2c2
Removing unused ACCT_-flags.
...
Guenther
(This used to be commit d1e5a5a7f9
)
2008-02-12 09:48:47 +01:00
Volker Lendecke
e70c97ef85
Remove the sampwent interface
...
(This used to be commit 9e80b969fb
)
2007-12-26 18:57:15 +01:00
Jeremy Allison
30191d1a57
RIP BOOL. Convert BOOL -> bool. I found a few interesting
...
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
(This used to be commit f35a266b3c
)
2007-10-18 17:40:25 -07:00
Andrew Tridgell
5e54558c6d
r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
...
(This used to be commit b0132e94fc
)
2007-10-10 12:28:22 -05:00
Jeremy Allison
d824b98f80
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
(This used to be commit 407e6e695b
)
2007-10-10 12:28:20 -05:00
Jeremy Allison
feb4e7fe4d
r23341: pdb interfaces should be versioned. As SAMBA_3_0 and SAMBA_3_0_26
...
are now identical, use the same version number (16) for both.
Jeremy.
(This used to be commit f2ac311ed4
)
2007-10-10 12:23:07 -05:00
Volker Lendecke
9e30a76c04
r22786: Some cleanup by Karolin Seeger: Remove unused pdb_find_alias, and change
...
return values of some alias-releated pdb functions from BOOL to NTSTATUS
Thanks :-)
(This used to be commit 590d2164b3
)
2007-10-10 12:21:57 -05:00
Gerald Carter
c04068a42b
r21188: bumping passdb version number to make sure this is different than the 3.0.25 branch
...
(This used to be commit b10f4cdfc0
)
2007-10-10 12:17:46 -05:00
Volker Lendecke
58160aa0eb
r20827: Increment the interface version.
...
Wilco: Existing modules should continue to work, they just must be recompiled.
Volker
(This used to be commit f5babdce9b
)
2007-10-10 12:17:10 -05:00
Volker Lendecke
b906886e9e
r20824: Send access to the trusted domain passwords through the pdb backend, so that
...
in the next step we can store them in LDAP to be replicated across DCs.
Thanks to Michael Adam <ma@sernet.de>
Volker
(This used to be commit 3c879745cf
)
2007-10-10 12:17:10 -05:00
Simo Sorce
4225f9a4bd
r20116: Start merging in the work done to create the new idmap subsystem.
...
Simo.
(This used to be commit 50cd8bffee
)
2007-10-10 12:16:25 -05:00
Gerald Carter
2b27c93a9a
r18271: Big change:
...
* autogenerate lsa ndr code
* rename 'enum SID_NAME_USE' to 'enum lsa_SidType'
* merge a log more security descriptor functions from
gen_ndr/ndr_security.c in SAMBA_4_0
The most embarassing thing is the "#define strlen_m strlen"
We need a real implementation in SAMBA_3_0 which I'll work on
after this code is in.
(This used to be commit 3da9f80c28
)
2007-10-10 11:51:18 -05:00
Volker Lendecke
03e3cd1d5a
r17554: Cleanup
...
(This used to be commit 761cbd52f0
)
2007-10-10 11:38:38 -05:00
Volker Lendecke
e1e62d8999
r17463: A bit of cleanup work:
...
Remove some unused code: pdb_find_alias is not used anymore, and nobody I
think has ever used the pdb_nop operations for group mapping. smbpasswd and
tdb use the default ones and ldap has its own.
Make the functions pdb_getgr* return NTSTATUS instead of BOOL. Nobody right
now really makes use of it, but it feels wrong to throw away information so
early.
Volker
(This used to be commit f9856f6490
)
2007-10-10 11:38:36 -05:00
Volker Lendecke
ff7c0a7c35
r17451: Change pdb_getgrsid not to take a DOM_SID but a const DOM_SID * as an
...
argument.
Volker
(This used to be commit 873a5a1211
)
2007-10-10 11:38:34 -05:00
Jeremy Allison
fbdcf2663b
r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need
...
to do the upper layer directories but this is what
everyone is waiting for....
Jeremy.
(This used to be commit 9dafb7f48c
)
2007-10-10 11:19:14 -05:00
Jeremy Allison
6c94466d7b
r16628: Fix bug #3880 , reported by jason@ncac.gwu.edu
...
by ensuring we return the correct enum for sid
type, not a uint32.
Jeremy.
(This used to be commit 98a5e20ff4
)
2007-10-10 11:19:04 -05:00