[Samba] no SERVER entry in smbclient output

robert rottermann robert at redcor.ch
Sun Mar 29 22:47:24 GMT 2009


hi there,
I try to work trough the examples book on samba.org.


now I have a problem.
smbclient -L localhost -U%

generates the following output:
root at server:~# smbclient -L localhost -U%

        Sharename       Type      Comment
        ---------       ----      -------
        IPC$            IPC       IPC Service (Samba 3.2.3)
        apps            Disk      Application Files
        pidata          Disk      Property Insurance Files
        service         Disk      Financial Services Files
        accounts        Disk      Accounting Files
        profiles        Disk      Profile Share
        netlogon        Disk      Network Logon Service

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
        WORKGROUP            SERVER
as you can see, there is no entry under server.

why?

I would not mind, but I can not login:
root at server:~# smbclient //diamond/accounts -U robert
Enter robert's password:
session setup failed: NT_STATUS_LOGON_FAILURE


my smb.conf file follows

thanks for any pointer
robert

[global]
    workgroup = PROMISES
    netbios name = DIAMOND
    interfaces = eth1, lo
    bind interfaces only = Yes
    passdb backend = tdbsam
    pam password change = Yes
    passwd program = /usr/bin/passwd %u
    passwd chat = *New*Password* %n\n *Re-enter*new*password*%n\n *Password*changed*
    username map = /etc/samba/smbusers
    unix password sync = Yes
    log level = 1
    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
    show add printer wizard = No
    add user script = /usr/sbin/useradd -m '%u'
    delete user script = /usr/sbin/userdel -r '%u'
    add group script = /usr/sbin/groupadd '%g'
    delete group script = /usr/sbin/groupdel '%g'
    add user to group script = /usr/sbin/usermod -G '%g' '%u'
    add machine script = /usr/sbin/useradd -s /bin/false -d /tmp '%u'
    shutdown script = /var/lib/samba/scripts/shutdown.sh
    abort shutdown script = /sbin/shutdown -c
    logon script = scripts\logon.bat
    logon path = \\%L\profiles\%U
    logon drive = X:
    logon home = \\%L\%U
    domain logons = Yes
    preferred master = Yes
    wins support = Yes
    utmp = Yes
    map acl inherit = Yes
    printing = cups
    cups options = Raw
    veto files = /*.eml/*.nws/*.{*}/
    veto oplock files = /*.doc/*.xls/*.mdb/

[homes]
    comment = Home Directories
    valid users = %S
    read only = No
    browseable = No
[printers]
    comment = SMB Print Spool
    path = /var/spool/samba
    guest ok = Yes
    printable = Yes
    use client driver = Yes
    default devmode = Yes
    browseable = No
[netlogon]
    comment = Network Logon Service
    path = /var/lib/samba/netlogon
    guest ok = Yes
    locking = No
[profiles]
    comment = Profile Share
    path = /var/lib/samba/profiles
    read only = No
    profile acls = Yes
[accounts]
    comment = Accounting Files
    path = /data/accounts
    read only = No

[service]
    comment = Financial Services Files
    path = /data/service
    read only = No
[pidata]
    comment = Property Insurance Files
    path = /data/pidata
    read only = No
[apps]
    comment = Application Files
    path = /apps
    read only = Yes
    admin users = bjordan



More information about the samba mailing list