Apps
Knowledge
People
Register
Login


-
- Content .- Fans (26) .- Knowledge Base (2) . 

Unix user backend

   2.4  

ownCloud Tool

Score 71%
Minimum required   ownCloud 8.2
Maximum required   ownCloud 9.2
Downloads:  10465
Submitted:  Jan 21 2012
Updated:  Jul 11 2017

Description:

This backend allows Unix local users to authenticate and use ownCloud using pwauth project (https://code.google.com/p/pwauth/).

If your ownCloud instance is on your desktop/laptop computer or your personnal server, you can use directly the PAM/Unix authentication instead of creating new accounts into ownCloud.

Use directly your desktop/laptop credentials or your personnal server Unix account !




Changelog:

## VERSION 0.2
- Authentication and groups functionnal, compatible with ownCloud 2
## VERSION 0.3
- CalDAV sharing is now functionnal (wasn't working until then because oc_principals were empty for Unix users)
- Cleaned a few code tricks (log functions, etc…)
## VERSION 0.4
- Sharing with Unix user was broken, works smoothly on ownCloud 3 not on ownCloud 2 (don't know why)
## VERSION 0.43
- Correcting various little bugs (empty line on top of WebDAV requests, etc…)
## VERSION 0.45
- Small bug fix thanks to THBB : module was ignored by some parts of ownCloud due to the fact that it does not announce itself as an authentication module

### VERSION 1.0
- Compatible with OC4
- Incompatible with OC3 (prefer version 0.45)
- Migration from OC3 to OC4 will generate trouble with Unix User Account : the database update procedure is triggered only with database users ! Be very careful when updating !
### VERSION 1.1
- Integration of svrnm's patch to add range of users and/or single users to the authorized users list ;
- You can now change the pwauth executable path directly into the admin panel ;
- Translation is now available in french and english (german, italian and esperanto coming soon).
- This version is not compatible with OC >4.0.*

### VERSION 2.0
- Partial rewriting to be compatible with OC4.5.0
- Includes new german translation (thanks to Manuel for proofreading)
- Includes new italian translation
- This version is not compatible with OC < 4.5.0

### VERSION 2.1
- Licence change : AGPL -> WTFPLc
- Fixes some vulnerabilities UPDATE IS STRONGLY RECOMMENDED

### VERSION 2.2
- As Ienny suggested since OC6.0, mail setting form is not visible if auth plugin does not have the SET_PASSWORD capabilities (which is abnormal). So I added the ability to set password (with an empty function) just to make the form appear.

### VERSION 2.3
- THIS VERSION WILL PROBABLY BE INCOMPATIBLE WITH OC < 8.0 (hasn't been tested, be very careful)
- App has been cleaned up pretty hard to be compliant with most of the new API
- App is still not completely compliant with 8.2 API but still works (a lot of work to do here)

## VERSION 2.4
- THIS VERSION WILL PROBABLY BE INCOMPATIBLE WITH OC < 8.2
- Integrated patch from oni304 (basically a cleaner version with recent API)

Please test and give me your feedbacks in comments, this will be greatly appreciated :)



License:
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004

Copyright (C) 2004 Sam Hocevar

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. You just DO WHAT THE FUCK YOU WANT TO.


All Versions
Send to a friend
Subscribe
Other  Apps  from veretcle
Report inappropriate content

. . ..


goto page: prev   1  2  3  4  5  6  7  8 

-

 no newly created user

 
 by andrkac on: Jul 28 2016
 
Score 50%

the app works for me for months.
Unfortunately: yesterday I've created new user (in unix). It is not visible (and cannot login to) in owncloud (nextcloud in fact). Old users are in place and works, new one can login to unix.
But new one cannot reach out nextcloud and is not visible on the users list. However, I tried to create user in nextcloud (not sure if that works with pwauth, nevermind) and I received a message: "Error creating user: A user with that name already exists."
So, *cloud can see the user, but cannot handle him. Any idea? More info needed?


Reply to this

-

 Re: no newly created user

 
 by veretcle on: Jul 28 2016
 
Score 50%

In the parameter, there is a max_user_id, you should check that out (default is 10010 if I remember correctly).


Reply to this

-

 Re: Re: no newly created user

 
 by andrkac on: Jul 28 2016
 
Score 50%

Stupid question - where to find it?
Want to check it, but I have less than 20 users, so I don't think so


Reply to this

-
.

 Re: Re: Re: no newly created user

 
 by veretcle on: Jul 28 2016
 
Score 50%

It is located in the admin settings screen, field uid_list (default is 10000-10010).

Based on your user UID, you can put it to 10020 that should be OK.


Reply to this

-

 Re: Re: Re: Re: no newly created user

 
 by andrkac on: Jul 28 2016
 
Score 50%

That's the point. Thank you!


Reply to this

-

 user_pwauth | OC 9.1

 
 by Tsaenger on: Sep 22 2016
 
Score 50%

Hi,

does some one got it installed on OC 9.1?
i got this error when i try to install

sudo -u www-data php occ app:enable user_pwauth


[Exception]
App 'user_pwauth' could not be installed!


app:enable [-g|--groups GROUPS] [--] <app-id>

Thanks a lot

Tobias


Reply to this

-

 Re: user_pwauth | OC 9.1

 
 by sut on: Sep 23 2016
 
Score 50%

Hey,

it works on my installation: 9.1.1.
I jsut downloaded it and enabled it with:

sudo -u www-data php occ app:enable user_pwauth

After enabling OC automatically did an Update on my next login.


Reply to this

-

 Re: Re: user_pwauth | OC 9.1

 
 by Tsaenger on: Sep 27 2016
 
Score 50%

Hi, could you please check if you can change the IDs on Admin-Panel? If i try to change i get an blank site and the changes are not be stored.

Thanks a lot.

Tobias


Reply to this

-

 Re: Re: Re: user_pwauth | OC 9.1

 
 by veretcle on: Sep 27 2016
 
Score 50%

I did not try on OC 9.1 myself but if the activation pass, the reste should be OK.


Reply to this

-

 Re: Re: Re: Re: user_pwauth | OC 9.1

 
 by Tsaenger on: Sep 27 2016
 
Score 50%

Hi Thanks.
The activation works well. but i can not change the User-IDs. Where does thy be saved? in config.php i cannot see an entry.

Thanks


Reply to this

-

 pwauth doesn't work with OC 9.1.1

 
 by wipe on: Nov 2 2016
 
Score 50%

Hi all,
after upgrading from OC Version 9.0.5 to 9.1.1 authentication with pwauth doesn't work anymore. After authenticating with username and password, I'm back on the login screen again
The ownlcoud logfiles says the the following:
{"reqId":"UvuPbwiehmPh3uoiasjF","remoteAddr":"XXX.YYY.ZZZ.AAA","app":"core","message":"Login failed: 'USERNAME' (Remote IP: XXX.YYY.ZZZ.AAA')","level":2,"time":"2016-11-02T14:50:02+00:00","method":"GET","url":"\/apps\/files\/","user":"USERNAME"}

I'm able to login as internal admin user and on the Administration Page, the uid_list is displayed and changeable as well as the users list on the users page are displayed.

Does someone know what's going wrong here?

Thanks for your help!
Peter



Reply to this

-

 Re: pwauth doesn't work with OC 9.1.1

 
 by veretcle on: Nov 2 2016
 
Score 50%

Are you sure the app is not disabled?


Reply to this

-

 Re: Re: pwauth doesn't work with OC 9.1.1

 
 by wipe on: Nov 2 2016
 
Score 50%

yes, I'm sure that I'm enabled the app after upgrading OC. Once on the Webinterface and once more on the Command line and it is displayed as enabled on the app overview page. However, I was wondering, that I didn't get an update on the next login screen.


Reply to this

-
.

 Re: Re: Re: pwauth doesn't work with OC 9.1.1

 
 by Bento on: Dec 23 2016
 
Score 50%

I'm having trouble with pwauth on 9.1.3 too, mine is a fresh install on a Debian based NAS (Netgear ReadyNAS 316). Everything else works great, however user accounts created in the system cannot login and I get the "Wrong passowrd. Reset it?" message.

I've checked the UID settings and they are correct.

Any help greatly appreciated.


Reply to this

-

 Re: Re: Re: Re: pwauth doesn't work with OC 9.1.1

 
 by hase747 on: Jan 9 2017
 
Score 50%

Have the same problem:

user accounts created in the system cannot login and I get the "Wrong passowrd. Reset it?" message.

I've checked the UID settings and they are correct.

(Using Nextcloud11)


Reply to this

-

 Re: Re: Re: Re: Re: pwauth doesn't work with OC 9.

 
 by veretcle on: Jan 9 2017
 
Score 50%

I haven't validated the app on NextCloud 11 yet.

Have you any error message in the logs?


Reply to this

-

 Re: Re: Re: Re: Re: Re: pwauth doesn't work with O

 
 by hase747 on: Jan 11 2017
 
Score 50%

Yes in the Nextcloud logs:
[:error] [pid 16456:tid 140471082850048] [client XXX.XXX.XXX.XXX:XXXXX] PHP Fatal error: require_once(): Failed opening required 'apps/user_pwauth/user_pwauth.php' (include_path='/share/CE_CACHEDEV1_DATA/.qpkg/NextCloud/nextcloud/3rdparty/pear/console_getopt:/share/CE_CACHEDEV1_DATA/.qpkg/NextCloud/nextcloud/3rdparty/pear/pear_exception:/share/CE_CACHEDEV1_DATA/.qpkg/NextCloud/nextcloud/3rdparty/pear/pear-core-minimal/src:/share/CE_CACHEDEV1_DATA/.qpkg/NextCloud/nextcloud/3rdparty/pear/archive_tar:/share/CE_CACHEDEV1_DATA/.qpkg/NextCloud/nextcloud/apps') in /share/CE_CACHEDEV1_DATA/.qpkg/NextCloud/nextcloud/apps/user_pwauth/appinfo/app.php on line 28

I put the user_pwauth dir @ Nextcloud/nextclou/apps and than i saw it on the webui, but actualy i not changed the settings after pressing "save" so i manuelly edit it in /user_pwauth/appinfo/app.php !
(I can now see the lokal users in Nextcloud, but can't login because the "Wrong passowrd. Reset it?" message.)

And Nextcloud said: there is "no Lower version limit for Nextcloud"

In German: "Für diese App wurde keine untere Versionsgrenze für Nextcloud gesetzt. Dies wird zukünftig als Fehler behandelt."

Hope you understand what im writing :D



-

 Re: Re: Re: Re: Re: Re: pwauth doesn't work with O

 
 by veretcle on: Jan 11 2017
 
Score 50%

Looks more like a PHP error (path error in the PHP conf).

I'll upgrade my personal installation just to see if I can reproduce.



-

 Re: Re: Re: Re: Re: Re: pwauth doesn't work with O

 
 by hase747 on: Jan 12 2017
 
Score 50%

Yes in the Nextcloud logs:
[:error] [pid 16456:tid 140471082850048] [client XXX.XXX.XXX.XXX:XXXXX] PHP Fatal error: require_once(): Failed opening required 'apps/user_pwauth/user_pwauth.php' (include_path='/share/CE_CACHEDEV1_DATA/.qpkg/NextCloud/nextcloud/3rdparty/pear/console_getopt:/share/CE_CACHEDEV1_DATA/.qpkg/NextCloud/nextcloud/3rdparty/pear/pear_exception:/share/CE_CACHEDEV1_DATA/.qpkg/NextCloud/nextcloud/3rdparty/pear/pear-core-minimal/src:/share/CE_CACHEDEV1_DATA/.qpkg/NextCloud/nextcloud/3rdparty/pear/archive_tar:/share/CE_CACHEDEV1_DATA/.qpkg/NextCloud/nextcloud/apps') in /share/CE_CACHEDEV1_DATA/.qpkg/NextCloud/nextcloud/apps/user_pwauth/appinfo/app.php on line 28

I put the user_pwauth dir @ Nextcloud/nextclou/apps and than i saw it on the webui, but actualy i not changed the settings after pressing "save" so i manuelly edit it in /user_pwauth/appinfo/app.php !
(I can now see the lokal users in Nextcloud, but can't login because the "Wrong passowrd. Reset it?" message.)

And Nextcloud said: there is "no Lower version limit for Nextcloud"

In German: "Für diese App wurde keine untere Versionsgrenze für Nextcloud gesetzt. Dies wird zukünftig als Fehler behandelt."

Hope you understand what im writing :D



-

 OC 10.0 compatibility

 
 by tigermick on: Mar 26 2017
 
Score 50%

Hi !
I think OC 10.0 release is soon here !
Is unix backend app already ready to work with this futur version ?
Have already Someone tested it ?
thx ;)


Reply to this

-

 Re: OC 10.0 compatibility

 
 by tigermick on: May 6 2017
 
Score 50%

OC X is here now ! very cool !
but ... unix user backend is compatible or not please ?


Reply to this

-

 Re: Re: OC 10.0 compatibility

 
 by tigermick on: May 7 2017
 
Score 50%

Has anyone tried please ?


Reply to this

-

 Re: Re: Re: OC 10.0 compatibility

 
 by veretcle on: May 7 2017
 
Score 50%

Unfortunately, I did not have the chance to start testing.

I probably will in a few days and keep you informed.


Reply to this

-

 Re: Re: Re: Re: OC 10.0 compatibility

 
 by tigermick on: May 17 2017
 
Score 50%

Oh ! thank you about your answer !
I haven't seen your message ...
I have tried to install owncloud X on another machine and when i try to install your app and enable it, in admin owncloud page, I have an error message about code integrity.
if i click on it, I have this thing :

Quote:
Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results
=======
- user_pwauth
- EXCEPTION
- OC\IntegrityCheck\Exceptions\InvalidSignatureException
- Signature data not found.

Raw output
==========
Array
(
[user_pwauth] => Array
(
[EXCEPTION] => Array
(
[class] => OC\IntegrityCheck\Exceptions\InvalidSignatureException
[message] => Signature data not found.
)
)
)


and I have this documentation link :
https://doc.owncloud.org/server/10.0/go.php?to=admin-code-integrity


Reply to this

-

 Re: Re: Re: Re: Re: OC 10.0 compatibility

 
 by tigermick on: Jun 2 2017
 
Score 50%

Hi !
Did you had free time in order to find the problem with owncloud X please ?


Reply to this

-

 Re: Re: Re: Re: Re: Re: OC 10.0 compatibility

 
 by tigermick on: Jun 18 2017
 
Score 50%

Has Nobody tested it please ?



-

 Re: Re: Re: Re: Re: Re: OC 10.0 compatibility

 
 by veretcle on: Jul 11 2017
 
Score 50%

Just tested on ownCloud 10.0.2 and everything works as expected.

Please notify me if you see anything wrong.



-

 Re: Re: Re: Re: Re: OC 10.0 compatibility

 
 by sut on: Sep 15 2017
 
Score 50%

Hey,

i have the same Problem with OC 10.0.2. There is no appinfo/signature.json file. Therefor you get the message. I have no solution for this.


Reply to this

-

 404 file not found

 
 by anarn on: May 9 2017
 
Score 50%

Hello, I cannot download this extension, because the download link says 404 file not found. Can you please check.
Is Nextcloud 11 officially supported by this extension?


Reply to this

-

 Re: 404 file not found

 
 by veretcle on: May 9 2017
 
Score 50%

Must have been an issue with the ownCloud app repository, will repush it back.

Nextcloud is perfectly supported.


Reply to this

-

 appinfo/signature.json file

 
 by sut on: Sep 19 2017
 
Score 50%

Is there any chance that the appinfo/signature.json file will be added to the project?


Reply to this

goto page: prev   1  2  3  4  5  6  7  8 

Add commentBack



... .

-
 
 Who we are
Contact
Register
Explore
Apps
Knowledge
People
Participate
Add App
Public API
About apps.ownCloud.com
Legal Notice
Report Abuse
 

Copyright 2011-2017 apps.ownCloud.com Team  
All rights reserved. apps.ownCloud.com is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.