Why ":" is not allowed in file names?

Richard Sharpe rsharpe at richardsharpe.com
Wed Apr 30 23:20:49 GMT 2003


On Wed, 30 Apr 2003, Chere Zhou wrote:

> in reply_ntcreate_and_X at nttrans.c:
> 
>                         /*
>                          * Check to see if this is a mac fork of some kind.
>                          */
> 
>                         if( strchr_m(fname, ':')) {
>                                 END_PROFILE(SMBntcreateX);
>                                 return 
> ERROR_NT(NT_STATUS_OBJECT_PATH_NOT_FOUND);
>                         }
> 
> I would like to know why we do not allow ":" in file names?

Well, and interesting question for you is why do you want to allow colons 
in file names?

Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com



More information about the samba-technical mailing list