summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
* s3:smbd/service: switch load_registry_service/shares to use loadparm routinesMichael Adam2009-04-291-0/+1
| | | | | | | | | | | | | instead of reading the registry directly with tdb and activating the configure options by hand. This eliminates the need for repeating checks done in loadparm. For instance it disables registry shares without path in the server as is the case with text based shares. Michael (cherry picked from commit 077bcc11257697b243916fbb02cd72b3a122b9ba) (cherry picked from commit 502bfe9352d36ee909d7210a9d0ec0b6c7db5149)
* s3:loadparm: refactor process_registry_service out or process_registry_globalsMichael Adam2009-04-291-0/+1
| | | | | | Michael (cherry picked from commit fb3b6576127ce837ac711e87c293d1f4cf97473c) (cherry picked from commit 480af4e0ead10241aa94f4095c7fa580240fec00)
* s3-secdesc: remove SEC_RIGHT_MAXIMUM_ALLOWED and SEC_RIGHT_SYSTEM_SECURITY.Günther Deschner2009-04-281-3/+0
| | | | | | | | We had up to three incarnations of these flags in Samba3. Guenther (cherry picked from commit d94bbb3167f3a18d6b8a311557f228e2977249ea) (cherry picked from commit b0c4be0e2b856326e5790f4aef54e6b792f8f089)
* s3-secdesc: move all winreg access bits to IDL.Günther Deschner2009-04-281-35/+0
| | | | | | Guenther (cherry picked from commit 38264bb3b86a3c9da941070f29ec08227c471d2b) (cherry picked from commit 904bc5011fc7df40111f493ff28972640b95c0d1)
* s3-spoolss: remove unused dup_nt_devicemode().Günther Deschner2009-04-151-1/+0
| | | | | | Guenther (cherry picked from commit e3ceb0c65333cb870463971021e3af24d82abf26) (cherry picked from commit 0f48d27d6fb45bc61899916037a5133e3022ec59)
* s3-eventlog: split out evlog_convert_tdb_to_evt().Günther Deschner2009-04-151-0/+4
| | | | | | Guenther (cherry picked from commit 47bda3f3c7095044ae4c9b1535198be6d052060d) (cherry picked from commit eaf85ca22b441d4632eed0400c3ad61026a0f2ac)
* s3-eventlog: move rpc_server/srv_eventlog_lib.c out of rpc_server.Günther Deschner2009-04-151-1/+1
| | | | | | Guenther (cherry picked from commit 98d703a6b7c102db49b6cdc2a57545a90efefabf) (cherry picked from commit 76fdbdcb3a58d90d669101fe303e5ccc14992b26)
* s3:charcnv Remove unused unistrcpy() and unistrlen()Andrew Bartlett2009-04-151-2/+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-151-1/+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-151-5/+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-151-1/+0
| | | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 5fff53882002bf5378690ddeb8251e2c99490266) (cherry picked from commit 6cf0e88ee6cefdab7d2d5f272e6d9e23005f9b61)
* s3:kerberos Rework smb_krb5_unparse_name() to take a talloc contextAndrew Bartlett2009-04-151-3/+4
| | | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 574a6a8c350a4bab3f42f3f9cfb382db721d69b5) (cherry picked from commit 7e6d6eeff3e082d7223264c17cb27c2ab89df9aa)
* s3 oplocks: Refactor level II oplock contentionTim Prouty2009-04-151-0/+1
| | | | | (cherry picked from commit 651fa0964a6c49a071c28cdb1e4891b1d95d5b09) (cherry picked from commit 4e091804b86ae9b8318b985d39e826366681e21b)
* s3:libads Make ads_get_dn() take a talloc contextAndrew Bartlett2009-04-151-1/+1
| | | | | | | | | | | | | | 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:smbldap Remove smbldap_get_dnAndrew Bartlett2009-04-152-3/+1
| | | | | | | | 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)
* s3-passdb: add smb_create_user().Günther Deschner2009-04-151-0/+4
| | | | | | Guenther (cherry picked from commit d0e1ff4aff24ef2f3b3f535ad25ad0573382e1a3) (cherry picked from commit 44d72cfa74c103c41beea2f5651155506667811b)
* Fix bug #6195 - Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb ↵Jeremy Allison2009-04-151-0/+2
| | | | | | | | | | | correctly. For the clustering case. Clustered setups should have only ever used the unsigned version of TDB_DATA in the first place so they can't be in this mess :-). Just do the normal upgrade in the clustered case. Jeremy. (cherry picked from commit ede0f69a97abd4f1cb7870b2da65d9198d20c7ad)
* s3:rpc_parse: remove unused init_unistr().Günther Deschner2009-04-151-1/+0
| | | | | | Guenther (cherry picked from commit fe340eb92fd2e5dfef977dc391d2a43ce970e0ea) (cherry picked from commit 0e845cd6009c8a01eb3d53f558e9872ec4a3ab9f)
* s3-rpc_parse: remove unused smb_io_domsid().Günther Deschner2009-04-151-1/+0
| | | | | | Guenther (cherry picked from commit c86df62b4a51b2813104aece8b3813b1806aeb22) (cherry picked from commit 62923f9be593d8c7cdcb79c56b9f2c0c36e5dbdd)
* s3: remove unused rpc_parse/parse_sec.c file.Günther Deschner2009-04-151-5/+0
| | | | | | Guenther (cherry picked from commit 72636db8e5f06e887db6c34b6f88bef567c093dd) (cherry picked from commit 8ab087da9038f7b80b4488727be49092a7e562cf)
* s3: add missing prototype for auth_wbc_init().Günther Deschner2009-04-151-0/+4
| | | | | | Guenther (cherry picked from commit c388efdbcb9ef1ecd5a81f7731ce56c7f79b2579) (cherry picked from commit 87cf381dc3bd020dc043419f4ca18a3ff118458d)
* Use avahi to register _smb._tcp in smbdVolker Lendecke2009-04-151-0/+5
| | | | (cherry picked from commit 55b7bf7338c13701944169df02ab8e9def6d43a1)
* Add tevent avahi bindingVolker Lendecke2009-04-151-0/+5
| | | | (cherry picked from commit 49fc1138b5e4dcf66b84a14ba47cc1da40c764f2)
* s3-spoolss: apply some const in spoolss server.Günther Deschner2009-04-151-3/+3
| | | | | | Guenther (cherry picked from commit 5a388115a944a425a774d7ec98260b7595998ee1) (cherry picked from commit e0cdb435d38c643d5a75aa16e793c6f09a349978)
* s3-spoolss: pure comsetics.Günther Deschner2009-04-151-2/+3
| | | | | | | | sorry, I just need to do that. Guenther (cherry picked from commit 045151b767c62ac1343e86cb3886107226e73fda) (cherry picked from commit 59811de7a80d5ecdf090c116087c7a03ae288887)
* s3-samr: try to to fix password_expired flag handling.Günther Deschner2009-04-151-0/+6
| | | | | | Guenther (cherry picked from commit 842edcd2b08763a35dbdea3518fcc039aa70aad4) (cherry picked from commit 98dd60a0e85d37945deaa997d87f5cb173eaaea9)
* s3: remove POLICY_HND.Günther Deschner2009-04-155-15/+13
| | | | | | Guenther (cherry picked from commit 531af136f9dd5c6050f78948837294aed02de440) (cherry picked from commit 91216ffa95b4ed53e54b11665e96b911cb4e4ab5)
* s3-rpc_parse: remove some unused parsing code.Günther Deschner2009-04-151-13/+0
| | | | | | Guenther (cherry picked from commit 7d7b1a8dcc338ea037cc02ef1b2dd9e9f6ce0943) (cherry picked from commit 032113b3fe5a8fa06672256cbc028833b519b83f)
* s3-rpc_parse: remove unused BUFFER5 and UNISTR3.Günther Deschner2009-04-152-25/+0
| | | | | | Guenther (cherry picked from commit 7a85a87edf3a589235b932a3c802278e78da4ec5) (cherry picked from commit 5bc2518950cce45dcbdccf17439c11a3d959f97d)
* s3-rpc_client: remove unused CLI_DO_RPC_WERR macro.Günther Deschner2009-04-151-30/+0
| | | | | | Guenther (cherry picked from commit e966719049702827c482c5e19783b9a7c725bdb1) (cherry picked from commit e1055c372a3b77fdd28f17635465a7a0a9c578fa)
* s3-spoolss: remove include/rpc_spoolss.h.Günther Deschner2009-04-152-168/+0
| | | | | | Guenther (cherry picked from commit 7fbdf8aae93f143c879de705936279f42eb8ee6f) (cherry picked from commit 2471cb64f7d2d2e7eb594b1cf904af9d6befd389)
* s3-spoolss: remove rpc_server/srv_spoolss.c alltogether.Günther Deschner2009-04-151-5/+0
| | | | | | Guenther (cherry picked from commit 36d07858069ed8710a0ad822535074bed77ec130) (cherry picked from commit 931e48a757d40fb4dd5099560fe31afad201464c)
* s3-spoolss: remove rpc_parse/parse_spoolss.c alltogether.Günther Deschner2009-04-151-2/+0
| | | | | | | | Good-Bye, last hand-marshalled rpc functions, rest in peace. Guenther (cherry picked from commit a502392541bcb45babbb8ca57e17306aa726ee9b) (cherry picked from commit 82e78e67e00863437ef26914ff8d85007509b620)
* s3-spoolss: remove old spoolss_EnumPrinterDataEx.Günther Deschner2009-04-152-43/+0
| | | | | | Guenther (cherry picked from commit a4e999c7e3214de26bdc7a20d5ec25d4ffdf152d) (cherry picked from commit 92a9ede4ffc82a66531e716535db34416b387340)
* s3-spoolss: use pidl for _spoolss_EnumPrinterDataEx.Günther Deschner2009-04-151-1/+0
| | | | | | | | | | Please note that this has been the last call in samba3 that was using hand-marshalled rpc. With this commit all named pipe rpc services in samba3 have now fully moved to pidl generated code :-) Guenther (cherry picked from commit 0cfb1aea29929c0605d299d71784787aa516bc2a) (cherry picked from commit 0a20f7df770f2d460ff4034baf3ad29a96be4dd3)
* s3-spoolss: fix spoolss server after spoolss_Field changes.Günther Deschner2009-04-151-1/+1
| | | | | | Guenther (cherry picked from commit e61c9ca36d48167ea14d7d7cc41ac43a803d3aca) (cherry picked from commit a5fc8ef7e61442c14f0f39bb86ae57a50ddedc95)
* s3-rpc_parse: move prs_uint64 to rpc_parse/parse_prs.c.Günther Deschner2009-04-151-1/+1
| | | | | | Guenther (cherry picked from commit 9ab8953d74491d7ab4a30c242aa0935efb38f857) (cherry picked from commit d001b199a1cf73b7c7f4574191698325871527d9)
* s3-spoolss: remove custom syntax_spoolss and use the syntax defined in IDL.Günther Deschner2009-04-151-2/+0
| | | | | | Guenther (cherry picked from commit 9fdeb7f7b319dca5dbd1fdaf24f01fb19e124fe6) (cherry picked from commit e13b545ca914d3d84b94f1d7ecb958f093f3143b)
* s3-spoolss: remove old rpccli_spoolss_enumprinterdataex.Günther Deschner2009-04-151-6/+0
| | | | | | Guenther (cherry picked from commit 9d024d17153ad10b0df0531480b2a0a43f910dba) (cherry picked from commit 6f87c105748689bf1e902b83603e57c12f7edce3)
* s3-spoolss: add rpccli_spoolss_enumprinterdataex convenience wrapper.Günther Deschner2009-04-151-0/+7
| | | | | | Guenther (cherry picked from commit ab85fc78bd932aca14103352f784a4b5f2909f3a) (cherry picked from commit 2ecc69851773d3a2cfa0e0e2dc1e90eff26e3fb0)
* Remove the global "struct cm_cred_struct" and associated calls, makeJeremy Allison2009-04-153-9/+13
| | | | | | | | | | callers pass in a struct user_auth_info * instead. This commit causes smbc_set_credentials() to print out a message telling callers to use smbc_set_credentials_with_fallback() instead, as smbc_set_credentials() has a broken API (no SMBCCTX * pointer). No more global variables used in the connection manager API for client dfs calls. Jeremy. (cherry picked from commit 8b44877eb82c1c9270cb8099fefc621922f82719)
* Add some appropriate const.Jeremy Allison2009-04-151-8/+8
| | | | | Jeremy. (cherry picked from commit b0dedecf48921efba2dbc8da409cdf878cecb495)
* s3-spoolss: remove unused RPC_BUFFER definition.Günther Deschner2009-04-151-7/+0
| | | | | | Guenther (cherry picked from commit 77d2cd1ff7dab3a7a76449bfb3fe1d6e80df292b) (cherry picked from commit fa9d1f633796bff86e899b48e3ea8bb77492c10b)
* s3-spoolss: remove PRINTER_NOTIFY_TYPE and JOB_NOTIFY_TYPE now defined in IDL.Günther Deschner2009-04-151-5/+0
| | | | | | Guenther (cherry picked from commit 7f90a89d609c48b7fe33e29c98ca903896083889) (cherry picked from commit a2f7943d6d0b36b5e55d20c1b6d299af485a469e)
* s3-spoolss: remove SPL Port definitions now in IDL.Günther Deschner2009-04-151-10/+0
| | | | | | Guenther (cherry picked from commit 479d91ae9f0868f02dd70b80e3033eb9ff166541) (cherry picked from commit ddbea456e5a20cade1772029c433c2e285ebbda3)
* s3-spoolss: remove PRIORITY defines, that were never used.Günther Deschner2009-04-151-8/+0
| | | | | | Guenther (cherry picked from commit 9b5666aa70fda80220347a7a1a6a07e4c1d121a8) (cherry picked from commit 0c4293155aeeea29f5aa97f00d9a18602da47338)
* s3-spoolss: move DRIVER_X_VERSION flags into the backend, where they belong to.Günther Deschner2009-04-152-3/+3
| | | | | | Guenther (cherry picked from commit 4cb3cbea84c6cf30b123eb5070905eeed5aba4d7) (cherry picked from commit 2d01207b28bb4c0c26a7c7f37a2be285c904dfdc)
* s3-spoolss: remove unused DEVICEMODE parsing and header.Günther Deschner2009-04-152-45/+0
| | | | | | Guenther (cherry picked from commit f19faa0e768f477c26b92f87905cfdb7245dbaa1) (cherry picked from commit 3a1d1e62fd903c49e04fd7880a1706abc5961127)
* s3-spoolss: rename construct_dev_mode_new to construct_dev_mode.Günther Deschner2009-04-151-3/+2
| | | | | | Guenther (cherry picked from commit 6549408a4ddb97d109eccb3f8b8bac456b4c4bc8) (cherry picked from commit 040c35afc2571a734e4d9f5f1d4e4c2d97f2e4bc)
* s3-spoolss: move SYSTEMTIME parsing to a more generic place, as suggested.Günther Deschner2009-04-153-21/+21
| | | | | | Guenther (cherry picked from commit d759f9961a30c5dc9920f620b783ffa58daf9b03) (cherry picked from commit cc84717f8d915564e786e9d01fc8b337e03a9c0b)