Hi list!
I`m using FreeBSD 9.2 system and Samba version 3.6.22.
Everything working good, all windows clients (XP 64) have a connection to common
resource. But i receiving lot of alerts in the message logs
-----------------------
smbd[10892]: [2014/01/31 15:30:55.159674,  0]
smbd/service.c:995(make_connection_snum)
smbd[10892]:   Can't become connected user!
----------------------
All my actions ware useless......
-------------------------------------------------------------------------------------------------
[global]
        workgroup = smbdomain
        netbios name = router
        security = user
        valid users = User1, User2 ......
        invalid users = root
        allow trusted domains = yes
        oplocks = yes
        read raw = yes
        min receivefile size = 16384
        use sendfile = true
        bind interfaces only = yes
        interfaces = 192.168.0.8/28
        smb ports = 445 139
        wins support = no
        socket address = 192.168.0.8
        lm announce = no
        encrypt passwords = Yes
        passwd program = /usr/bin/passwd %u
        hosts allow = 192.168.0. 127.
        hosts deny = ALL
        guest ok=no
        log file = /var/log/samba/log.%m
        max log size = 50
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536
SO_SNDBUF=65536
        getwd cache = yes
        wide links = no
        write cache size = 0
        aio read size = 16384
        aio write size = 16384
        aio write behind = true
        dns proxy = no
         local master = no
        username map = /usr/local/etc/samba/users
[public]
   comment = Public
   path = /smb/share
   read only = no
   browseable = yes
---------------------------------------------------------------------------------------------------------
But this comand performs without some alerts:
smbclient //host/public  -UUser1%U************
Domain=[DOMAIN] OS=[Unix] Server=[Samba 3.6.22]
smb: \>
I think, that`s a Windows trouble. But how to solve the problem? ...... just to
switch off logging to messages?
The recipe with a Windows regedit was testing..... is fruitless
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters
DNSNameResolutionRequired=0
DomainCompatibilityMode=1
Somebody knows something about? Thanks to all!!!!
On Fri, 2014-01-31 at 14:57 +0000, Oleg Ruso wrote:> Hi list! > I`m using FreeBSD 9.2 system and Samba version 3.6.22. > Everything working good, all windows clients (XP 64) have a connection > to common resource. But i receiving lot of alerts in the message logs > ----------------------- > smbd[10892]: [2014/01/31 15:30:55.159674, 0] > smbd/service.c:995(make_connection_snum) > smbd[10892]: Can't become connected user! > ---------------------- > All my actions ware useless......This is very, very odd, but perhaps related to interactions between your valid users and username map? Have you tried without either of these set? Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba