Jump to content

Recommended Posts

Posted

Anyone managed to get this going?

 

current setup:

 

Ubuntu 6.06

Moodle 1.7

Apache 2

Pesky 2003 active directory controllers and for LDAP

 

Have downloaded moodle block SMB_WEB_CLIENT and followed the instructions

 

We can login to moodle OK via LDAP so that's fine.

 

We've tested to make sure we can mount via smbmount from the command line to a windows share and this works (after having figured out the syntax).

 

Does my syntax below look OK?

 

###################################################################

# Array of windows share strings to convert to smb strings

# i.e. '\\myserver' => 'mydom/myserver' would replace '\\myserver'

# in a share string with mydom/myserver

#edit the config file to include smb replacement strings for home dir #shares - $smb_cfg->cfgWinShareToSmb - e.g. the

#windows share '\\netserv1\guysfolder' might need to #be 'studentdomain/netserv1/guysfolder' for smbclient to read it. #Therefore you would need a config entry as follows:

#

#$smb_cfg->cfgWinShareToSmb=array(

# '\\netserv1'=>'studentdomain/netserv1'

#);

 

$smb_cfg->cfgWinShareToSmb=array(

'\\netserv1\staff$'=>'schooladdomain/netserv1/staff$'

);

 

However I'm getting a few errors, namely NT_STATUS_ACCESS_DENIED as a popup when you try to use the block, and a few PHP errors (which are probably as a result of the above).

 

Any pointers would be great

 

ta

  • 2 weeks later...
  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...