[Samba] Using samba on two domains

Van Strydonck, Niki nvanstrydonck at hayes-lemmerz.com
Thu Dec 16 15:34:55 GMT 2004


Hello all,
We've been using samba version 3.0.4 on RH9 with success for quite a while now for shares on our domain (DOM1). Since this machine will have to be available in the near future in another domain (DOM2) as a webserver, and limited fileserver, another network interface has been added for the NIC. 
 
When browsing the shares from a WIN98SE computer in DOM2, we are able to see the computer, but when wanting to list the shares, we're prompted for a password. When entering the correct password, we still get "Invalid password". When doing the same on the same WIN98SE computer in DOM1, it is successful. The computer has DSClient for windows 98 installed.
 
The error logs for the connection from DOM2 gives the following:
smbd/service.c: make_connection(706)
  make_connection: refusing to connect with no session setup
 
We've tried the following to remedy the problem, without success:
- in smb.conf, add the parameter interfaces, listing the two valid ip-ranges and subnetmasks. 
- set the windows registry key to send plain text passwords
- set DOM2 as an accepted host
- tried both encrypt password = yes and no
- We even tried mapping bad password to log in as guest account
 
Alas, none of these seem to work. 

Has anyone had issues with this before? I'd appreciate some pointers.
Thanks in advance,
Niki Van Strydonck

Here's the smb.conf used

[global]
workgroup = DOM1
server string = server9
printcap name = /etc/printcap
load printers = yes
printing = cups
log file = /var/log/samba/%m.log
max log size = 0
pam password change = yes
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
username map = /etc/samba/smbusers
guest ok = yes
encrypt passwords = yes
dns proxy = no
[homes]
 comment = Home Directories
 browseable = no
 writeable = yes
 valid users = %S
 create mode = 0664
 directory mode = 0775
[printers]
 comment = All Printers
 path = /var/spool/samba
 browseable = no
 printable = yes
[test]
 comment = test
 path = /winshare/test
 writeable = yes
 


More information about the samba mailing list