Operating System - HP-UX
1829693 Members
8638 Online
109992 Solutions
New Discussion

Re: Samba on a trusted system

 
Mike Burk
Advisor

Samba on a trusted system

Will samba work on a trusted system? If so what additional steps do I have to do to make it work? I am having a hell of a time getting it to work!

Thanks,

Mike B
4 REPLIES 4
CHRISTSHONDA CAMPBELL
Occasional Advisor

Re: Samba on a trusted system

I don't see why not. I haven't set it up on a trusted system, but Samba uses /etc/passwd to check if the user really exists. It shouldn't look at the shadow password file. Once the user exists you can add them to the samba password list. I am not sure what errors you are encountering but, these are the general steps. Please provide more details on the errors.

You should modify the smb.conf file to open up the share to a specific user or group.

The line should look like this.
vi /etc/opt/samba/smb.conf
[ecom]
path = /home/ecom
valid users = eom

Then you should add the user to samba.
# $SAMBA_HOME/smbpasswd -a ecom
enter user passwd

run testparms to check that the new share was added
# $SAMBA_HOME/bin/testparms

This should help. If you provide more detail on the error, I might be able to assist more.
CHRISTSHONDA CAMPBELL
Occasional Advisor

Re: Samba on a trusted system

I don't see why not. I haven't set it up on a trusted system, but Samba uses /etc/passwd to check if the user really exists. It shouldn't look at the shadow password file. Once the user exists you can add them to the samba password list. I am not sure what errors you are encountering but, these are the general steps. Please provide more details on the errors.

You should modify the smb.conf file to open up the share to a specific user or group.

The line should look like this.
vi /etc/opt/samba/smb.conf
[ecom]
path = /home/ecom
valid users = eom

Then you should add the user to samba.
# $SAMBA_HOME/smbpasswd -a ecom
enter user passwd

run testparms to check that the new share was added with the correct user permissions.
# $SAMBA_HOME/bin/testparms

Hope this helps
Uday_S_Ankolekar
Honored Contributor

Re: Samba on a trusted system

Hello,
I think I answered similar question yesterday.

Yes Samba(Cifs) can work on Trusted servers. I'm using it in my environment. I'm using CIFS aswell as samba (one from samba.org) in a trusted environment.

What kind of problem you are facing ??

-USA..
Good Luck..
Mike Burk
Advisor

Re: Samba on a trusted system

The server shows up in the Windows 2000 Network Neighborhood but a user tries to browse the resources on the server it says access denied. I have security = user selected and the users are in my etc/passwd file.