Hi list,

I am chasing a samba problem, I kind'a know what it is but cannot fix it...

SRV = UBUNTU server 8.04
samba 3.0.28
(The latest stuff)

[EMAIL PROTECTED]:/var/log/samba# smbclient -U aht //server/allusers
Password:
Domain=[SRV.INT] OS=[Unix] Server=[Samba 3.0.28a]
tree connect failed: NT_STATUS_ACCESS_DENIED

[EMAIL PROTECTED]:/var/log/samba# wbinfo -a [EMAIL PROTECTED]
plaintext password authentication failed
error code was NT_STATUS_NO_SUCH_USER (0xc0000064)
error messsage was: No such user
Could not authenticate user [EMAIL PROTECTED] with plaintext password
challenge/response password authentication failed
error code was NT_STATUS_INVALID_HANDLE (0xc0000008)
error messsage was: Invalid handle
Could not authenticate user [EMAIL PROTECTED] with challenge/response

I did do a regular useradd ...
I DID do smbpasswd -a aht and gave it a passwd *******

Config snippet
[global]
workgroup = srv.int
netbios name = server
server string = %h
passdb backend = tdbsam
security = user
username map = /etc/samba/smbusers
name resolve order = wins bcast hosts
domain logons = yes
preferred master = yes
wins support = yes

# Default logon
logon drive = H:
logon script = scripts/logon.bat
logon path =

# Useradd scripts
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 /var/lib/nobody %u
idmap uid = 1000-2000
idmap gid = 1000-2000

# sync smb passwd with linux passwd
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
passwd chat debug = yes
unix password sync = yes

log level = 3



So it has to do with the way how sambe tries to validate the user.
Either it is not looking in the right place
or it using plaintext rather than an encrypted way...

Not sure how to 'fix' this.

Same config is working fine on a UBUNTU 6.10...


Suggestions welcome


Peter




_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to