[Samba] Samba Write List Macro Not Working

SerpentMage (Christian Gross) mailing at devspace.com
Mon Sep 15 14:05:18 GMT 2003


Tom Dickson wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> What version of Samba are you using? 3.0.0rc2 had some issues with macro
> expansion; you may have found another one.


Funny you should mention that...  I am using 3.0 beta 2 -1.  Should I 
submit this as a bug?

>
> I think rc4 removed some of the parameters (%G %U) from some lines.
>
Really?  Is that new?

> If %S works, I'd use it. You could also try:
>
> read only = no
> valid users = %G,etc.
>
I will try that..

> Note: A level 10 log will show if the macro is being expanded.


I went through a level ten check and here I think is the line that needs 
to be expanded.

[2003/09/15 15:53:07, 10] lib/username.c:user_in_list(504)
 user_in_list: checking user cgross in list
[2003/09/15 15:53:07, 10] lib/username.c:user_in_list(508)
 user_in_list: checking user |cgross| against |@%G|
[2003/09/15 15:53:07, 5] lib/username.c:user_in_netgroup_list(307)
 Unable to get default yp domain
[2003/09/15 15:53:07, 10] lib/username.c:user_in_list(508)
 user_in_list: checking user |cgross| against |%G|

Notice that there is %G and @%G and not the actual group names.  I think 
this could be considered a bug, yes?


Christian Gross





More information about the samba mailing list