pureftpd.schema 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #
  2. # pureftpd.schema
  3. #
  4. # Pure-FTPd User LDAP Schema
  5. # See README.LDAP in the Pure-FTPd documentation for more information.
  6. #
  7. # Written by Ben Gertzfield <che =AT= debian -DOT- org>
  8. #
  9. ## Pure-FTPd-related LDAP attributes
  10. attributetype ( 1.3.6.1.4.1.6981.11.3.1 NAME 'FTPQuotaFiles'
  11. DESC 'Quota (in number of files) for an FTP user'
  12. EQUALITY integerMatch
  13. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
  14. attributetype ( 1.3.6.1.4.1.6981.11.3.2 NAME 'FTPQuotaMBytes'
  15. DESC 'Quota (in megabytes) for an FTP user'
  16. EQUALITY integerMatch
  17. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
  18. attributetype ( 1.3.6.1.4.1.6981.11.3.3 NAME 'FTPUploadRatio'
  19. DESC 'Ratio (compared with FTPRatioDown) for uploaded files'
  20. EQUALITY integerMatch
  21. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
  22. attributetype ( 1.3.6.1.4.1.6981.11.3.4 NAME 'FTPDownloadRatio'
  23. DESC 'Ratio (compared with FTPRatioUp) for downloaded files'
  24. EQUALITY integerMatch
  25. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
  26. attributetype ( 1.3.6.1.4.1.6981.11.3.5 NAME 'FTPUploadBandwidth'
  27. DESC 'Bandwidth (in KB/s) to limit upload speeds to'
  28. EQUALITY integerMatch
  29. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
  30. attributetype ( 1.3.6.1.4.1.6981.11.3.6 NAME 'FTPDownloadBandwidth'
  31. DESC 'Bandwidth (in KB/s) to limit download speeds to'
  32. EQUALITY integerMatch
  33. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
  34. attributetype ( 1.3.6.1.4.1.6981.11.3.7 NAME 'FTPStatus'
  35. DESC 'Account status: enabled or disabled'
  36. EQUALITY caseIgnoreIA5Match
  37. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
  38. attributetype ( 1.3.6.1.4.1.6981.11.3.8 NAME 'FTPuid'
  39. DESC 'System uid (overrides uidNumber if present)'
  40. EQUALITY integerMatch
  41. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
  42. attributetype ( 1.3.6.1.4.1.6981.11.3.9 NAME 'FTPgid'
  43. DESC 'System uid (overrides gidNumber if present)'
  44. EQUALITY integerMatch
  45. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
  46. ## New Pure-FTPd object type
  47. objectclass ( 1.3.6.1.4.1.6981.11.2.3 NAME 'PureFTPdUser'
  48. DESC 'PureFTPd user with optional quota, throttling and ratio'
  49. SUP top AUXILIARY
  50. MAY ( FTPStatus $ FTPQuotaFiles $ FTPQuotaMBytes $ FTPUploadRatio $
  51. FTPDownloadRatio $ FTPUploadBandwidth $ FTPDownloadBandwidth $
  52. FTPuid $ FTPgid ) )