[Samba-it] errore nel join di xp a pdc samba

ivan re re.ivan at gmail.com
Thu Feb 5 11:13:00 MST 2009


smbpasswd -a root l'ho già fatto ... ma senza risultati.
smb.conf:

[global]
    workgroup = ORIONE
    server string = %h server (Samba, Ubuntu)
    interfaces = 127.0.0.0/8, eth0
    bind interfaces only = Yes
    passdb backend = tdbsam
    passwd program = /usr/bin/passwd %u
    passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n
*Enter* new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd:
*all* authentication*tokens*updated*successfully*
    unix password sync = Yes
    log level = 10
    syslog = 0
    log file = /var/log/samba/%m.log
    max log size = 1500
    name resolve order = lmhosts host bcast
    socket options = TCP_NODELAY  IPTOS_LOWDELAY SO_RCVBUF=8192
SO_SNDBUF=8192
    add user script = /usr/sbin/useradd -m %u
    delete user script = /usr/sbin/userdel -r %u
    add group script = /usr/sbin/groupadd %g
    delete group script = /usr/sbin/groupdel %g
    add user to group script = /usr/sbin/usermod -G %g %u
    add machine script = /usr/sbin/useradd -d /dev/null -g machines -s
/bin/false -M %u
    logon script = tutti.bat
    logon drive = H:
    domain logons = Yes
    os level = 65
    preferred master = Yes
    domain master = Yes
    dns proxy = No
    usershare allow guests = Yes
    panic action = /usr/share/samba/panic-action %d
    valid users = root, ivan
    hosts allow = 127.0.0.1, 192.168.1.0/24
    hide unreadable = Yes

[homes]
    comment = Home Directories
    path = /home/user/%u
    valid users = %S
    read only = No
    create mask = 0700
    directory mask = 0700
    browseable = No

[netlogon]
    comment = Network Logon Service
    path = /home/samba/netlogon
    valid users = %U
    admin users = Administrator
    browseable = No

[profiles]
    comment = Users profiles
    path = /home/samba/profiles
    create mask = 0600
    directory mask = 0700
    browseable = No


On Thu, Feb 5, 2009 at 7:05 PM, Alessio Spoto <alessio at aspoto.net> wrote:

> Ciao, fai anche il post del tuo smb.conf
> ad occhio sembra che devi anche fare il smbpasswd -a root
>
> ciao
> Alessio
>
> ivan re ha scritto:
>
>> Ho installato ubuntu 8.04 su un server hp.
>>
>> Dopo aver scaricato samba, letto parte del mauale ufficiale, nonchè i
>> manuali di openskill ho configurato samba come PDC.
>> ho creato un utente test ed uno root e con smbpasswd -a nomeutente ho
>> definito anche la passowrd per samba (identica a quella UNIX)
>>
>> in smb.con ho aggiunto la scritta add machine script= ... per far si che i
>> vari client creino ognuno una loro entry automaticamente.
>>
>> Ho configurato le impostazioni per il client winxp pro sp3 come da manuali
>>
>> quando provo a fare il join di questa macchina con il dominio ottengo:
>> Il computer non ha avuto accesso al dominio a causa del seguente errore:
>> impossibile trovare il nome utente.
>>
>> AIUTO!!!!
>>
>> se sul server eseguo il comando smbclient -L localhost -u test (o root),
>> immetto la password ed il tutto funziona.
>>
>> perchè?
>> IK
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Samba-it mailing list
>> Samba-it at xsec.it
>> https://lists.xsec.it/mailman/listinfo/samba-it
>>
>>
>
> _______________________________________________
> Samba-it mailing list
> Samba-it at xsec.it
> https://lists.xsec.it/mailman/listinfo/samba-it
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/samba-it/attachments/20090205/5a38ba8a/attachment.html>


More information about the samba-it mailing list