s4:dsdb/common: add samdb_domain_guid() helper function
[samba.git] / nsswitch / wscript_build
index ab8f8eaf270e4881f4b1304be839ee8c171ff48b..a87e65833d74f0272c68d00b28ff05befc651ac5 100644 (file)
@@ -72,12 +72,6 @@ elif (host_os.rfind('netbsd') > -1):
                                  source='winbind_nss_linux.c winbind_nss_netbsd.c',
                                  deps='winbind-client', 
                                  realname='libnss_winbind.so')
-elif (host_os.rfind('irix') > -1):
-       bld.SAMBA_LIBRARY('ns_winbind',
-                         source='winbind_nss_irix.c',
-                         deps='winbind-client', 
-                         realname='libns_winbind.so')
-
 elif Utils.unversioned_sys_platform() == 'sunos':
        bld.SAMBA_LIBRARY('nss_winbind',
                          source='winbind_nss_solaris.c winbind_nss_linux.c',
@@ -105,10 +99,18 @@ if bld.CONFIG_SET('WITH_PAM_MODULES') and bld.CONFIG_SET('HAVE_PAM_START'):
                )
 
 if bld.CONFIG_SET('HAVE_KRB5_LOCATE_PLUGIN_H'):
-       bld.SAMBA_LIBRARY('winbind_krb5_locator',
-               source='winbind_krb5_locator.c',
-               deps='wbclient krb5 com_err',
-               realname='winbind_krb5_locator.so')
+    bld.SAMBA_LIBRARY('winbind_krb5_locator',
+                      source='krb5_plugin/winbind_krb5_locator.c',
+                      deps='wbclient krb5 com_err',
+                      realname='winbind_krb5_locator.so',
+                      install_path='${MODULESDIR}/krb5')
+
+if bld.CONFIG_SET('HAVE_KRB5_LOCALAUTH_PLUGIN_H'):
+    bld.SAMBA_LIBRARY('winbind_krb5_localauth',
+                      source='krb5_plugin/winbind_krb5_localauth.c',
+                      deps='wbclient krb5 com_err',
+                      realname='winbind_krb5_localauth.so',
+                      install_path='${MODULESDIR}/krb5')
 
 bld.SAMBA_SUBSYSTEM('WB_REQTRANS',
        source='wb_reqtrans.c',