summaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove references to FreeIPA from D-BUS interfacesStephen Gallagher2009-03-198-37/+37
| | | | | | Per discussion with the desktop team, using the org.freedesktop interface name will simplify adoption, as potential users won't feel like they're pulling in a FreeIPA dependency.
* use pam_data as main data structure for dbus communicationSumit Bose2009-03-198-135/+116
|
* Fix getgrent and getpwent callsSimo Sorce2009-03-181-2/+6
| | | | | | When I converted from using just the domain name to passing down the info structure I goofed how to test if we were willing to attach the local domain to the user/group names or not.
* Fix segfault error caused by a double freeSimo Sorce2009-03-181-178/+118
| | | | | | | | In delete_callback we were freeing rep after having called return_done() This caused a double free becuse rep is already freed as child of the request when return_done calles the callback. To avoid future errors like this convert return_error and return_done into functions and make them always be the last call of the function and call them as part of the function return.
* Enable MPGs and user/group enumeration on the LOCAL domain by defaultStephen Gallagher2009-03-181-3/+5
|
* append CFLAGS environment variable to Makefiles CFLAGSSumit Bose2009-03-131-2/+2
|
* Better error reporting for pidfile()Simo Sorce2009-03-131-7/+11
| | | | | This should help understanding what's going on if the server fails to create a pid file.
* Implement Negative cache for NSSSimo Sorce2009-03-136-4/+572
| | | | | | | 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.
* Fix makefilesSimo Sorce2009-03-133-27/+30
| | | | Make so that definitions in the code and install paths actually match
* Fix calling setsid and resolve the sssd signal bugSimo Sorce2009-03-111-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.
* remove an unnecessary call to confdbSumit Bose2009-03-111-8/+4
|
* Fix copy-paste error in InfoPipe CreateUserStephen Gallagher2009-03-111-2/+11
| | | | Also add accidentally-omitted loginShell parameter.
* Remove unexisting left over headersssd-0_2_1Simo Sorce2009-03-101-1/+1
| | | | Also bump up the version as this error prevented a successful build of 0.2.0
* Bump up to version 0.2.0sssd-0_2_0Simo Sorce2009-03-101-1/+1
| | | | Change version after changes in protocol and MPG behavior.
* Fix returning user with missing optional attributes.Simo Sorce2009-03-104-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.
* Hide uid and gid options in usermod and groupmodJakub Hrozek2009-03-102-3/+3
|
* Correct use of chkconfig in initscript and specfileJakub Hrozek2009-03-101-1/+1
| | | | Review issues in specfile
* added generic PAM return messages and a false login delaySumit Bose2009-03-106-65/+151
|
* Treat uids and gids as 32 bit numbers not 64Simo Sorce2009-03-101-23/+21
| | | | | | 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-101-0/+6
| | | | | | 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-092-41/+27
|
* typo, changed initrd to initSumit Bose2009-03-093-12/+12
|
* 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
|
* 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-096-45/+415
| | | | Move parse_groups into tools_utils
* 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
|
* 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
* sss_groupdel, delete by DN in sss_userdelJakub Hrozek2009-03-074-74/+181
| | | | 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-063-1/+176
|
* 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-064-0/+126
|
* sss_userdelJakub Hrozek2009-03-063-2/+235
| | | | 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)