SAMBA configuration on Solaris 9


Modify smb.conf file in /etc/sfw
Click here for a valid valid smb.conf file

Sections that are modified are:
(output from diff)

<    workgroup = NESTERS
---
>    workgroup = MYGROUP
21c21
<    server string = Moses
---
>    server string = Samba Server
29c29
<   hosts allow = 208.27.21.
---
>
66c66
<    password server = *
---
> #   password server = *
75c75
<   encrypt passwords = yes
---
> ;  encrypt passwords = yes
149a150
>
179,183c180,184
< [tmp]
<    comment = Temporary file space
<    path = /tmp
<    read only = no
<    public = yes
---
> ;[tmp]
> ;   comment = Temporary file space
> ;   path = /tmp
> ;   read only = no
> ;   public = yes
246,251c247,252
< [portalDesktop]
<    comment = Portal Desktop
<    path = /etc/opt/SUNWps/desktop
<    valid users = root
<    public =yes
<    writable = yes
---
> ;[myshare]
> ;   comment = Mary's and Fred's stuff
> ;   path = /usr/somewhere/shared
> ;   valid users = mary fred
> ;   public = no
> ;   writable = yes

create a password file
/usr/sfw/bin/smbpasswd -a root

start samba
/etc/rc3.d/S90samba start

Back to Menu