summaryrefslogtreecommitdiff
path: root/server/tools/tools_util.c
AgeCommit message (Collapse)AuthorFilesLines
2009-09-10Remove unused event context argument from confdb_initStephen Gallagher1-1/+1
Because the confdb always operates synchronously, it maintains its own private event context internally. The event context argument passed to it is never used, so we'll remove it to avoid confusion.
2009-09-08Remove shadow-utils support from toolsJakub Hrozek1-87/+33
Removes the ability to proxy to shadow-utils. Also remove all the supporting functions for getting domain type, domain by id etc.
2009-09-08Tools are allowed to touch only the 'local' domainSimo Sorce1-7/+15
2009-09-08Split database in multiple filesSimo Sorce1-2/+2
The special persistent local database retains the original name. All other backends now have their own cache-NAME.ldb file.
2009-08-13Make "files" a reserved word for legacy local domainJakub Hrozek1-1/+2
This patch introduces provider=files as a valid provider. Upon loading the backend, its properties in confdb are overwritten to those that represent legacy local domain. Also document this in sssd.conf(5) and example config
2009-08-13Tools ID range fixesJakub Hrozek1-1/+2
The tools did not take the special case where id_max = 0 (no limit) into account. Also disallow adding users when ID is specified outside any domain. Resolves trac tickets #86 and #89
2009-08-05Parse fully qualified names in toolsJakub Hrozek1-37/+88
Allow adding users into different domains not only by specifying ID directly but also by specifying fully qualified name. Exit when both specifications are used in conflict.
2009-07-31Correct check for local domain in toolsJakub Hrozek1-2/+2
When looking for the local domain in the tools, do so by looking on provider value, not domain name. Also removes one redundant lookup of local domain.
2009-07-06Check for root before initializingJakub Hrozek1-4/+26
Also move setting locale to separate function to be called before anything else to make sure the "Not root" message would be localized.
2009-07-02Gettextize the sss_ toolsJakub Hrozek1-2/+2
2009-06-17Create gettext framework for SSSD daemonStephen Gallagher1-0/+20
2009-05-26Silence warningsSimo Sorce1-1/+1
2009-04-28Invoke shadow-utils in sss_ toolsJakub Hrozek1-0/+88
Make shadow-utils base path configurable Use default values for params, allow configuring them
2009-03-09Move MPG checks within sysdb.Simo Sorce1-98/+0
This allows to perform checks and modifications in one transaction. Uses configuration stored in confdb to determins if a domain uses MPGs.
2009-03-09sss_usermodJakub Hrozek1-0/+44
Move parse_groups into tools_utils
2009-03-06Add userspace tools to manipulate accounts.Simo Sorce1-0/+196
The first functional command is sss_useradd (Name is temporary, while looking for a better one)