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: skyline:/etc/ssl/certs # cat /etc/samba/smb.conf # Global parameters [global] netbios name = skyline workgroup = rb_law server string = Skyline Network Server %v 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 = wins hosts lmhosts 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.6. localhost 66.76.63.60 min print space = 2000 load printers = yes printing = cups printcap name = cups [Skyline] comment = Skyline Shares path = /home/samba/skyline valid users = @skyline force group = skyline admin users = david 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 -- 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" <pawinski@webstorm.co.za> To: "ReymanX" <reymanx@gmail.com> Cc: <suse-linux-e@suse.com> Sent: Friday, October 15, 2004 10:46 PM Subject: Re: [SLE] Samba
ReymanX wrote:
I have samba set up and can see the Windows machine but can not write to it. I try to change the permisions on the Suse machine's /mnt point but they stay the same.
Then i try to browse the network from the Windows machine and nothing, the Suse machine does not show up at all.
What am i missing here as i have the same settings i use with other distros which work. I disable my firewall and to no avail.
Must say nfs was a breeze with Suse 9.1, just this samba is giving me grief.
One thing why I use SuSE cause it's samba so easy to manage, and never had significant problem with it, but never use it as PDC / BDC. Maybe you can show us what is your smb.conf. Is it become samba server, or client.
This is my smb.conf file generated by webmin, i have tried the webmin way no as the standard samba conf way did not work. This is not a PDC btw but a workstation.
[global] netbios name = Microsoft writeable = yes printing = cups socket options = TCP_NODELAY password server = microsoft path = /home/pawinski/downloads workgroup = localdomain os level = 20 map to guest = Bad User printcap name = cups printer admin = @ntadmin, root, administrator bind interfaces only = true
[homes] comment = Home Directories valid users = %S browseable = No read only = No
# A share to export all user directories; appropriate permissions required [users] comment = All users path = /home writeable = Yes inherit permissions = Yes # Exclude a groups and other shares veto files = /aquota.user/groups/shares/
# Create all directories for groups below /home/groups and export this # directries as one share [groups] comment = All groups path = /home/groups writeable = Yes inherit permissions = Yes
# A simple PostScript to PDF converter provided to SMB clients [pdf] comment = PDF creator path = /var/tmp printable = Yes print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z create mask = 0600
# The following share gives all users access to the Server's CD drive, # assuming it is mounted under /media/cdrom. ;[cdrom] ; comment = Linux CD-ROM ; path = /media/cdrom ; locking = No # With the next two lines you could automatically mount or umount the CD if a # connection to the share is established or closed. ; preexec = /bin/mount /media/cdrom ; postexec = /bin/umount /media/cdrom
[printers] comment = All Printers path = /var/tmp # Make printers accessible without user authentication. ; guest ok = Yes printable = Yes create mask = 0600 browseable = No
# This share provides printer driver down- and upload in an Windows NT-style # point-and-print way. For more detailed information consult the Printing # Support Section of the Samba-HOWTO-Collection. For uploading take extra # care to add the printer admins to the group lp. [print$] comment = Printer Drivers path = /var/lib/samba/drivers # Make printer drivers accessible without user authentication. ; guest ok = Yes write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775
[downloads]
Marek
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com