1830171 Members
4735 Online
109999 Solutions
New Discussion

Samba Problem

 
Mike Burk
Advisor

Samba Problem

I have installed CIFS/9000 (Samba) on my HP-UX 11.0 server. My server is a Trusted System. User level security is set. When a user tries to connect to a share they get "Access Denied" How does Samba work with Trusted Systems?
7 REPLIES 7

Re: Samba Problem

Is the smb.conf parameter 'encrypt passwords' set to yes or no?

Uday_S_Ankolekar
Honored Contributor

Re: Samba Problem

Hello,

What kind of security you have used while setting up (smb_setup)
I've configured cifs for trusted env. and work perfwctly fine. I've used user level security.

Try using same password for unix and windows /netware..

-USA..


Good Luck..
Mike Burk
Advisor

Re: Samba Problem

encrypt_password = no
benoit Bruckert
Honored Contributor

Re: Samba Problem

I'm not sure about CIFS (I'm just using it as client) but for samba that i download from samba.org,
the question depend of your clients,
if your clients are windows 95 or later, they use encrypted password.
In this case you have to manage a smbpassword file, and link smb users with samba users.
Une application mal pansée aboutit à une usine à gaze (GHG)
Sandra Skinner
Occasional Advisor

Re: Samba Problem

Mike,
Since you are using user level security with the encrypt passwords = no, you would need to change registry entries on your clients to have this work correctly. A solution would be to change the encrypt passwords = yes in your smb.conf file and then create the smbpasswd file entry to add the unix users and their passwords. The command for this would be
smbpasswd -a unixusername unixuserpassword

Hope this helps.
Ceesjan van Hattum
Esteemed Contributor

Re: Samba Problem

Access can also be denied by incorrect (or incomplete) setting of "hosts allow" in the smb.conf
... maybe?

Success,
Ceesjan
Mark Vollmers
Esteemed Contributor

Re: Samba Problem

Mike-

One other thing. if the unix name and windows name is different, you can set up an alias file to link the two. create the file and specify it in the username map option.

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"