summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_proto.h
AgeCommit message (Collapse)AuthorFilesLines
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-24/+24
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-13s3:winbindd Provide a winbindd_register_handlers() helper function for s3compatAndrew Bartlett1-0/+1
This function provides a useful entry point for s3compat to set things up in winbindd. Andrew Bartlett
2010-05-13s3:winbindd Split helper functions to allow s3compat to call themAndrew Bartlett1-0/+1
This provides a more useful entry point for s3compat. Andrew Bartlett
2010-05-13s3:Winbindd Move winbindd_event_context to a different fileAndrew Bartlett1-2/+3
This allows this function to be easily replaced in s3compat Andrew Bartlett
2010-04-25s3: async_domain_request is no longer usedVolker Lendecke1-6/+0
2010-04-24s3: sendto_domain() is lo longer usedVolker Lendecke1-2/+0
2010-04-23s3: Convert WINBINDD_PAM_CHNG_PSWD_AUTH_CRAP to the new async APIVolker Lendecke1-1/+9
2010-04-19s3: Move the in-memory ccache to the parentVolker Lendecke1-0/+1
None of this blocks, so there is no reason to keep this in a winbind child process
2010-04-19s3: Convert WINBINDD_PAM_LOGOFF to the new async APIVolker Lendecke1-1/+7
2010-04-19s3: Convert WINBINDD_PAM_CHAUTHTOK to the new async APIVolker Lendecke1-1/+8
2010-04-19s3: Convert WINBINDD_PAM_AUTH_CRAP to the new async APIVolker Lendecke1-1/+8
2010-04-19s3: Convert WINBINDD_PAM_AUTH to the new async APIVolker Lendecke1-1/+7
2010-04-08s3: Remove the separate "child" argument from setup_domain_child()Volker Lendecke1-2/+1
2010-03-31s3: Make check_info3_in_group staticVolker Lendecke1-2/+0
2010-03-31s3-winbind: Make append_auth_data() staticVolker Lendecke1-4/+0
2010-03-10s3: Fix a long-standing problem with recycled PIDsVolker Lendecke1-8/+0
When a samba server process dies hard, it has no chance to clean up its entries in locking.tdb, brlock.tdb, connections.tdb and sessionid.tdb. For locking.tdb and brlock.tdb Samba is robust by checking every time we read an entry from the database if the corresponding process still exists. If it does not exist anymore, the entry is deleted. This is not 100% failsafe though: On systems with a limited PID space there is a non-zero chance that between the smbd's death and the fresh access, the PID is recycled by another long-running process. This renders all files that had been locked by the killed smbd potentially unusable until the new process also dies. This patch is supposed to fix the problem the following way: Every process ID in every database is augmented by a random 64-bit number that is stored in a serverid.tdb. Whenever we need to check if a process still exists we know its PID and the 64-bit number. We look up the PID in serverid.tdb and compare the 64-bit number. If it's the same, the process still is a valid smbd holding the lock. If it is different, a new smbd has taken over. I believe this is safe against an smbd that has died hard and the PID has been taken over by a non-samba process. This process would not have registered itself with a fresh 64-bit number in serverid.tdb, so the old one still exists in serverid.tdb. We protect against this case by the parent smbd taking care of deregistering PIDs from serverid.tdb and the fact that serverid.tdb is CLEAR_IF_FIRST. CLEAR_IF_FIRST does not work in a cluster, so the automatic cleanup does not work when all smbds are restarted. For this, "net serverid wipe" has to be run before smbd starts up. As a convenience, "net serverid wipedbs" also cleans up sessionid.tdb and connections.tdb. While there, this also cleans up overloading connections.tdb with all the process entries just for messaging_send_all(). Volker
2010-02-28s3: Remove unused count_all_current_connections()Volker Lendecke1-1/+0
2010-02-09s3: Don't invalidate cache for uninitialized domains.Bo Yang1-0/+1
Signed-off-by: Bo Yang <boyang@samba.org>
2010-01-24s3: Add wbinfo --ccache-saveVolker Lendecke1-0/+3
With this command you can give winbind your password for later use by the automatic ntlm_auth
2010-01-02s3: Make free_domain_list() staticVolker Lendecke1-1/+0
2010-01-02s3: Introduce domain_is_forest_root() helper functionVolker Lendecke1-0/+1
Hopefully this makes the flag tests a bit more understandable
2009-12-26s3: Replace IS_DOMAIN_OFFLINE by a functionVolker Lendecke1-0/+1
2009-12-26s3: winbindd_cli_state->getgrent_state is no longer usedVolker Lendecke1-1/+0
2009-12-23s3: Remove some unused codeVolker Lendecke1-17/+0
2009-12-23s3: Remove unused sendto_child()Volker Lendecke1-2/+0
2009-12-21s3:winbind: Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dcVolker Lendecke1-0/+7
This just does a NULL RPC call through an existing NETLOGON connection. If someone knows an operation that "just works" and does not return NOT_SUPPORTED, please tell me :-)
2009-12-21s3: Shrink winbindd_proto.h a bitVolker Lendecke1-71/+0
2009-12-21s3: Remove unused get_sam_group_entriesVolker Lendecke1-1/+0
2009-12-21s3: Remove unused winbindd_dual_getsidaliasesVolker Lendecke1-2/+0
2009-12-21s3: Remove unused winbindd_dual_getuserdomgroupsVolker Lendecke1-2/+0
2009-12-21s3: Remove unused winbindd_dual_getdcnameVolker Lendecke1-2/+0
2009-12-21s3: Remove unused winbindd_dual_lookupnameVolker Lendecke1-2/+0
2009-12-21s3: Remove unused winbindd_dual_lookupsidVolker Lendecke1-2/+0
2009-12-21s3: Remove some unused dual functionsVolker Lendecke1-8/+0
2009-12-21s3: Remove unused do_asyncVolker Lendecke1-6/+0
2009-12-21s3: Remove unused winbindd_gid2sid_asyncVolker Lendecke1-3/+0
2009-12-21s3: Remove unused winbindd_uid2sid_asyncVolker Lendecke1-3/+0
2009-12-21s3: Remove unused winbindd_sid2gid_asyncVolker Lendecke1-3/+0
2009-12-21s3: Remove unused winbindd_sid2uid_asyncVolker Lendecke1-3/+0
2009-12-21s3: Remove unused query_user_asyncVolker Lendecke1-10/+0
2009-12-21s3: Remove unused winbindd_getsidaliases_asyncVolker Lendecke1-8/+0
2009-12-21s3: Remove unused winbindd_lookupname_asyncVolker Lendecke1-7/+0
2009-12-21s3: Remove unused winbindd_lookupsid_asyncVolker Lendecke1-6/+0
2009-10-17s3:winbind: Move fillup_pw_field() as static to wb_fill_pwent.cVolker Lendecke1-8/+0
2009-10-13s3-winbindd: add wbint_ChangeMachineAccount implementation.Günther Deschner1-0/+7
Guenther
2009-09-28s3:winbind: Make check_info3_in_group, sanitize its memory handlingVolker Lendecke1-0/+2
2009-09-28s3:winbind: Make "check_request_flags" publically availableVolker Lendecke1-0/+1
2009-09-28s3:winbind: Sanitize the args for find_auth_domain: It only needs the flagsVolker Lendecke1-2/+2
2009-09-28s3:winbind: Make append_data publically available as append_auth_dataVolker Lendecke1-0/+4
2009-09-22s3-winbindd: add cm_connect_lsa_tcp().Günther Deschner1-0/+3
Guenther