Service-names and computer-names checked for in getpwnam
Mattias.Gronlund at sa.erisoft.se
Fri Jan 28 20:44:53 GMT 2000
Gerald Carter wrote:
> Mattias Gronlund wrote:
> > Hi,
> > Is there anyone that knows why SAMBA checks for the name of the
> > service with getpwnam when a connection to a share is initiated?
> See the explanation of the [homes] service in the smb.conf man
The manual-page says:
> When the connection request is made, the existing sections are scanned.
> If a match is found, it is used. If no match is found, the requested
> section name is treated as a user name and looked up in the local password
> file. If the name exists and the correct password has been given, a share
> is created by cloning the [homes] section.
But the implementation does a lookup in the "local password file" even
there is a separate section for the share. It will also try to lookup
which if I understands it is a quite special share that do not need a
More information about the samba-technical