fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


linux:samba

Samba

HHS Cloud

http://wiki.samba.org/index.php/Samba_&_Active_Directory
http://www.eiben.weite-welt.com/2006/03/winbind/
http://blog.tuxclouds.org/?p=524

Software Repositories updaten

apt-get update

Samba installieren

apt-get install samba

Benutzer anlegen

root@debian:~# adduser test
Lege Benutzer »test« an ...
Lege neue Gruppe »test« (1008) an ...
Lege neuen Benutzer »test« (1006) mit Gruppe »test« an ...
Erstelle Home-Verzeichnis »/home/test« ...
Kopiere Dateien aus »/etc/skel« ...
Geben Sie ein neues UNIX-Passwort ein: 
Geben Sie das neue UNIX-Passwort erneut ein: 
passwd: Passwort erfolgreich geändert
Benutzerinformationen für test werden geändert.
Geben Sie einen neuen Wert an oder drücken Sie ENTER für den Standardwert
	Vollständiger Name []: test
	Raumnummer []: 
	Telefon geschäftlich []: 
	Telefon privat []: 
	Sonstiges []: 
Sind die Informationen korrekt? [J/n] j

krb5.conf

[libdefaults]
       default_realm = chuck.norris
       kdc_timesync = 1
       ccache_type = 4
       forwardable = true
       proxiable = true
[realms]
CHUCK.NORRIS = {
       kdc = sdc.chuck.norris
       admin_server = sdc.chuck.norris
}
[domain_realm]
       chuck.norris = CHUCK.NORRIS
       .chuck.norris = CHUCK.NORRIS

smb.conf

[global]
 
## Browsing/Identification ###
 
# Change this to the workgroup/NT-domain name your Samba server will part of
   workgroup = CHUCK
   realm = CHUCK.NORRIS
   idmap uid = 10000-20000
   idmap gid = 10000-20000
   winbind separator = /
   winbind use default domain = yes
   server string = %h server (Samba %v)
   security = ADS
   password server = sdc.chuck.norris
   client use spnego = yes
apt-get install libkrb53 krb5-{admin-server,kdc}

[cloudshare]
comment = HHS-Cloud Share
writable = yes
path = /mnt/cloud/
valid users = @"DOMAIN+<AD Gruppe die die Samba Share nutzen darf>"   
admin users = @"DOMAIN+<AD Admin Gruppe>
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.  More information about cookies 
linux/samba.txt · Last modified: 2024/02/17 19:03 by 127.0.0.1