summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-eventlog: move rpc_server/srv_eventlog_lib.c out of rpc_server.Günther Deschner2009-04-153-2/+2
| | | | | | Guenther (cherry picked from commit 98d703a6b7c102db49b6cdc2a57545a90efefabf) (cherry picked from commit 76fdbdcb3a58d90d669101fe303e5ccc14992b26)
* s3/packaging: Add idmap_hash and idmap_adex to the list of built modules.Karolin Seeger2009-04-151-1/+1
| | | | | | Karolin (cherry picked from commit bed4f8413435c39e37ea04940a18ee78481db48f) (cherry picked from commit c005bd724062273586ed9e3373826ed42ec396ce)
* s3-rpc-server: remove unused rpc_server/srv_util.c file.Günther Deschner2009-04-151-88/+0
| | | | | | Guenther (cherry picked from commit 5654f141a2067692992d3a83aa3b16fa59b6bab9) (cherry picked from commit 142c88e51f14d547a96d6e018ba395da4f2017be)
* s3-selftest: As Samba3 now passes RPC-SPOOLSS-WIN enable it against ourself.Günther Deschner2009-04-151-1/+1
| | | | | | Guenther (cherry picked from commit c1b354531faaef43d632f6a77c5eb04d39461069) (cherry picked from commit a8f99c883a90b1884eda614049b03e0607d427fb)
* s4-smbtorture: Small fix for RPC-SPOOLSS-WIN to deal with driver-less printers.Günther Deschner2009-04-151-3/+15
| | | | | | | | | The getdriver query failure should only be critical when there is actually a driver associated to a printer. Guenther (cherry picked from commit 1f6646e1351b00c55498fcfb809e9762f4d67c22) (cherry picked from commit b43c0aad591f56480e32f5920dc0a4cd50f43bb8)
* s3-selftest: add root for make test as well (not only make selftest).Günther Deschner2009-04-151-0/+1
| | | | | | Guenther (cherry picked from commit fa7f2ffe5116dce69e89b990f816a32721474fb6) (cherry picked from commit 367fb7b7d28bcdd392ca60806a5f15b4ef260193)
* s3-util-sock: add ismyaddr() check in is_myname_or_ipaddr().Günther Deschner2009-04-151-0/+4
| | | | | | Guenther (cherry picked from commit 78951bd7f4d8bfe13691b3291151c8dedd8e29ef) (cherry picked from commit e674c9d469d9ae4d63cd34af04b2634f7c370573)
* s3-selftest: Samba3 passes RPC-SVCCTL so enable it during make test.Günther Deschner2009-04-151-0/+1
| | | | | | Guenther (cherry picked from commit 403422e1ea8f654a9dee12566b8b28c09fe301c8) (cherry picked from commit 98000d20c189697da4f3e8a1c1207c1d7369cc78)
* selftest: add a fake root user to nss_wrapper_passwd in s3.Günther Deschner2009-04-151-0/+1
| | | | | | | | | Needed to make some server calls to get_root_nt_token() succeed. make selftest/make test gurus, please check. Guenther (cherry picked from commit 18d475cea92bd0de2fbb9c3251cb5b768795bce4) (cherry picked from commit 403834c88c8c45eb5d3eec4ba85a4fe7fd9a54f5)
* svcctl: use offered/needed for buffer sizes as in spoolss.Günther Deschner2009-04-158-525/+525
| | | | | | Guenther (cherry picked from commit 8e3145e55194cfef56fa792edbed724ef4bf111a) (cherry picked from commit ee6fe209ef2df223434faddc9b0e5ade7a677234)
* s3-svcctl: no need to define SVCCTL_NUM_INTERNAL_SERVICES twice in a file.Günther Deschner2009-04-151-2/+0
| | | | | | Guenther (cherry picked from commit b36fab0491a7f73ac9dffea6397167c5bdd82a2a) (cherry picked from commit 7109bb4fc38d9fa798e3bdd5e55b7825e10ceda8)
* s3:lib Use push_ucs2_talloc() in ms_fnmatch()Andrew Bartlett2009-04-151-7/+7
| | | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 6859b805e84af91eca641ec1b91b844cbdab4065) (cherry picked from commit e27c0d668bd93f7d64a2fe0c6aef6edc63af64d4)
* s3-spoolss: set servername to global_myname() in set_printer_hnd_name().Günther Deschner2009-04-151-1/+1
| | | | | | | | | This allows spoolss_OpenPrinterEx to open a printer by printername. Now the Samba3 spoolss server passes the RPC-SPOOLSS-WIN test. Guenther (cherry picked from commit c5b24d65cdb1b32196681499dcaf23ea70e1019b) (cherry picked from commit 3db2ef0394a3fdb11c8a54777360cbcdb94c87da)
* s3:charcnv Remove unused unistrcpy() and unistrlen()Andrew Bartlett2009-04-152-39/+0
| | | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 0c22d55134b39a6bc983b4f852f623a51af4d362) (cherry picked from commit 779ddf78f13940ef402331b68d86276241479a86)
* s3:rpc_parse remove unused prs_unistr2()Andrew Bartlett2009-04-152-39/+0
| | | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 3277b19800c6c56a32b7641d293e496475d8c62a) (cherry picked from commit 92688cded5d6018ca9f4c1588f418da6297f7d61)
* s3:charcnv Remove unused unistr2 functionsAndrew Bartlett2009-04-152-121/+0
| | | | | | | | | | Natrually, the hard work to make these unsued was done by GD, not me :-) Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 80163b5ac5bfff3698aeb9c5c43a2cc94947055c) (cherry picked from commit 22e82a52ded2ae43edb20c0898bd0a9316e563a2)
* s3:charcnv Remove unused ucs2_to_unistr2()Andrew Bartlett2009-04-152-47/+0
| | | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 5fff53882002bf5378690ddeb8251e2c99490266) (cherry picked from commit 6cf0e88ee6cefdab7d2d5f272e6d9e23005f9b61)
* s3/docs: Raise version up to 3.4.Karolin Seeger2009-04-1582-82/+82
| | | | | Karolin (cherry picked from commit c551c490f858b0298f876d515b1b17116c04799f)
* s3/popt.h: Fix typo.Karolin Seeger2009-04-151-1/+1
| | | | | | Karolin (cherry picked from commit 8da2fa36b4f4241d7d4cdbe254a2374dd373fe40) (cherry picked from commit ecaca646f91750bc0a9a6f58ff1589197585ebdc)
* 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/docs: Fix typo.Karolin Seeger2009-04-151-1/+1
| | | | | | Karolin (cherry picked from commit c002c1d776bc62bafe62e29a91e05100c5025890) (cherry picked from commit c62811a62bee3c5b5af4c8893813b1a56ad9c22f)
* 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: re-run make samba3-idl.Günther Deschner2009-04-152-2/+1
| | | | | | Guenther (cherry picked from commit eeddbb6f8466d285fd103a3a4da9ebf5afbcb613) (cherry picked from commit b5f5d3afa4f19b1219d4f20fefa2785811105c0d)
* svcctl: Fix svcctl_ControlsAccepted bitmask.Günther Deschner2009-04-151-1/+2
| | | | | | | | | | Never ever have 0 value in a bitmask... pidl should generate at least a warning about those things. Guenther (cherry picked from commit 557f38326badcd8e1d2338f76c5717e16ae7a7d3) (cherry picked from commit ab4e2da6cf9d8ef72aa73b2a9a18207b9986305d)
* 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)
* s3-examples: Fix Bug #6205. Correct sample smb.conf share configuration.Günther Deschner2009-04-151-1/+1
| | | | | | | | Thanks to Jeffrey Riaboy <dakusan@castledragmire.com>. Guenther (cherry picked from commit 2b1fe2c98f4e0013dee4cbae62dc36cdd4085c7d) (cherry picked from commit 9c1e347386bf1fbebaa020b60b914b2d2b24c63b)
* 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 recv instead of read in read_packet_handlerVolker Lendecke2009-04-151-1/+2
| | | | | This way the socket wrapper pcap file also sees the replies :-) (cherry picked from commit 96943dd9ce1b1c954bffd498989283a500b4ee9d)
* s3-nsswitch: Fix Bug #6238 2nd part. zero blob pointer in wbcLogoffUserParams.Günther Deschner2009-04-151-0/+1
| | | | | | | | Patch from Rashid N. Achilov <citycat4@ngs.ru>. Guenther (cherry picked from commit 43372b27403f617897bab564c42eead4d64532e4) (cherry picked from commit 5b8fc3858d3327056cd1ff9d2a47f6992825fcf2)
* Use cluster-aware procid_is_me instead of comparing pid'sVolker Lendecke2009-04-151-2/+2
| | | | (cherry picked from commit 4996d89d19655ab6f0d4656ea72d6bad52ba7d6d)