From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 7 Mar 2005 23:06:53 +0300 From: Alexander Bokovoy To: ALT Linux Sisyphus discussion list Subject: Re: [sisyphus] =?koi8-r?B?1MHOw9kgKHNhbWJh?= =?koi8-r?Q?=29?= - User Administrator in passdb, but getpwnam() fails! Message-ID: <20050307200652.GA14034@altlinux.org> Mail-Followup-To: ALT Linux Sisyphus discussion list References: <422CA881.6060306@nm.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <422CA881.6060306@nm.ru> X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2005 20:08:04 -0000 Archived-At: List-Archive: --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 07, 2005 at 09:16:17PM +0200, Artem wrote: > =F7=D7=C9=C4=D5 =CE=C1=CC=C9=DE=C9=D1 =D3=D7=CF=C2=CF=C4=CE=CF=C7=CF =D7= =D2=C5=CD=C5=CE=C9 =D2=C5=DB=C9=CC "=D0=CF=D4=C1=CE=C3=C5=D7=C1=D4=D8" =D3 = =D3=C9=DA=C9=C6=CF=D7=CF=CA samba=20 > 3.0.10 + smbldap-tools 0.8.5. > =F5=D3=D4=C1=CE=CF=D7=C9=CC, =CE=C1=D3=D4=D2=CF=C9=CC (c =D0=CF=CD=CF=DD= =D8=C0 smbldap-tools), =D7=D3=C5 =D3 ldap =D2=C1=C2=CF=D4=C1=C5=D4,=20 > =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=C9 =D3=CF=DA=C4=C1=C0=D4=D3=D1 , =D0=C1= =D2=CF=CC=C9 =CD=C5=CE=D1=C0=D4=D3=D1, =D4.=C5. =D3 ldap =D3=C1=CD=C2=C1 = =D2=C1=C2=CF=D4=C1=C5=D4.=20 > =F3=C9=D3=D4=C5=CD=CE=D9=C5 =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=C9 - =CE=C5= =D7 ldap. =F0=D2=C9 =D0=CF=D0=D9=D4=CB=C5 =DA=C1=D4=C1=DD=C9=D4=D8 =CB=CC= =C9=C5=CE=D4=C1 =D7=20 > =C4=CF=CD=C5=CE samba, =D7=D9=C4=C1=C5=D4 =CF=DB=C9=C2=CB=D5 =CF =CE=C5= =D7=C5=D2=CE=CF=CA =C1=D5=D4=C5=CE=D4=C9=C6=C9=CB=C1=C3=C9=C9, =C1 =D7 =CC= =CF=C7=C1=C8 =D0=C9=DB=C5=D4=20 > =D3=CC=C5=C4=D5=C0=DD=C5=C5: > auth/auth_util.c:make_server_info_sam(822) = =20 >=20 > User Administrator in passdb, but getpwnam() fails! =F0=CF=D4=CF=CD=D5 =DE=D4=CF =CE=C5=D4 =D7 =D3=C9=D3=D4=C5=CD=C5 =D0=CF=CC= =D8=DA=CF=D7=C1=D4=C5=CC=D1 =D3 =D4=C1=CB=C9=CD =C9=CD=C5=CE=C5=CD. > =D7 =CF=DA=CE=C1=DE=C5=CE=CE=CF=CD =C6=C1=CA=CC=C5 =D7 =D5=CB=C1=DA=C1=CE= =CE=CF=CA =D3=D4=D2=CF=CB=C5: > if ( !(pwd =3D getpwnam_alloc(pdb_get_username(sampass))) ) =20 > { =20 > DEBUG(1, ("User %s in passdb, but getpwnam()=20 > fails!\n", =20 > pdb_get_username(sampass))); >=20 > =F4.=C5. =D4=CF=D6=C5 =D3=D4=C1=CE=CF=D7=C9=D4=D3=D1 =D1=D3=CE=CF, =DE=D4= =CF pdb_get_username(sampass) - =C9=D3=D0=D2=C1=D7=CE=CF=20 > "=D7=D9=D4=D1=C7=C9=D7=C1=C5=D4" =C1=CB=CB=C1=D5=CE=D4 =C9=DA ldap (Admin= istrator), =CE=CF =D0=CF=DE=C5=CD=D5 =C4=C1=CC=D8=DB=C5 =CE=C5=20 > =CF=D4=D2=C1=C2=C1=D4=D9=D7=C1=C5=D4 getpwnam_alloc() ? =ED=CE=C5, =DE= =D4=CF-=CC=C9, =D7=CD=C5=D3=D4=CF root =D7 /etc/passwd=20 > =D0=D2=CF=D0=C9=D3=C1=D4=D8 Administrator? :-D =E2=D2=C5=C4. =FE=D4=CF-= =D4=CF =DE=C5=CD =C2=CF=CC=D8=DB=C5 =D1 =DE=C9=D4=C1=CC =C4=CF=CB=C9 =D0=CF= =20 =F2=C1=DA =D5 =F7=C1=D3 =D7=D3=C5 =C8=D2=C1=CE=C9=D4=D3=D1 =D7 LDAP, =D4=CF= =C9 =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=C9 =D7 =D3=C9=D3=D4=C5=CD=C5 =D4=CF= =D6=C5 =C4=CF=CC=D6=CE=D9 =C2=D9=D4=D8 =C9=DA LDAP (nss_ldap). --=20 / Alexander Bokovoy Samba Team http://www.samba.org/ ALT Linux Team http://www.altlinux.org/ Midgard Project Ry http://www.midgard-project.org/ --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCLLRcncWKdrYPwpkRAl2tAKCzC96DgEED5RaO74Okqts8UqyKBgCcDy/F kPfQMZKHF9VYC214djKON2M= =uxet -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--