1839522 Members
2793 Online
110146 Solutions
New Discussion

Re: login issue

 
navin
Super Advisor

login issue

Hi,
I have a unix account ,i'm trying to connect ufs shared drive(using samba) from my NT machine ,i'm getting error as "could not log you in.account may be locked".Any clues?
Thanks
Learning ...
5 REPLIES 5
Uday_S_Ankolekar
Honored Contributor

Re: login issue

Try enabling account on Unix box by

/usr/lbin/modoprpw -k loginname

-USA..
Good Luck..
Darren Prior
Honored Contributor

Re: login issue

Hi,

I'm not sure if I understand which way round you are sharing the drive. If you're sharing out from the HP box, and mapping on the NT box then you'll need to ensure the unix account exists and is unlocked. Does this problem only occur for one user, or can you authenticate for another user.

Please consider assigning points to those that have helped you, it takes time & effort for people to write answers and assigning points is an easy & really cheap way to reward them - it also helps show which answers have proved useful.

regards,

Darren
Calm down. It's only ones and zeros...
Geoff Wild
Honored Contributor

Re: login issue

Can you also post your smb.conf file as well as the samba log file on the HP-UX box (/var/opt/samba/ntmachine.log) where ntmachine is the name of the Windows box you are connecting from....

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Tom Danzig
Honored Contributor

Re: login issue

In addition to insuring that the UNIX account exists, you need to also create a Samba password which is what Samba uses for authentication (and what the user types in the password field when connecting). You can also use Windows based domain authentication which is more complex.

Do a "man smbpasswd"

Ross Zubritski
Trusted Contributor

Re: login issue

Also.

Make sure in the smb.conf file that encrypt passwords = yes

Regards,

RZ