From: Fernando Torrez on

Hi Everybody

I installed a Samba 3.4.5-3.1 PDC with openldap2-2.4.12-5.3, samba-winbind-3.4.5-3.1, bind-9.5.0P2-18.1 and dhcp-3.1.1-6.3 on a opensuse 11.1 based on Samba3-ByExample.pdf book.
I manage a network that has around 60 windows client computers (from windows 2000 to win 7) and quite of them are windows notebooks with 2 NIC's (wireless and cable)
and I was assigning two diferent addresses for each NIC( let's say for wireless: 192.168.10.10 and for LAN cable:192.168.10.20) through DHCP service.

Problems come when someone that always works well with wireless NIC uses the cable NIC (because poor or no wireless sign) and get back to the wireless NIC ;so change the notebook ip address from 192.168.10.10 to 192.168.10.20 and back to 192.168.10.10

I can't access the notebook shared dirs anymore from other windows clients. When trying to access through \\notebook\shared_dir, the windows client get a error like: 'network path not found'. If I do pings to the notebook from other windows cmd: 'c:> ping notebook' it says 'ping to 192.168.10.20 ... request time out' because the notebook real address is: 192.168.0.10 and not the last taken:192.168.0.20. If I do pings or access the share through its real IP address, it works perfectly.

This happens only on windows clients, from linux PDC console either doing pings or connecting to the notebook shares using the computer name works fine anytime.

I don't know why windows clients can't update the other windows ip addresses .

Is there something that a missed on the configuration?
any thoughts?

Here is my smb.conf:

[global]
unix charset = iso-8859-15
dos charset = 850
workgroup = BAGOLIN
server string = bago
interfaces = eth1, lo
bind interfaces only = Yes
passdb backend = ldapsam:ldap://bago.bagolin.tld
username map = /etc/samba/smbusers
syslog = 0
log file = /var/log/samba/%m
max log size = 50
smb ports = 139
name resolve order = wins bcast hosts
time server = Yes
printcap name = CUPS
socket options = IPTOS_LOWDELAY TCP_NODELAY
show add printer wizard = No
add user script = /usr/sbin/smbldap-useradd -m "%u"
delete user script = /usr/sbin/smbldap-userdel "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
delete group script = /usr/sbin/smbldap-groupdel "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
add machine script = /usr/sbin/smbldap-useradd -w "%u"
logon script = logon.bat
logon home =
logon path =
logon drive = H:
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
wins support = Yes
ldap admin dn = cn=Manager,dc=bagolin,dc=tld
ldap delete dn = Yes
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Computers
ldap suffix = dc=bagolin,dc=tld
ldap ssl = no
ldap user suffix = ou=Users
idmap backend = ldap:ldap://bago.bagolin.tld
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind enum users = Yes
winbind enum groups = Yes
map acl inherit = Yes



_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba