[Samba] Can't authenticate to mount mapped drives

Kenny Wang kennywan at usc.edu
Tue Apr 19 19:45:16 GMT 2005


Hi,

 

            Every time I try to access the mapped drive in Windows to the
Unix box, I get username/password prompt. No changes to the smb.config file
has been made, we only tried restarting the samba service. What am I doing
wrong? Attached is the smb.conf file and log files for nmdb and my pc log
file.

 

Smb.conf

# Global parameters

[global]

        coding system = 

        client code page = 850

        code page directory = /opt/sfw/lib/codepages

        workgroup = DENWEB

        netbios name = 

        netbios aliases = 

        netbios scope = 

        server string = BlackBoard Server

        interfaces = 

        bind interfaces only = No

        security = DOMAIN

        encrypt passwords = Yes

        update encrypted = No

        allow trusted domains = Yes

        hosts equiv = 

        min passwd length = 5

        map to guest = Never

        null passwords = No

        password server = pdc1 pdc2

        smb passwd file = /usr/local/samba/lib/smbpasswd

        root directory = 

        passwd program = /usr/bin/passwd %u

        passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*

        passwd chat debug = No

        username map = /usr/local/samba/users.map

        password level = 0

        username level = 0

        unix password sync = Yes

        restrict anonymous = No

        lanman auth = Yes

        use rhosts = No

        log level = 2

        syslog = 1

        syslog only = No

        log file = /usr/local/samba/var/log.%m

        max log size = 50

        timestamp logs = Yes

        debug hires timestamp = No

        debug pid = No

        debug uid = No

        protocol = NT1

        min protocol = CORE

        read bmpx = No

        read raw = Yes

        write raw = Yes

        nt smb support = Yes

        nt pipe support = Yes

        nt acl support = Yes

        announce version = 4.5

        announce as = NT

        max mux = 50

        max xmit = 65535

        name resolve order = lmhosts host wins bcast

        max packet = 65535

        max ttl = 259200

        max wins ttl = 518400

        min wins ttl = 21600

        time server = No

        change notify timeout = 60

        deadtime = 0

        getwd cache = Yes

        keepalive = 300

        lpq cache time = 10

        max smbd processes = 0

        max disk size = 0

        max open files = 10000

        read size = 16384

        socket options = TCP_NODELAY

        stat cache size = 50

        total print jobs = 0

        load printers = Yes

        printcap name = lpstat

        enumports command = 

        addprinter command = 

        deleteprinter command = 

        show add printer wizard = Yes

        os2 driver map = 

        strip dot = No

        character set = 

        mangled stack = 50

        stat cache = Yes

        domain groups = 

        domain admin group = 

        domain guest group = 

        domain admin users = 

        domain guest users = 

        machine password timeout = 604800

        add user script = /usr/sbin/useradd -s /bin/false %u

        delete user script = /usr/sbin/userdel %u

        logon script = 

        logon path = \\%N\%U\profile

        logon drive = 

        logon home = \\%N\%U

        domain logons = No

        os level = 20

        lm announce = Auto

        lm interval = 60

        preferred master = Auto

        local master = Yes

        domain master = Auto

        browse list = Yes

        dns proxy = No

        wins proxy = No

        wins server = 192.168.1.220

        wins support = No

        wins hook = 

        kernel oplocks = Yes

        oplock break wait time = 0

        add share command = 

        change share command = 

        delete share command = 

        config file = 

        preload = 

        lock dir = /opt/sfw/var/locks

        default service = 

        message command = 

        dfree command = 

        valid chars = 

        remote announce = 

        remote browse sync = 

        socket address = 0.0.0.0

        homedir map = 

        time offset = 0

        unix realname = Yes

        NIS homedir = No

        source environment = 

        panic action = 

        hide local users = No

        host msdfs = No

        winbind uid = 

        winbind gid = 

        template homedir = /home/%D/%U

        template shell = /bin/false

        winbind separator = \

        winbind cache time = 15

        comment = 

        path = 

        alternate permissions = No

        username = 

        guest account = nobody

        invalid users = 

        valid users = 

        admin users = 

        read list = 

        write list = 

        printer admin = 

        force user = 

        force group = 

        read only = Yes

        create mask = 0744

        force create mode = 00

        security mask = -1

        force security mode = -1

        directory mask = 0755

        force directory mode = 00

        directory security mask = -1

        force directory security mode = -1

        inherit permissions = No

        guest only = No

        guest ok = No

        only user = No

        hosts allow = 

        hosts deny = 

        status = Yes

        max connections = 0

        min print space = 0

        strict sync = No

        sync always = No

        write cache size = 0

        max print jobs = 1000

        printable = No

        postscript = No

        printing = sysv

        print command = lp -c -d%p %s; rm %s

        lpq command = lpstat -o%p

        lprm command = cancel %p-%j

        lppause command = lp -i %p-%j -H hold

        lpresume command = lp -i %p-%j -H resume

        queuepause command = disable %p

        queueresume command = enable %p

        printer name = 

        printer driver = 

        printer driver file = /opt/sfw/lib/printers.def

        printer driver location = 

        default case = lower

        case sensitive = No

        preserve case = Yes

        short preserve case = Yes

        mangle case = No

        mangling char = ~

        hide dot files = Yes

        delete veto files = No

        veto files = 

        hide files = 

        veto oplock files = 

        map system = No

        map hidden = No

        map archive = Yes

        mangled names = Yes

        mangled map = 

        browseable = Yes

        blocking locks = Yes

        fake oplocks = No

        locking = Yes

        oplocks = Yes

        level2 oplocks = Yes

        oplock contention limit = 2

        posix locking = Yes

        strict locking = No

        share modes = Yes

        copy = 

        include = /usr/local/samba/lib/smb.conf.bb61

        exec = 

        preexec close = No

        postexec = 

        root preexec = 

        root preexec close = No

        root postexec = 

        available = Yes

        volume = 

        fstype = NTFS

        set directory = No

        wide links = Yes

        follow symlinks = Yes

        dont descend = 

        magic script = 

        magic output = 

        delete readonly = No

        dos filemode = No

        dos filetimes = No

        dos filetime resolution = No

        fake directory create times = No

        vfs object = 

        vfs options = 

        msdfs root = No

 

