| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| |
| |
| |
| |
| |
| | |
This fixes pam password changes in the online case.
Guenther
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
code paths
ncreate does. This is a bit slower (about 10-20%), because it goes touches the
share mode db, but I think not having to call change_owner_to_parent and
friends in fewer places outweighs this. And, mkdir is not the way current
Windows boxes create directories, they do it via the ncreate call.
Volker
|
| |
| |
| |
| | |
ther way.
|
| |
| |
| |
| |
| |
| |
| |
| | |
don't have a check online event handler set.
We need to add one once we're been asked to
go back online as this is the only way to actually
go into the online state. Doh ! :-).
Jeremy.
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| | |
get rid of warning: value computed is not used
|
| |
| |
| |
| | |
get rid of more nested extern declarations warnings
|
| | |
|
| | |
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| |
| |
| | |
is set.
Guenther
|
| |
| |
| |
| |
| |
| | |
(e.g. to get the debug flag)
Guenther
|
| |
| |
| |
| |
| | |
send_smb failures should be clean exits. All times when we exit as
a matter of policy should also be clean exits.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
look at
errno, all go straight to ERROR_NT(status).
Volker
|
| |
| |
| |
| |
| |
| |
| |
| | |
change_owner_to_parent
a bit closer together: Move the lp_inherit_perms() check into the callers.
Volker
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
automatic
conversion, but not when we pass pointers down to other functions.
Simo, please check.
Volker
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A reversed check made it impossile to fallback to the Unix Domain mapping code.
Also fix a potential use of a freed array.
Jerry,
my tests shows that this code now correctly handle the fallback to Unix Domain
when our Domain member is asked for a mapped group that has a unix name different
from the Windows name against a Samba DC and we do not use winbindd but share
users/groups by other means (ldap / sync of passwd and group files)
Immediate Fix would be to discuss if we should answer back when DOMAIN\unixgroup -> SID
is asked for, in the case the unixgroup name is mapped to a different name.
IE: DOMAIN\Domain Admins -> ntadmins
Currently if we are asked for "DOMAIN\Domain Admins" we return the dom admins SID
If we are asked for "DOMAIN\ntadmins we return "not found", but we may consider to
return the Domain admins SID in this case too.
Comments are welcome on this point!
Long term fix I think is the unixinfo pipe and of course an idmap_unixinfo moudle.
Simo.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I think "anonimous" is correctly spelled "anonymous". The Solaris compile is
referring to this as "anonymous" in line 814 of smbldap.c. Simo, please check.
Thanks,
Volker
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
but always use a talloc context.
Thanks to simo for pointing this out.
Jeremy.
|
| |
| |
| |
| |
| |
| | |
being talloc'ed off the NULL context instead
of being malloced.
Jeremy.
|
| |
| |
| |
| |
| |
| | |
child->mem_ctx isn't actually used for
anything, so remove it.
Jeremy.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- make most static functions inline
- handle NULL pointers in talloc_parent_chunk()
- use talloc_parent_chunk() in talloc_parent_name()
to fix a bug found by the IBM checker
metze
|
| |
| |
| |
| |
| |
| |
| |
| | |
response_extra_sent() expects to free a malloced
extra_data.data while the add_XX_to_array functions all return talloced
memory now. Jeremy, please check.
Guenther
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| | |
when offline and or doing password changes.
Jeremy.
|
| |
| |
| |
| |
| | |
end parsing a file.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| | |
off conn->mem_ctx, not the null context so we can
safefy free everything on conn close. Should fix
possible memleak.
Jeremy.
|
| |
| |
| |
| |
| | |
then terminate the traversal once we've done that.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix DNS updates for multi-homed hosts
* Child domains often don't have an NS record in
DNS so we have to fall back to looking up the the NS
records for the forest root.
* Fix compile warning caused by mismatched 'struct in_addr'
and 'in_addr_t' parameters called to DoDNSUpdate()
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| |
| |
| | |
Wnidows 2000 DNS which expects the TKEY payload to
be in the answer section and not in the additional
set of records (like Windows 2003 and the RFC).
|
| |
| |
| |
| | |
Add necessary fixes.
|
| |
| |
| |
| |
| |
| |
| | |
per type - this is all we use right now and makes
re-entrancy problems with deleting handlers with
a message dispatch loop go away.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| | |
in tdb message processing. If we're inside a dispatch
function and we delete our own handler we'd walk onto
the next pointer from a deleted memory block. Fixes
crash bug in winbindd (and goodness knows where else).
Jeremy.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
leak memory by using the wrong(long lived) mem context
|