Michael Wood wrote:
2009/9/3 azzouz <[email protected]>:
[...]
There is a probleme !
in the /etc/init.d/smb file there is a test:
# See if the daemons are there
test -x /usr/sbin/nmbd -a -x /usr/sbin/smbd || exit 0
This means:
Test to see if /usr/sbin/nmbd is executable and /usr/sbin/smbd is
executable. If not, then exit 0.
i.e. it just tests to see if the nmbd and smbd daemons are both executable.
This line does not actually run nmbd or smbd.
have i to comment this line. If so it could cause conflict. can't it ?
No, leave that as it was.
i write instead :
test -x `/usr/sbin/nmbd -D -s $CONFIG_FILE` -a -x `/usr/sbin/smbd -D -s
$CONFIG_FILE` || exit 0
This will run nmbd and will probably complain about "test: too many
arguments" (same for smbd) because you're supposed to call "test -x"
with a filename, and not with the string "smbd version ... Copyright
in fact it work fine. No complain from smbd
Andrew Tridgell..." etc.
in summary:
i create tow file in /etc/init.d: samb.domain1 and samba.domain2
OK
when il execute the first one i get tow smbd instance a one of nmbd (i don't
use yet wins). It 's normal.
But when execute the second one i get only one instance of nmbd. And vise
versa.
I think that the amount og instance of smbd is limited. Where could
configure the amount of instance
I don't know about this. Did you specify in each config file that
each smbd must listen on its own interface only?
Yes. And what resolve is that specify also the option "bind interfaces
only = yes" and now it work very well.
An other question : i use ldap for the account. What about you ?
could i configure tow domain in ldap with different SID ?
I have not yet used LDAP with Samba.
thanks to you
Y.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba