dgaither
04-10-2003, 07:58 PM
I have been struggling for several days to give access to users in a Windows2000 domain to files on a new Linux server. I tried using the sample smb.conf file that came with the distribution (Debian 3.0), I tried an example of a "bare bones" smb.conf from an article on the linuxhelpnetwork, and I'm currently using one based on a sample from the book Running Linux. My current smb.conf looks like this:
[global]
workgroup = AUTOCHLOR (this matches the Win2000 domain)
server string = LinuxBlue
security = USER (have also tried with SHARE)
encrypt passwords = Yes (have also tried with No)
smb passwd file = /etc/samba/smbpasswd
name resolve order = hostbcast
local master = NO
lock dir = /tmp/samba
guest account = /guest
[homes]
comment = Home Directory
browseable = yes
read only = no
create mode = 0750
[share]
comment = /share
browseable = yes
read only = no
create mode = 0750
directory = /share
I can see LinuxBlue from any of the Windows desktops or servers in the domain, but when I try to connect to it, I get prompted for a password (no userid) for the resource \\LinuxBlue\IPC$. No password that has been defined on the linux server works (including the root password). I even tried creating user ids on the Linux server that were identical with the Windows userids, with identical passwords.
What is the IPC$ resource?
Do I have to configure something to give access to it to the windows users?
If I can't pass a userid in the connection dialog, what userid does Samba use to look up a password?
Do I have to use encrypted passwords with Windows2000 or is there a way to configure it to use plain text passwords?
There is a good article on this website explaining how to make Windows clients work with a Linux server, but its first suggestion is to turn off the Log on to an NT domain option on the client. Since I'm trying to integrate this server with my Win2000 domain, that didn't do me much good.
Any suggestions about what to try next would be greatly appreciated.
[global]
workgroup = AUTOCHLOR (this matches the Win2000 domain)
server string = LinuxBlue
security = USER (have also tried with SHARE)
encrypt passwords = Yes (have also tried with No)
smb passwd file = /etc/samba/smbpasswd
name resolve order = hostbcast
local master = NO
lock dir = /tmp/samba
guest account = /guest
[homes]
comment = Home Directory
browseable = yes
read only = no
create mode = 0750
[share]
comment = /share
browseable = yes
read only = no
create mode = 0750
directory = /share
I can see LinuxBlue from any of the Windows desktops or servers in the domain, but when I try to connect to it, I get prompted for a password (no userid) for the resource \\LinuxBlue\IPC$. No password that has been defined on the linux server works (including the root password). I even tried creating user ids on the Linux server that were identical with the Windows userids, with identical passwords.
What is the IPC$ resource?
Do I have to configure something to give access to it to the windows users?
If I can't pass a userid in the connection dialog, what userid does Samba use to look up a password?
Do I have to use encrypted passwords with Windows2000 or is there a way to configure it to use plain text passwords?
There is a good article on this website explaining how to make Windows clients work with a Linux server, but its first suggestion is to turn off the Log on to an NT domain option on the client. Since I'm trying to integrate this server with my Win2000 domain, that didn't do me much good.
Any suggestions about what to try next would be greatly appreciated.