printer and samba setup

Ankush Grover ankush174 at gmail.com
Mon Mar 7 05:34:29 UTC 2005


hey friends,

I want to setup FC3 as File and Print server for my company.I have
configured samba for File server but yet to configure FC3 as
Fileserver.My domain consists of Windows ,Unix and Linux clients.I
have few problems (a and b part)

a) As my domain is a mixture of Windows,Unix and Linux ,what protocol
to set for printer,as my printer will print for linux,unix and windows
clients.It should be Cups IPP protocol or any other protocol.


b)i have setup the linux box (FC3) with samba with security = domain and
password server = s1.sun.com(internal)

I have created one folder in which i have created some
directories.There are different types of users in  my company some in
development, some in administration , som e in top management.I have
created some folders in which users can put their data to share among
their colleagues or team.

What happens is that when somebody clicks on samba server all the
folders which i have explicitly mentioned in the smb.conf are shown
.Whereas what i want is that only those folders should come when the
user access the samba server on which he has the right to access it.

Suppose james is a user having access rights on folders cpms, manager.
Now when he clicks on the samba server he sees his home directory
where he can put his data, a cpms folder which is shared among the
other development team members(have set it with suid) and manager(have
set it this also with suid) and all other folders (specified in
smb.conf) on which he does not have the rights.He can't access those
folders  in which he don't have the rights but i don't want to show
the james those folders on which he does not have any kind of right.

Ideally is should be when james accesses the samba server he should
see his home directory,his cpms and manager folder nothing else.So
that he should know that he can access and only have access to these
folders.

I tried with u% variable but this variable works for only primary
group not for secondary group.I hope that many of u have faced the
same problem.

Please anyone of you can give me solution.

Thanks & Regards

Ankush Grover




More information about the fedora-list mailing list