PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Samba 3 und User Manager for Domains



thund3rbird
22.11.06, 19:06
Hi,

ich hab folgendes Problem.
Benutze Gentoo Linux und habe mir einen Samba Server installiert laut diesem Tutorial!

http://www.linuxforen.de/forums/showthread.php?t=216060

Konnte die Windows Rechner ohne Probleme in die Domain einbinden und das groupmapping hat auch funktioniert!!

Jetzt habe ich nur ein Problem mit dem User Manager!
Und zwar egal was ich machen will, ob User anlegen oder Gruppen oder sonstiges, sagt mir der User Manager immer folgende Fehlermeldung:

Ein an das System angeschlossenes Gerät funktioniert nicht.

Woran kann das liegen???

Meine smb.conf:

[global]
# Browsing/Identification #
workgroup = hammerstein
netbios name = server
server string = Server (Samba %v)
dns proxy = no
# name resolve order = lmhosts wins bcast hosts
os level = 35
preferred master = yes

## Primary Domain Control ##
domain master = yes
# local master = yes
domain logons = yes
wins support = yes

## Logon Optionen
logon path = \\%L\%U\profiles
logon script = ntlogon.cmd
logon drive = L:
# logon home = \\server\srv\net\profiles\%u\winprofile

#### Debugging/Accounting ####
log file = /var/log/samba/%m.log
max log size = 1000
log level = 3
syslog = 0
panic action = /usr/share/samba/panic-action %d

##### add/del users and groups #####
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
delete user from group script = /usr/sbin/groupmod -R %u %g
add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u
add group script = /usr/sbin/groupadd "%g"
set primary group script = /usr/sbin/usermod -g %g %u

####### Authentication #######
security = user
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
guest account = nobody
# invalid users = root
passwd program = /usr/bin/passwd %u
# passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .

############ Misc ############
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

#============================ Share Definitions ==============================

[homes]
path = /homes/%S
valid users = %S
read only = no
browseable = no
read only = no
create mask = 700
directory mask = 700

# Un-comment the following and create the netlogon directory for Domain Logons
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
read only = yes
browseable = no

# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
[Profiles]
path = /homes/profiles
read only = no
browseable = no
create mask =700
directory mask = 700

# This script can be enabled to create profile directories on the fly
# You may want to turn off guest acces if you enable this, as it
# hasn't been thoroughly tested.
;root preexec = PROFILE=/var/lib/samba/profiles/%u; if [ ! -e $PROFILE ]; \
; then mkdir -pm700 $PROFILE; chown %u:%g $PROFILE;fi


Der Befehl "net groupmap list" gibt folgendes aus:

server ~ # net groupmap list
System Operators (S-1-5-32-549) -> -1
Replicators (S-1-5-32-552) -> -1
Guests (S-1-5-32-546) -> -1
Domain Admins (S-1-5-21-546127787-3086119285-2154654579-512) -> ntadmin
Domain Guests (S-1-5-21-546127787-3086119285-2154654579-514) -> guests
Domain Users (S-1-5-21-546127787-3086119285-2154654579-513) -> users
Power Users (S-1-5-32-547) -> -1
Print Operators (S-1-5-32-550) -> -1
Administrators (S-1-5-32-544) -> -1
Account Operators (S-1-5-32-548) -> -1
Backup Operators (S-1-5-32-551) -> -1
Users (S-1-5-32-545) -> -1


Hat jemand eine Ahnung woran das liegen kann???
Wäre echt cool!!

Grüße
Mirko

thund3rbird
24.11.06, 13:22
Hey,
ich habe mich jetzt nochmal zu Tode gegoogelt ... aber absolut nichts gefunden!!

Hat irgendjemand eine Idee ??

Grüße
Mirko

ramsys
24.11.06, 13:25
Sieht irgendwie so aus als wenn dein Groupmapping nicht funktioniert. Dann funktioniert der usrmgr auch nicht. Google mal danach

thund3rbird
24.11.06, 13:34
Hey,
hab ich schon probierzt alles rausgegoogelt ..

Was kann das denn am Groupmapping sein ??

Wonach sollte ich denn da genau googln ??

ramsys
24.11.06, 18:12
Ich zieh meine Aussage mal zurrück. Hast deine Groups ja manuell gemapt.

CADoktor
11.01.08, 16:22
Habe genau das identische Problem auf Xubuntu 7.10
Samba Server funktioniert einwandfrei als PDC mit wandernden Profilen etc.

Nur bei "User Manager" auf windows werden alle User richtig angezeigt aber sonst geht nichts ohne das die Fehlermeldung "Ein an das System angeschlossenes Gerät funktioniert nicht." kommt. Bei JKlick auf die Gruppen im unteren Bereich stürzt der "User Manager" sogar ab. Gibts da neue Erkenntnisse?