[Samba] LDAP auth without unix account

Gerald (Jerry) Carter jerry at samba.org
Wed Aug 27 21:12:10 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 27 Aug 2003, David Bronson wrote:

> Hi all,
> 
> I am using Samba 3.0.beta2 and have successfully set up LDAP auth on the
> PDC. Thanks for a really great tool.
> 
> I would like to enable samba logins without users actually having a
> unix account on the machine. Home directories are mapped to another
> samba box with policies. I have enabled nss_ldap, but users without a 
> unix account get nt_status_logon_failure. When I add the unixaccout and
> delete the ldap entry an recreate the user in ldap, the login works. Do 
> I need to add the posixaccount attribute to make this work? I have googled 
> but found no help so far, if there is a link I overlooked, I would appreciate a

getpwnam() must succeed.  You can use nss_ldap or nss_winbind.




cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE/TR6qIR7qMdg1EfYRAjStAKDOWjiUT+y6eljCSM10ENHDAxoMagCfdPtL
8AlMQlLKDIyXfblYuK2CeDg=
=9C+X
-----END PGP SIGNATURE-----




More information about the samba mailing list