Volker Lendecke
2f16bf5445
s3:winbind: Factor out wcache_store_seqnum()
2009-08-27 15:04:09 +02:00
Volker Lendecke
f3d71d3e8c
s3:winbind: Add a generic cache for NDR based parent-child requests
2009-08-27 15:04:09 +02:00
Volker Lendecke
3532c8b9d8
s3:winbind: Factor out wcache_fetch_seqnum
2009-08-27 15:04:09 +02:00
Steven Danneman
5469866242
s3/winbindd: Remove unnecessary check for NULL SID
...
There's a known bug in some Windows implementations of
DsEnumerateDomainTrusts() where domain SIDs are not returned for
transitively trusted domains within the same forest.
Jerry originally worked around this in the winbindd parent by checking
for S-0-0 and converting it to S-1-0 in 8b0fce0b. Guenter later moved
these checks into the child process in commit 3bdfcbac making the
initial patch unecessary.
I've removed it and added a clarifying comment to the child process.
If ever this SID is needed we could add an extra DsEnumerateDomainTrusts()
call in trusted_domains() as suggested by the Microsoft KB.
2009-08-26 16:34:09 -07:00
Volker Lendecke
d49ab9226f
s3:winbind: Fix Coverity ID 942: Resource Leak
2009-08-26 18:20:06 +02:00
Volker Lendecke
fced9dfc1e
s3:winbind: Fallback to the forest root for lookupname
...
Thanks to Steven Danneman for watching me closely :-)
2009-08-23 10:19:32 +02:00
Volker Lendecke
1603c608c9
s3:winbind: Even on a domain controller, "our" domain is internal
...
It happens to be what we also share out via NETLOGON/SAMR, but winbind has
direct access to it via the passdb domain methods
2009-08-23 10:19:32 +02:00
Volker Lendecke
a0bf0cb0fb
s3:winbind: Do not drop the first user in sam_query_user_list
2009-08-23 10:19:32 +02:00
Volker Lendecke
963419be1b
s3:winbind: For internal domains it is pointless to connect to a DC
2009-08-23 10:19:32 +02:00
Volker Lendecke
fc3d427af8
s3:winbind: winbindd_dual_ndrcmd should output what it's doing
2009-08-23 10:19:32 +02:00
Volker Lendecke
a09b9ed9e2
s3:winbind: Fix the talloc hierarchy in wb_queryuser_done
...
We need to return state->userinfo beyond the end of wb_queryuser_recv, so the
unmarshalled strings are children of that, not the state that is lost sooner.
Metze, this scheme works fine as long as we only have a single malloc'ed
entity that is returned. I think we need a different scheme in the future
when we might have more than one independent object to be returned.
2009-08-23 10:19:32 +02:00
Günther Deschner
77a0a6e9a1
s3-idmap: fix two uninitialized variable warnings in idmap_tdb2.
...
Guenther
2009-08-20 15:29:16 +02:00
Volker Lendecke
2c23e7dc5a
s3:winbind: The get[gr|pw]end functions need access to the client state
2009-08-16 13:28:14 +02:00
Volker Lendecke
459233e630
s3:winbind: Convert WINBINDD_GETGRNAM to the new API
2009-08-16 12:39:08 +02:00
Volker Lendecke
a511a87519
s3:winbind: Convert WINBINDD_GETGRGID to the new API
2009-08-16 12:39:07 +02:00
Volker Lendecke
3f3f49d5e2
s3:winbind: Add winbindd_print_groupmem
...
This converts a talloc_dict retrieved from wb_group_members to the string
that the pipe protocol expects
2009-08-16 12:39:02 +02:00
Volker Lendecke
27dd290d3f
s3:winbind: Make fill_grent publically available
2009-08-16 12:38:19 +02:00
Volker Lendecke
886e183b0e
s3:winbind: Add const to normalize_name_map
2009-08-16 12:38:19 +02:00
Volker Lendecke
c83bf9cd7e
s3:winbind: Add async wb_getgrsid
2009-08-16 12:38:19 +02:00
Volker Lendecke
8a683f4896
s3:winbind: Add async wb_group_members
2009-08-16 12:38:19 +02:00
Volker Lendecke
3d46eaf411
s3:winbind: Make wcache_lookup_groupmem available publically
2009-08-16 12:38:19 +02:00
Volker Lendecke
0f64bb5b7e
s3:winbind: Convert winbindd_show_sequence to the new API
2009-08-16 10:38:24 +02:00
Volker Lendecke
e54503e82f
s3:winbind: Add async wb_seqnums
...
This is something that would have been very difficult with the old style of
async requests: Send the request to all children simultaneously.
2009-08-16 10:38:24 +02:00
Volker Lendecke
1d110e0ef6
s3:winbind: Add async wb_seqnum
2009-08-16 10:38:24 +02:00
Volker Lendecke
c6b36ce573
s3:winbind: WINBIND_USERINFO -> wbint_userinfo
2009-08-16 10:38:24 +02:00
Volker Lendecke
6d100a6b20
s3:winbind: Simplify _wbint_[GU]id2Sid
2009-08-16 10:38:24 +02:00
Stefan Metzmacher
1e1445bc76
s3:winbindd: raise the timeout for lsa_Lookup*() calls from 10 to 35 seconds.
...
metze
2009-08-11 13:53:33 +02:00
Bo Yang
b9fb8da591
s3: Fix nss info substitution
...
Signed-off-by: Bo Yang <boyang@samba.org>
2009-08-08 06:26:43 +08:00
Volker Lendecke
0a16265bc2
s3:winbind: Convert WINBINDD_GETGROUPS to the new API
2009-08-05 03:21:25 -04:00
Volker Lendecke
01ea26bf28
s3:winbind: Add async wb_gettoken
2009-08-05 03:21:25 -04:00
Volker Lendecke
fec380818f
s3:winbind: Convert WINBINDD_GETUSERDOMGROUPS to the new API
2009-08-05 03:21:25 -04:00
Volker Lendecke
1dc1ac0051
s3:winbind: Add async wb_lookupusergroups
2009-08-05 03:21:25 -04:00
Volker Lendecke
718a26fd29
s3:winbind: Make wcache_lookup_usergroups externally visible
2009-08-05 03:21:24 -04:00
Volker Lendecke
592822786d
s3:winbind: Convert WINBINDD_GETSIDALIASES to the new API
2009-08-05 03:21:24 -04:00
Volker Lendecke
ce42ea3ab8
s3:winbind: Add async wb_lookupuseraliases
2009-08-05 03:21:24 -04:00
Volker Lendecke
f09a95aaff
s3:winbind: Make parse_sidlist take a const char *
2009-08-05 03:21:24 -04:00
Volker Lendecke
ff3ce9016a
s3:winbind: Make wcache_lookup_useraliases available publically
2009-08-05 03:21:24 -04:00
Volker Lendecke
bd9d7f75e3
s3:winbind: Convert WINBINDD_GETPWUID to the new API
2009-08-05 03:21:23 -04:00
Volker Lendecke
5bbb7a0d14
s3:winbind: Convert WINBINDD_GETPWNAM to the new API
2009-08-05 03:21:23 -04:00
Volker Lendecke
9dc401a20e
s3:winbind: Convert WINBINDD_GETPWSID to the new API
2009-08-05 03:21:23 -04:00
Volker Lendecke
afc82444fd
s3:winbind: Add async wb_getpwsid
2009-08-05 03:21:23 -04:00
Volker Lendecke
0418d38bc8
s3:winbind: Make fillup_pw_field publically available
2009-08-05 03:21:23 -04:00
Volker Lendecke
7077492778
s3:winbind: Add async wb_queryuser
2009-08-05 03:21:22 -04:00
Volker Lendecke
360227a0fe
s3:winbind: Make wcache_query_user externally visible
2009-08-05 03:21:22 -04:00
Volker Lendecke
10685b37d4
s3:winbind: Convert WINBINDD_GID_TO_SID the new API
2009-08-05 03:21:22 -04:00
Volker Lendecke
292f3f896f
s3:winbind: Add async wb_gid2sid
2009-08-05 03:21:22 -04:00
Volker Lendecke
9b369ffcf0
s3:winbind: Convert WINBINDD_UID_TO_SID the new API
2009-08-05 03:21:22 -04:00
Volker Lendecke
3eff8e93e2
s3:winbind: Add async wb_uid2sid
2009-08-05 03:21:21 -04:00
Volker Lendecke
5db561a608
s3:winbind: Convert WINBINDD_SID_TO_GID the new API
2009-08-05 03:21:21 -04:00
Volker Lendecke
153ae58d7d
s3:winbind: Add async wb_sid2gid
2009-08-05 03:21:21 -04:00