summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | Add commentsVolker Lendecke2008-01-031-1/+54
| | | | | | | | | | | | | | | | | | | | Jeremy was able to use this correctly without comments, so the code can't be *that* bad :-)
| | * | 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.
| | * | 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.
| | * | Don't leak: Use a temporary context for the admin token and free it.Michael Adam2008-01-031-1/+9
| | | | | | | | | | | | | | | | Michael
| | * | 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
| | * | 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
| | * | Add debug output in error path.Michael Adam2008-01-031-0/+1
| | | | | | | | | | | | | | | | Michael
| | * | Fix setting of error code in error path.Michael Adam2008-01-031-0/+2
| | | | | | | | | | | | | | | | Michael
| | * | Use a better parameter name.Michael Adam2008-01-031-3/+3
| | | | | | | | | | | | | | | | Michael
| | * | Rename libnet_smbconf_reg_open_path() to libnet_smbconf_reg_open_service_key().Michael Adam2008-01-031-15/+17
| | | | | | | | | | | | | | | | Michael
| | * | Hey, it is 2008 now.Michael Adam2008-01-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | :-) Michael
| | * | Choose a more apropriate parameter name.Michael Adam2008-01-031-2/+2
| | | | | | | | | | | | | | | | Michael
| | * | Rename libnet_smbconf_reg_open_basepath() to libnet_smbconf_reg_open_basekey().Michael Adam2008-01-031-9/+9
| | | | | | | | | | | | | | | | Michael
| | * | Fix some C++ warnings (patch was Volker's) - implicit case from void* to char*Gerald (Jerry) Carter2008-01-021-2/+4
| | | |
| | * | Merge branch 'work/v3-2-test' into v3-2-testGerald (Jerry) Carter2008-01-023-46/+44
| | |\ \
| | | * | use C99 bool return types (true & false).Gerald (Jerry) Carter2008-01-021-17/+17
| | | | |
| | | * | 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.
| | * | | Attempt to fix bug #3617. Mix of patches from Volker andJeremy Allison2008-01-022-22/+7
| | | | | | | | | | | | | | | | | | | | | | | | | myself. Use standard dlinklist macros. Jeremy.
| | * | | Use the proper boolean constants.Michael Adam2008-01-021-2/+2
| | |/ / | | | | | | | | | | | | Michael
| | * | Fix libnetapi (resolve dependency on libwbclient).Günther Deschner2008-01-021-1/+1
| | | | | | | | | | | | | | | | Guenther
| | * | Fix libsmbclient (resolve dependency on libwbclient).Günther Deschner2008-01-021-1/+1
| | | | | | | | | | | | | | | | Guenther
| | * | Make libsmbsharemodes.so work again (fix unresolved tdb symbols).Günther Deschner2008-01-021-1/+1
| | | | | | | | | | | | | | | | Guenther
| | * | Convert call_trans2open to create_file()Volker Lendecke2008-01-021-57/+16
| | | |
| | * | Convert reply_mknew to create_fileVolker Lendecke2008-01-021-38/+16
| | | |
| | * | Convert reply_open_and_X to create_fileVolker Lendecke2008-01-021-42/+19
| | | |
| | * | Convert reply_open to create_fileVolker Lendecke2008-01-021-40/+19
| | | |
| | * | Add test_shlibs to Makefile.Günther Deschner2008-01-021-0/+8
| | | | | | | | | | | | | | | | Guenther
| | * | Happy new year !Günther Deschner2008-01-021-1/+1
| | | | | | | | | | | | | | | | Guenther
| | * | Use NULL instead of 0Volker Lendecke2008-01-011-4/+4
| | | | | | | | | | | | | | | | "struct security_descriptor" has pointers, not integers inside
| | * | 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
| | * | Make grouping in if statement more explicit.Michael Adam2007-12-311-1/+3
| | | | | | | | | | | | | | | | Michael
| | * | Fix a permissions error in reg_deletekey_recursive().Michael Adam2007-12-311-1/+1
| | | | | | | | | | | | | | | | Michael
| | * | 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
| | * | 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
| | * | 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
| | * | Remove an unused variable.Michael Adam2007-12-301-1/+0
| | | | | | | | | | | | | | | | Michael
| | * | Remove an unused variable.Michael Adam2007-12-301-1/+0
| | | | | | | | | | | | | | | | Michael
| | * | 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
| * | | We may use 127k read/write for encrypted connections.Jeremy Allison2007-12-301-2/+2
| |/ / | | | | | | | | | Jeremy.
| * | 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.
| * | Fix error message.Jeremy Allison2007-12-291-1/+1
| | | | | | | | | | | | Jeremy.
| * | 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.
| * | Allow encryption context setup on IPC$.Jeremy Allison2007-12-291-7/+27
| | | | | | | | | | | | Jeremy.
| * | 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
| * | Make libnet_smbconf_reg_open_path() static.Michael Adam2007-12-301-4/+4
| | | | | | | | | | | | Michael
| * | Make libnet_smbconf_reg_open_basepath() static.Michael Adam2007-12-301-2/+3
| | | | | | | | | | | | Michael
| * | 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
| * | Use libnet_smbconf_get_config() in net_conf_list().Michael Adam2007-12-301-45/+19
| | | | | | | | | | | | | | | | | | This leaves only output logic in net_conf_list(). Michael
| * | Add a function libnet_smbconf_get_config() to libnet_conf.cMichael Adam2007-12-301-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | This gets the whole config as a set of lists (of share names and corresponding lists of parameter names and values). The function is an aggregate of libnet_smbconf_get_share_names() and libnet_smbconf_getshare(). Michael
| * | Include libnet/libnet.h in libnet_conf.c to have prototypes available.Michael Adam2007-12-301-0/+1
| | | | | | | | | | | | Michael