I'm trying to set up a Samba server with ACLS. Versions: - xfs in kernel-2.4.20. - samba-2.2.7a compiled with ACL support I'm trying first with smbcacls. But I can't manage to guess the syntax of the ACL command. I want the user "frankie" could RWX a file owned by "javi" #smbcacls //localhost/public te1st.txt -A ACL:frankie:0/0/RWX -U javi Failed to parse ACL ACL:frankie I read carefully the smbcacls man page and searched for examples in the archives and the web unsuccessfully. I tried many different things in the SID field with the same results: DOPAN//frankie ( DOPAN is the DOMAIN ) DOPAN/frankie DOPAN\\frankie DOPAN\\\\frankie \\\\DOPAN\\frankie and so on ... with the same results. Anyway I tried to connect to the share from a W2000. I can add security options to the file, but won't work. I tried to set a file read only but I can remove it. Any hint or link would be appreciated.
P Hardy Tech, Inc.
2003-Feb-12 20:50 UTC
[Samba] Act! 2000 WinXP RedHat 8.0 configuration problem
Hello, I have 3 Windows XP SP1 desktops that need access to an ACT! 2000 database on a Red Hat 8.0 server through Samba. The problem I'm having is that only one person can access the database at a time. All users are defined on the Linux system. Can you please tell me what configuration is required to have all of my users access and modify the ACT database at once? [ACT] comment = ACT! database files path = /data/act valid users = joe tim sam public = no writable = yes printable = no force create mode = 0777 oplocks = False level2oplocks = False Thanks Pat
It looks like the documentation is slightly off. If you use a number for the type field (after last colon) you need to use a number for the permissions field. If you want to use RWX for the permissions try ALLOWED or DENIED for the type #smbcacls //localhost/public te1st.txt -A ACL:frankie:ALLOWED/0/RWX -U javi Francesc Guasch Ortiz wrote:> > I'm trying to set up a Samba server with ACLS. > Versions: > - xfs in kernel-2.4.20. > - samba-2.2.7a compiled with ACL support > > I'm trying first with smbcacls. But I can't manage to > guess the syntax of the ACL command. > > I want the user "frankie" could RWX a file owned by "javi" > > #smbcacls //localhost/public te1st.txt -A ACL:frankie:0/0/RWX -U javi > > Failed to parse ACL ACL:frankie > > I read carefully the smbcacls man page and searched for > examples in the archives and the web unsuccessfully. > > I tried many different things in the SID field with the same results: > > DOPAN//frankie ( DOPAN is the DOMAIN ) > DOPAN/frankie > DOPAN\\frankie > DOPAN\\\\frankie > \\\\DOPAN\\frankie > > and so on ... with the same results. > > Anyway I tried to connect to the share from a W2000. > I can add security options to the file, but won't work. > I tried to set a file read only but I can remove it. > > Any hint or link would be appreciated. > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba-- =====================================================================Herb Lewis Silicon Graphics Networking Engineer 1600 Amphitheatre Pkwy MS-510 Strategic Software Organization Mountain View, CA 94043-1351 herb@sgi.com Tel: 650-933-2177 http://www.sgi.com Fax: 650-932-2177 PGP Key: 0x8408D65D ======================================================================
--- Francesc Guasch Ortiz <frankie@etsetb.upc.es> wrote:> I'm trying to set up a Samba server with ACLS. > Versions: > - xfs in kernel-2.4.20. > - samba-2.2.7a compiled with ACL support > > I'm trying first with smbcacls. But I can't manage > to > guess the syntax of the ACL command.It's done with get/setfacls; smbcacls is for setting ACLs from a Unix client on NT servers. Get those programs from the XFS site or acl.bestbits.at. Also you need to remount your partition with acl support. Man mount/mount.xfs/mount_xfs/read their website for details. You also could do well to take a look at the help documents on acl.bestbits.at, Samba.org, or my favorite, crack a book. I learned all about ACLs in "Teach Yourself Samba in 24 Hours," a Sam's book, but I learned that an O'Reilly "Using Samba" just came out. O'Reilly's are usually outstanding and it's likely to be current, detailed, and have all the information you need. Also, search this mailing list at marc.theaimsgroup.com... I'd answered ACL questions probably 5 times in the last month, and you'll no doubt find some answers there from other people, too. Good luck, /dev/idal __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com