Koozali.org: home of the SME Server

SME Server Samba Server

Newton Calvin

SME Server Samba Server
« 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 ??

guestHH

Re: SME Server Samba Server
« Reply #1 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.

Newton Calvin

Re: SME Server Samba Server
« Reply #2 on: December 27, 2002, 03:53:14 PM »
What changes i need to do in a smb.conf or in a template ?

guestHH

Re: SME Server Samba Server
« Reply #3 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

calvin

Re: SME Server Samba Server
« Reply #4 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 ?????

guestHH

Re: SME Server Samba Server
« Reply #5 on: December 27, 2002, 06:56:44 PM »
Yep, create a user account for the NT administrator