Unable to access sysvol when using \\domain\sysvol

  • 7002756
  • 17-Mar-2009
  • 27-Apr-2012

Environment

Novell Open Enterprise Server 2 SP1
OES2 SP1
Domain Services For Windows 1.0
DSFW

Situation

When attempting to map a drive or browse to the sysvol using the domain name the following error occurs on the workstation.

“\\Novell.com\sysvol is not accessible. You might not have permission to use this netowrk resource. Contact the administrator of this server to find out if you have access permissions.

The system cannot find the file specified.”

If the \\server\sysvol is used instead of the domain name then the mapping completes and the drive is accessible.

When browsing using the domain name the sysvol folder is shown, but not accessible.

Resolution

Verify the DSFW services are running by running the following command on the DSFW server:

xadcntrl validate

Check that time is in sync between the workstation and the domain controller

Look in the for errors in the /var/log/samba/log.smbd
If you something similar to the following then a symbolic link is missing:

[2009/01/01 11:11:01, 3] smbd/trans2.c:call_trans2qfilepathinfo(3340)
call_trans2qfilepathinfo: SMB_VFS_STAT of novell.com/SysVol failed (No such file or directory)
[2009/01/01 11:11:01, 3] smbd/error.c:unix_error_packet(56)
unix_error_packet: error string = No such file or directory
[2009/01/01 11:11:01, 3] smbd/error.c:error_packet_set(106)
error packet at smbd/trans2.c(3341) cmd=50 (SMBtrans2) NT_STATUS_OBJECT_NAME_NOT_FOUND


Verify the symbol links are there by running the following ls -l commands and receiving similar results:

ls-l /var/opt/novell/xad/sysvol/domain/sysvol
total 0
lrwxrwxrwx 1 administrator domain admins 9 Jan 1 11:47  /var/opt/novell/xad/sysvol/domain/sysvol -> ../sysvol

ls -l /var/opt/novell/xad/sysvol/sysvol/novell.com
total 0
lrwxrwxrwx 1 administrator domain admins 9 Jan 1 11:47 /var/opt/novell/xad/sysvol/sysvol/dsfw.novell.com -> ../domain

If one or both symbolic links are missing recreate the symbolic(s) links with the commands below using your own domain name in place of novell.com for the second symbolic link:

ln -s /var/opt/novell/xad/sysvol/sysvol /var/opt/novell/xad/sysvol/domain/sysvol

ln -s /var/opt/novell/xad/sysvol/domain /var/opt/novell/xad/sysvol/sysvol/novell.com