#460 Domain user's home become read-only

open
nobody
None
1
2014-08-10
2012-10-02
rockylee
No

Hello All

I joined a window AD and try to login with domain user via AFP, but client shows error and volume become read-only when access his home.

Test Local account is OK.

Thanks for any advice.

best regards
Rocky

Client Error

Someting wrong with the volume's CNID DB, using temporary CNID DB instead. Check server messages for details.Switching to read-only mode.

Server Error

Oct 02 19:54:50.258056 cnid_metad[7870] {cnid_metad.c:613} (S:CNID): main: no volume for path "/home/PROADS2003/administrator"

Account info

Domain user name -> PROADS\administrator
Domain user home -> /home/PROADS/administrator

afp.conf

[Global]
log file = /var/log/afp.log
log level = default:maxdebug
[Homes]
basedir regex = /home

error part of maxdebug logs output

........
........
Oct 02 19:54:50.256532 cnid_metad[7870] {cnid_metad.c:605} (D5:CNID): main: request for volume: /home/PROADS2003/administrator
Oct 02 19:54:50.256564 cnid_metad[7870] {netatalk_conf.c:1140} (D5:AFPDaemon): load_volumes: BEGIN
Oct 02 19:54:50.256586 cnid_metad[7870] {netatalk_conf.c:1150} (D5:AFPDaemon): load_volumes: no volumes yet
Oct 02 19:54:50.256609 cnid_metad[7870] {netatalk_conf.c:1178} (D5:AFPDaemon): load_volumes: loading: /etc/afp.conf
Oct 02 19:54:50.256666 cnid_metad[7870] {netatalk_conf.c:965} (D5:AFPDaemon): readvolfile: BEGIN
Oct 02 19:54:50.256682 cnid_metad[7870] {netatalk_conf.c:968} (D5:AFPDaemon): readvolfile: sections: 2
Oct 02 19:54:50.256697 cnid_metad[7870] {netatalk_conf.c:1196} (D5:AFPDaemon): load_volumes: END
Oct 02 19:54:50.256711 cnid_metad[7870] {netatalk_conf.c:1272} (D5:AFPDaemon): getvolbypath("/home/PROADS2003/administrator")
Oct 02 19:54:50.256725 cnid_metad[7870] {netatalk_conf.c:1306} (D5:AFPDaemon): getvolbypath: user home section: 'Homes', basedir: '/home'
Oct 02 19:54:50.256794 cnid_metad[7870] {netatalk_conf.c:1326} (D5:AFPDaemon): getvolbypath: basedir regex: '/home', basedir match: "/home"
Oct 02 19:54:50.258056 cnid_metad[7870] {cnid_metad.c:613} (S:CNID): main: no volume for path "/home/PROADS2003/administrator"
Oct 02 19:54:50.258201 afpd[8114] {socket.c:157} (E:AFPDaemon): read: Connection reset by peer
Oct 02 19:54:50.258236 afpd[8114] {cnid_dbd.c:331} (D5:CNID): dbd_rpc: Error reading header from fd (db_dir /home/PROADS2003/administrator): Connection reset by peer
Oct 02 19:54:50.258267 afpd[8114] {cnid_dbd.c:370} (D10:CNID): transmit: connecting to cnid_dbd ...
Oct 02 19:54:50.258282 afpd[8114] {cnid_dbd.c:234} (D5:CNID): init_tsock: BEGIN. Opening volume '/home/PROADS2003/administrator', CNID Server: localhost/4700
......
......

Discussion

  • rockylee
    rockylee
    2012-10-03

    Sorry forgot Netatalk Version, which is : 3.0.1

    Domain user name -> PROADS\administrator
    Domain user home -> /home/PROADS/administrator

    [Global]
    log file = /var/log/afp.log
    log level = default:maxdebug
    [Homes]
    basedir regex = /home

     
    Last edit: rockylee 2012-10-04