tycoon
Goto Top

Datenserver mit Samba. Logon Namen geben

Hallo,

ich habe wieder mal eine Frage zu Samba.

Ich bin Dabei einen Datenserver auf Linux einzurichten. Als BS habe ich sles 10.

Ich habe soweit Samba eingerichtet. Läuft als PDC. Authentifizierung geht über ldap.
Funktioniert alles soweit, bis auf einen Rechner, aber das ist ein anderes Problem.


Zu meiner Frage. Ich habe einen User "Daten" eingerichtet und in sein Home Verzeichnis die Daten gepackt
und noch weitere Benutzer hinzugefügt, die sich dann an der domäne anmelden und auf die Daten zugreifen sollen.
Wenn ich mich an der Domäne anmelde, habe ich utomatisch ein Laufwerk im Arbeitsplatz von dem jeweiligen
User, mit dem ich mich grade angemeldet habe, mit der Bezeichnung "User sowieso auf Samba.....". Meine Frage ist, wie kann ich es so einrichten, dass das Lafwerk z.B "eigene Dateien auf Server" heist? Und wie kann ich noch automatisch noch ein
Laufwerk einbinden, das auf des Home Verzeichnis des des Users "Daten" verweist. so dass ich im Arbeitsplatz noch eine
Laufwerk mit dem Namen "Daten" habe, wo sich die ganzen Daten befinden?
Hier ist noch die smb.conf

  1. smb.conf is the main Samba configuration file. You find a full commented
  2. version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
  3. samba-doc package is installed.
  4. Date: 2008-04-23
[global]
workgroup = heimnetz
printing = cups
printcap name = cups
printcap cache time = 750
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:
usershare allow guests = Yes
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = Yes
domain master = Yes
idmap backend = ldap:ldap:localhost
ldap admin dn = cn=Administrator,dc=home,dc=de
ldap delete dn = No
ldap group suffix = ou=group
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Machines
ldap passwd sync = Yes
ldap replication sleep = 1000
ldap ssl = Start_tls
ldap suffix = dc=home,dc=de
ldap timeout = 5
ldap user suffix = ou=people
local master = Yes
os level = 65
passdb backend = ldapsam:ldap:
localhost smbpasswd
preferred master = Yes
security = user
wins support = Yes
[homes]
comment = Home Directories
valid users = %S, %D%w%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


Viele Grüße

Content-Key: 112907

Url: https://administrator.de/contentid/112907

Printed on: April 25, 2024 at 08:04 o'clock