summaryrefslogtreecommitdiff
path: root/server/tools
AgeCommit message (Collapse)AuthorFilesLines
2009-04-23fixes for user and group creation in LOCAL domainSumit Bose1-1/+1
- added range check for supplied UIDs and GIDs - initialize pc_gid to 0 to trigger gid generation
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 Sorce7-21/+46
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 Hrozek2-3/+3
2009-03-09Always pass sss_domain_info to sysdb functions.Simo Sorce1-4/+5
2009-03-09Move MPG checks within sysdb.Simo Sorce4-116/+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_groupmodJakub Hrozek1-0/+281
2009-03-09sss_usermodJakub Hrozek4-44/+407
Move parse_groups into tools_utils
2009-03-09Fix parameter parsing and adding to groups in useraddJakub Hrozek1-4/+10
2009-03-08Fix initialization problemsJakub Hrozek4-11/+12
Init tools ctx in groupadd before copying its value
2009-03-07sss_groupdel, delete by DN in sss_userdelJakub Hrozek2-73/+177
Don't convert username->uid in userdel, use DN
2009-03-06sss_groupaddJakub Hrozek1-0/+172
2009-03-06sss_userdelJakub Hrozek1-0/+230
Also install tools into /sbin, own them in specfile
2009-03-06Add userspace tools to manipulate accounts.Simo Sorce3-0/+630
The first functional command is sss_useradd (Name is temporary, while looking for a better one)