summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3/loadparm: Fiy typos.Karolin Seeger2009-04-151-2/+2
| | | | | | Karolin (cherry picked from commit 4458809597ff4362a653ea5469c5237bbe2a0531) (cherry picked from commit c689d84d6d1232f0574d42d0cebee9236eaf2a5b)
* s3/gpo_ldap: Fix typo.Karolin Seeger2009-04-151-1/+1
| | | | | | Karolin (cherry picked from commit a103222e0b679d68684681c871ac912f279afc1b) (cherry picked from commit f1f133dba832d129752c12a7656ce4a2dfae7806)
* s3/smbconf_reg: Fix typo.Karolin Seeger2009-04-151-1/+1
| | | | | | Karolin (cherry picked from commit 6343cab3086f5795c8428eddcb966ba8b72d3511) (cherry picked from commit 78a2b98d92d5a651bdc07659e717b8a2249373e9)
* s3 onefs: Fix case-insensitivity for mangled namesTim Prouty2009-04-151-0/+12
| | | | | | | onefs_get_real_filename needs to demangle the filename before doing the case-insensitive estat (cherry picked from commit 161bd7f78fd10e4f850dc3ef1ba3df53c43eae30) (cherry picked from commit ed6388ee3a96972b7bf7df79c9ca0b63bfb84380)
* s3 oplocks: Add back procid_str to debug messageTim Prouty2009-04-151-2/+3
| | | | (cherry picked from commit 130baafc7c36333cf29a19921f4736beb53a15e9)
* s3:smbldap convert the easy cases to push_utf8_talloc()Andrew Bartlett2009-04-151-8/+8
| | | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 042aaffabf602560877558ac167c69257862b124) (cherry picked from commit 44e05e848c622750ae632386d94f63e107a59e1d)
* s3:kerberos Rework smb_krb5_unparse_name() to take a talloc contextAndrew Bartlett2009-04-159-65/+54
| | | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 574a6a8c350a4bab3f42f3f9cfb382db721d69b5) (cherry picked from commit 7e6d6eeff3e082d7223264c17cb27c2ab89df9aa)
* s3:smbtorture Convert charcnv torture suite to use push_ucs2_talloc()Andrew Bartlett2009-04-151-4/+4
| | | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit fca02c9154796624958a877d2c92cabd65e9d0e4) (cherry picked from commit 33eaa9accb90824ecc5c688326ba4c3c054f7e4a)
* s3-libads: avoid NULL talloc context with ads_get_dn().Günther Deschner2009-04-155-15/+15
| | | | | | Guenther (cherry picked from commit d71dec9259366e99beca69fcd9397bd38ed82c71) (cherry picked from commit 4e32c424a00bc29e63176af9773f9ffa7aa09bc2)
* s3-svcctl: Fix _svcctl_EnumServicesStatusW() crash bug on too small buffer.Günther Deschner2009-04-151-1/+3
| | | | | | Guenther (cherry picked from commit 21b083a647997549e8188c6fc0687fdecfaa4cb3) (cherry picked from commit 10dd219380a2a9ab609be3fb7312795d0fdaab86)
* s3 onefs: Simplify level 2 oplock self-contentionTim Prouty2009-04-151-74/+5
| | | | | | This removes all oplock dependence on locking.tdb (cherry picked from commit 9d2d07503a17971a63153ecc13fdddb763e614b8) (cherry picked from commit f922e22d907d4a99e91f00f001c05b2b35d73a26)
* s3 oplocks: Refactor level II oplock contentionTim Prouty2009-04-152-63/+60
| | | | | (cherry picked from commit 651fa0964a6c49a071c28cdb1e4891b1d95d5b09) (cherry picked from commit 4e091804b86ae9b8318b985d39e826366681e21b)
* s3-samr: add support for _samr_Connect3() while planning to pass a s4 ↵Günther Deschner2009-04-151-10/+19
| | | | | | | | smbtorture test. Guenther (cherry picked from commit 12d9765177fc16f7b13e460e1d79c50c256d6fa8) (cherry picked from commit bd3f30d1dac3febd69c1c9266ca52dc836a92632)
* s3-samr: add support for setting password hashes via samr_SetUserInfo level 21.Günther Deschner2009-04-151-4/+53
| | | | | | Guenther (cherry picked from commit df29f49eddbfcd5c6ac9a26d688a1a3f7a087da5) (cherry picked from commit bca1bc1d79f9ca3ccaac61a32882b72198c527cb)
* s3:libads Make ads_get_dn() take a talloc contextAndrew Bartlett2009-04-1511-71/+58
| | | | | | | | | | | | | | Also remove ads_memfree(), which was only ever a wrapper around SAFE_FREE, used only to free the DN from ads_get_ds(). This actually makes libgpo more consistant, as it mixed a talloc and a malloc based string on the same element. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 20501876735fc4656083747ba8aa0de9da8fb820) (cherry picked from commit 6673ad24d48ad44fa76497f0327b13e82721d0a1)
* s3:printing Convert nt_printer_publish_ads() to use talloc betterAndrew Bartlett2009-04-151-26/+18
| | | | | | | | | | In particular, this removes one more user of pull_utf8_allocate() Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 89278b18195484d3ea5d25e8b19871d64d218a05) (cherry picked from commit 0fe131b32f4d372ea70060b0ba3874fc632e2a33)
* s3:smbldap Remove smbldap_get_dnAndrew Bartlett2009-04-155-58/+23
| | | | | | | | This removes one more caller to pull_utf8_allocate() Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 9512640155f3f249e4fd5ad076375592cbd65fc6) (cherry picked from commit 03c7459fd259ca898c5fde932c02ccdc37dcbd34)
* Make some functions static to vfs_gpfs.cVolker Lendecke2009-04-151-14/+14
| | | | (cherry picked from commit 27a6aebfed6ad7c89e72dfe0a05400b972f9aa12)
* Add prototype for smbd_gpfs_get_realfilename_pathVolker Lendecke2009-04-151-0/+2
| | | | (cherry picked from commit 25d87012ae5e7a5e76f33aa3ef34d977f2f6ca8b)
* Fix two c++ warnings in vfs_gpfs.cVolker Lendecke2009-04-151-2/+2
| | | | (cherry picked from commit c4dbc794f78900c50faec036264b5c556d6a700b)
* Fix smbd crash for close_on_completionVolker Lendecke2009-04-151-0/+4
| | | | | | | handle_trans() can talloc_free "conn" if the client requests close_on_completion. "state" is a talloc_child of conn, so it will be gone when we later free state->data et al. (cherry picked from commit e9457c598e25ededb48b73d7dc5ab0f6295ea399)
* Keep the forked-smbd stdout reader around longerVolker Lendecke2009-04-151-3/+8
| | | | (cherry picked from commit eae62459dc6fd0041a4f69601be5354f06022268)
* Ensure 0-termination for the forked-smbd debug outputVolker Lendecke2009-04-151-0/+1
| | | | (cherry picked from commit 37d754a34709fbcc5f9adcd2e3a4e5e5862c1a7a)
* Pass the current debuglevel down to the forked smbdVolker Lendecke2009-04-151-1/+2
| | | | (cherry picked from commit 06d4fc56867810e66f73d3645aad25d528a7f751)
* Use cluster-aware procid_is_me instead of comparing pid'sVolker Lendecke2009-04-151-2/+2
| | | | (cherry picked from commit 4996d89d19655ab6f0d4656ea72d6bad52ba7d6d)
* Use procid_str in debug messages for better cluster-debuggabilityVolker Lendecke2009-04-152-13/+15
| | | | (cherry picked from commit d5bec253f7494dd74cce3acf59ddd417900e5ad3)
* s3-lsa: use LSA_ROLE definitions in _lsa_QueryInfoPolicy().Günther Deschner2009-04-151-2/+2
| | | | | | Guenther (cherry picked from commit 31ab1d6a6487fb442ccd5b2cd093b4a2b7b80291) (cherry picked from commit 2d53463aaf679de8ca03ae71db0e9582241cc1c7)
* s3-lsa: don't SAFE_FREE talloced structs.Günther Deschner2009-04-151-2/+2
| | | | | | Guenther (cherry picked from commit 168eb23252c14234d09f7038b9894edf86e0efe1) (cherry picked from commit 6e7ad585196885900d465493398aea7f7665c94c)
* s3-spoolss: implement _spoolss_GetPrinterDriver2 level 101 (Bug #5140).Günther Deschner2009-04-151-5/+238
| | | | | | Guenther (cherry picked from commit 37aff885a62cdc5c3298e6f44165f9d9a22729c5) (cherry picked from commit 02b7eeef61e0144ef6756adffbb2f4f259c06258)
* Allow pdbedit to change a user rid/sid. Based on a fix from Alexander ↵Jeremy Allison2009-04-151-3/+57
| | | | | | | Zagrebin <alexz@visp.ru>. Jeremy. (cherry picked from commit 6f7147225ab599a4085ef8eb7af6900d6b681a4e)
* s3 onefs: Quiet a log message about oplocks being requested on streamsTim Prouty2009-04-151-21/+16
| | | | | (cherry picked from commit 87fe4d732d18d18ed56c99cba6a395a0bf9e9d95) (cherry picked from commit 9258adeac95e7fca025a72ce39e2d70fa5a665cd)
* s3:net conf: don't store share names as lower case, but as given.Michael Adam2009-04-151-11/+11
| | | | | | Michael (cherry picked from commit 36c1a52a57bc96c7586ca1bffbe8ef47c93bca1b) (cherry picked from commit dd495878d764c3836784adcd739f78ca03d27d58)
* s3-auth: rename static smb_create_user(). Sorry...Günther Deschner2009-04-151-2/+2
| | | | | | Guenther (cherry picked from commit 01a942d8ab5b5e430eb928dd58626fe16b9b04fe) (cherry picked from commit e67f9c77ce812b40a8e003d861bff64c6c6442fd)
* s3-libnet-samsync: return appropriate error code in fetch_sam_entry().Günther Deschner2009-04-151-22/+25
| | | | | | Guenther (cherry picked from commit 5cdf75e679a45dcc3dad56e54f5c9f7d7ea23200) (cherry picked from commit 7cf7c00663a41de202d695fb1f8dab7c3906e165)
* s3-libnet-samsync: use smb_create_user().Günther Deschner2009-04-151-46/+6
| | | | | | Guenther (cherry picked from commit e18f57fd36102212a3662823c58408da01d067ed) (cherry picked from commit 2a0f4fd1b4fa58f5cf89595e93053abc6101817d)
* s3-passdb: add smb_create_user().Günther Deschner2009-04-152-0/+63
| | | | | | Guenther (cherry picked from commit d0e1ff4aff24ef2f3b3f535ad25ad0573382e1a3) (cherry picked from commit 44d72cfa74c103c41beea2f5651155506667811b)
* s3-libnet-samsync: some pure cosmetics.Günther Deschner2009-04-151-0/+30
| | | | | | Guenther (cherry picked from commit e4802bfcad0402fce1e942e22d5533b3c14ada80) (cherry picked from commit 32c7e6c9e5a2a02b6972293c9d5233f4797899c8)
* s3-libnet-samsync: use parent talloc context for libnet_samsync_passdb.Günther Deschner2009-04-151-26/+28
| | | | | | Guenther (cherry picked from commit af78240cbe68282190980cd6c367a8fc2a4438a6) (cherry picked from commit c9bee2d4f982f677ced90ba18dc6326560139ed0)
* s3-libnet: only call libnet_dssync_process() startup and shutdown callbacks ↵Günther Deschner2009-04-151-12/+16
| | | | | | | | when filled in. Guenther (cherry picked from commit 264b28ec0962c355ee90f9ac67fcf07cd84c5c7b) (cherry picked from commit 7c553eb319de84a3510d348d3f927d11253aaacf)
* s3:build: add targets to show how libraries will be built / linkedMichael Adam2009-04-151-0/+120
| | | | | | | | showlibtalloc, showlibtdb, ... and one overall showlibs target. Michael (cherry picked from commit 1e92ddd40523f053513f9d12611e5a70c8a425f0) (cherry picked from commit aeedc9e0ce1843aee9c3f4fa83f5132557de3049)
* s3:build: don't build the static libs unconditionallyMichael Adam2009-04-151-7/+7
| | | | | | Michael (cherry picked from commit 99b486a056222d69a4865d4ee828163902de8eba) (cherry picked from commit d68e62f1a83e71a7dec6ce9b10b8963bc3c514b5)
* s3:build: add LIBSMBCLIENT_LIBS and LIBSMBSHAREMODES_LIBS to MakefileMichael Adam2009-04-151-0/+2
| | | | | | | | for completeness Michael (cherry picked from commit b79157f602163c671a413202424652e35c973b12) (cherry picked from commit 917d1d78980a6490f92e41f356ee5fa3a3bcdfcf)
* s3:build: no need to set LIBFOO_STATIC to the object collection any moreMichael Adam2009-04-151-1/+1
| | | | | | | | | now that the @LIBFOO_STATIC@ entries have vanished from the object lists. Just use the static library. Michael (cherry picked from commit 15ef346f9f7c69a2012a9b41a56a6ae9ffdd7cf6) (cherry picked from commit d2cbec7838e73da60a43219b8192fac3cdfbb2af)
* s3:build: rename WINBIND_LIBS -> LIBWBCLIENT_LIBS for unificationMichael Adam2009-04-152-31/+31
| | | | | | Michael (cherry picked from commit 993c87495b80caff8ce288a29cd1ce8935224ca2) (cherry picked from commit 2c158434576bc3921f6de737cf3332c1baf1f4da)
* s3:build: unify linking of libwbclient with a @LIBWBCLIENT_TARGET@Michael Adam2009-04-152-53/+55
| | | | | | | | | just like for the libs configured with SMB_LIBRARY(). This makes @LIBWBCLIENT_STATIC@ vanish from the object collections. Michael (cherry picked from commit baf39de623d39dba6fe0bfed899f9b232f9c1266) (cherry picked from commit f2bdfbfe7d43ec993806f4783ff089c0972e20dc)
* s3:build: first cut at fixing linking of shared/static libs internallyMichael Adam2009-04-152-79/+85
| | | | | | | | | | | | This is based on a patch from the debian packages by Steve Langasek <vorlon@debian.org>. It removes the static libs from the object collections. For those libs that are set up with SMB_LIBRARY(). Michael (cherry picked from commit f9eb77477b82740814e6143837d8a70f8090b9a5) (cherry picked from commit 874b6dc483f681842d076f597979feeb4b288bb4)
* s3:build: add a SHOWCFLAGS target for debugging how CFLAGS are assebledMichael Adam2009-04-151-0/+15
| | | | | | Michael (cherry picked from commit 9aab2631c6294ebc3e4a7ab2367e22e3d552d41b) (cherry picked from commit d2a09b6b1c1aa4a3a42a8a305ca6f824465d2d53)
* s3:build: line-wrap assignment of FLAGS for readabilityMichael Adam2009-04-151-1/+10
| | | | | | Michael (cherry picked from commit b2e8bc28a5f589b86269907ff384a9e4c1f3aaca) (cherry picked from commit 38a7ba0d7fd17f76037117b0808c73e03f7fe02b)
* remove needless rpath stuff for default paths as early as possibleBjörn Jacke2009-04-151-1/+3
| | | | | | Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit c7dba467f268d0007c58e7de4985dc5386a44c6f) (cherry picked from commit 6a59971f5286e588c87f6d2635e7d36a2ec3aa26)
* clean up lib64 linking paths the same way as libBjörn Jacke2009-04-151-2/+8
| | | | | | Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 066cbb5835feae90e2ce4172e3c58bf50a2b004b) (cherry picked from commit 4cb1d0eef7155f9beaabd92d5e93d3b7974bc372)