summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Hide uid and gid options in usermod and groupmodJakub Hrozek2009-03-102-3/+3
|
* Correct use of chkconfig in initscript and specfileJakub Hrozek2009-03-102-6/+7
| | | | Review issues in specfile
* added generic PAM return messages and a false login delaySumit Bose2009-03-108-80/+215
|
* Treat uids and gids as 32 bit numbers not 64Simo Sorce2009-03-104-51/+49
| | | | | | In the nss communication protocol we were treating uids and gids as 64 bit values, but uids and gids are really u32 values, change the protocol to reflect the real size.
* If a domain is MPG enabled return users a groupsSimo Sorce2009-03-102-15/+73
| | | | Turn user entries to Magic Private Groups when groups are quesried.
* Fix bugs in functions dealing with groupsSimo Sorce2009-03-102-1/+7
| | | | | | Fix infinite loop within initgr functions. Fix min length check copy&paste error, was filtering valid groups if the name was short enough and the group had no members.
* Always pass sss_domain_info to sysdb functions.Simo Sorce2009-03-096-95/+60
|
* Move MPG checks within sysdb.Simo Sorce2009-03-096-138/+199
| | | | | This allows to perform checks and modifications in one transaction. Uses configuration stored in confdb to determins if a domain uses MPGs.
* Do not duplicate attribute names macros.Simo Sorce2009-03-094-34/+31
| | | | Also shorten names oh other user attributes.
* make openldap the only used LDAP librarySumit Bose2009-03-093-43/+28
|
* typo, changed initrd to initSumit Bose2009-03-094-13/+13
|
* sss_groupmodJakub Hrozek2009-03-093-1/+288
|
* use fixed paths to sockets to make sure clients and server are using the sameSumit Bose2009-03-097-59/+80
|
* Make MPG a configurable option for the domain.Simo Sorce2009-03-092-0/+12
|
* NSS libs do not use versioned shared objectsSimo Sorce2009-03-091-1/+1
| | | | | Afaik glibc uses just .so/.so.2, and all other nss libs I can see in the system are the same.
* Improve error handling and replies in the InfoPipeStephen Gallagher2009-03-093-48/+62
| | | | | | When detecting an internal error in the InfoPipe, make a best- attempt at sending an error message back to the calling program, instead of simply leaving the client to wait for the timeout.
* Implement SetGroupGID in the InfoPipeStephen Gallagher2009-03-096-3/+289
|
* Implement AddGroupMembers and RemoveGroupMembers in the InfoPipeStephen Gallagher2009-03-092-16/+263
|
* sss_usermodJakub Hrozek2009-03-097-45/+416
| | | | Move parse_groups into tools_utils
* Revert "Clients subpackage"Simo Sorce2009-03-091-23/+7
| | | | This reverts commit 4c4bfc1a9590b3da9c901194f84dcb189481b25a.
* Revert "defattr"Simo Sorce2009-03-091-1/+0
| | | | This reverts commit 53ca322a5d6c538a7e47613aaacaba33986291d7.
* Fix SIGSEGV in InfoPipe startupStephen Gallagher2009-03-091-2/+4
| | | | | | | | If the user that starts InfoPipe is not permitted by the system bus to request the InfoPipe name, the sssd_info process would segfault, since the destructor for the connection object was called before it was completely created. I have moved the initialization of the destructor to later in the setup routine.
* Fix parameter parsing and adding to groups in useraddJakub Hrozek2009-03-091-4/+10
|
* defattrJakub Hrozek2009-03-081-0/+1
|
* Use LOCAL for the default domain in confdb_init_dbStephen Gallagher2009-03-081-0/+4
|
* Fix initialization problemsJakub Hrozek2009-03-084-11/+12
| | | | Init tools ctx in groupadd before copying its value
* Clients subpackageJakub Hrozek2009-03-081-7/+23
|
* sss_groupdel, delete by DN in sss_userdelJakub Hrozek2009-03-075-74/+182
| | | | Don't convert username->uid in userdel, use DN
* Fix race condition with initial sysdb creationStephen Gallagher2009-03-071-0/+14
| | | | | | | | | When the sysdb LDB file does not exist on the system, the first attempt to connect to it will invoke a creation routine. However, both the NSS and the InfoPipe are started in parallel by the monitor, resulting in a race condition as they both try to initialize the sysdb. The easiest fix for this is to simply have the monitor create the sysdb before it launches NSS and InfoPipe.
* sss_groupaddJakub Hrozek2009-03-064-1/+177
|
* Implement DeleteGroup in InfoPipeStephen Gallagher2009-03-062-2/+149
|
* Implement CreateGroup in InfoPipeStephen Gallagher2009-03-062-4/+193
| | | | Also fixed two minor bugs in CreateUser
* Specfile changes related to package review, package initscript Call ldconfigJakub Hrozek2009-03-065-9/+160
|
* sss_userdelJakub Hrozek2009-03-064-2/+237
| | | | Also install tools into /sbin, own them in specfile
* Implement DeleteUser in the InfoPipeStephen Gallagher2009-03-061-2/+166
|
* Add sbus_reply_internal_error() feature to sbus_message_handler()Stephen Gallagher2009-03-061-2/+14
| | | | | | | If an SBUS function returns an error code, we'll immediately return an error reply to the client stating "Internal Error" instead of ignoring the request and forcing the client to wait for a timeout.
* Add infp_req_init() function to simplify method setupStephen Gallagher2009-03-063-64/+43
|
* Implement CreateUser in InfoPipeStephen Gallagher2009-03-065-9/+223
| | | | | | | | | | | Changed the order of the arguments to CreateUser in the Introspection XML to match the other functions (domain belongs second on the list) A few other minor fixes as well: Fixed a typo in SYSDB_GETCACHED_FILTER and sysdb_transaction_end(). Added missing error handling in infp_do_user_set_uid().
* Remove obsolete commentSimo Sorce2009-03-061-3/+0
|
* Add userspace tools to manipulate accounts.Simo Sorce2009-03-066-1/+654
| | | | | The first functional command is sss_useradd (Name is temporary, while looking for a better one)
* added PAM default configuration to confdb_init_dbSumit Bose2009-03-062-7/+36
| | | | | | set default value of enumerate in LOCAL domain to 1 added checks to talloc_asprintf return values fixed InfoPipe defaults
* Fix reporting non-default users.Simo Sorce2009-03-063-301/+318
| | | | | We need to add the domain when users are not part of the default domain, otherwise name conflicts may happen.
* minor fixes for the build processSumit Bose2009-03-065-2/+17
| | | | enable --without-tests
* Remove _PW_ and _GR_ from SYSDB_ definesSimo Sorce2009-03-058-82/+78
| | | | Also unify SYSDB_PW_NAME and SYSDB_GR_NAME in SYSDB_NAME and make it "name"
* added sss_client to spec fileSumit Bose2009-03-052-8/+29
|
* Implement GetCachedUsers in the InfoPipeStephen Gallagher2009-03-054-10/+205
| | | | | | | | | | | | | This function allows a caller to retrieve a list of users who have logged in on the system, specifying an optional minimum last login time to trim the list. I modified sysdb_enumpwent to accept an optional search argument. GetCachedUsers takes advantage of this argument to limit the search by the last login time. I also found and fixed a few additional low-memory conditions around D-BUS message replies.
* Add functions to add regular users and groupsSimo Sorce2009-03-053-27/+445
| | | | | | Calulates next id automatically if uid/gid are not specified. Fixes to sysdb_get_next_available_id. Add tests to create users and groups through the new functions.
* Adding support for SetUserUID to the InfoPipeStephen Gallagher2009-03-054-7/+159
| | | | | | | | | | The InfoPipe interface Set_YouReallyDoNotWantToUseThisFunction_UserUID1 is now available. I also fixed a memory leak in SetUserAttributes and modified the prototype for infp_get_permissions to make it more clear that the first argument is the caller's username, not the username being checked for permission.
* added password reset by rootSumit Bose2009-03-052-9/+38
|
* Fix sss_client install targetSimo Sorce2009-03-051-4/+5
| | | | | | | With this fix configure must be passed the right libdir argument depending on the platform you are building on. For example on Linux x86_64: ./configure --libdir=/lib64