[Samba] samba include files

2004-03-23 Thread Isabelle Heu
Hi,
I'd like to know in which order include files of the smb.conf are read.
In my smb.conf 
encryption passwd is no
whereas in my smb.conf.machine  
encryption passwd is yes.

I'm having trouble in inserting the machine in the domaine,
I've got the error user or passwd unknown
and i've got this king of message in the log
  error packet at smbd/reply.c(1003) cmd=115 (SMBsesssetupX) 
NT_STATUS_LOGON_FAILURE

I'd like to know if options that are present both in smb.conf and include 
files are read without conflict.

Thanks

-- 
Isabelle Heu
Institut de Sciences et Technologie
Univ. Paris 6
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] 2 domains on 1 samba server

2004-03-22 Thread Isabelle Heu
Hi,
I'd like my samba server to control 2 domains.
I've read there was 2 possibilities :
- using netbios name/alias  include files
- running 2 smbd

the 1st way :
my smb.conf goes like 
 netbios name = istpc91
netbios aliases = winserv
include = /etc/smb.conf.%L

and my smb.conf.istpc91
workgroup = IST

smb.conf.winserv
workgroup =TESTIST

with this solution i 2 servers istpc91 and winserv working for the same 
workgroup WORKGROUP.


the 2nd way:
i run smbd and nmbd with the 2 different configuration files

/usr/sbin/smbd -D -s /etc/samba/smb.conf.istpc91
/usr/sbin/nmbd -D -s /etc/samba/smb.conf.istpc91
 /usr/sbin/smbd -D -s /etc/samba/smb.conf.winserv
 /usr/sbin/nmbd -D -s /etc/samba/smb.conf.winserv

then it seems that only the first command line is taken.

So, have anyone succeed to do this?

thanx.

-- 
Isabelle Heu
Institut de Sciences et Technologie
Univ. Paris 6
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba