1823986 Members
4715 Online
109667 Solutions
New Discussion юеВ

permission

 
Cifs 9000
Advisor

permission

i have directory in hp-ux and bunch of directory of under that directory.

example:
# ll
drwxr-xr-x --- root sys -- bottom
# cd bottom
# ls -l
drwxrwx--- lmworld bline --- direc1
drwxrwx--- lmworld bline --- direc2
drwxrwx--- lmworld bline --- direc3
drwxrwx--- lmworld bline --- direc4
drwxrwx--- lmworld bline --- direc5

I have windows group . i want to give access to windows groups.
example :
windows group : gr1 , gr2 , gr3
i am using winbind. so i don't require any user and group in hp-ux . this group is not exist in hp-ux box.
how can i give access to gr1 to direc1
gr2 -- direc2
gr3 -- direc3

i used @domainname+groupname (@dmx+gr1) but i got message u don't have permission.

and when i change permission in unix
example

drwxrwxr-x lmworld bline --- direc1
drwxrwxr-x lmworld bline --- direc2

then i can access but then everybody can access.

Please assist me



2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: permission

Shalom,

I'd look at the smb.conf file.

Something is not set up correctly.

Is security=ads ??

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Cifs 9000
Advisor

Re: permission

yes

this is my smb.conf file


# Samba config file created using SWAT
# from 10.253.2.5 (10.253.2.5)
# Date: 2007/01/17 12:21:55

[global]
workgroup = cmcsg
realm = CMCSG.COM
security = ADS
password server = cmcsgdom1xxx.cmcsg.com, *
wins server = 10.253.2.2
idmap uid = 50000-80000
idmap gid = 90000-95000
winbind separator = +

[homes]
comment = Home Directories
valid users = /home/%D/%U
read only = No
create mask = 0664
directory mask = 0775
browseable = No

[tmp]
comment = Temporary file space
path = /tmp
read only = No

[netlogon]
comment = The domain logon service
path = /var/opt/samba/netlogon

[bottomline]
comment = Bottomline
path = /var/spool/bottomline
admin users = rastod
write list = rastod
read only = No