[Samba] 3.0.1pre3 -> 3.0.1rc1: doesn't want to connect to itself

Karel Kulhavý clock at twibright.com
Fri Dec 5 13:42:46 GMT 2003


Hello

With smb.conf below, samba 3.0.1pre3 is capable of connecting to itself
by smbclient -L oberon <empty_password>. Also domain logons work.

With 3.0.1rc1 it just writes

bash-2.05b# smbclient -L oberon
Password:<empty>
tree connect failed: Call returned zero bytes (EOF)
bash-2.05b# smbclient --version
Version 3.0.1rc1
bash-2.05b# smbd --version
Version 3.0.1rc1
bash-2.05b# which smbclient
/usr/local/samba/bin/smbclient
bash-2.05b# which smbd
/usr/local/samba/sbin/smbd
bash-2.05b# ps ax | grep mbd
23062 ?        S      0:00 /usr/local/samba/sbin/smbd
23064 ?        S      0:00 /usr/local/samba/sbin/nmbd
bash-2.05b# testparm
Load smb config files from /usr/local/samba/lib/smb.conf
Processing section "[netlogon]"
Processing section "[homes]"
Processing section "[admin]"
Processing section "[root]"
Processing section "[linux]"
Processing section "[profiles]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions
^C
bash-2.05b# cat /proc/version
Linux version 2.4.22-2.4.22 (root at oberon) (gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)) #7 SMP Tue Dec 2 08:58:49 MET 2003


Please tell me what kind of diagnostics should I provide to be helpful.

Cl<

# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2003/11/19 15:51:41

# Global parameters
[global]
        security = user
        wins support = no
        workgroup = KEVF_D4
        encrypt passwords = yes
        domain logons = yes
        null passwords = yes
        interfaces = eth0
        preferred master = Yes
        domain master = Yes
        debuglevel = 3
        ldap ssl = no
        hosts allow = 195.113.28.0/255.255.0.0
        admin users = admin,prech,root
#       hide local users = yes
        name resolve order=lmhosts,bcast

        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

        unix password sync = yes
        passwd program = /bin/passwd
        passwd chat = *ew*password* %n\n *new*password* %n\n
        add user to group script = /usr/local/samba/bin/myaddusertogroup "%u" "%
g"
        add user script = /usr/sbin/useradd -c 'Samba User' -d /dev/null -g smbu
sers -s /bin/false %u
        add machine script = /usr/sbin/useradd -c 'Machine' -d /dev/null -g mach
ines -s /bin/false %u
        add group script = /usr/local/samba/bin/mygroupadd "%g"
        delete group script = /usr/local/samba/bin/mygroupdel "%g"
        map to guest = Bad User
        passdb backend = tdbsam

        logon drive = h:
        logon home = \{}\{}oberon\{}%U
        logon path = \{}\{}oberon\}{profiles\{}%U

[netlogon]
        path=/usr/local/samba/netlogon
        read only = yes
        guest ok = yes
        browseable = yes
        write list = admin prech root
        locking = no
        public = no

[homes]
        comment = Home Directories
        browseable = no
        writable = yes

[admin]
        comment = Admin Home
        writable = yes
        path = /home/admin

[root]
        comment = Root Home
        writable = yes
        path = /home/admin

[linux]
        comment = Linux Kernel Sources
        path = /usr/src/linux

[profiles]
        create mode = 0600
        csc policy = disable
        directory mode = 0700
        comment = Profiles
        path = /usr/local/samba/profiles/
        profile acls = yes
        read only = no



More information about the samba mailing list