summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2007-12-30Use libnet_smbconf_get_config() in net_conf_list().Michael Adam1-45/+19
This leaves only output logic in net_conf_list(). Michael (This used to be commit 95d9981d59fe69ee1ed98f21475bd1ba72930c1b)
2007-12-29Dont return count - 1 but count from libnet_smbconf_reg_get_values().Michael Adam1-1/+1
Michael (This used to be commit ded60dec7d75db7df485a159fb6bf628d8e24805)
2007-12-29Make sure libnet_smbconf_get_share_names() always lists "global" first.Michael Adam1-1/+1
And don't return count-1 but count. Michael (This used to be commit b7cb9b78231512dc4a88c307048d7fb5334fa319)
2007-12-29Fix a const warning.Michael Adam1-1/+1
Michael (This used to be commit e276e48177f890531ee8b4024c90352f284d4608)
2007-12-29Rename libnet_smbconf_getshares() to libnet_smbconf_get_share_names().Michael Adam1-1/+1
Michael (This used to be commit 9b3b9aa7e1044719a5112b9e5446e6fbdd7cecf9)
2007-12-29Move functionality of net_conf_listshares() to libnet_conf.cMichael Adam1-15/+5
into new function libnet_smbconf_getshares(). Michael (This used to be commit 306c7e4d9cecac4c2c0ea1172bd585c3c17d4541)
2007-12-29Move functionality of net_conf_showshare() to libnet_conf.cMichael Adam1-4/+15
The functionality is moved to a new function libnet_smbconf_getshare(). This returns the parameters of the given share as two lists: the list of parameter names and the list of matching (formatted) parameter values. The retrieval and formatting is done in a new internal helper function libnet_smbconf_reg_get_values() that is to become the replacement for list_values() from net_conf.c once functionality of net_conf_list() has been moved to libnet_conf, too. Michael (This used to be commit 198232bd525cfac933b4885e6b330ebf4ac2c8ae)
2007-12-29Make the main net_conf functions static in net_conf.cMichael Adam1-7/+7
Michael (This used to be commit dd6e09a65e67a9a16b35b078ebfb41da09926029)
2007-12-29Hide the registry backend from libnet_smbconf_getparm().Michael Adam1-3/+3
Return a formatted string of the value instead. Michael (This used to be commit 7d0ec5bae155cda6620db04dcb7bd43db59241aa)
2007-12-29Rename format_value() to libnet_smbconf_format_registry_value().Michael Adam1-2/+3
Michael (This used to be commit 95d5dd9bb0546181cd499e6deabff562166412e3)
2007-12-29Move format_value() to libnet_conf.c.Michael Adam1-33/+0
Michael (This used to be commit 3422a5048ad4b7f789ec233356885d78dbdacf9a)
2007-12-28Improve error messages of 'net rpc user [add|delete]' commands.Karolin Seeger1-10/+14
Karolin (This used to be commit 4260c79bf7687bd2ebcc4ca5e0a5f020a759c1fb)
2007-12-26Convert pdbedit to use pdb_search_usersVolker Lendecke1-78/+123
(This used to be commit 8a8f2583b8bda22f65c7483dea54ac823ed1c0c3)
2007-12-26Properly destroy the pdb search objectVolker Lendecke1-1/+1
(This used to be commit 514cf532248723e7f775dc5f8f2e6936e02b7a1c)
2007-12-26Rename libnet_smbconf_open_basepath() to libnet_smbconf_reg_open_basepath().Michael Adam1-2/+3
Michael (This used to be commit 4c0e7270c42788e7f77c402032ae74cf0f8a7106)
2007-12-26Rename libnet_smbconf_open_path() to libnet_smbconf_reg_open_path().Michael Adam1-1/+1
Michael (This used to be commit 4b0e636965bd37e7c0deecb7b5eff0cc4487408b)
2007-12-25Add two missing free-s.Michael Adam1-0/+2
Michael (This used to be commit 4efac39c363d565c2c7211da73d5e1cf2ac3d0b2)
2007-12-25Remove talloc context parameter from libnet_smbconf_delparm().Michael Adam1-4/+1
Make use of talloc stackframe internally. This removes talloc contxt from net_conf_delparm. Michael (This used to be commit 16f137393881edc78c9322f038ba38e53e3ee07d)
2007-12-25Add a missing free.Michael Adam1-0/+1
Michael (This used to be commit bf6031287f75a0e17092f60f9885e7e55cd0f93c)
2007-12-25Remove talloc context parameter from libnet_smbconf_setparm().Michael Adam1-5/+1
Make use of talloc stackframe internally. This removes talloc contxt from net_conf_setparm. Michael (This used to be commit efaffefc438f8375a083b194ac7a09e563000d3c)
2007-12-25Remove talloc context parameter from libnet_smbconf_drop().Michael Adam1-1/+1
Make use of talloc_stackframe. Michael (This used to be commit aaceab1153f6c2a2adde83681913c771a16ca81f)
2007-12-25Rename drop_smbconf_internal() to libnet_smbconf_drop().Michael Adam1-1/+1
Michael (This used to be commit 5873e6a1f8242e07b1699366a536350a7199c28c)
2007-12-25Move drop_smbconf_internal() to libnet_conf.cMichael Adam1-50/+0
Michael (This used to be commit 4c2a3396bb687703f6b74655fda2014d1f75200b)
2007-12-25Use the proper boolean constants in net_conf.cMichael Adam1-10/+10
Michael (This used to be commit 1fe4ea63b197cb7ebc054909d888d74b5ad6523c)
2007-12-25Add error reporting to net_conf_delshare().Michael Adam1-2/+8
Michael (This used to be commit 8d02a2de61eb6b62fef1fbe57194c9d286423ba0)
2007-12-25Simplify libnet_smbconf_delshare().Michael Adam1-2/+2
Remove talloc context parameter. Remove d_printf error message. Michael (This used to be commit 870d35c04889603843bae989fb9c01396b4c6ed1)
2007-12-25Rename reg_delkey_internal() to libnet_smbconf_delshare().Michael Adam1-2/+2
Michael (This used to be commit 7d501f0d78ec57509d0bc5ef0dc16fcd24ee27e7)
2007-12-25Move reg_delkey_internal() to libnet/libnet_conf.cMichael Adam1-24/+0
Michael (This used to be commit c1b863fd0520ce64a1bad5e2fa3f69afcc2c78d5)
2007-12-24Make libnet_smbconf_key_exists() use talloc_stackframe().Michael Adam1-2/+2
And not pass a talloc context. Michael (This used to be commit 7e8451f2f03b246801783aaf4b3d54465292f8f7)
2007-12-24Move logic of net_conf_getparm() to libnet_conf.c.Michael Adam1-12/+10
Michael (This used to be commit d3a20c4d5a8109334cd3ed665ba60cfcc4425059)
2007-12-23Rename libnet_reg_createkey_internal() to ↵Michael Adam1-2/+2
libnet_smbconf_reg_createkey_internal(). Michael (This used to be commit 0e7f215f54c68b2d40f65f90ed11c41e1a7ef5ed)
2007-12-23Move net_conf_setparm() to libnet_conf.cMichael Adam1-11/+1
renaming it to libnet_smbconf_setparm() Michael (This used to be commit 60f49b22b5aa125ff6cb358a258a1be99c378d7a)
2007-12-23Move reg_setvalue_internal() to libnet_conf.cMichael Adam1-78/+10
renaming it to libnet_smbconf_setvalue_internal() Michael (This used to be commit 7cb51a1d6d95704225d9ab22e88cc76fa910d38c)
2007-12-23Move logic of net_smbconf_delparm() to libnet/libnet_conf.cMichael Adam1-13/+5
Logic in new function libnet_smbconf_delparm(). Michael (This used to be commit 0cff79e3552e91ba0b6bc054802d28afcf4e8da4)
2007-12-23Move smbconf_value_exists() to libnet/net_conf.cMichael Adam1-17/+1
renaming it to libnet_smbconf_value_exists(). Michael (This used to be commit ba71c6844588f0342589163f514385911e7331e7)
2007-12-22Fix net_dom_join & net_dom_unjoin.Günther Deschner1-19/+38
Guenther (This used to be commit 6dd17e4840ee6c4bf0df3c3f76f9b232b3674d55)
2007-12-21Move NetJoinDomain and friends to NET_API_STATUS and the static libnetapi_ctx.Günther Deschner1-8/+8
Guenther (This used to be commit e640c3a4a7695613e9e619516befbaf3d44ecb10)
2007-12-21Some libnet and netapi build fixes.Günther Deschner1-1/+1
Guenther (This used to be commit 1d47247283f7bc75291007be3fde72b1d3d95b99)
2007-12-21Very quick conversion of net_conf functions into the libnet_conf layer.Günther Deschner1-142/+16
Certainly needs cleanup later. Guenther (This used to be commit 2b41ac926de76804a50681bd246b3a20e112853b)
2007-12-19Remove Get_Pwnam and its associated static variableVolker Lendecke1-2/+2
All callers are replaced by Get_Pwnam_alloc (This used to be commit 735f59315497113aebadcf9ad387e3dbfffa284a)
2007-12-17Make usage message for net sam rights list a little more precise.Michael Adam1-1/+1
Michael (This used to be commit d466a5136d5151e2a3cae7464cb346f0db650554)
2007-12-17Fix flags in all callers of lookup_name() in net_sam.c.Michael Adam1-16/+16
Michael (This used to be commit 6d0db17a9e255235d40eabc63e91c9f5d4febcde)
2007-12-15s/sid_to_string/sid_to_fstring/Volker Lendecke8-25/+29
least surprise for callers (This used to be commit eb523ba77697346a365589101aac379febecd546)
2007-12-15Replace sid_string_static with sid_string_tosVolker Lendecke11-36/+38
In utils/ I was a bit lazy... (This used to be commit 60e830b0f4571bd5d9039f2edd199534f2a4c341)
2007-12-15Use sid_string_talloc where we have a tmp talloc ctxVolker Lendecke1-5/+10
(This used to be commit 0a911d38b8f4be382a9df60f9c6de0c500464b3a)
2007-12-15Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke2-5/+6
(This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
2007-12-12Developer doesn't cut it - need #define test for NSS_WRAPPER.Jeremy Allison1-1/+1
Hopefully this should fix the buildfarm. Jeremy. (This used to be commit 087489b7f2a8cd5868b54dbed3f3eed5d0709ba7)
2007-12-12Only add the non-root escape on !developer.Jeremy Allison1-1/+1
Jeremy. (This used to be commit a50c2d159c754c6ff88649ed859f2b3f9c24f6a1)
2007-12-12Fix the buildfarm until I figure out how to allowJeremy Allison1-0/+2
smbpasswd -L for non-root on the buildfarm only. Jeremy. (This used to be commit 1bb5ce824f800d967e2a92e946dd6ce7c4580b93)
2007-12-12Fix bug #3727 with patch from Steve Langasek <vorlon@debian.org>Jeremy Allison1-0/+4
Jeremy. (This used to be commit 0723760ba47a465d2ff5a22a680f1b5196eca7d8)