smb.conf does not work on a reinstalled system

Dieses Thema im Forum "Samba" wurde erstellt von wizardofOz, 29.07.2006.

  1. #1 wizardofOz, 29.07.2006
    Zuletzt bearbeitet: 29.07.2006
    wizardofOz

    wizardofOz Grünschnabel

    Dabei seit:
    29.07.2006
    Beiträge:
    2
    Zustimmungen:
    0
    Hi everyone!

    Since I searched the internet for an answer to my problem, for three days, I
    though it might be a good idea to make the question in this forum.
    My Samba Server is a really simple one, only serving files. My smb.conf is
    at the absolute minimum (ok, no really absolute;-)):

    [global]
    workgroup=Univerum
    netbios name= saturn
    server String= Universum/Saturn

    [public]
    path= /var/public
    guest ok= no
    read only= no

    That's it. It works before. Windows XP prompts for username and password. I
    used a user and a password that was valid in my linux system. I can use it to log in from the shell or per ssh. Now I
    reinstalled my system. The same conf file does not work now. I have no idea
    what I should do, since it worked before with nothing else more. The only
    strange thing is, that Windows transformed my username to <win_pc_name>\<username> while logging in that was not the case before. My distribution is and was Gentoo.
    I would be very glad for any help.


    Thanks,

    Danny
     
  2. Anzeige

    Schau dir mal diese Kategorie an. Dort findest du bestimmt etwas.
    Registrieren bzw. einloggen, um diese und auch andere Anzeigen zu deaktivieren
  3. devilz

    devilz Pro*phet
    Administrator

    Dabei seit:
    01.05.2002
    Beiträge:
    12.244
    Zustimmungen:
    0
    Ort:
    Hessen
    Did you used smbpasswd to set a valid user for you samba users ?
     
  4. #3 sim4000, 29.07.2006
    sim4000

    sim4000 Lebende Foren Legende

    Dabei seit:
    12.04.2006
    Beiträge:
    1.933
    Zustimmungen:
    0
    Ort:
    In meinem Zimmer
    Hi.

    Welcome to the UB.

    Here my smb.conf:
    Code:
    # smb.conf is the main Samba configuration file. You find a full commented
    # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
    # samba-doc package is installed.
    # Date: 2005-09-13
    [global]
    	workgroup = SIM4000
    	printcap name = cups
    	cups options = raw
    	map to guest = Bad User
    	include = /etc/samba/dhcp.conf
    	logon path = \\%L\profiles\.msprofile
    	logon home = \\%L\%U\.9xprofile
    	logon drive = P:
    	add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody -s /bin/false %m$
    	domain logons = Yes
    	domain master = Yes
    	security = user
    	local master = Yes
    	os level = 65
    	preferred master = Yes
    
    [homes]
    	comment = Home Directories
    	valid users = %S
    	browseable = No
    	read only = No
    	inherit acls = Yes
    
    [profiles]
    	comment = Network Profiles Service
    	path = %H
    	read only = No
    	store dos attributes = Yes
    	create mask = 0600
    	directory mask = 0700
    
    [users]
    	comment = All users
    	path = /home
    	read only = No
    	inherit acls = Yes
    	veto files = /aquota.user/groups/shares/
    
    [groups]
    	comment = All groups
    	path = /home/groups
    	read only = No
    	inherit acls = Yes
    
    [printers]
    	comment = All Printers
    	path = /var/tmp
    	printable = Yes
    	create mask = 0600
    	browseable = No
    
    [print$]
    	comment = Printer Drivers
    	path = /var/lib/samba/drivers
    	write list = @ntadmin root
    	force group = ntadmin
    	create mask = 0664
    	directory mask = 0775
    
    [netlogon]
    	comment = Network Logon Service
    	path = /var/lib/samba/netlogon
    	write list = root
    
    [/]
    	path = /
    	guest ok = yes
    I use SuSE 10.0. For File Transfer to a XP system.

    What says the Logfile from your samba?

    Yours sincerely, sim4000.

    PS: I'm not a great Englishspeaker / writer. :brav:
     
  5. #4 wizardofOz, 29.07.2006
    wizardofOz

    wizardofOz Grünschnabel

    Dabei seit:
    29.07.2006
    Beiträge:
    2
    Zustimmungen:
    0
    Thanks for your feedback.

    Since I reinstalled by system I forgot that I have to run the command smbpasswd. My How-To did only metion everthing about installing and configuring samba, but not how to install users. So I assumed that all system user automaticlly are known by samba. What was not the case.

    This was the only thing I had to do!

    Bye until my next newbie question ;-)
    Danny
     
  6. Anzeige

    Vielleicht findest du HIER Antworten.
    Registrieren bzw. einloggen, um diese und auch andere Anzeigen zu deaktivieren
Thema:

smb.conf does not work on a reinstalled system

Die Seite wird geladen...

smb.conf does not work on a reinstalled system - Ähnliche Themen

  1. Apache Log-Meldung File does not exist

    Apache Log-Meldung File does not exist: Hallo zusammen, in der Logdatei von Apache wird folgende Meldung ausgegeben: … [Thu Jan 07 14:36:03 2016] [error] [client 111.222.333.444] File...
  2. drawcut meldet /dev/sda2 doesnt exist obwohl vorhanden

    drawcut meldet /dev/sda2 doesnt exist obwohl vorhanden: Hallo zusammen, ich nun versucht das erstelle Redhat7 Image auch auf der neuen Hardware zu bespielen (WIr haben dafür ein System ) Wenn ich...
  3. /dev/sde2 does not exist am initramfs-prompt nach wheezy-installation auf sparc

    /dev/sde2 does not exist am initramfs-prompt nach wheezy-installation auf sparc: hallo zusammen, nachdem ich nun erfolgreich das unter http://www.unixboard.de/vb3/showthread.php?53596-wo-debian-7-bug-melden beschriebene...
  4. cyrdeliver: mailbox does not exist

    cyrdeliver: mailbox does not exist: Also ich habe mal wieder probiert einen Mailserver aufzusetzten. Das System sollte Debian etch sein und der imap-Server sollte cyrus sein....
  5. Eclipse SDK 3.3 doesnt work on OpenSuse

    Eclipse SDK 3.3 doesnt work on OpenSuse: Ich habe Eclipse in /usr/share/eclispe entpackt. Auch habe ich Java 1.6 installiert. Im Terminal wird bei which java der korrekte path angezeigt....