Advertisement
Guest User

Untitled

a guest
Mar 12th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. user_config_dir=$USER
  2.  
  3. uid:usertest@example.com
  4. homeDirectory: /nfs/{RANDOM_storage_location}/{RANDOM_NUMBER}/{DOMAIN}u/s/e/usertest
  5.  
  6. ##Filename: pam_ldap.conf
  7. base dc=example,dc=com
  8. uri ldap://192.168.1.8:389
  9. binddn cn=ftp,ou=read,ou=groups,dc=example,dc=com
  10. bindpw secret
  11. bind_timelimit 300
  12. idle_timelimit 300
  13. timelimit 300
  14.  
  15. Anonymous_enable=NO
  16. local_enable=YES
  17. write_enable=YES
  18. local_umask=022
  19. dirmessage_enable=YES
  20. # Enable Virtual users
  21. guest_enable=YES
  22. virtual_use_local_privs=YES
  23. chroot_local_user=YES
  24. chroot_list_enable=NO
  25.  
  26. xferlog_enable=YES
  27. log_ftp_protocol=YES
  28.  
  29. connect_from_port_20=YES
  30. listen=YES
  31. pam_service_name=vsftpd
  32. userlist_enable=YES
  33. tcp_wrappers=YES
  34. hide_ids=YES
  35.  
  36. ftp
  37. ftp> o 192.168.1.10
  38. Connected to 192.168.1.10.
  39. 220-
  40. 220
  41. Name (192.168.1.10:user): usertest@example.com
  42. 331 Please specify the password.
  43. Password:
  44. 230 Login successful.
  45. Remote system type is UNIX.
  46. ftp> dir
  47. Using binary mode to transfer files.
  48. 229 Entering Extended Passive Mode (|||21725|).
  49. 150 Here comes the directory listing.
  50. drwxr-xr-x 2 ftp ftp 4096 Feb 21 09:01 pub
  51. 226 Directory send OK.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement