summaryrefslogtreecommitdiff
path: root/source3/nsswitch
AgeCommit message (Collapse)AuthorFilesLines
2008-03-31DIsplay the short domain name in "wbinfo -m " by default.Gerald W. Carter1-10/+16
This fixes wbinfo -m to make preexisting behavior. Also adds the dns domain to the --verbose output. (This used to be commit b68caaa81bd75bb882c9363612d11d49dd73cb6f)
2008-03-31Augmented "wbinfo -m" to list additional information about the type, ↵Steven Danneman1-15/+78
direction, and transitivty of trusts. * added several helper functions to convert the trust_flags field in the winbindd_tdc_domain to more useful administrator ideas of trust type, trust direction, and trust transitivity. * converted winbindd_list_trusted_domains() to enumerate the trusted domain cache, instead of the domain list, and return additional trust information to the calling process * modified wbinfo to pretty print this additional trust information when a new --verbose switch is given with -m. Thus "wbinfo -m" and "wbinfo -all-domains" output as before, but "wbinfo --verbose -m" prints extra trust info. * updated some comments and fixed typos (This used to be commit e7827bb6afa264c12ecdc0858f49707ca3d6104f)
2008-03-31wbinfo: use wbcAllocateGid()Stefan Metzmacher1-1/+8
metze (This used to be commit 960c069a2354e0803e2cbf22c26e1a9d0b657b79)
2008-03-31wbinfo: use wbcAllocateUid()Stefan Metzmacher1-1/+8
metze (This used to be commit a7d735df292cee7dd6e23c7d2328481d57162904)
2008-03-31wbinfo: use wbcSidToGid()Stefan Metzmacher1-10/+12
metze (This used to be commit 43df48bdca1a71fa44b24bb3917869f886555d9c)
2008-03-31wbinfo: use wbcSidToUid()Stefan Metzmacher1-10/+12
metze (This used to be commit a25b39cac1716323154dd30acb30180d3273587b)
2008-03-31wbinfo: use wbcGitToSid()Stefan Metzmacher1-9/+13
metze (This used to be commit 9936d861a1c1163ce6fd079211b50fd9b52bc05d)
2008-03-31wbinfo: use wbcUidToSid()Stefan Metzmacher1-9/+13
metze (This used to be commit 4766ebf7ac8d33f9cd0f983ecdc54ef44959648b)
2008-03-31wbinfo: use wbcPing()Stefan Metzmacher1-7/+5
metze (This used to be commit 9a2f0b21925e630fa9b268cedbc19cf814686b42)
2008-03-28wbinfo: use wbcDomainInfo()Stefan Metzmacher1-18/+25
metze (This used to be commit 7714f9232110b2ee50e6ba8371f0bc23b83717a6)
2008-03-28wbinfo: use wbcGetgrnam()Stefan Metzmacher1-19/+12
metze (This used to be commit 8945dce4a18874bdf1a57f1ff8116a66a6f699a0)
2008-03-28wbinfo: use wbcListUsers() and wbcListGroups()Stefan Metzmacher1-54/+29
metze (This used to be commit 5a0ae1ad0c36e5ef97008a2c6bc2a921ca6538bd)
2008-03-28wbinfo: use wbcLookupUserSids()Stefan Metzmacher1-31/+45
metze (This used to be commit ff16b66631bc93909c0e7adf9e6bb1cf1d641ffd)
2008-03-28libwbclient: remove prototype of non existing wbcDomainSequenceNumbers()Stefan Metzmacher1-2/+0
metze (This used to be commit 7a4de23aa318bd24948e576a5582a5c74d335154)
2008-03-28libwbclient: add wbcListUsers() and wbcListGroups()Stefan Metzmacher2-0/+150
metze (This used to be commit df127f0b40d36ea8ee605c24ea88558c7d40a7fe)
2008-03-28libwbclient: add wbcLookupUserSids()Stefan Metzmacher2-0/+87
metze (This used to be commit 38007a387a1f1b53877ef9ea518f83ecf026f4f3)
2008-03-27Only add WBFLAG_PAM_CONTACT_TRUSTDOM when performing a krb5 auth request.Gerald W. Carter1-3/+7
NTLM logons must go against our DC. (This used to be commit 2e24f7c0243c67a00102c11258cfa6f61caf499f)
2008-03-27libwbclient: fix Coverity ID 536 remove duplicate error path (dead code).Michael Adam1-2/+1
I leave the more explicit error path in the "if (cmd == 0)" block. Michael (This used to be commit 2ae19b5fb89e0a992962af14a81b641bf13b7892)
2008-03-26Fix wbcAuthenticateUserEx().Günther Deschner1-1/+1
Guenther (This used to be commit 79f7a519f8f61a31d84467c5b5975cae13db1c29)
2008-03-17Coverity fixesMarc VanHeyningen1-2/+8
(This used to be commit 3fc85d22590550f0539215d020e4411bf5b14363)
2008-03-06Fix a memleakVolker Lendecke1-0/+1
Fixes Coverity ID 557 (This used to be commit fe882a575152233de6f4bf2143aca681319b0226)
2008-02-28winbind: use a struct element for WBFLAG_PAM_UNIX_NAMEStefan Metzmacher2-2/+4
To not conflict with WBFLAG_PAM_INFO3_TEXT. This should fix pam_winbind. metze (This used to be commit 1b8ed6c0ffb2548442bb7e9d848117ce9b1c65c0)
2008-02-27Fix caller of node_status_query() to use sockaddr_storage().Michael Adam1-3/+5
Caller is hidden inside an #ifdef . Michael (This used to be commit 4a0d1ad601facf158db0c1d1c320e9e1369093d0)
2008-02-23Fix a C++ warningVolker Lendecke1-1/+1
(This used to be commit d993b4c3cea6ead74ff1e031ee9a42f2aa39a9f1)
2008-02-15Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison2-38/+95
v3-2-test (This used to be commit 847874ca757ac8ca32082305c8caed5abc7fed1d)
2008-02-15wbinfo: ask wbcAuthenticateUserEx() for user info to test the more complex ↵Stefan Metzmacher1-1/+4
code path metze (This used to be commit 432a77e0d7dbd52fd230e4ee9641b6ab4f4d3b73)
2008-02-15libwbclient: let wbcAuthenticateUser() use wbcAuthenticateUserEx()Stefan Metzmacher1-21/+7
metze (This used to be commit 237c2e9738ae29ca7046d6f886d6f777a6206045)
2008-02-15libwbclient: implement WBC_AUTH_USER_LEVEL_PLAIN in wbcAuthenticateUserEx()Stefan Metzmacher1-4/+36
metze (This used to be commit 423f139fd37496db2e690f20399357496367ed7c)
2008-02-15libwbclient: wbcAuthenticateUserEx() be more strict regarding invalid parametersStefan Metzmacher1-12/+48
metze (This used to be commit 491ba9c0c9d479bc686c75242a3749f14d103fcd)
2008-02-14Fix "warning: 'cmd' may be used uninitialized in this function"Jeremy Allison1-0/+3
Jeremy. (This used to be commit 58b0f022ffce7fda531f6f8ea7392a963e8ec0c5)
2008-02-13wbinfo: use wbcAuthenticateUserEx()Stefan Metzmacher1-47/+43
metze (This used to be commit 923cb37837d508d5355038e95ed1ac09c5869a89)
2008-02-13libwbclient: add wbcAuthenticateUserEx() functionStefan Metzmacher3-1/+460
This function will be used by auth_winbind.c. metze (This used to be commit 72af96a320a97ce1a730d6e33d01950123d6a97c)
2008-02-13nsswitch: convert winbind_env_set(), winbind_on() and winbind_off() into macrosStefan Metzmacher2-30/+8
metze (This used to be commit 5f623f54a919cc687d0ff16c16038c05a501008d)
2008-02-11libwbclient: implement wbcErrorString()Stefan Metzmacher2-1/+35
metze (This used to be commit 97a8069075d820c43c17e761b1186d4f0b3c785d)
2008-02-05The krb5 locator should now be correctly able to handleJeremy Allison1-4/+4
IPV6, so (a) use the correct #ifdef (it's HAVE_IPV6, not HAVE_IPv6) and (b) don't deliberately terminate on an IPv6 address family. Jeremy. (This used to be commit a769acc0ba72ddd751e70558e0c2d9b2e6d71164)
2008-02-05Remove unused marshalling for SAMR_CONNECT.Günther Deschner1-1/+1
Guenther (This used to be commit 3442abd26d7c86f6abd9c3ca3593ac3b1170e826)
2008-02-04Use the proper boolean constants in wbinfo.c .Michael Adam1-73/+73
Michael (This used to be commit be57475cd1d5db60481e74000dc7d65002742376)
2008-02-04Reformatting: Fix spacing in wbinfo.c .Michael Adam1-86/+85
This fixes mixed tabs/spaces and trailing whitespaces I just ran across. Michael (This used to be commit 617928cbaeb76cf40245f95d02b48aaa0e18d69a)
2008-02-04Prevent a segfault when "wbinfo -a" is called without password.Michael Adam1-1/+3
wbcAuthenticateUser segfaults when passed NULL as password. This only changes the caller in wbinfo.c to pass an empty password string to wbcAuthenticateUser(). Michael (This used to be commit 3cbc7c19eba68427160e09e865edc85c7fe38413)
2008-02-01NetBSD needs PAM_SM_SESSIONVolker Lendecke1-0/+1
Otherwise no prototype for pam_sm_close_session is defined (This used to be commit e26ba6a3c6bf54b426b55c4ca0b9db98cd0d7b75)
2008-01-30Fix build warning.Günther Deschner1-1/+0
Guenther (This used to be commit a3417be934e34af2525ddb731af288034d51432b)
2008-01-29Fix uninitialized variablesVolker Lendecke2-15/+15
response.extra_data.data is not initialized on the first error path Found by the IBM checker (This used to be commit e9b3115c85e3d04eeaa04bfa71972d393272afca)
2008-01-29Allow NULL request and/or response pointers to be passed to ↵Gerald W. Carter1-5/+1
wbcRequestResponse(). This is a valid parameter set for things like setpwent() and ping(). (This used to be commit c1cdf6085329d55cf29ccc8c980fc853a03a695e)
2008-01-24Fix missing error check that caused crash when winbindd not running.Jeremy Allison1-0/+1
Jeremy. (This used to be commit f5ca241e2c1adf2ae836fae33a4adac916f46416)
2008-01-21libwbclient: use the same style in each switch case for the error mappingStefan Metzmacher1-2/+2
metze (This used to be commit 0b85f7173d0770f8d9a0bac9e43355eb45bc181f)
2008-01-17Finally enable pidl generated SAMR & NETLOGON headers and clients.Günther Deschner3-17/+18
Guenther (This used to be commit f7100156a7df7ac3ae84e45a47153b38d9375215)
2008-01-15nsswitch/: we don't need socket or nss wrapper in the winbind client codeStefan Metzmacher1-0/+8
As we don't need socket wrapper of nss wrapper in the winbind client code we disable the function macros so that we don't endup with swrap_close() or similar functions. metze (This used to be commit 40aeb431604bd26fc543410de24593726ca0a01f)
2008-01-15libwbclient: move wbc_err.h into wbclient.h as we only install one headerStefan Metzmacher2-52/+26
This makes the installed wbclient.h header usable. metze (This used to be commit 7dd65599a15bf1d164fcfa554c8057d43c51eb6d)
2008-01-03Some coding convention pedantism.Günther Deschner5-17/+17
Guenther (This used to be commit 338baf96cb957fa52e312d42fbf0fa227d7dafda)
2008-01-02Fix some C++ warnings (patch was Volker's) - implicit case from void* to char*Gerald (Jerry) Carter1-2/+4
(This used to be commit 518168410c49ac25085714c73e76dcf358fc4b68)