Do i need winbind to be running ? smb and nmb are running ok.
No, not unless you are mapping NT Domains to Unix, see the following from
the samba site:
"Winbind is an nss switch module to map Windows NT Domain databases to Unix.
In combination with Samba and pam_ntdom, a Unix box will be able to
integrate straight into a full Windows NT Domain environment, without
needing a Unix Account database. "
If I understand your setup to be a simple file sharing setup, no PDC/BDC and
using smbpasswd authentication, then winbind isn't required.
Have you worked through the
/usr/share/doc/packages/samba/textdocs/DIAGNOSIS.TXT?
Where is your setup failing??
--
David C. Rankin, J.D., P.E.
Rankin * Bertin, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
www.rankin-bertin.com
----- Original Message -----
From: "Marek Pawinski"
David Rankin wrote:
Marek, here is a working smb.conf built by hand that shows the basics. Double check your permissions of /home and /home/group on your box. Why are you exporting all home directories?? Permission will kill you there unless the files are all owned by a common group. Also, your password server=microsoft seems suspect. If it is a default samba install you are using the smbpasswd file. So you have to make sure each user has a Linux username/password (useradd) as well as a samba password (smbpasswd -a) Make sure the Linux and smbpasswd's are the same otherwise passwd chat won't be very happy. Anyway, here is my smb.conf:
Do i need winbind to be running ? smb and nmb are running ok.
This is what i tried, no luck yet. Something i am missing somewhere else ?
# Global parameters [global] netbios name = microsoft workgroup = localdomain server string = Microsoft encrypt passwords = Yes update encrypted = Yes smb passwd file = /etc/samba/smbpasswd passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *new*password* %n\n *success* passwd chat debug = Yes unix password sync = Yes log file = /var/log/samba/log.%m max log size = 50 name resolve order = hosts lmhosts wins bcast socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 logon script = %U.bat domain logons = Yes time server = yes os level = 60 preferred master = Yes domain master = Yes dns proxy = No wins support = Yes hosts allow = 192.168.0.1 localhost 192.168.0.2 min print space = 2000 load printers = yes printing = cups printcap name = cups
[Public] comment = Public Shares path = /home/pawinski/downloads valid users = @pawinski force group = pawinski admin users = pawinski writeable = Yes map archive = Yes inherit permissions = Yes
#[RankinFirm] ; comment = Rankin Law Firm ; path = /home/samba/rankin ; valid users = @rankin ; force group = rankin ; admin users = david ; writeable = Yes ; map archive = Yes ; inherit permissions = Yes
#[rbpllc] ; comment = Rankin Bertin ; path = /home/samba/rbpllc ; valid users = @rankin ; force group = rankin ; admin users = david ; writeable = Yes ; map archive = Yes ; inherit permissions = Yes
[homes] comment = Homes Directory writeable = Yes browseable = No
[printers] comment = The Printers path = /var/spool/samba guest ok = Yes public = Yes writeable = no printable = Yes browseable = no
Marek