Hamid Ali
asked on
Samba Question
Hi Dear,
I have installed samba 4 in centos, and configured smb.conf,
then i enter ip server and enter username and password, and it show other directories for another users,
how can in samba anyone only see your share (your directory)?
thanks,
I have installed samba 4 in centos, and configured smb.conf,
then i enter ip server and enter username and password, and it show other directories for another users,
how can in samba anyone only see your share (your directory)?
thanks,
ASKER
thanks dear,
i test it but still, when i login with a user i see another directories for other users?
do my question is ambiguous ?
thanks,
i test it but still, when i login with a user i see another directories for other users?
do my question is ambiguous ?
thanks,
Try adding the following to each of the "share" profiles you wish to hide
hide unreadable = yes
hide unwriteable files = yes
access based share enum = yes
Remember to restart your samba service when done
Let us know how you make out
Ken
hide unreadable = yes
hide unwriteable files = yes
access based share enum = yes
Remember to restart your samba service when done
Let us know how you make out
Ken
Hi Hamid take a look at this link how to install and configure samba in centos.
http://www.krizna.com/centos/installing-configuring-samba-centos-6/
http://www.krizna.com/centos/installing-configuring-samba-centos-6/
Hamid
Any response on this ? I assume you got it working ok after enabling ABE
Any response on this ? I assume you got it working ok after enabling ABE
ASKER
Hi Dear and very thanks for your helps,
ok, but i install samba 4 and it work well, but my question is :
when a user log in to \\192.168.0.10 and then enter username and password, he can see other directories that belong to another user ,
i want user can not see them?
can you help me please?
thanks,
ok, but i install samba 4 and it work well, but my question is :
when a user log in to \\192.168.0.10 and then enter username and password, he can see other directories that belong to another user ,
i want user can not see them?
can you help me please?
thanks,
Even in windows server you see other directories, you just cannot access them, there is a way in windows to use $ signs to hide the files/folders
Hiding files and directories in Linux is very simple. All you have to do is append a period at the beginning of the name of the file/directory.
With terminal:
mv filename .filename
Taken from ask ubuntu should be similar in Centos
Hiding files and directories in Linux is very simple. All you have to do is append a period at the beginning of the name of the file/directory.
With terminal:
mv filename .filename
Taken from ask ubuntu should be similar in Centos
ASKER
thanks, so dont way exist way for show only directory user and dont show other directories ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Dears,
https://gist.github.com/skarllot/8472768