I'm running an OpenSuSE 11.3 box with samba v3.5.4. I've set up my
smb.conf as follows:
[global] netbios aliases = jean-pc2 storage include = /etc/samba/smb.conf.%L
Then I have two other config files,
[global] workgroup = WORKGROUP security = SHARE guest account = smbguest socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192 [production] path = /data/shared/jean-pc browseable = yes read only = no guest ok = yes [remmert] path = /data/shared/jean-pc/remmert browseable = yes read only = no guest ok = yes
[global] socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192 security = share guest account = smbguest workgroup = WORKGROUP [Data] path = /data/shared browseable = yes read only = no guest ok = yes [websites] comment = Apache published directory path = /srv/www/htdocs read only = No browseable = yes guest ok = yes
The problem I'm having is that only the
storage file is being used. Both aliases appear in the computers list in windows, but when I open
jean-pc, it has the
websites shares, instead of the expected
Regardless of the order in which I list the aliases, only the shares from the
storage configuration are being used.
Why is Samba behaving like this?