Age | Commit message (Collapse) | Author | Files | Lines |
|
Michael
|
|
The normal uid_to_sid behaviour is to call sys_getpwuid()
to get the name for the given uid and then call the
getsampwnam passdb method for the resulting name.
In the ldapsam:trusted case we can reduce the uid_to_sid
operation to one simple search for the uidNumber attribute
and only get the sambaSID attribute from the correspoinding
LDAP object. This reduces the number of ldap roundtrips
for this operation.
Michael
|
|
not only the persistent idmap cache.
Michael
|
|
This stores the mappings found in the idmap cache (which lives
inside gencache). This cache is already read in sid_to_Xid()
and Xid_to_sid() for ldapsam:trusted, this fills the opposite
direction, massively reducing the number of ldap roundtrips
across smbd restarts.
Michael
|
|
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
|
|
|
|
Thanks Volker for the hint.
Guenther
|
|
Note that this only is tried with editposix=yes.
Guenther
|
|
This lets samr_GetAliasMembership return with NT_STATUS_OK when called with 0
sids (just what w2k3 does).
Guenther
|
|
Ok, that's a very long-standing one. I finally got around to install a recent
OpenLDAP and test the different variants of setting a NULL password etc.
Thanks all for your patience!
Volker
|
|
Guenther
|
|
|
|
Search for groups without group suffix, group suffix is only used for new entries.
|
|
|
|
|
|
when _samr_LookupRids is called with no rids, it needs to return
NT_STATUS_NONE_MAPPED (not NT_STATUS_NO_MEMORY).
Found by RPC-SAMR torture test.
Guenther
|
|
|
|
Jeremy.
|
|
This patch picks the alphabetically smallest one of the multi-value attribute
"uid". This fixes a regression against 3.0 and also becomes deterministic.
|
|
Should make Solaris 10 builds look cleaner.
Jeremy.
|
|
|
|
context.
Guenther
|
|
talloc_free on malloced memory.
Guenther
|
|
This commit is mostly to cope with the removal of SamOemHash (replaced
by arcfour_crypt()) and other collisions (such as changed function
arguments compared to Samba3).
We still provide creds_hash3 until Samba3 uses the credentials code in
netlogon server
Andrew Bartlett
|
|
This removes calls to push_*_allocate() and pull_*_allocate(), as well
as convert_string_allocate, as they are not in the common API
To allow transition to a common charcnv in future, provide Samba4-like
strupper functions in source3/lib/charcnv.c
(the actual implementation remains distinct, but the API is now shared)
Andrew Bartlett
|
|
This removes one more caller to pull_utf8_allocate()
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
Jeremy.
|
|
|
|
Jeremy.
|
|
Guenther
(cherry picked from commit 26139344fd0fac4fdd2a6752628b252fbd9b7450)
(cherry picked from commit 866efa63a26f75bbf17cd4bebf639594e2feafba)
|
|
(This used to be commit 9b863a10da8762f715c16f147d6cd1e79422d248)
|
|
Karolin
(This used to be commit 7dae8b04f126d0ac86a452dcf373a690ee687ead)
|
|
retieve -> retrieve
Karolin
(This used to be commit 37c64130701ab13b6f34998ac17fec2d128c2e08)
|
|
(This used to be commit 3d2913d599a4cd773614110ec7b7493aa7adb547)
|
|
(This used to be commit 26fb3fea812867f8b0dfe6a1be59e4922ed86e45)
|
|
(This used to be commit 347772fc39d9c7a96fcc72c9707696cc6abd89d7)
|
|
This patch is the second iteration of an inside-out conversion to cleanup
functions in charcnv.c returning size_t == -1 to indicate failure.
(This used to be commit 6b189dabc562d86dcaa685419d0cb6ea276f100d)
|
|
(This used to be commit 3fc85d22590550f0539215d020e4411bf5b14363)
|
|
(This used to be commit 1dd8fa9a521046f1de8173ac00224706c5249665)
|
|
(cherry picked from commit a40781bafa3a8f0c7737164bca6cf74b0a452e72)
(This used to be commit 86cabcad74ac06d888f2a352a2bef3abea1ed85c)
|
|
Karolin, this needs to be in 3-2-stable.
Guenther
(This used to be commit 0d73bde6de4391e7aec862424762473441fa0905)
|
|
accounts which may be located in a different ou. This is an extension to e71a48bb80cee85afcccacbce2884c0d600f4d72.
Karolin
(This used to be commit e5cc8b683cba3f2f3a84b1636b3d5bee1bfc0dda)
|
|
accounts which may be organized in a different ou.
Karolin
(This used to be commit e71a48bb80cee85afcccacbce2884c0d600f4d72)
|
|
The check for out of memory was the wrong way round.
Michael
(This used to be commit d7a7b793203b986823859ac5171d2d4c30e52415)
|
|
Michael
(This used to be commit 6b2b9a60ef857ec31da5fea631535205fbdede4a)
|
|
Failure to change password in ldap is mapped to NT_STATUS_UNSUCCESSFUL unconditionally.
Jeremy.
(This used to be commit 9369d6e907a49da1fbf2a5690118412b8d1a0383)
|
|
(This used to be commit 9e80b969fb40766de2c9b1a05d16bf4d4c6e46f7)
|
|
least surprise for callers
(This used to be commit eb523ba77697346a365589101aac379febecd546)
|