Date: Fri, 02 Mar 2001 14:55:47 +0100 From: Christoph Sold <so@server.i-clue.de> To: igorr@crosswinds.net Cc: Christoph Sold <so@i-clue.de>, questions@freebsd.org Subject: Re: Samba and NIS Message-ID: <3A9FA662.FF3761A8@i-clue.de> References: <20010302094032.A5369@linux.rainbow> <3A9FA0DF.AD106559@i-clue.de> <20010302164117.A8178@linux.rainbow>
next in thread | previous in thread | raw e-mail | index | archive | help
Igor Robul schrieb: > > On Fri, Mar 02, 2001 at 02:32:15PM +0100, Christoph Sold wrote: > > > > > > Igor Robul schrieb: > > > > > > Hello, > > > > > > Had anybody tried use Samba with NIS authentification on FreeBSD? > > > > Although I use both NIS client and Samba server on the same machine, I > > still have my Samba clients to authenticate against a NT 4 domain. > > > > AFAIR, Samba uses its own passwd file, so you have to define either > > another NIS map manually, or just NFS-mount the directory containing the > > smbpasswd file. > I just wish to tell Samba use Unix password, so I don't need maintain > two password bases. Also, I don't have NT servers on network. > I know that Samba can be authentificated against NIS+ or LDAP. > From man smb.conf: NOTE ABOUT USERNAME/PASSWORD VALIDATION There are a number of ways in which a user can connect to a service. The server follows the following steps in determining if it will allow a connection to a specified service. If all the steps fail then the connection request is rejected. If one of the steps pass then the following steps are not checked. If the service is marked "guest only = yes" then steps 1 to 5 are skipped. 1. Step 1: If the client has passed a username/pass- # word pair and that username/password pair is vali- # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # dated by the UNIX system's password programs then # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ the connection is made as that username. Note that this includes the \\server\service%username method of passing a username. Note the sentence above. This means, if _any_ password mechanism can validate the username/passwd pair, the user will be able to access. Just add a user account to your unix box. HTH -Christoph Sold To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A9FA662.FF3761A8>