Sumit Bose
2ee1d09f33
s3-pdb_ipa: Add ipasam_create_user()
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06 11:53:56 +02:00
Sumit Bose
c47df017dd
s3-pdb_ipa: Detect IPA server
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06 11:53:56 +02:00
Sumit Bose
ca22befb9c
s3-pdb_ipa: Use new smbldap_make_mod_blob() without a return value
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06 11:53:56 +02:00
Günther Deschner
02c6940964
s3-ipasam: rename of smbldap_make_mod_blob to _smbldap_make_mod_blob.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06 11:53:56 +02:00
Sumit Bose
db76adc308
s3-pdb_ipa: Fix indentation
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06 11:53:56 +02:00
Günther Deschner
a730dff783
s3-libndr: add ../librpc/ndr/libndr.h include in some places.
...
Guenther
2011-03-31 00:14:01 +02:00
Günther Deschner
33082d016e
s3-passdb: move LOOKUP_NAME_ flags to passdb where they belong to.
...
Guenther
2011-03-30 15:14:55 +02:00
Günther Deschner
c2d6260f10
s3: only include lib/privileges.h where needed.
...
This finally removes the global lsa.h inclusion.
Guenther
2011-03-30 01:13:10 +02:00
Günther Deschner
1d383daf39
s3-passdb: move lsa_dom_info and lsa_name_info out of smb.h into passdb.
...
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
a22a53ea44
s3-passdb: move util_builtin.c out of passdb.
...
Guenther
2011-03-30 01:13:08 +02:00
Günther Deschner
7d798ac485
s3-passdb: move util_unixsids.c out of passdb.
...
Guenther
2011-03-30 01:13:08 +02:00
Günther Deschner
bcee6c1fe2
s3-passdb: move util_wellknown.c out of passdb.
...
Guenther
2011-03-30 01:13:08 +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
2f36ef7225
s3-passdb: add passdb.h where needed.
...
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
Günther Deschner
03e6082e3c
s3: create_builtin_users/administrators belongs to passdb not auth.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
0e771263ee
s3-includes: only include system/filesys.h when needed.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
49fcf653b1
s3-includes: only include system/passwd.h when 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
Günther Deschner
96487959e9
lib/util/util_pw: share more code between lib/util/util_pw.c and source3/lib/username.c
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
64421129b6
lib/util/util_pw: share sys_get{pw,gr} group of calls.
...
Guenther
2011-03-30 01:13:06 +02:00
Volker Lendecke
c07be5f747
s3: Fix Coverity ID 976: BAD_SIZEOF
2011-03-27 22:22:10 +02:00
Volker Lendecke
08e4e7fef7
s3: Fix Coverity ID 513: UNINIT
2011-03-27 22:22:10 +02:00
Volker Lendecke
f762886687
s3: Fix Coverity ID 2328: FORWARD_NULL
...
Make startsmbfilepwent robust against an invalid open type
2011-03-27 11:25:34 +02:00
Günther Deschner
ba510fae23
s3-ldapsam: fix ldapsam_create_user() with existing posix accounts.
...
We were not taking into account the existing posix attributes and thus failed
while trying to add a 2nd uid attribute.
Found by Sumit.
Guenther
2011-03-24 23:08:22 +01:00
Andrew Tridgell
15e84a9a09
charcnv: removed the allow_badcharcnv and allow_bad_conv options to convert_string*()
...
we shouldn't accept bad multi-byte strings, it just hides problems
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
2011-03-24 01:47:26 +01:00
Jeremy Allison
3d6a92a37b
Fix compiler warning in debug message.
2011-03-17 10:35:10 -07:00
Volker Lendecke
4668ac8b16
s3: Fix Coverity ID 1034, CHECKED_RETURN
...
In all other places we check the result of secrets_init.
2011-03-16 21:14:58 +01:00
Volker Lendecke
9bc14afe96
s3: Fix a cut&paste error in pdb_ads_connect
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Mar 16 08:22:28 CET 2011 on sn-devel-104
2011-03-16 08:22:28 +01:00
Volker Lendecke
420be02a60
s3: Read uidNumber/gidNumber in pdb_ads_sid_to_id
...
Question: How shall we allocate those? Something like the rid allocator?
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Mar 15 09:59:55 CET 2011 on sn-devel-104
2011-03-15 09:59:55 +01:00
Volker Lendecke
16b007c223
Quite some callers of sid_split_rid do not care about the rid
2011-03-10 18:48:34 +01:00
Volker Lendecke
f6f8ec8d8b
s3: Move EXOP definitions to smbldap.h
...
This attempts to fix the build on Solaris
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Mar 6 10:45:16 CET 2011 on sn-devel-104
2011-03-06 10:45:16 +01:00
Volker Lendecke
ae28029f67
s3: Remove an obsolete comment
2011-03-03 22:08:49 +01:00
Günther Deschner
93db9489fd
s3-libds: use already existing ../libds/common/flag_mapping.h header.
...
Guenther
2011-03-02 22:17:17 +01:00
Jelmer Vernooij
59a077d8f5
Fix some types
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
2011-02-28 23:30:06 +01:00
Jeremy Allison
f7b4209f99
Fix one more warning introduced by changing the size of UNIX_USER_TOKEN->ngroups from size_t to uint32_t.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Feb 28 22:43:50 CET 2011 on sn-devel-104
2011-02-28 22:43:50 +01:00
Gregor Beck
6710561c27
s3: add functions to remove entries from idmap memcache
2011-02-28 12:58:43 +01:00
Gregor Beck
01e7611050
s3: add functions to flush the idmap memcache
2011-02-28 12:58:37 +01:00
Volker Lendecke
cfffd0f3a0
s3: Fix pdb_ads_enum_group_memberships args
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Feb 26 11:37:10 CET 2011 on sn-devel-104
2011-02-26 11:37:10 +01:00
Volker Lendecke
56f02e8520
s3: Fix filtering in pdb_ads_search_users
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Feb 22 20:59:07 CET 2011 on sn-devel-104
2011-02-22 20:59:07 +01:00
Volker Lendecke
ecb65332ea
s3: Fix some nonempty blank lines
2011-02-22 19:18:57 +01: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
dcf23f022f
s3-pdb_ipa: remove uninitialized (and unused) status code.
...
Guenther
2011-02-21 18:03:20 +01:00
Volker Lendecke
367b35b1ff
s3: Fix pdb_ads_enum_aliasmem for empty aliases
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb 20 21:40:40 CET 2011 on sn-devel-104
2011-02-20 21:40:40 +01:00
Volker Lendecke
ff6c175ae6
s3: Support SetGroupInfo in pdb_ads
2011-02-20 20:50:14 +01:00
Volker Lendecke
95126034b0
s3: Fix a debug message
2011-02-20 20:50:14 +01:00
Volker Lendecke
4c45078d8f
s3: Fix pdb_ads_enum_group_members for empty groups
2011-02-20 20:50:14 +01:00
Volker Lendecke
288b396411
s3: Fix error returns in pdb_ads_mod_groupmem
2011-02-20 20:50:13 +01:00
Volker Lendecke
ac19b39577
s3: Fix return code of pdb_ads_getsamupriv if the user does not exist
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb 20 11:12:01 CET 2011 on sn-devel-104
2011-02-20 11:12:01 +01:00
Volker Lendecke
5f953b1ef8
s3: Add ACB_NORMAL to workstations, match RPC-SAMR
2011-02-20 10:23:29 +01:00