Vraag & Antwoord

OS Linux


3 antwoorden
  • Ik heb eigenlijk twee vragen waar ik nu even niet uitkom.

    Als ik mijn samba server vanuit linux wil mounten via linneighbourhood
    dan werkt dat met root password. Maar ik krijg toch de melding:
    "server's role (logon server) conflicts with share-level security.
    Vevolgens kan ik wel bestanden overzetten. Maar het blijft vervelend en voor mij nu onbegrijpelijk??!

    Is er een andere manier om mijn linux server (freesco met samba) te mounten? Of kan dit alleen via samba. Lijkt me sterk toch?

    Wie kan me helpen?

  • Zie mijn antwoord op nl.linux.org/forum. Post ook hier je smb.conf.
  • Dat wordt wel een lange tekst:

    inhoud van smb.conf

    workgroup = HOME
    os level = 2

    security = share
    encrypt passwords = Yes
    guest account = gast
    map to guest = Bad User
    # This tells samba to use the file smbusers for user mapping.
    username map = /etc/samba/smbusers

    # This tells samba to write log files per machine.
    ; log file = /var/log/samba/%m
    # This sets an alternate log level. Default is 2.
    ; log level = 3

    # Uncomment the following, if you want to use an existing NT-Server to
    # authenticate users, but don't forget that you also have to create them
    # locally!
    ; security = server
    ; password server =

    printing = LPRNG
    printcap name = /etc/printcap
    load printers = Yes

    # These settings are a suggestion for a local network. Cf. section
    # 'socket options' in the man page of smb.conf and socket(7).

    # Uncomment this, if you want to integrate your server
    # into an existing net e.g. with NT-WS to prevent nettraffic
    ; local master = No

    # Please uncomment the following entry and replace the ip number and
    # netmask with the values of your network interface configuration.
    interfaces =

    # If you want Samba to act as a wins server, please set
    # 'wins support' to yes.
    wins support = No

    # If you want Samba to use an existing wins server, please uncomment the
    # following line and replace the dummy with the wins server's ip number.
    ; wins server =

    # Set these two parameters to your DOS code page and appropriate UNIX
    # character set. These values are for west European languages (Latin-9)
    # UNIX character and MS-DOS Latin 1 code page.
    character set = ISO8859-15
    client code page = 850

    # This is a simple measure against Nimba Worm. Cf. README.Win32-Viruses
    veto files = /*.eml/*.nws/riched20.dll/*.{*}/

    # Do you wan't samba to act as a logon-server for your windows 95/98
    # clients, so uncomment the following:
    domain logons = Yes
    domain master = Yes
    # For a specific logon script per user
    ; logon script = %U.bat
    # For a specific logon script per machine
    ; logon script = %m.bat

    # Where to store the logon scripts.
    ; comment = Network Logon Service
    ; path = /var/lib/samba/netlogon

    # Where profiles of Windows 9x systems are stored.
    # First example for a centralized place.
    ; logon home = \\%L\profiles\%U
    # Second example for a subdirectory of the users home.
    ; logon home = \\%L\%U\profile
    # Where profiles of Windows NT systems are stored.
    ; logon path = \\%L\profiles\%U

    # Extra share for profiles. Default is the home of the user.
    ; comment = Network Profiles Service
    ; path = /var/lib/samba/profiles
    ; browseable = No

    comment = Home Directories
    read only = No
    create mask = 0640
    directory mask = 0750
    browseable = yes

    comment = Share directory
    path = /home/bart/share
    readonly = no
    browsable = yes

    # The following share gives all users access to the Server's CD drive,
    # assuming it is mounted under /media/cdrom. To enable this share,
    # please remove the semicolons before the lines
    ; comment = Linux CD-ROM
    ; path = /media/cdrom
    ; locking = No

    comment = All Printers
    path = /var/tmp
    create mask = 0600
    printable = Yes
    browseable = No

    Dit is een standaard SuSE 8 file die ik een beetje heb aangepast. Maar misschien zit daar een fout.


Beantwoord deze vraag

Dit is een gearchiveerde pagina. Antwoorden is niet meer mogelijk.