summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-03-13Implement Negative cache for NSSSimo Sorce7-5/+574
As for positive caches, negative caches are implement for all queries except enumerations. Also set the correct requires in sssd.spec as we now depend directly on tdb as well.
2009-03-13Fix makefilesSimo Sorce3-27/+30
Make so that definitions in the code and install paths actually match
2009-03-11Fix calling setsid and resolve the sssd signal bugSimo Sorce1-11/+1
For some reason we were not testing for HAVE_SETSID in configure therefore the setsid() function was never called. This failed to set the process group after the first fork. Remove ifdef because we depend on setsid() anyway, so if it is not available on some platform it is better to fail rather then silently succeed but not have the right process group set up.
2009-03-11remove an unnecessary call to confdbSumit Bose1-8/+4
2009-03-11Fix copy-paste error in InfoPipe CreateUserStephen Gallagher1-2/+11
Also add accidentally-omitted loginShell parameter.
2009-03-10Remove unexisting left over headerSimo Sorce4-6/+5
Also bump up the version as this error prevented a successful build of 0.2.0
2009-03-10Bump up to version 0.2.0Simo Sorce3-4/+7
Change version after changes in protocol and MPG behavior.
2009-03-10Fix returning user with missing optional attributes.Simo Sorce4-15/+24
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-10Correct use of chkconfig in initscript and specfileJakub Hrozek2-6/+7
Review issues in specfile
2009-03-10added generic PAM return messages and a false login delaySumit Bose8-80/+215
2009-03-10Treat uids and gids as 32 bit numbers not 64Simo Sorce4-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.
2009-03-10If a domain is MPG enabled return users a groupsSimo Sorce2-15/+73
Turn user entries to Magic Private Groups when groups are quesried.
2009-03-10Fix bugs in functions dealing with groupsSimo Sorce2-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.
2009-03-09Always pass sss_domain_info to sysdb functions.Simo Sorce6-95/+60
2009-03-09Move MPG checks within sysdb.Simo Sorce6-138/+199
This allows to perform checks and modifications in one transaction. Uses configuration stored in confdb to determins if a domain uses MPGs.
2009-03-09Do not duplicate attribute names macros.Simo Sorce4-34/+31
Also shorten names oh other user attributes.
2009-03-09make openldap the only used LDAP librarySumit Bose3-43/+28
2009-03-09typo, changed initrd to initSumit Bose4-13/+13
2009-03-09sss_groupmodJakub Hrozek3-1/+288
2009-03-09use fixed paths to sockets to make sure clients and server are using the sameSumit Bose7-59/+80
2009-03-09Make MPG a configurable option for the domain.Simo Sorce2-0/+12
2009-03-09NSS libs do not use versioned shared objectsSimo Sorce1-1/+1
Afaik glibc uses just .so/.so.2, and all other nss libs I can see in the system are the same.
2009-03-09Improve error handling and replies in the InfoPipeStephen Gallagher3-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.
2009-03-09Implement SetGroupGID in the InfoPipeStephen Gallagher6-3/+289
2009-03-09Implement AddGroupMembers and RemoveGroupMembers in the InfoPipeStephen Gallagher2-16/+263
2009-03-09sss_usermodJakub Hrozek7-45/+416
Move parse_groups into tools_utils
2009-03-09Revert "Clients subpackage"Simo Sorce1-23/+7
This reverts commit 4c4bfc1a9590b3da9c901194f84dcb189481b25a.
2009-03-09Revert "defattr"Simo Sorce1-1/+0
This reverts commit 53ca322a5d6c538a7e47613aaacaba33986291d7.
2009-03-09Fix SIGSEGV in InfoPipe startupStephen Gallagher1-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.
2009-03-09Fix parameter parsing and adding to groups in useraddJakub Hrozek1-4/+10
2009-03-08defattrJakub Hrozek1-0/+1
2009-03-08Use LOCAL for the default domain in confdb_init_dbStephen Gallagher1-0/+4
2009-03-08Fix initialization problemsJakub Hrozek4-11/+12
Init tools ctx in groupadd before copying its value
2009-03-08Clients subpackageJakub Hrozek1-7/+23
2009-03-07sss_groupdel, delete by DN in sss_userdelJakub Hrozek5-74/+182
Don't convert username->uid in userdel, use DN
2009-03-07Fix race condition with initial sysdb creationStephen Gallagher1-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.
2009-03-06sss_groupaddJakub Hrozek4-1/+177
2009-03-06Implement DeleteGroup in InfoPipeStephen Gallagher2-2/+149
2009-03-06Implement CreateGroup in InfoPipeStephen Gallagher2-4/+193
Also fixed two minor bugs in CreateUser
2009-03-06Specfile changes related to package review, package initscript Call ldconfigJakub Hrozek5-9/+160
2009-03-06sss_userdelJakub Hrozek4-2/+237
Also install tools into /sbin, own them in specfile
2009-03-06Implement DeleteUser in the InfoPipeStephen Gallagher1-2/+166
2009-03-06Add sbus_reply_internal_error() feature to sbus_message_handler()Stephen Gallagher1-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.
2009-03-06Add infp_req_init() function to simplify method setupStephen Gallagher3-64/+43
2009-03-06Implement CreateUser in InfoPipeStephen Gallagher5-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().
2009-03-06Remove obsolete commentSimo Sorce1-3/+0
2009-03-06Add userspace tools to manipulate accounts.Simo Sorce6-1/+654
The first functional command is sss_useradd (Name is temporary, while looking for a better one)
2009-03-06added PAM default configuration to confdb_init_dbSumit Bose2-7/+36
set default value of enumerate in LOCAL domain to 1 added checks to talloc_asprintf return values fixed InfoPipe defaults
2009-03-06Fix reporting non-default users.Simo Sorce3-301/+318
We need to add the domain when users are not part of the default domain, otherwise name conflicts may happen.