summaryrefslogtreecommitdiff
path: root/server/tools/sss_usermod.c
AgeCommit message (Collapse)AuthorFilesLines
2009-07-20Start rationalizing user tools a bitSimo Sorce1-72/+52
There is a lot of duplication in user tools. First steps to remove as much duplication as possible.
2009-07-08fixed a double talloc_free errorSumit Bose1-2/+0
2009-07-06Check for root before initializingJakub Hrozek1-0/+10
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-03Rework transaction code to use tevent_reqSimo Sorce1-86/+170
This is part of a set of patches to rewrite sysdb to a hopefully better API, that will also let use use tevent_req async style calls to manipulate our cache.
2009-07-03Rename sysdb_req to sysdb_handle.Simo Sorce1-8/+8
This sysdb_req has always really been a transaction handle and not a request. This is part of a set of patches to rewrite transaction support in sysdb to a hopefully better API, that will also let use use tevent_req async style to manipulate our cache.
2009-07-02Gettextize the sss_ toolsJakub Hrozek1-33/+50
2009-06-17Create gettext framework for SSSD daemonStephen Gallagher1-2/+2
2009-05-18Move actual password caching into sysdbSimo Sorce1-1/+0
Convert auth modules to do the caching themselves
2009-04-28Add debug param to the tools, fix lock/unlock in sss_usermodJakub Hrozek1-3/+11
2009-04-28Invoke shadow-utils in sss_ toolsJakub Hrozek1-0/+132
Make shadow-utils base path configurable Use default values for params, allow configuring them
2009-04-13Always pass full domain infoSimo Sorce1-1/+1
Change sysdb to always passwd sss_domain_info, not just the domain name. This way domain specific options can always be honored at the db level.
2009-04-08Change the way we retrieve domainsSimo Sorce1-3/+9
To be able to correctly filter out duplicate names when multiple non-fully qualified domains are in use we need to be able to specify the domains order. This is now accomplished by the configuration paramets 'domains' in the config/domains entry. 'domains' is a comma separated list of domain names. This paramter allows also to have disbaled domains in the configuration without requiring to completely delete them. The domains list is now kept in a linked list of sss_domain_info objects. The first domain is also the "default" domain.
2009-03-10Fix returning user with missing optional attributes.Simo Sorce1-1/+1
Gecos, homedir and shell are optional, fix the responder not to refuse to return the user completely if they are missing, replace an empty homedir with "/". Also fix fullname vs gecos, and always return gecos for NSS data. On user creation set gecos to the same value as the user Full Name, to help populate the gecos field with data that makes sense.
2009-03-10Hide uid and gid options in usermod and groupmodJakub Hrozek1-2/+2
2009-03-09sss_usermodJakub Hrozek1-0/+361
Move parse_groups into tools_utils