Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Newton Calvin on December 23, 2002, 04:26:24 PM

Title: SME Server Samba Server
Post by: Newton Calvin on December 23, 2002, 04:26:24 PM
I have a sme server as PDC, and need use a windows aplication to access a ibay on sme server using samba, I can give a user access ( read and write ) but i need
only give read and write only to aplication and not to user, how can i make do this ??
Title: Re: SME Server Samba Server
Post by: guestHH on December 23, 2002, 04:39:54 PM
make a custom template for smb.conf and grant access to the ibay for the NT application account only.
Title: Re: SME Server Samba Server
Post by: Newton Calvin on December 27, 2002, 03:53:14 PM
What changes i need to do in a smb.conf or in a template ?
Title: Re: SME Server Samba Server
Post by: guestHH on December 27, 2002, 04:51:08 PM
First test.

- Create a test ibay e.g. test with everybody persissions
- Create an new user account with the NT administrator credentials
- First make a backup copy of your smb.conf (just in case)
- Edit the test-ibay part the original /etc/smb.conf
--------------------------------------------------------------------
[test]
common       = test ibay
valid users    = 'new NT administrator account' e.g.: administrator    <= newly added line
path             = /home/e-smith/files/ibays/test
read only writable   = no
printable                = yes
inherit permissions = yes
create mode          = 0644
-------------------------------------------------------------------

Save the file and restart samba (service smb restart)

Try and test if it works. Take a look at '/usr/share/doc/samba-2.2.x/examples/default
Title: Re: SME Server Samba Server
Post by: calvin on December 27, 2002, 06:29:07 PM
Thanks a lot, the only thing is that a am using the SME server as PDC, i need create a user with NT Credentials ?????
Title: Re: SME Server Samba Server
Post by: guestHH on December 27, 2002, 06:56:44 PM
Yep, create a user account for the NT administrator