From owner-freebsd-stable@freebsd.org Wed Sep 21 17:23:01 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 73231BD6D63 for ; Wed, 21 Sep 2016 17:23:01 +0000 (UTC) (envelope-from shashaness@hotmail.com) Received: from SNT004-OMC1S11.hotmail.com (snt004-omc1s11.hotmail.com [65.55.90.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 30BDAD71 for ; Wed, 21 Sep 2016 17:23:00 +0000 (UTC) (envelope-from shashaness@hotmail.com) Received: from NAM03-CO1-obe.outbound.protection.outlook.com ([65.55.90.8]) by SNT004-OMC1S11.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 21 Sep 2016 10:21:54 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=oX/tvScB5x0LVdbO1QRVlHO/2rPm5FtonoGn6e9NMzw=; b=AMai+RLPvU8qAqVNRlfpzwMTc7fXqITISdM8z5HawYswzTO0ELNnuUHw+l5PMDRxY5ZcgEJ3W+jwI9x4uDMGoRhKk4xjaR6pMtaD9ydeayo5vTFfc4wCZ4ngeCqgY4+fSZvpK+9zHSLmhgrHxFyRkiQ5nW+CWrMNLDVg7GXaH8LnRTNHXw+9iWHCMEwTH6MrhAYY0PHXyxIVYTKkucldfpVFAwfLjiDplVuofuUz6GhltvKOZqU2BnIZRNwHNtfS5HLj8/5HTWDeu6EqJEmzKS4FtC2SKKCZi5ITTcKIq282ntf8Z9/vlswIGrbhb1C+MVR3RZHoa9sAtEn8v8DO4Q== Received: from CO1NAM03FT038.eop-NAM03.prod.protection.outlook.com (10.152.80.53) by CO1NAM03HT152.eop-NAM03.prod.protection.outlook.com (10.152.81.59) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.629.5; Wed, 21 Sep 2016 17:21:53 +0000 Received: from CY1PR14MB0520.namprd14.prod.outlook.com (10.152.80.60) by CO1NAM03FT038.mail.protection.outlook.com (10.152.81.212) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.629.5 via Frontend Transport; Wed, 21 Sep 2016 17:21:53 +0000 Received: from CY1PR14MB0520.namprd14.prod.outlook.com ([10.164.71.150]) by CY1PR14MB0520.namprd14.prod.outlook.com ([10.164.71.150]) with mapi id 15.01.0629.006; Wed, 21 Sep 2016 17:21:53 +0000 From: Shawn Bakhtiar To: "freebsd-stable@freebsd.org" Subject: Problem with nsswitch.conf Thread-Topic: Problem with nsswitch.conf Thread-Index: AQHSFCylTHoBNWaZl0ySmezYDK7bEA== Date: Wed, 21 Sep 2016 17:21:53 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=softfail (sender IP is 10.152.80.60) smtp.mailfrom=hotmail.com; freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=fail action=none header.from=hotmail.com; received-spf: SoftFail (protection.outlook.com: domain of transitioning hotmail.com discourages use of 10.152.80.60 as permitted sender) x-incomingtopheadermarker: OriginalChecksum:42C400D6D49F0086747804B98970FDA028AB7827863DFFD0E3C5D93EBFF678DC; UpperCasedChecksum:BAF3AB976BCFC9978C232FFDD0637D83BB94F20D6D6EBD9132D536A40027C1B3; SizeAsReceived:6877; Count:33 x-ms-exchange-messagesentrepresentingtype: 1 x-incomingheadercount: 33 x-eopattributedmessage: 0 x-microsoft-exchange-diagnostics: 1; CO1NAM03HT152; 6:N0Y8hv74+/NZkCRC/1lkn3taTmjiollBKG5t3GjweBNoDCwJvFCbhRihnb2WBJJGRQmGI50vkioNVBVDFmvVSdsQPNWwUdul8zSz1mjsIZDsacSrXxagGKnWoHzLZMRBQFdGdcfliIJtkIe3+oyc8Ty5ifCPwq2HSvtDKChoDpE/QfHJC1fl0Sc9VXOSkaB1Hywg0awYD2Xn+qPQh7X+m0jZaBOBB5zO431mzi5mLflo+mURgjsInKsW5GqGl5GaR6qDazoxDTUfBtQWAq84Ywme/x3MGyba8n+BUYlhS9M=; 5:JS1VAYcrcYxFBqoZrQ1NZttyxpeCwzFaNQLRWjO/3zvq+t5REfIIClEAgiAvSHH7luSfKGTjPbTZZemV1gAJYNR0jWKCEaIdfimM7ri/ku5PX8xCW5I/h7NPpM05eLYhhsB69nzFsn5IVM4qprIsww==; 24:7VXdOf5Hnd8eg3O7RjmYoTzKC42SAqFvhuF2Xbv5VndYrY69LJ8dxSqgz5Qx14yHIHCAaCwUaF4SQjTTvGJD5S7tPPICuOsVTDcaAoXmn4M=; 7:f6HCsP0L3tyOYW273NQBDSrr0rJqKw7kk0cpjvjzJnPM/Fmdtcu/i4IjYJPMtPh9PhFxXu6IwG381KZAe3QtiTRJP+v46BgVpPd9dcVyMFRGuhr1QETQnTWibvoM6ZgU2bUqfp5Yk766gJLcpDlmIRWS3OhFkWbLL9oDSKhqdiNmOqtqnnL4WZhWEW7fn0JJdkHisoXZQv7Tq8Few2abJX/mza4KVRhx97JauyBWmBm+HjYKPa3LGiSt5tLoCfkbMVe9EPYeHObZU4X8PbmMKFPXOUGW9cDYvSvfTtuhuu2+Zm1v9F/LA7stEl4gPZi9 x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1; SRVR:CO1NAM03HT152; H:CY1PR14MB0520.namprd14.prod.outlook.com; FPR:; SPF:None; LANG:en; x-ms-office365-filtering-correlation-id: 39026188-1076-43c1-7f32-08d3e243c727 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(1601124038)(1603103081)(1601125047); SRVR:CO1NAM03HT152; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015012)(82015046); SRVR:CO1NAM03HT152; BCL:0; PCL:0; RULEID:; SRVR:CO1NAM03HT152; x-forefront-prvs: 007271867D spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: <59C586FCA46FA64EB6128F6673B01324@namprd14.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Sep 2016 17:21:53.3582 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1NAM03HT152 X-OriginalArrivalTime: 21 Sep 2016 17:21:54.0896 (UTC) FILETIME=[A6565D00:01D2142C] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2016 17:23:01 -0000 Good morning All, I'm trying to configure my server as an LDAP client. I installed the nslcd = service and it's working great. My problem is when I issue the command getent passwd it only returns the LD= AP user not the local users.=20 # # nsswitch.conf(5) - name service switch configuration file # $FreeBSD: releng/10.2/etc/nsswitch.conf 224765 2011-08-10 20:52:02Z dougb= $ # group: file ldap group_compat: nis ldap hosts: files dns networks: files passwd: file ldap passwd_compat: nis ldap shells: files=20 services: files=20 services_compat: nis protocols: files=20 rpc: files When I change the above group and passwd setting back to compat (which was = the default configuration) I get the local users but none of the ldap users= show up. In fact nslcd is not even called (i've checked by running it in d= ebug mode). So how do I configure nsswitch to use both the local /etc/passw= d file and the ldap. I need this because without it services will not start= . IE nslcd complains that nslcd is not a valid user when using the above co= nfiguration. Any help would greatly be appreciated, Shawn