-
Notifications
You must be signed in to change notification settings - Fork 35
Classes and methods
mqu edited this page Jun 18, 2012
·
3 revisions
Ldap
func Initialize(url string) (*Ldap, error)
func (self *Ldap) Add(dn string, attrs map[string][]string) (error)
func (self *Ldap) Bind(who, cred string) error
func (self *Ldap) Close() error
func (self *Ldap) Unbind() error
func (self *Ldap) Result() (*LdapMessage, error)
func (self *Ldap) Search(base string, scope int, filter string, attributes []string) (*LdapMessage, error)
func (self *Ldap) SearchAll(base string, scope int, filter string, attributes []string) (*LdapSearchResult, error)
func (self *Ldap) Errno() int
func (self *Ldap) SetOption(opt int, val int) error
func (self *Ldap) GetOption(opt int) (val int, err error)
func (self *Ldap) IsThreadSafe() bool
LdapMessage
func (self *LdapMessage) Count() int
func (self *LdapMessage) FirstEntry() *LdapEntry
func (self *LdapMessage) FirstMessage() *LdapMessage
func (self *LdapMessage) GetAll() error
func (self *LdapMessage) MsgFree() int
func (self *LdapMessage) NextMessage() *LdapMessage
LdapAttribute
func LdapAttributeNew(name string, values []string)(*LdapAttribute)
func (self *LdapAttribute) Name() string
func (self *LdapAttribute) Values() []string
func (self *LdapAttribute) String() string
func (self *LdapAttribute) ToText() string
LdapEntry
func (self *LdapEntry) Append(a LdapAttribute)
func (self *LdapEntry) Attributes() []LdapAttribute
func (self *LdapEntry) CountEntries() int
func (self *LdapEntry) Dn() string
func (self *LdapEntry) FirstAttribute() (string, error)
func (self *LdapEntry) GetDn() string
func (self *LdapEntry) GetValues(attr string) []string
func (self *LdapEntry) NextAttribute() (string, error)
func (self *LdapEntry) NextEntry() *LdapEntry
func (self *LdapEntry) String() string
func (self *LdapEntry) ToText() string
LdapSearchResult
func (self *LdapSearchResult) Append(e LdapEntry)
func (self *LdapSearchResult) Attributes() []string
func (self *LdapSearchResult) Base() string
func (self *LdapSearchResult) Count() int
func (self *LdapSearchResult) Entries() []LdapEntry
func (self *LdapSearchResult) Filter() string
func (self *LdapSearchResult) Scope() int
func (self *LdapSearchResult) String() string
func (self *LdapSearchResult) ToText() string