I successfully installed opensolaris 2009.06 and installed and enabled the 
kernel cifs server. I added the line onto /etc/pam.conf to have the passwd 
command also change the smb passwords. I have configured and enabled various 
zfs trees to be shared out in workgroup mode, to 6 user ids. The problem is, 
that only 5 of them work. They were all setup the same way, but one particular 
user, neil, always has a password error, the others work perfectly. The error 
shows like this (vault is my opensolaris server):

[ngorsuch at cabinet ~]$ smbclient -U neil -I 192.168.1.7 //vault/media
Enter neil's password: 
session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a 
Tree Connect or Session Setup are invalid.)

I have removed and re-added the user neil, I have changed neil's password, and 
even watched the /var/smb/smbpasswd being changed when I execute the "passwd 
neil" command. The other user ids work perfectly, I have tried changing their 
passwords, they continue to work with the new passwords.

Any ideas?

The only thing that looks fishy to me is that the numeric ids don't seem to 
match up between the /etc/passwd and /var/smb/smbpasswd files, but I have no 
experience with opensolaris so I don't know if that's significant. Here are 
some files:

root at vault:~# egrep '(ngorsuch|neil|joan|adam|alex)' /etc/passwd /etc/group 
/var/smb/smbpasswd 
/etc/passwd:ngorsuch:x:101:10:Neil Gorsuch:/export/home/ngorsuch:/bin/bash
/etc/passwd:ngorsuch2:x:102:10:Neil Gorsuch:/export/home/ngorsuch2:/bin/bash
/etc/passwd:joan:x:502:502:Joan Gorsuch:/export/home/joan:/bin/false
/etc/passwd:adam:x:503:503:Adam Gorsuch:/export/home/adam:/bin/false
/etc/passwd:alex:x:504:504:Alexander Gorsuch:/export/home/alex:/usr/bin/false
/etc/passwd:neil:x:501:501:Neil Gorsuch:/export/home/neil:/bin/false
/etc/group:users::500:ngorsuch,ngorsuch2,joan,adam,alex,neil
/etc/group:media::600:ngorsuch,ngorsuch2,joan,adam,alex,neil
/etc/group:joan::502:
/etc/group:adam::503:
/etc/group:alex::504:
/etc/group:neil::501:
/var/smb/smbpasswd:adam:503::
/var/smb/smbpasswd:alex:502::
/var/smb/smbpasswd:joan:501::
/var/smb/smbpasswd:ngorsuch:101::
/var/smb/smbpasswd:neil:500::
/var/smb/smbpasswd:ngorsuch2:102::
root at vault:~#
-- 
This message posted from opensolaris.org

Reply via email to