summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Add libnet_conf API function libnet_smbconf_create_share().Michael Adam2008-01-032-6/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | And make libnet_smbconf_setparm() return error if the share does not already exist. Adapt net_conf_addshare to this new situation. Michael (This used to be commit de349bd26db3341815f6d8f6c18a5ca1fd664dca)
| | * Remove unused vars.Günther Deschner2008-01-031-2/+0
| | | | | | | | | | | | | | | Guenther (This used to be commit ff3f0006d167a9bca85919bf6115d73413554909)
| | * Trivial simplificationVolker Lendecke2008-01-031-3/+2
| | | | | | | | | | | | | | | ... things you come across when you review code (This used to be commit 1e006bcfb15d44ecb81b6994c588d30d87b48033)
| | * Add commentsVolker Lendecke2008-01-031-1/+54
| | | | | | | | | | | | | | | | | | Jeremy was able to use this correctly without comments, so the code can't be *that* bad :-) (This used to be commit 6f22f7c13fd08ee772ac3aa593d2f4b37eb2cbee)
| | * Fix for bug #5163 from Laurent Pinchart <pinchart@skynet.be>Jeremy Allison2008-01-021-0/+4
| | | | | | | | | | | | | | | | | | Failure to change password in ldap is mapped to NT_STATUS_UNSUCCESSFUL unconditionally. Jeremy. (This used to be commit 9369d6e907a49da1fbf2a5690118412b8d1a0383)
| | * Convert the little caches in util_sock.c to useJeremy Allison2008-01-021-47/+118
| | | | | | | | | | | | | | | | | | | | | the singleton memcache. Vl please check (passes make valgrindtest). Jeremy. (This used to be commit a4d613cde86caf5782c4bfc47122d6ba807990ac)
| | * Don't leak: Use a temporary context for the admin token and free it.Michael Adam2008-01-031-1/+9
| | | | | | | | | | | | | | | Michael (This used to be commit 9d7502115e0f6cdfd27943d52f0de04447582b92)
| | * Use libnet_smbconf_reg_open_path() in libnet_smbconf_drop().Michael Adam2008-01-031-8/+2
| | | | | | | | | | | | | | | | | | | | | Replaces creation of token and direct use of reg_open_path. Michael (This used to be commit 7e407e18be0761e7004acfbd2376c3a435922c25)
| | * Abstract opening of registry path out of libnet_smbconf_reg_open_service_key().Michael Adam2008-01-031-16/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Creates new function libnet_smbconf_reg_open_path(). Use libnet_smbconf_reg_open_path() directly in libnet_smbconf_reg_open_basekey(). Return error in libnet_smbconf_reg_open_service_key() when NULL servicename is given. Michael (This used to be commit 1e46b479638c54e8bd7ba939bc7aba18a27b5155)
| | * Add debug output in error path.Michael Adam2008-01-031-0/+1
| | | | | | | | | | | | | | | Michael (This used to be commit a58ccbc6d70613f7572bc80621935d81f9e290e3)
| | * Fix setting of error code in error path.Michael Adam2008-01-031-0/+2
| | | | | | | | | | | | | | | Michael (This used to be commit 8a7954a9ae13df527ccedb1004ee4f87d506ce5b)
| | * Use a better parameter name.Michael Adam2008-01-031-3/+3
| | | | | | | | | | | | | | | Michael (This used to be commit 3972deb90c4b645fb4d207a7e132cd7e180e78bb)
| | * Rename libnet_smbconf_reg_open_path() to libnet_smbconf_reg_open_service_key().Michael Adam2008-01-031-15/+17
| | | | | | | | | | | | | | | Michael (This used to be commit d95b4935d3a97ca9c4b7990bbcf4e85c81c79516)
| | * Hey, it is 2008 now.Michael Adam2008-01-031-1/+1
| | | | | | | | | | | | | | | | | | | | | :-) Michael (This used to be commit a1d3f60ea753a158447bb0208441453b76a0f3b9)
| | * Choose a more apropriate parameter name.Michael Adam2008-01-031-2/+2
| | | | | | | | | | | | | | | Michael (This used to be commit 39a73b6291fd028d44fc2712afa76abf1fcff9cb)
| | * Rename libnet_smbconf_reg_open_basepath() to libnet_smbconf_reg_open_basekey().Michael Adam2008-01-031-9/+9
| | | | | | | | | | | | | | | Michael (This used to be commit 9e953a94e9b3a060769938ef6af25623e446c180)
| | * Fix some C++ warnings (patch was Volker's) - implicit case from void* to char*Gerald (Jerry) Carter2008-01-021-2/+4
| | | | | | | | | | | | (This used to be commit 518168410c49ac25085714c73e76dcf358fc4b68)
| | * Merge branch 'work/v3-2-test' into v3-2-testGerald (Jerry) Carter2008-01-023-46/+44
| | |\ | | | | | | | | | | | | (This used to be commit 761858312b3470ff2acc2980882bad534275c552)
| | | * use C99 bool return types (true & false).Gerald (Jerry) Carter2008-01-021-17/+17
| | | | | | | | | | | | | | | | (This used to be commit f22c9d6296c754d472e8eab51caa058f55ef370e)
| | | * Make sure that wbcLookupSid() and wbcLookupRids() use talloc()'d memory.Gerald (Jerry) Carter2008-01-023-29/+27
| | | | | | | | | | | | | | | | | | | | | | | | Follows existing convention that all returned memory should be freed with wbcFreeMemory() and not directly with free(). Noticed by Volker. Txs. (This used to be commit 39c2059f66ee9eb471a503b9c776807b91c2a8f8)
| | * | Attempt to fix bug #3617. Mix of patches from Volker andJeremy Allison2008-01-022-22/+7
| | | | | | | | | | | | | | | | | | | | | | | | myself. Use standard dlinklist macros. Jeremy. (This used to be commit 1b06ee69f6b737c1d6e7b29f8ae9621e6eb07d27)
| | * | Use the proper boolean constants.Michael Adam2008-01-021-2/+2
| | |/ | | | | | | | | | | | | Michael (This used to be commit f731fee408a809b6dc266d45e41f37e63bf4e48d)
| | * Fix libnetapi (resolve dependency on libwbclient).Günther Deschner2008-01-021-1/+1
| | | | | | | | | | | | | | | Guenther (This used to be commit fa669b307c5191f1f8921e863e88c1e9ff692557)
| | * Fix libsmbclient (resolve dependency on libwbclient).Günther Deschner2008-01-021-1/+1
| | | | | | | | | | | | | | | Guenther (This used to be commit ef17dc7bda98a8e4149e98fcfb99fe729edbec1f)
| | * Make libsmbsharemodes.so work again (fix unresolved tdb symbols).Günther Deschner2008-01-021-1/+1
| | | | | | | | | | | | | | | Guenther (This used to be commit 3c6ed0321606f0bcfc3b5edc492d69b0e2f602cb)
| | * Convert call_trans2open to create_file()Volker Lendecke2008-01-021-57/+16
| | | | | | | | | | | | (This used to be commit 22138572bd2b9ae379b01098566e38e132653968)
| | * Convert reply_mknew to create_fileVolker Lendecke2008-01-021-38/+16
| | | | | | | | | | | | (This used to be commit 1b1cea9ef04a85a2fdd3c8574f7c4db559b7d9b6)
| | * Convert reply_open_and_X to create_fileVolker Lendecke2008-01-021-42/+19
| | | | | | | | | | | | (This used to be commit fa09b9ab26657af9bd6dcf3fcc7311d5983a591d)
| | * Convert reply_open to create_fileVolker Lendecke2008-01-021-40/+19
| | | | | | | | | | | | (This used to be commit 209c696ab8490564ec9e30f6f07b9c72af3ed2e1)
| | * Add test_shlibs to Makefile.Günther Deschner2008-01-021-0/+8
| | | | | | | | | | | | | | | Guenther (This used to be commit 5f5051911c25772c7fb4ff41fca0aafae371ae4f)
| | * Happy new year !Günther Deschner2008-01-021-1/+1
| | | | | | | | | | | | | | | Guenther (This used to be commit 9a58cd57953d6aead14789daa47a3badef19496d)
| | * Use NULL instead of 0Volker Lendecke2008-01-011-4/+4
| | | | | | | | | | | | | | | "struct security_descriptor" has pointers, not integers inside (This used to be commit 13158014e3b05e44eea897fbcf470957301c5c97)
| | * Make the last two helper functions in libnet_conf.c static.Michael Adam2007-12-311-4/+4
| | | | | | | | | | | | | | | | | | | | | Now the registry backend is completely hidden from the API. Michael (This used to be commit 5608c398ad9a0d05d651905a81dd92b7a0e120ff)
| | * Make grouping in if statement more explicit.Michael Adam2007-12-311-1/+3
| | | | | | | | | | | | | | | Michael (This used to be commit a1bb47695a7fb21af239aa9d02537d3de2fea325)
| | * Fix a permissions error in reg_deletekey_recursive().Michael Adam2007-12-311-1/+1
| | | | | | | | | | | | | | | Michael (This used to be commit 4a56d3d7075bd8bbd5e139c9433789ab29f6a70e)
| | * Change net_conf_import() to only use libnet_conf API functions.Michael Adam2007-12-311-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | More precisely, only import_process_service() is changed. This removes all references to registry code from net_conf.c. net_conf_import() is currently -- like net_conf_addshare() -- also considered a high-level add-on, not an API function. Michael (This used to be commit b4dca117c09ddb9c8e7eea25c6cde3fbef8c692b)
| | * Rewrite net_conf_addshare() to only use libnet_conf API functions.Michael Adam2007-12-311-20/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also exit on error if the share already exists. net_conf_addshare() is considered a high level utility function. It should not be an libnet_conf API function in itself since it is kind of arbitrary. Michael (This used to be commit af5218f1505321236be52df10ebfe8f42b99573d)
| | * Rename libnet_smbconf_key_exists() to libnet_smbconf_share_exists()Michael Adam2007-12-312-25/+25
| | | | | | | | | | | | | | | | | | | | | and move it to the api section of libnet_conf.c Michael (This used to be commit 9b5d8f4d95ebfd47831906019e11227aecc83aa1)
| | * Remove an unused variable.Michael Adam2007-12-301-1/+0
| | | | | | | | | | | | | | | Michael (This used to be commit 332be113a775adce8108a8003682019ae7f5bc21)
| | * Remove an unused variable.Michael Adam2007-12-301-1/+0
| | | | | | | | | | | | | | | Michael (This used to be commit 7bac935b65565099c0dfb34cab0dec73dd5fb479)
| | * Remove all d_fprintf-s from libnet_conf.cMichael Adam2007-12-302-20/+39
| | | | | | | | | | | | | | | | | | | | | | | | Replacing them buy DEBUG statements and filling in d_fprintfs in callers in net_conf.c. Michael (This used to be commit 1f0122d8d4ec0f67eaedd5df7383c1b45f37290f)
| * | We may use 127k read/write for encrypted connections.Jeremy Allison2007-12-301-2/+2
| |/ | | | | | | | | Jeremy. (This used to be commit 656c9d0844e3d9d87ae768fe5a5538759b94d953)
| * As the encryption is stream based there's no reasonJeremy Allison2007-12-302-5/+16
| | | | | | | | | | | | | | | | oplock breaks can't be encrypted. If we have multiple contexts I should probably attach them to the connection struct, but for now use the global context number. Jeremy. (This used to be commit 5b4b335ed0d1dc738f1f099e5c638361f3aede07)
| * Fix error message.Jeremy Allison2007-12-291-1/+1
| | | | | | | | | | Jeremy. (This used to be commit a0494b115b644c1c4afa50442c46a54779687571)
| * Added -e, --encrypt option to smbclient that immediatelyJeremy Allison2007-12-292-21/+145
| | | | | | | | | | | | | | forces encrypted smb after initial connect. Will document for 3.2 official release. Jeremy. (This used to be commit f02bf419282419950471deae74c4a6fe1543ed26)
| * Allow encryption context setup on IPC$.Jeremy Allison2007-12-291-7/+27
| | | | | | | | | | Jeremy. (This used to be commit 5d424cb3060af89bde50bc7fe2989e3c1b8e91b2)
| * Make pdb_tdb honour a private dir overridden in smb.conf.Michael Adam2007-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | One lp_private_dir() has to be used instead of get_dyn_PRIVATE_DIR() to determine the location of the passdb.tdb. I noticed this when running make test as a "normal user" from a build, where I had done "make install" as root before, and so the passdb.tdb could not be accessed during the startup phase "CREATE TEST ENVIRONMENT IN ./st ..." in selftest.sh. Michael (This used to be commit 1f96389afa7250af7393489fb538b8aed93d815c)
| * Make libnet_smbconf_reg_open_path() static.Michael Adam2007-12-301-4/+4
| | | | | | | | | | Michael (This used to be commit 6447bae71c99407485307dd508603c73d5bb9823)
| * Make libnet_smbconf_reg_open_basepath() static.Michael Adam2007-12-301-2/+3
| | | | | | | | | | Michael (This used to be commit 8e87dd79ba4e3aeceb26c7b4e131053172f077cd)
| * Remove list_values() from net_conf.c - it is not needed any more.Michael Adam2007-12-302-28/+2
| | | | | | | | | | | | | | | | Also make libnet.c:libnet_smbconf_format_registry_value() static. (There are nor more external callers.) Michael (This used to be commit ac7baa17e89d2363b5b3db85de9c842b596dea25)