smbcacls/smbcquotas oddities

Pascal Terjan pterjan at mandrakesoft.com
Fri Dec 17 22:01:11 GMT 2004


Hi,
This afternoon I forgot // at the beginning of //server/share when
running smbcacls. I noticed that smbcals dropped the first 2 chars even
if it is not //. So, I looked into the code, planning to add a test. I
noticed 2 strange things :

1) While most utils use a fstring for server name, smbcquotas.c uses a
pstring

2) In smbcacls.c line 838, what's the goal of strchr_m(server,'/') if
all / got replaced few lines before ?




More information about the samba-technical mailing list