Bluehost.com Web Hosting $6.95

[Samba] disable '_' to '/' replacement in %S for default service

This is a discussion on [Samba] disable '_' to '/' replacement in %S for default service within the Samba forums, part of the Networking and Network Related category; We've been using a fairly old version of samba for quite some time to serve user home directories and ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2008
Paul B. Henson
 
Posts: n/a
Default [Samba] disable '_' to '/' replacement in %S for default service


We've been using a fairly old version of samba for quite some time to serve
user home directories and group project directories with a configuration
approximately like:

-----
[global]
default service = groups

[homes]
path = /export/user/%u

[groups]
path = /export/group/%S
-----

This has worked out very well, the samba configuration is minimal, and does
not need to be changed as users/groups come and go.

However, while trying to use the same configuration for a newer version of
Samba, groups with _'s in their names were not working.

On reviewing the documentation, I found out that at some point Samba
started translating _'s to /'s for the %S substitution in the default
service.

That breaks our configuration, for a group 'foo_bar' Samba tries to access
/export/group/foo/bar instead of /export/group/foo_bar.

Is there any way to disable this translation such that %S is substituted as
is and prevent the mangling? I really don't want to have to explicitly list
every group in the Samba configuration, there are thousands.

Thanks...

--
Paul B. Henson | (909) 979-6361 | http://www.csupomona.edu/~henson/
Operating Systems and Network Analyst | henson@csupomona.edu
California State Polytechnic University | Pomona CA 91768
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:20 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0