Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nss/exports.linux
blob: 1a4cac81fba7276a901115f0342b751865ed623b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
EXPORTED {

  # published NSS service functions
  global:

    # aliases - mail aliases
    _nss_ldap_getaliasbyname_r;
    _nss_ldap_setaliasent;
    _nss_ldap_getaliasent_r;
    _nss_ldap_endaliasent;

    # ethers - ethernet numbers
    _nss_ldap_gethostton_r;
    _nss_ldap_getntohost_r;
    _nss_ldap_setetherent;
    _nss_ldap_getetherent_r;
    _nss_ldap_endetherent;

    # group - groups of users
    _nss_ldap_getgrnam_r;
    _nss_ldap_getgrgid_r;
#    _nss_ldap_initgroups_dyn;
    _nss_ldap_setgrent;
    _nss_ldap_getgrent_r;
    _nss_ldap_endgrent;

    # hosts - host names and numbers
    _nss_ldap_gethostbyname_r;
    _nss_ldap_gethostbyname2_r;
    _nss_ldap_gethostbyaddr_r;
    _nss_ldap_sethostent;
    _nss_ldap_gethostent_r;
    _nss_ldap_endhostent;

    # netgroup - list of host and users
    _nss_ldap_setnetgrent;
    _nss_ldap_getnetgrent_r;
    _nss_ldap_endnetgrent;

    # networks - network names and numbers
    _nss_ldap_getnetbyname_r;
    _nss_ldap_getnetbyaddr_r;
    _nss_ldap_setnetent;
    _nss_ldap_getnetent_r;
    _nss_ldap_endnetent;

    # passwd - user database and passwords
    _nss_ldap_getpwnam_r;
    _nss_ldap_getpwuid_r;
    _nss_ldap_setpwent;
    _nss_ldap_getpwent_r;
    _nss_ldap_endpwent;

    # protocols - network protocols
    _nss_ldap_getprotobyname_r;
    _nss_ldap_getprotobynumber_r;
    _nss_ldap_setprotoent;
    _nss_ldap_getprotoent_r;
    _nss_ldap_endprotoent;

    # rpc - remote procedure call names and numbers
    _nss_ldap_getrpcbyname_r;
    _nss_ldap_getrpcbynumber_r;
    _nss_ldap_setrpcent;
    _nss_ldap_getrpcent_r;
    _nss_ldap_endrpcent;

    # services - network services
    _nss_ldap_getservbyname_r;
    _nss_ldap_getservbyport_r;
    _nss_ldap_setservent;
    _nss_ldap_getservent_r;
    _nss_ldap_endservent;

    # shadow - extended user information
    _nss_ldap_getspnam_r;
    _nss_ldap_setspent;
    _nss_ldap_getspent_r;
    _nss_ldap_endspent;

  # everything else should not be exported
  local:
    *;

};