Benshee
17.03.09, 21:17
Hallo Leute,
habe da ein eigenartiges Problem. Ich möchte gerne einen Linux Rechner als Router und Samba (File) Server nutzen. Dafür habe ich mir jetzt Fedora 10 ausgeguggt und soweit funktioniert auch alles. Nur ein Problem, wenn der Linux Rechner startet, funktioniert die Freigabe erstmal nicht. Rufe ich dann das grafische Admintool von Samba auf und gehe auf Servereinstellungen, schau alles durch und klicke auf OK und schließen, dann funktioniert der Datenaustausch wunderbar. Natürlich kann ich so den Server/Router nicht im runlevel 3 starten.
Der SMB Dienst läuft die ganze Zeit und ein neustart bringt auch keine Abhilfe.
Woran kann das liegen?
Hier mal meine smb.conf
#
workgroup = MSHEIMNETZ
server string = Samba Server
; netbios name = MYSERVER
; interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
; hosts allow = 127. 192.168.12. 192.168.13.
max log size = 50
security = share
passdb backend = tdbsam
; realm = MY_REALM
; password server = <NT-Server-Name>
; domain master = yes
; domain logons = yes
# the login script name depends on the machine name
; logon script = %m.bat
# the login script name depends on the unix user used
; logon script = %u.bat
; logon path = \\%L\Profiles\%u
# disables profiles support by specifing an empty path
; logon path =
; add user script = /usr/sbin/useradd "%u" -n -g users
; add group script = /usr/sbin/groupadd "%g"
; add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
; delete user script = /usr/sbin/userdel "%u"
; delete user from group script = /usr/sbin/userdel "%u" "%g"
; delete group script = /usr/sbin/groupdel "%g"
; local master = no
; os level = 33
; preferred master = yes
; wins support = yes
; wins server = w.x.y.z
; wins proxy = yes
; dns proxy = yes
; load printers = yes
cups options = raw
; printcap name = /etc/printcap
#obtain list of printers automatically on SystemV
; printcap name = lpstat
; printing = cups
; map archive = no
; map hidden = no
; map read only = no
; map system = no
; encrypt passwords = yes
guest ok = yes
guest account = Benshee
; store dos attributes = yes
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
; valid users = %S
; valid users = MYDOMAIN\%S
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
; guest ok = no
; writable = No
printable = yes
# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
; comment = Network Logon Service
; path = /var/lib/samba/netlogon
; guest ok = yes
; writable = no
; share modes = no
# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
; [Profiles]
; path = /var/lib/samba/profiles
; browseable = no
; guest ok = yes
# A publicly accessible directory, but read only, except for people in
# the "staff" group
; [public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = +staff
[Media]
path = /home/Media
writeable = yes
; browseable = yes
guest ok = yes
Und ja es ist beabsichtigt, dass das ganze auf share steht mit nem Gastaccount. :)
Ich hoffe mir kann da jemand helfen :)
Achja noch ne kleine Frage zu nem anderen Thema:
Ich hab ne ppp Verbindung (UMTS Modem) am laufen, dieser startet auch automatisch, aber nur wenn ich mich anmelde. Im runlevel 3 leider nicht, wie kann ich das ändern?
Schonmal vielen dank.
Grüße,
Benshee
habe da ein eigenartiges Problem. Ich möchte gerne einen Linux Rechner als Router und Samba (File) Server nutzen. Dafür habe ich mir jetzt Fedora 10 ausgeguggt und soweit funktioniert auch alles. Nur ein Problem, wenn der Linux Rechner startet, funktioniert die Freigabe erstmal nicht. Rufe ich dann das grafische Admintool von Samba auf und gehe auf Servereinstellungen, schau alles durch und klicke auf OK und schließen, dann funktioniert der Datenaustausch wunderbar. Natürlich kann ich so den Server/Router nicht im runlevel 3 starten.
Der SMB Dienst läuft die ganze Zeit und ein neustart bringt auch keine Abhilfe.
Woran kann das liegen?
Hier mal meine smb.conf
#
workgroup = MSHEIMNETZ
server string = Samba Server
; netbios name = MYSERVER
; interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
; hosts allow = 127. 192.168.12. 192.168.13.
max log size = 50
security = share
passdb backend = tdbsam
; realm = MY_REALM
; password server = <NT-Server-Name>
; domain master = yes
; domain logons = yes
# the login script name depends on the machine name
; logon script = %m.bat
# the login script name depends on the unix user used
; logon script = %u.bat
; logon path = \\%L\Profiles\%u
# disables profiles support by specifing an empty path
; logon path =
; add user script = /usr/sbin/useradd "%u" -n -g users
; add group script = /usr/sbin/groupadd "%g"
; add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
; delete user script = /usr/sbin/userdel "%u"
; delete user from group script = /usr/sbin/userdel "%u" "%g"
; delete group script = /usr/sbin/groupdel "%g"
; local master = no
; os level = 33
; preferred master = yes
; wins support = yes
; wins server = w.x.y.z
; wins proxy = yes
; dns proxy = yes
; load printers = yes
cups options = raw
; printcap name = /etc/printcap
#obtain list of printers automatically on SystemV
; printcap name = lpstat
; printing = cups
; map archive = no
; map hidden = no
; map read only = no
; map system = no
; encrypt passwords = yes
guest ok = yes
guest account = Benshee
; store dos attributes = yes
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
; valid users = %S
; valid users = MYDOMAIN\%S
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
; guest ok = no
; writable = No
printable = yes
# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
; comment = Network Logon Service
; path = /var/lib/samba/netlogon
; guest ok = yes
; writable = no
; share modes = no
# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
; [Profiles]
; path = /var/lib/samba/profiles
; browseable = no
; guest ok = yes
# A publicly accessible directory, but read only, except for people in
# the "staff" group
; [public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = +staff
[Media]
path = /home/Media
writeable = yes
; browseable = yes
guest ok = yes
Und ja es ist beabsichtigt, dass das ganze auf share steht mit nem Gastaccount. :)
Ich hoffe mir kann da jemand helfen :)
Achja noch ne kleine Frage zu nem anderen Thema:
Ich hab ne ppp Verbindung (UMTS Modem) am laufen, dieser startet auch automatisch, aber nur wenn ich mich anmelde. Im runlevel 3 leider nicht, wie kann ich das ändern?
Schonmal vielen dank.
Grüße,
Benshee