LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba Not Recognize Special characters (https://www.linuxquestions.org/questions/linux-networking-3/samba-not-recognize-special-characters-4175442130/)

keysys 12-19-2012 05:43 AM

Samba Not Recognize Special characters
 
Hi,

Please advice as Samba not recognaze Special characters Like #

as my company has group name call # All Users / FCC.i need to give samba share permission to the group

my share is

[TEST]
path = /test
public = no
valid users = @DOMAIN+# All Users / FCC

please help this

tonyfreeman 12-21-2012 10:22 PM

I'm pretty sure you'll have to put quotes around your group name:

valid users = "@DOMAIN+# All Users / FCC"

If you are using 'services for unix' on a windows box, you're best bet is to map users to unix user names and also map your groups to unix groups. It's been a while for me but I believe there is a button for this AND I believe it will tell you that it will start an NIS service. That means you will have to setup your unix machine to talk to your windows machine via nis.

So the group above could be mapped to the unix group called: all_fcc_users

Then in your smb.conf file you can change the valid users line to:

valid users = @all_fcc_users


All times are GMT -5. The time now is 10:02 AM.