Directory listing in libsmbclient.so
sharpe at ns.aus.com
Thu Dec 28 12:27:38 GMT 2000
Let me clarify some points and make a suggestion.
Firstly, the libsmbclient.so library alreay has a way for authentication
information to be provided. There is a callback that is supplied when the
smbc_init call is made.
However, it is possible that an in-line method of specifying authentication
may be needed as well.
Now, I have been thinking about all the feedback, and I wonder if forcing
browsing of workgroups into the spec might be bending things too much out
Perhaps I could simplify things by adding:
int smbc_set_workgroup(const char *wg)
This would allow the workgroups to be listed; then we could go back to a
kinder, gentler syntax for browsing within a workgroup.
The URI syntax could become:
This is conceptually similar to the way people think of UNCs and avoids any
confusion around workgroups.
The above will always be interpreted in the current workgroup, either
specified by smbc_init, or by smbc_set_workgroup, or from $HOME/.smb/smb.conf
Richard Sharpe, sharpe at ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba
More information about the samba-technical