PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Samba Passwort ändern



masur
01.08.07, 16:51
Hallo,

Grunsätzlich vergebe ich bei Suse 10.1 oder 2 immer das selber Passwort
um sicher zu sein das nicht vergessen wird.

Samba funzt mit Win XP so:

An beiden PC sind Samba und Win zu sehen und nur Win funzt prima.
Samba verlangt bei beiden PC's Benutzername und Passwort und alles
was ich eingebe ist nicht richtig.

Mit smbpasswd in Konsole bekomme ich meldung:

New SMB password:milan
Retype new SMB password:milan
Faild to find entry for user root
Faild to modify passwort entry for user root

Wie kann ich bei Suse Benutzername und smbpasswd noch ändern bitte!

Danke im voraus

Gruß
masur

asi_dkn
01.08.07, 18:58
hast du auch den sambauser angelegt? für mich sieht das so aus als würde der gar keinen eintrag für deinen user finden, dann kann er natürlich auch kein passwort setzen

Thallez
01.08.07, 18:59
Der Benutzer milan muss auch unter Linux existieren
ansonsten wären auch ein paar mehr Details nützlich

jano
02.08.07, 11:25
1. Nutzer muss unter Linux auch existieren
2. Der User muss mittels "smbpasswd -a" erst eingetragen werden.
3. der Pfad zu diener smbpasswd datei muss in der smb.conf Datei eingetragen sein.
4. ansonsten beim einloggen auf case sensitive achten.
man smbpasswd hilft auch weiter .)

Gruß

jan

masur
11.08.07, 12:38
Hi janvolz,

Ich habe Samba gelöscht und neu Installiert/Konfiguriert ohne ein passwort zu vergeben
und die alte Ärger (verlangt nach benutzername+paswort) ist noch da!

smb.conf kann ich nicht ändern bzw.speichern.

Bei alte Suse funzte Samba auch ohne abfrage, kein Benutzername und Passwort
und so möchte ich Samba wieder haben.
Kannst du mir helfen?

meine smb.conf:

# 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: 2007-06-29
[global]
workgroup = meinepcs
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 = No
domain master = No
security = user
[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]

[meine daten]
comment =
inherit acls = Yes
path = /home/jablan/
read only = No

Gruß
masur