[Samba] Adding a windows user to unix group?

Arnold.O.Andrews at seagate.com Arnold.O.Andrews at seagate.com
Fri Aug 19 13:01:53 GMT 2005


> 18 Aug 2005 13:51:15 +0100 -----
>
> To:
>
> <samba at lists.samba.org>
>
> Subject:
>
> [Samba] Adding a windows user to unix group?
>
> Hi All,
>
> Running version 3.0.14a on freebsd 5.4. configured as a member server of
a
> 2k domain. the directory i need access to is for public websites
> /usr/local/www/sites and permissions are drwxr-xr-x  www  www. A single
> share is configured as below:
>
> # FTP share
> [ftp_share]
>    comment = FTP Share
>    path = /usr/local/www/sites
>    valid users = domain\user
>    browseable = no
>    read only = no
>    writable = yes
>    printable = no
>    public = no
>    write list = domain\user
>
> This share is to allow ftp access from a central ftp server which serves
> several webservers (all windows until now) via a mysql database and UNC
> paths.
>
> I can access the folder but have no permissions in it. I believe i need
to
> add the windows user account the the unix www group but have no idea how
to
> do it. This is my first experience of samba and all went really
well...this
> is the last thing to sort!
>
> Paul
>
>

Just create a group mapping between one of the Windows groups (or create a
new windows domain group) using "net groupmap" functions.  Then you'll need
to add the Unix usernames of your Samba users you want to give access to
the Unix group.

Check out:

http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/groupmapping.html

Hope that helps,

Arnold Andrews
Systems Sr. Administrator
Seagate Technology




More information about the samba mailing list