Questions about samba should really be directed at the samba mailing
list.  However...

[EMAIL PROTECTED] wrote:

> Check /etc/smbpasswd and /etc/smbusers

Warning: smbpasswd MUST be owner root.root and chmod 600

> Thanks,Firstly.
> Now my Samba works well now.But I still have some questions:
> does it can works like a NT domain control?
> I give  my linux user account and password in  window95 network login ,
> in the 'neighborhood ',I can see the samba  server,but to enter it need a
> password,
> any linux user password is not ok.what's the reason?

You need to tell the samba daemon where to find the NT password
authentication server.

> Tony Nugent wrote:

> > Read "man smb.conf" for all the configuration details.

[EMAIL PROTECTED] (Y2K) wrote:

> I also have the same prob. and there is no /etc/smbpasswd and /etc/smbusers
> file
> I have to create this manully or there is some other way to do it.

You need to specify a password server in /etc/smb.conf something like
this [modify this as appropriate]:

security = server
password server = localntwinserver
networkstation user login = no
unix password sync = no
update encrypted = yes
encrypt passwords = yes
remote announce = 111.222.333.444/WORKGROUP

Here, "localntwinserver" is the netbios name of the NT box that is
acting as the password server for the rest of the NT network, and the
remote IP address is usually that of the same nt wins server.

Then you can have this sort of magic later in the smb.conf file...

[homes]
comment = User Home Directories
browseable = no
read only = no
preserve case = yes
short preserve case = yes
create mode = 0644

What will now happen is that anyone with a local account (even a
"NOLOGIN" account - all that is required is a user entry in /etc
passwd), and when that person attempts to access the samba host from
"netwok neighbourhood", along with all the public shares a home
directory folder will automagically appear for that particular user,
with all the password authentication automatically done by the samba
server and the password server.

It is also easy to make the samba server the WINS password server.

And there exists a PAM module that will allow users to telnet into a
linux box using their NT network password (which is also handy).

We have a web server here running linux/samba, with most users
accessing shares like this.  Very nice, works well.

Cheers
Tony
 -=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
  Tony Nugent <[EMAIL PROTECTED]>           <[EMAIL PROTECTED]>
  Computer Systems Officer                       Faculty of Science
  University of Southern Queensland, Toowoomba Oueensland Australia
 -=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to