SAMBA configuration

Roger Grosswiler roger at gwch.net
Tue Mar 29 11:10:08 UTC 2005


[snip]
>     I don't have smbadduser command in our customised os. How will I make a
> samba share without smbadduser command for my local user. I am having the
> following packages installed,
>
> samba
> samba-common
> samba-client
> pam_smb
>
> Pls help me in this configuration.   Should I install any additional
> packages.
>
find your /etc/samba/smb.conf, edit it for your home-directories e.g.

[homes]
   comment = Private Home Directories
   path = /users/%U
   guest ok = no
   browseable = yes
   writable = yes
   create mask = 775

The path-entry makes only visible the users homedir. Adding users you do with smbpasswd. 'smbpasswd -a username' adds
a user to your samba. Usually they also should exist in your shadow-file (if i am not wrong...)

Before you login, create your machine accounts with smbpasswd -m machinename (don't put a $ in front!).

HTH
Roger




More information about the fedora-list mailing list