summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* build: use $(LDAP_LIBS) instead of @LDAP_LIBS@ in rules.Michael Adam2008-07-161-1/+1
| | | | | | | Eliminate more potential traps for picky makes. Michael (cherry picked from commit a7ee1c16c234ad5d0aa8853081d8f5f4f763614b)
* build: use $(LIBNETAPI_LIBS) instead of @LIBNETAPI_LIBS@ in rules.Michael Adam2008-07-161-1/+2
| | | | | | | Eliminate more potential traps for picky makes. Michael (cherry picked from commit 22d0f686eb6649b3d4a8c7f142257e303c54568e)
* build: link in $(WINBIND_LIBS) instead of @LIBWBCLIENT_SHARED@Michael Adam2008-07-161-6/+6
| | | | | | | | | This should fix some more picky makes when not building @LIBWBCLINET_SHARED@. Moreover, we want to link against -lwbclient, not against bin/libwbclient.so, anyways. Michael (cherry picked from commit a60d295d3ac4a6e7a055927951f7207f09a3df7c)
* build: use $(LIBTDB_LIBS) instead of @LIBTDB_LIBS@ in rules.Michael Adam2008-07-161-52/+53
| | | | | | | Eliminate more potential traps for picky makes. Michael (cherry picked from commit 0f609e55d8c58285de73fa0955df951042dfd9a0)
* build: use $(LIBTALLOC_LIBS) instead of @LIBTALLOC_LIBS@ in rules.Michael Adam2008-07-161-61/+62
| | | | | | | Eliminate more potential traps for picky makes. Michael (cherry picked from commit 15dd9f78650b0b853cb6955429ae58656be3945e)
* build: use $(POPT_LIBS) instad of @POPT_LIBS@ in rules.Michael Adam2008-07-161-47/+48
| | | | | | | Make picky makes happier. Michael (cherry picked from commit 2d2b48749e885d2a529dab273c8419c5445568d3)
* build: fix build on systems with picky make and without shared libwbclientMichael Adam2008-07-161-20/+20
| | | | | | | | | This produces empty lines in Makefile rules. Replacing @WINBIND_LIBS@ by $(WINBIND_LIBS) where WINBIND_LIBS=@WINBIND_LIBS@ should fix that. Michael (cherry picked from commit fd9b4bcaa5302d3d6245eb7b21ce0ef9994f718d)
* Fix regression introduced with 4086ef15b395f1a536fb669af2103a33ecc14de4Simo Sorce2008-07-161-15/+15
| | | | | | | We must not return an error here just because we are offline. We must instead fix the mappings to the best of our knowledge (ie mark as mapped, expired ones, and as unmapped, unknown ones) (cherry picked from commit c17b125e1fdb9b71877200b2419d7f682bb52e87)
* build: fix build of libaddns shared lib : it needs socket_wrapper.Michael Adam2008-07-161-1/+1
| | | | | | Michael (cherry picked from commit 58bc04b31b15c36505c5ecb2d8373e9033972390) (cherry picked from commit 2c097e7f333553ff4a540aef7668de7382723a74)
* build: fix build of libaddns shared lib. symbols file was missing.Michael Adam2008-07-161-0/+5
| | | | | | | | | This symbols file is checked because mksyms script currently does not support headers without exportet symbols... Michael (cherry picked from commit 1fa57b47e8f8da33a5713096c187bafb3a6c5b79) (cherry picked from commit 8eb7be8d1dbf76f7a0f09e0e0271762902fd7e4b)
* cleanup some dup code by passing the password to the wbinfo_auth*Herb Lewis2008-07-161-46/+25
| | | | | functions (cherry picked from commit 710d42d0b7de44fb684edf7412bfb4a48c3daf07)
* Fix realpath() check so that it doesn't generate a core() when it fails.Zach Loafman2008-07-161-2/+10
| | | | (cherry picked from commit 5c5e96df3b96bfab93ed0f0b1e5e7f7615cb356e)
* Always set "registry shares = yes" for "include = registry"Volker Lendecke2008-07-161-1/+5
| | | | | | | | | | | | | This fixes the case where "include = registry" is set in the smb.conf text file and *only* shares (no [global] settings) are present in the registry. Michael, please check! Thanks, Volker (cherry picked from commit 6c80362e291d8c5e748b987a583e8e32acc36354) (cherry picked from commit dacd0f90f3706db6ffab0cd7662d22eb40811e05)
* loadparm: fix process_registry_shares() when there is only [global] in registry.Michael Adam2008-07-161-0/+2
| | | | | | | | | This fixes testparm printing "Error loading services." when there is only the global section in registry and no other service definition. Michael (cherry picked from commit 28d197220038b9a47af177b88a8587f865e45de5) (cherry picked from commit efb9a844e74b91d63fda98fa9cc12136bf1f172a)
* loadarm: fix testparm with "config backend = registry".Michael Adam2008-07-161-2/+3
| | | | | | | | | | | | Set the iServiceIndex to "-1" for starup with either config backend (originally only for text backend). Otherwise, process_registry_shares() will fail. Currently, the only user of lp_load_with_registry_shares() is testparm. Michael (cherry picked from commit 5e2b925367241c41793b2eb7a628e9fc9f3ac8ff) (cherry picked from commit 6fd007905d4ba09309735a14635502008e082cb6)
* testparm: list registry shares with testparm.Michael Adam2008-07-161-1/+1
| | | | | | | | I.e., use lp_load_with_registry_shares() instead of lp_load(). Michael (cherry picked from commit 95339c0c1ecc49049f1fc176f72a1dcac639e06d) (cherry picked from commit e1bbcc6c5401c59726ca40dadff5760c2800b5c1)
* loadparm: add funcion lp_load_with_registry_shares().Michael Adam2008-07-161-0/+15
| | | | | | | | | | This is like lp_load(), except that it will load the registry shares into the services aarray when registry shares are activated. Michael (cherry picked from commit b387c614ba8d1d3960f6917f03f0fd433cf2b2ee) (cherry picked from commit dc04efa42104100e677bccc307726106d8ca4b31)
* loadparm: add call to do_section() to process_registry_service().Michael Adam2008-07-161-0/+4
| | | | | | Michael (cherry picked from commit e1b76cd5d646bb9083cfca0d15a84183cad72882) (cherry picked from commit 661960e2bd73a6f773531608a635e17be28afeba)
* loadparm: add parameter allow_registry_shares to lp_load_ex().Michael Adam2008-07-161-3/+10
| | | | | | | | | This allows for registry shares to be activated, i.e. loaded into the services array at lp_load() time. Michael (cherry picked from commit b3233ecefd5df745ba7e10511f9ab36064036b10) (cherry picked from commit 02fa674dd62ad400502046fbe9e05a1578b4deab)
* loadparm: add a function process_registry_shares()Michael Adam2008-07-161-0/+37
| | | | | | | | This loads the shares defined in registry into the services array. Michael (cherry picked from commit b3a90b72517c2e25d972796908aec4d2b85a030e) (cherry picked from commit fc60bc9389e5a0ca278b3622e96aed1626c4882e)
* loadparm: refactor processing of service out of process_registry_globals()Michael Adam2008-07-161-8/+23
| | | | | | | | into new function process_registry_service(). Michael (cherry picked from commit 2986e5174e69527465ae7ef8e108110416752b56) (cherry picked from commit e7362a769c4ad7b6715c87dc8ba77ffdd38a4824)
* loadparm: refactor initalization of registry config out into lp_smbconf_ctx().Michael Adam2008-07-161-13/+22
| | | | | | Michael (cherry picked from commit 83cd9f74d57c462ad5c8956b3ce3c81bea429b67) (cherry picked from commit 7f38c280c821cc7950036a709e01383ab94ab55e)
* build: fix bug #5608: link creation for libtalloc.so.1 (and friends) on ↵Michael Adam2008-07-161-0/+4
| | | | | | | | | solaris 8 on solaris, ln -s -f does not remove the link if it exists. Michael (cherry picked from commit f4d26db5dfccb962f5ca2cc03e9012a9883e16d8)
* Fix some uninitialized variable references via ndr_printVolker Lendecke2008-07-162-1/+5
| | | | (cherry picked from commit 43891c397849ccc9c64e5252b6c0350beb754087)
* Fix a segfault in base64_encode_data_blobVolker Lendecke2008-07-161-1/+3
| | | | | We did not allocate enough memory for the \0 and a = at the end (cherry picked from commit 719ec00949094b7d3b01e9ac829183ae08f46417)
* Give a nice error message if trying to join with a non-privileged userVolker Lendecke2008-07-161-1/+1
| | | | (cherry picked from commit 088a6f42476782267c50f0a5ea029db0eede6cdd)
* Fix typo.Karolin Seeger2008-07-143-3/+3
| | | | | | | | retieve -> retrieve Karolin (cherry picked from commit 37c64130701ab13b6f34998ac17fec2d128c2e08) (cherry picked from commit cacd84b86d14740ebb5e285d5882063aea5cd866)
* Fix alignment problems on sparc, bug 5512Volker Lendecke2008-07-101-19/+20
| | | | | Patch successfully tested by Christoph Kaegi <kaph@zhaw.ch>, thanks. (cherry picked from commit 9f8df16f476c49da85000b7365c8a6e33b8b71fc)
* testsuite: fix another expr typo in net registry test script.Michael Adam2008-07-101-1/+1
| | | | | | Michael (cherry picked from commit 73312e4e21b6d14363bd0987e0c9716c4ec91834) (cherry picked from commit 01ea8d4f34cfe29dd8a945ebe340a80a4eafb9c7)
* testsuite: fix expr typo in net registry testscript.Michael Adam2008-07-101-1/+1
| | | | | | Michael (cherry picked from commit 5b6c32160a5d8fafc807fbefb66aa8c98662baae) (cherry picked from commit 1b293758292a055648403f74d0b565538ad578d2)
* Minor style correctionZach Loafman2008-07-101-2/+2
| | | | | | Set sin[6]_family instead of ss_family in in[6]_addr_to_sockaddr_storage so that assignments look like they're going to the same place. (cherry picked from commit 01d1dddebff7ec9502422667b12f0bac8fa6a780)
* Fix option processing in smbcacls - add POPT_COMMON_CONNECTION.Jeremy Allison2008-07-101-1/+2
| | | | | Jeremy. (cherry picked from commit c1baf310830e7ebff4fe0835812122ec146412da)
* use variables for files used in multiple placesHerb Lewis2008-07-101-17/+19
| | | | (cherry picked from commit cee044bc42d955c535dbb6bb372af01089d37756)
* fix comment typo and change some uint32 to uint32_tHerb Lewis2008-07-101-4/+4
| | | | (cherry picked from commit 8272dace64f39286e4255e9f5bc8d04fb47f2c51)
* Allow authentication and memory credential refresh after password change ↵Jeremy Allison2008-07-102-9/+37
| | | | | | | from gdm/xdm. Patch from boyang <boyang@novell.com>. Jeremy. (cherry picked from commit 63316efeeb330d2cb7fa0906824c97da2c7b0074)
* build: fix creation of libaddns.a - don't link in libtalloc.aMichael Adam2008-07-101-2/+2
| | | | | | | another step towards fixing bug #5590 Michael (cherry picked from commit 396310775e69baeee06b2e6469854a5ddf759a91)
* build: fix creation of libsmbclient.a - don't link in libtalloc.aMichael Adam2008-07-101-5/+7
| | | | | | | Second step in fixing bug #5590. Michael (cherry picked from commit dcf986937ccf5e6947c4214aa0838733ed7f3b9b)
* build: fix creation of libsmbsharemodes.a - don't link in libtdb.a.Michael Adam2008-07-101-3/+4
| | | | | | | First step in fixing bug #5590. Michael (cherry picked from commit 4fc57a0a90390ede1161fd6f231ea274c9c74b20)
* VERSION: Raise version number to 3.2.1.Karolin Seeger2008-07-061-1/+1
| | | | | Karolin (cherry picked from commit 00fc0003f6d163c7a51eda726a7ca542be671718)
* Add SMB_VFS_OP_RECVFILE to get it in sync with vfs.hLars Müller2008-07-061-0/+1
| | | | | | Fix "vfs_full_audit.c: name table not in sync with vfs.h" panic reported by Franz Sirl. (cherry picked from commit 567c6def08d91716c687ed43de0938e1556f26e2)
* Patch from SATOH Fumiyasu <fumiyas@osstech.co.jp> for bug #5202. Re-activate ↵Jeremy Allison2008-07-062-15/+27
| | | | | | | | "acl group control" parameter and make it only apply to owning group. Also added man page fix. Jeremy. (cherry picked from commit 93e91e5364a7f131d988648cf5fe822a9bd68734)
* libnetjoin: fix Bug #5570.Günther Deschner2008-07-061-1/+1
| | | | | | | | Thanks to Atte Peltomäki. Guenther (cherry picked from commit 144d374ad9dd981430a82369ceaa2783e6dae90a) (cherry picked from commit 3e5bff08dac4faf575a11fe3edb17af08170ed74)
* Fix build warning.Günther Deschner2008-07-061-1/+1
| | | | | | | | Thanks to Thorkil Olesen. Guenther (cherry picked from commit c18e5983c1e9274131ac7fca7ca5e6739ba2b312) (cherry picked from commit b7a53f20494bec008aabd4de4d3a14ece8b9cda1)
* Remove worrying warning message when safe_strcpy tries to copy a pseaudo ↵Jeremy Allison2008-07-061-1/+1
| | | | | | | | interface name that's too long. Reported by James Kosin <JKosin@intcomgrp.com>. Jeremy. (cherry picked from commit e7c7246300bf060a93c2685ce9496b52f91d0a96)
* Canonicalize servername in the printer functions to remove leading '\\' ↵Jeremy Allison2008-07-061-54/+59
| | | | | | | characters. Ensure we always return consistent names. Jeremy. (cherry picked from commit d47ab1d07ba043f42a24a17f7644bf672c12791a)
* Fix bug #5578, reported by sendel2000@hotbox.ru. Bad (non-Samba) use of ↵Jeremy Allison2008-07-062-0/+6
| | | | | | | strlcat gives error. Jeremy. (cherry picked from commit a93c7a2170124f24aac4063c853475ae3f6b0720)
* Ensure consistent use of pdb_get_nt_passwd instead of pdb_get_lanman_passwd.Jeremy Allison2008-07-061-8/+11
| | | | | | Reported by hongbing Zhang <hongbing.zhang@gmail.com>. Jeremy. (cherry picked from commit 00e48ea5d113a0bde1a2b044d6869174cb536035)
* MSG_DEBUG now forwarded to all the winbindd children by parent.Jeremy Allison2008-07-063-1/+40
| | | | | | | | | | | | | smbcontrol winbindd debug level would only set the debug level of the parent winbindd process and not the child processes. This patch adds the functionality of broadcasting the debug message to all winbindd children. Now the debug level message is propagated to all the winbindd processes that includes parent and children. From Darshan Purandare <dpurandare@isilon.com> - had to patch separately due to proto.h not being under git control in 3.2.x. Jeremy. (cherry picked from commit f6d4f487332baf74acec8f50e31bcfea44775570)
* Jim Brown <jim.brown@miami.edu> was right, this needs to be a signed int orJeremy Allison2008-07-061-1/+1
| | | | | | the loop never terminates. Jeremy. (cherry picked from commit 0108d32d1d9d7fd975df3ec7d1f1c830f170503f)
* Two more fixes from Jim Brown <jim.brown@miami.edu> for SGI compiler warnings.Jeremy Allison2008-07-062-2/+7
| | | | | Jeremy. (cherry picked from commit 8dd833b908cc8d4c0aa34cdece014d0e160aaf9e)