summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't bomb out when trying to unmarshall a zero length printerdata value.Tim Potter2003-07-141-4/+3
| | | | | Fixes remote printer publishing of shared printers from a Samba server. (This used to be commit 7f363fa32d3b660567fc87d5d0b1e1d4dd58461a)
* Delete obsolete comment.Tim Potter2003-07-141-1/+0
| | | | (This used to be commit 5416c51133297e866210ec0d8454e04c25541d91)
* Undo 'Fix compiler warning'. It didn't work because the value of inbuf ↵Tim Potter2003-07-141-21/+11
| | | | | | | | | | changes so we end up freeing a pointer we didn't mallocate. Also, calling strdup() in a frequently called function just to clear up a const compiler warning seems inelegant and inefficient. (This used to be commit a0da5ae1198082d0cf18707ed2cf05f728b00d0b)
* use the specific funtion we have to check if a SID belong to our domainSimo Sorce2003-07-131-12/+6
| | | | (This used to be commit a926959391676d69bd7cbaf4ce0be0d3cb715418)
* Fix compiler warning.Rafal Szczesniak2003-07-131-11/+21
| | | | (This used to be commit 3a71b4873034b3fe9dc7b23a95e56c865e857507)
* Argl. Thinking twice and looking at the rest of callers of sid_compare_domainVolker Lendecke2003-07-131-1/+6
| | | | | | | | | proved the last patch wrong. Sorry. Volker (This used to be commit d8695eccc7acdee69ca0d0593b56a417f1f89167)
* We have an API to compare the domain parts of two SIDs, so use it.Volker Lendecke2003-07-131-6/+1
| | | | | Volker (This used to be commit 39308ff138da88c1a4c0958cd4c7a9090261d3d5)
* Fixed memory leaks, added krb5 replay cache. Now I need to add code to checkJeremy Allison2003-07-121-17/+72
| | | | | | the incoming addresses.... Jeremy. (This used to be commit 4e9359a1f67a44b2981579383327ba774e1c31f9)
* patch for domain groups with no members (rpc only) from Ken CrossGerald Carter2003-07-111-1/+1
| | | | (This used to be commit 05ec9c40f40be4d4dbb10b33e0def2374468ff8a)
* Fix a small typo in a comment and pretty it up a bit.Richard Sharpe2003-07-111-1/+1
| | | | (This used to be commit 3b5ddd8e1f021f6a38434c0d9a47317ab6ff2614)
* fix sid_to_[uid|gid] (spotted by Volker).Gerald Carter2003-07-113-158/+114
| | | | | | Still testing this, but I'm checking it in so Volker can test it as well. Should be right. (This used to be commit 8edf193722f699cc33baed410917a78a5e28d0a4)
* fix unitialised variableGerald Carter2003-07-111-0/+6
| | | | (This used to be commit 5efa0d7cc28d903c1986b8e40072ae49e9532a88)
* use names from enumerated type to get rid of compiler warningsHerb Lewis2003-07-111-3/+3
| | | | (This used to be commit c9d6782e091406ed105b7dc34c8c83e53bfe515e)
* Doesn't re-prompt for password when it is specified on the cmdlineJim McDonough2003-07-111-2/+2
| | | | (This used to be commit 6ebe87d318658f28ad9b9f8169fc4400856d5812)
* get rid of CFLAGS from LDSHFLAGS and WINBIND_NSS_LDSHFLAGS and insteadHerb Lewis2003-07-112-3/+3
| | | | | define it in SHLD for those systems the use CC for SHLD. (This used to be commit d0e2f3d1098ac0b8fa9165b3a93cd8d325a7a0d9)
* moving more code around.Gerald Carter2003-07-1120-842/+1059
| | | | | | | | | | | | | | | | | | * move rid allocation into IDMAP. See comments in _api_samr_create_user() * add winbind delete user/group functions I'm checking this in to sync up with everyone. But I'm going to split the add a separate winbindd_allocate_rid() function for systems that have an 'add user script' but need idmap to give them a RID. Life would be so much simplier without 'enable rid algorithm'. The current RID allocation is horrible due to this one fact. Tested idmap_tdb but not idmap_ldap yet. Will do that tomorrow. Nothing has changed in the way a samba domain is represented, stored, or search in the directory so things should be ok with previous installations. going to bed now. (This used to be commit 0463045cc7ff177fab44b25faffad5bf7140244d)
* Fix for bug 203. Avoid using an autoconf expanded variable preceeded by a ↵Tim Potter2003-07-111-2/+1
| | | | | | | backslash in case the variable is empty. This apparently confuses some makes. (This used to be commit 1e4043d54c2135b09be8c329f50f132779b4b776)
* Ignore *.poTim Potter2003-07-111-0/+1
| | | | (This used to be commit bc4af3bdb163bd5c570dcb88cf48780b6ed66f9f)
* Just a few formatting fixed caught while testing.Rafal Szczesniak2003-07-102-5/+1
| | | | | rafal (This used to be commit 156554738cf4e4ffa5a811d9979acd19418e7908)
* i guess i'm the only one this ever annyoed...Gerald Carter2003-07-109-35/+118
| | | | | | | fix the confusion when we tdb_lock_bystring() but we retrieve an entry using tdb_fetch_by_string. It's now always tdb.*bystring() (This used to be commit 66359531b89368939f0e8f584a45844b5f2f99e7)
* Final piece of support needed to find iconv libraries on FreeBSD.Richard Sharpe2003-07-101-1/+4
| | | | | | | | | | This has been tested on RedHat 9.0 with libiconv built in as well as FreeBSD 4.6.2 with iconv-2.0.3 and biconv.g/libbiconv. We should perhaps also check for other conversions that just ASCII<-->UCS-2LE especially because those two names do not appear in charset.aliases for iconv-2.0.3. (This used to be commit 53d953da10dbfaf778907f19115e127c5aac1da8)
* Fix a small problem I seem to have introduced into aclocal.m4Richard Sharpe2003-07-101-1/+0
| | | | (This used to be commit b6bb70ea1e2eefbb538290a987390728f002ceac)
* pdbedit should not call idmap anymore. Otherwise pdbedit -L wouldVolker Lendecke2003-07-102-14/+3
| | | | | | | allocate id's. Volker (This used to be commit 0358cc76757e7ef06dada94ec3a73cd90a525ba9)
* Add constVolker Lendecke2003-07-101-1/+1
| | | | (This used to be commit 2f7658d9ba1f43fb2d14adc4af7b681634ab5cb2)
* Fix shadow parameter warning.Tim Potter2003-07-101-4/+4
| | | | (This used to be commit 8d8d85ecd62dba075d90e54ec75da9b1328784fb)
* Fix a small spelling mistake and push out the new version of aclocal.m4 toRichard Sharpe2003-07-092-31/+60
| | | | | | | properly handle iconv on FreeBSD ... It works on Linux and FreeBSD ... (This used to be commit 9302401f543bd3684657b38f046dc52a5a732035)
* Move find_missing_doc.pl to the docs systemJelmer Vernooij2003-07-091-57/+0
| | | | (This used to be commit 087e9af450109d749bfcc3016494d920b6028bf1)
* Update for docbook XMLJelmer Vernooij2003-07-091-45/+12
| | | | (This used to be commit a61804b5ebc48ac9b9eb5f9b82d47fb4cf78f944)
* Large set of changes to add UNIX account/group managementGerald Carter2003-07-0924-1144/+1652
| | | | | to winbindd. See README.idmap-and-winbind-changes for details. (This used to be commit 1111bc7b0c7165e1cdf8d90eb49f4c368d2eded6)
* more compile fixes for become/unbecome_root()Gerald Carter2003-07-094-0/+60
| | | | (This used to be commit f005f1cf12b839f3985ab00315da63c584ce803e)
* fix linking issues in winbindd with become/unbecome_root() in passdb.cGerald Carter2003-07-091-0/+14
| | | | (This used to be commit 389fe1e51abb533a781f69731a75771cb846d850)
* Get rid of DISP_USER_INFO/DISP_GROUP_INFO as they serve no usefulJeremy Allison2003-07-094-40/+31
| | | | | | | | purpose. Replace with an array of SAM_ACCOUNT/DOMAIN_GRP entries. ZERO struct's in smbd/uid.c stops core dumps when sid_to_XX functions fail. Getting ready to add caching. Jeremy. (This used to be commit 9d0692a54fe2cb087f25796ec2ab5e1d8433e388)
* Fix up become_root/unbecome_root pairs needed around local passdbJeremy Allison2003-07-091-3/+17
| | | | | | lookups. Jeremy. (This used to be commit 6bd47884030c9c124c4bba1f0d57cb8dd916530d)
* Ensure we correctly test for errors in uid/gid_to sid.Jeremy Allison2003-07-091-15/+14
| | | | | Jeremy. (This used to be commit f3c2e73a8c1c592d407542c12c0a445103415bc0)
* Moved SAM_ACCOUNT marshall/unmarshall functions to make them externallyJeremy Allison2003-07-085-408/+443
| | | | | | available. Removed extra auth_init (thanks metze). Jeremy. (This used to be commit 88135fbc4998c266052647f8b8e437ac01cf50ae)
* standlone servers don't have any trusted domainsGerald Carter2003-07-081-0/+5
| | | | (This used to be commit 4acdfc5c944aa8830d6cec7bd1225200448e45c5)
* fix bone head mistake when setting the uid in the server_info struct.Gerald Carter2003-07-081-11/+3
| | | | (This used to be commit 43f21078ec0f885d4d1a0b90476b55f8f92de9e7)
* Initialise the uid and gid values to a safe default in make_server_info()Tim Potter2003-07-081-0/+8
| | | | (This used to be commit 3a1f4f5ea5379b0deb6dc6b8ed81dedc3a08f70e)
* fix some formattingGerald Carter2003-07-081-25/+24
| | | | (This used to be commit fca08b1c8766ef1961a9dedc127224249cac9543)
* fix temporary bug so people can test 3.0 again; make sure to initialize the ↵Gerald Carter2003-07-081-1/+2
| | | | | | uid for the server_info struct (This used to be commit 6a84297da53e8658f4bcfa4951ceed011b69201f)
* Spelling.Tim Potter2003-07-081-1/+1
| | | | (This used to be commit a9a3339b2d99dcb64b675b27255d4aa5959a1caf)
* Fix spotted by Nadav Danieli <nadavd@exanet.com> - ensure dev and inodeJeremy Allison2003-07-071-0/+10
| | | | | | to fix open mode race condition. Jeremy. (This used to be commit cbde1c8dfcd9d3bef956fe073e7108a54b48844b)
* Fix the build...Jeremy Allison2003-07-071-2/+1
| | | | | Jeremy. (This used to be commit 61e9c49cd67e73260738ca2482aa8f8dc5ce7366)
* Fix from MORIYAMA Masayuki <msyk@mtg.biglobe.ne.jp> for new MB statcacheJeremy Allison2003-07-071-7/+9
| | | | | | code. Bug #185. Jeremy. (This used to be commit 7a1ac7be42dfb90fd44f2c51810eedcea052386b)
* another compile fixGerald Carter2003-07-071-1/+1
| | | | (This used to be commit 8b52802e5d27bfc2d9dff2f4700e182c33f2b130)
* fix some compile problems. Can't get IDMAP_OBJ our of proto.hGerald Carter2003-07-072-6/+8
| | | | | | | just yet. ` (This used to be commit 6f0b5d474a051db512db2f73a8097c80964ec513)
* Cleaning up linking issues. sam/idmap*.c only links inGerald Carter2003-07-076-305/+134
| | | | | winbindd now. Also removing an unused file. (This used to be commit 688369c23c604e9b6654fcf07190d2e27c1138cf)
* Fixed a couple of const issues with the new code.Jeremy Allison2003-07-072-3/+3
| | | | | Jeremy. (This used to be commit e9fb6e45086a6170b6f6d5d3295398708ab1af58)
* temporarily disable a sanity check to prevent winbindd from deadlockingGerald Carter2003-07-071-1/+3
| | | | | on a Samba PDC. Will be re-enabled after winbind_passdb is done. (This used to be commit c4762aa3bc0d5d2dc5161b543b22808a369e0698)
* and so it begins....Gerald Carter2003-07-0721-277/+874
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove idmap_XX_to_XX calls from smbd. Move back to the the winbind_XXX and local_XXX calls used in 2.2 * all uid/gid allocation must involve winbindd now * move flags field around in winbindd_request struct * add WBFLAG_QUERY_ONLY option to winbindd_sid_to_[ug]id() to prevent automatic allocation for unknown SIDs * add 'winbind trusted domains only' parameter to force a domain member server to use matching users names from /etc/passwd for its domain (needed for domain member of a Samba domain) * rename 'idmap only' to 'enable rid algorithm' for better clarity (defaults to "yes") code has been tested on * domain member of native mode 2k domain * ads domain member of native mode 2k domain * domain member of NT4 domain * domain member of Samba domain * Samba PDC running winbindd with trusts Logons tested using 2k clients and smbclient as domain users and trusted users. Tested both 'winbind trusted domains only = [yes|no]' This will be a long week of changes. The next item on the list is winbindd_passdb.c & machine trust accounts not in /etc/passwd (done via winbindd_passdb) (This used to be commit 8266dffab4aedba12a33289ff32880037ce950a8)