LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Samba profile folder issues (https://www.linuxquestions.org/questions/linux-newbie-8/samba-profile-folder-issues-650255/)

roders22 06-19-2008 03:13 AM

Samba profile folder issues
 
hi,
i've managed to setup samba on mandrake10.2, using webmin i've managed to setup groups to access files on the network. My only problem now is that everything a user logs on, a folder appears with his/her name. Is there anyway to disable this?? I've been searching all over the place for this but i'v even tried to modify the smb.conf file in the [profiles] sections but this doesn't do anything. I've set it back to normal. Can anybody help me please. Oh another things please don't use big terminologies because i'm really a newbie. Thanks a lot.

jschiwal 06-19-2008 05:30 AM

Quote:

everything a user logs on, a folder appears with his/her name
The profile section will give a user access to their own home directory without needing to locate their home directory from all of the home directories. If you don't want users to enter their home pages but just offer a share available to a group, then comment out the [profile] section. Leaving your service for the group.

Code:

![profiles]
!        comment = Network Profiles Service
!        path = %H
!        read only = No
!        create mask = 0600
!        directory mask = 0700
!        store dos attributes = Yes

If you are seeing directories for each user, then you may have a [home] share defined that you can comment out.

Could you post the section for group service you are exporting? Also post the [General] section.

What kind of group are you referring to? Is this a group you created in windows with a policy editor? Or did you create a directory that a Linux group has access to? Did you add Linux users to a Linux group and make the share accessible by members of the group?

What Windows clients if any do you use? For example, if you have Windows XP Home clients don't even think about using the "security = domain" model. Windows XP Home clients can not join a domain.

If you have a samba-doc package available, please install it. It supplies three books on Samba; Samba 3 by Example; Samba 3 HOWTO & Reference Guide and Samba 3 Developers Guide. The first two you may find very useful. Also, if samba swat comes with your Samba package, then you already have the 2nd edition of Using Samba (in html form). They will take you step by step through the process of creating the share including what permissions to use, setting the sticky bit for globally writable shares and if you use smbpasswd, creating Linux users for each windows user and running smbpasswd to create a Linux/Windows username/passwd mapping.

roders22 06-19-2008 06:04 AM

I thinks this is wat you were talking abt.
Code:

[global]
        log file = /var/log/samba/log.%m
        smb passwd file = /etc/samba/smbpasswd
        load printers = yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        map to guest = bad user
        encrypt passwords = yes
        printer admin = @adm
        printcap cache time = 60
        dns proxy = no
        netbios name = mau
        server string = MAU
        printing = cups
        workgroup = IRAX-NT
        os level = 20
        printcap name = cups
        security = user
        max log size = 50

[homes]
  comment = Home Directories
  browseable = no
  writable = yes



All times are GMT -5. The time now is 07:48 PM.