1830616 Members
2560 Online
110015 Solutions
New Discussion

CIFS with AD

 
dev44
Regular Advisor

CIFS with AD

Hi,

We have some shares setup on our HP-UX 11.23 server. CIFS is setup for AD. However, we have a couple of UNIX users that need to access the shares as well. Is there a way to add unix users to a share? We tried adding a unix id to the end of the "valid users" entries which contain all AD user accounts, but that didnt' seem to work.
whatever
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: CIFS with AD

Shalom,

For consistency the best approach is to add AD user accounts with the same name as the Unix accounts.

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
dev44
Regular Advisor

Re: CIFS with AD

So you can't use both then? We only need two unix id's and they can't be AD...so there is no way to do this?
whatever
Steven E. Protter
Exalted Contributor

Re: CIFS with AD

Shalom,

If you AD server is master of the universe then it will be confused it you have two users with the same user name that need to access different shares. The point there is integration.

Why can't you use two methods of security?

CIFS has a file called smb.conf the configuration file for samba. It requires a security statement

security=domain
security=ads
security=user

I'm pretty sure you can't have multiple lines for security in one server.

What you can do is set up a second CIFS samba server for these Unix users and use security=user in the smb.conf file.

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
dev44
Regular Advisor

Re: CIFS with AD

Thanks very much Steven....I figured as much but just wanted to check with all of you first as if there is a way around it, I would find it here.

S
whatever
eric roseme
Respected Contributor

Re: CIFS with AD

How are your unix users going to access the shares? CIFS Client? smbclient?

Eric