* Use the PAM service "slim", not "login".

svn path=/nixpkgs/trunk/; revision=8860
This commit is contained in:
Eelco Dolstra 2007-06-10 20:00:14 +00:00
parent bade82f510
commit 03668c40c5

View File

@ -13,7 +13,7 @@ diff -rc slim-1.2.6-orig/app.cpp slim-1.2.6/app.cpp
+ #include <string>
+
+ pam_handle_t* pamh;
+ char const* PAM_service = "login"; // <----- Change this, if the patch gets accepted upstream
+ char const* PAM_service = "slim"; // <----- Change this, if the patch gets accepted upstream
+ string password;
+
+ int conv(int num_msg, const struct pam_message **msg,