[Samba] Samba authentication problem
monyo at monyo.com
Fri Mar 25 06:31:56 MDT 2011
From: Xamindar <junkxamindar at gmail.com>
Date: Thu, 24 Mar 2011 16:47:16 -0700
> > Sounds like a bug in your version of the cifsfs kernel
> > module. With security=share try connecting with the
> > same password using smbclient. If it correctly connects
> > then it's cifsfs screwing up somehow.
> > Jeremy.
> It still rejects it with this messege:
> # smbclient //172.16.0.7/backup -U xamindar
> Enter xamindar's password:
> Domain=[RADNIMAX] OS=[Unix] Server=[Samba 3.5.8]
> Server not using user level security and no password supplied.
> Server requested LANMAN password (share-level security) but 'client
> lanman auth' is disabled
> tree connect failed: NT_STATUS_ACCESS_DENIED
> I did type the password even though it is saying no password is
> supplied. I tried enabling 'client lanman auth' and restarting the
> server but I still get the same message when trying to connect.
As far as I examined with smbclient of Samba 3.5.8, the same issue
occurs but mount.cifs works well.
security = share
path = /tmp
# /usr/local/samba/sbin/mount.cifs //192.168.135.128/tmp /smb1 -o user=monyo%password
# df -k | grep /smb1
7850996 2059428 5392756 28% /smb1
# /usr/local/samba/bin/smbclient //192.168.135.128/tmp -o monyo%password
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.8]
Server not using user level security and no password supplied.
Server requested LANMAN password (share-level security) but 'client
lanman auth' is disabled
TAKAHASHI Motonobu <monyo at samba.gr.jp>
More information about the samba