Some ruby code written to manage an ldap directory.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
290 B

require 'SystemData'
class User < SystemData
attr_accessor :name, :pass, :uid, :gid, :shell, :home
def initialize(args = {})
super(args)
@name = args[:name]
@pass = args[:pass]
@uid = args[:uid]
@gid = args[:gid]
@shell = args[:shell]
@home = args[:home]
end
end