Acum cateva zile am postat problema mea despre userii din windows(w2k)
si cum sa fac incat sa nu mai creez din nou acel user pe linux ca sa
acceseze un share de pe linux (ie samba). Datorita ajutorul vostru (Radu
Geab, Silviu Marin si toti ceilalti) problema sa rezolvat folosind
winbind si samba. Problema era cu Winbindd si fisierul meu de smb.conf.
Pt mine wbinfo -a sau -g nu mergea si primeam un mesaj de genu
0xc0000022 . Am aflat cu ajutorul lui Radu Geab ca exista o solutie,
adica folosind wbinfo -A pt ca "This option stores the user and password
used by winbindd (root only)". Dupa care puteti verifica daca merge cu
wbinfo-a/-g sau getent passwd/group si sa vedeti cum sunt mapati userii
din windows in linux. Iata cum arata smb.conf:

[global]

        security = domain
        workgroup = andr
        encrypt passwords = yes
# Winbindd uid/gid mapping
        winbind uid = 10000-20000
        winbind gid = 10000-20000
        winbind separator = +
        template homedir = /home/%U
        password server = mdp-srv1
        winbind separator = +
        add user script = mkdir /home/%U && chown ANDR+%U /home/%U &&
chmod go-r /home/%U
# Logging
        log file = /var/log/samba/%m.log
        max log size = 0
# Performance tuning
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

#========================[SHARES======================#

[homes]
        comment = Backup Directory
        browseable = no
        writable = yes

Va multumesc foarte mult tuturor persoanelor care m-au ajutat si sper sa
pot ajuta si eu la randul meu. Salutare si numai bine,


//Marius


--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui