Browse Source

Move scripts/auth_ejabberd.php to bin/

tags/2018.05
Hypolite Petovan 1 year ago
parent
commit
542ff9b082
3 changed files with 9 additions and 9 deletions
  1. 3
    3
      bin/auth_ejabberd.php
  2. 3
    3
      doc/install-ejabberd.md
  3. 3
    3
      src/Util/ExAuth.php

scripts/auth_ejabberd.php → bin/auth_ejabberd.php View File

@@ -13,14 +13,14 @@
13 13
  * Installation:
14 14
  *
15 15
  * 	- Change it's owner to whichever user is running the server, ie. ejabberd
16
- * 	  $ chown ejabberd:ejabberd /path/to/friendica/scripts/auth_ejabberd.php
16
+ * 	  $ chown ejabberd:ejabberd /path/to/friendica/bin/auth_ejabberd.php
17 17
  *
18 18
  * 	- Change the access mode so it is readable only to the user ejabberd and has exec
19
- * 	  $ chmod 700 /path/to/friendica/scripts/auth_ejabberd.php
19
+ * 	  $ chmod 700 /path/to/friendica/bin/auth_ejabberd.php
20 20
  *
21 21
  * 	- Edit your ejabberd.cfg file, comment out your auth_method and add:
22 22
  * 	  {auth_method, external}.
23
- * 	  {extauth_program, "/path/to/friendica/script/auth_ejabberd.php"}.
23
+ * 	  {extauth_program, "/path/to/friendica/bin/auth_ejabberd.php"}.
24 24
  *
25 25
  * 	- Restart your ejabberd service, you should be able to login with your friendica auth info
26 26
  *

+ 3
- 3
doc/install-ejabberd.md View File

@@ -11,16 +11,16 @@ Installation
11 11
 
12 12
 - Change it's owner to whichever user is running the server, ie. ejabberd
13 13
 
14
-        $ chown ejabberd:ejabberd /path/to/friendica/include/auth_ejabberd.php
14
+        $ chown ejabberd:ejabberd /path/to/friendica/bin/auth_ejabberd.php
15 15
 
16 16
 - Change the access mode so it is readable only to the user ejabberd and has exec
17 17
 
18
-        $ chmod 700 /path/to/friendica/include/auth_ejabberd.php
18
+        $ chmod 700 /path/to/friendica/bin/auth_ejabberd.php
19 19
 
20 20
 - Edit your ejabberd.cfg file, comment out your auth_method and add:
21 21
 
22 22
         {auth_method, external}.
23
-        {extauth_program, "/path/to/friendica/include/auth_ejabberd.php"}.
23
+        {extauth_program, "/path/to/friendica/bin/auth_ejabberd.php"}.
24 24
 
25 25
 - Disable the module "mod_register" and disable the registration:
26 26
 

+ 3
- 3
src/Util/ExAuth.php View File

@@ -13,14 +13,14 @@
13 13
  * Installation:
14 14
  *
15 15
  * 	- Change it's owner to whichever user is running the server, ie. ejabberd
16
- * 	  $ chown ejabberd:ejabberd /path/to/friendica/scripts/auth_ejabberd.php
16
+ * 	  $ chown ejabberd:ejabberd /path/to/friendica/bin/auth_ejabberd.php
17 17
  *
18 18
  * 	- Change the access mode so it is readable only to the user ejabberd and has exec
19
- * 	  $ chmod 700 /path/to/friendica/scripts/auth_ejabberd.php
19
+ * 	  $ chmod 700 /path/to/friendica/bin/auth_ejabberd.php
20 20
  *
21 21
  * 	- Edit your ejabberd.cfg file, comment out your auth_method and add:
22 22
  * 	  {auth_method, external}.
23
- * 	  {extauth_program, "/path/to/friendica/script/auth_ejabberd.php"}.
23
+ * 	  {extauth_program, "/path/to/friendica/bin/auth_ejabberd.php"}.
24 24
  *
25 25
  * 	- Restart your ejabberd service, you should be able to login with your friendica auth info
26 26
  *

Loading…
Cancel
Save