[homes]

        comment = Home Directories

        valid users = %S

        read only = No

        browseable = No

 

[coursecontent]

        path = /export/home/bb6/blackboard/docs/coursecontent/

        valid users = scottci kennyw helpdesk camop kevin madani adnan
administrator

        force user = bbuser

        read only = No

        guest ok = Yes

 

nmdb.conf

[2005/04/19 12:00:17, 0] nmbd/nmbd_responserecordsdb.c:(235)

  find_response_record: response packet id 23099 received with no matching
recor

d.

[2005/04/19 12:00:17, 0] nmbd/nmbd_responserecordsdb.c:(235)

  find_response_record: response packet id 23100 received with no matching
recor

d.

[2005/04/19 12:00:17, 0] nmbd/nmbd_responserecordsdb.c:(235)

  find_response_record: response packet id 23103 received with no matching
recor

d.

[2005/04/19 12:00:17, 0] nmbd/nmbd_responserecordsdb.c:(235)

  find_response_record: response packet id 23104 received with no matching
recor

d.

[2005/04/19 12:00:17, 0] nmbd/nmbd_responserecordsdb.c:(235)

  find_response_record: response packet id 23105 received with no matching
recor

d.

[2005/04/19 12:05:36, 0] nmbd/nmbd_become_lmb.c:(404)

  *****

  

  Samba name server BB6 is now a local master browser for workgroup DENWEB
on su

bnet 206.117.25.32

  

  *****

[2005/04/19 12:05:36, 0] nmbd/nmbd_become_lmb.c:(404)

  *****

  

  Samba name server BB6 is now a local master browser for workgroup DENWEB
on su

bnet 192.168.2.4

  

  *****

[2005/04/19 12:05:36, 0] nmbd/nmbd_responserecordsdb.c:(235)

  find_response_record: response packet id 23139 received with no matching
recor

d.

 

PC

[2005/04/19 11:07:36, 0] smbd/password.c:(1558)

  domain_client_validate: could not fetch trust account password for domain
DENW

EB

[2005/04/19 11:07:36, 0] passdb/pdb_smbpasswd.c:(1369)

  unable to open passdb database.

[2005/04/19 11:07:36, 0] passdb/pdb_smbpasswd.c:(1369)

  unable to open passdb database.

[2005/04/19 11:44:17, 0] tdb/tdbutil.c:(531)

  tdb(/usr/local/samba/private/secrets.tdb): tdb_lock failed on list 85
ltype=2 

(Interrupted system call)

[2005/04/19 11:44:59, 0] smbd/password.c:(1283)

  connect_to_domain_password_server: unable to connect to SMB server on
machine 

PDC2. Error was : SUCCESS - 0.

[2005/04/19 11:44:59, 0] smbd/password.c:(1601)

  domain_client_validate: Domain password server not available.

[2005/04/19 11:44:59, 0] passdb/pdb_smbpasswd.c:(1369)

  unable to open passdb database.

[2005/04/19 11:44:59, 0] passdb/pdb_smbpasswd.c:(1369)

  unable to open passdb database.

[2005/04/19 11:44:59, 0] lib/util_sock.c:(436)

  read_data: read failure for 4. Error = Connection reset by peer

 



More information about the samba mailing list