Re: SMB backend
Ralph Sikau <[email protected]> Mon, 18 Sep 2017 19:59:57 +0200
| Newsgroups | gmane.comp.horde.gollem |
|---|---|
| Organization | Parabol Pictures |
| Message-ID | <[email protected]> |
Jan Schneider schrieb: > > Zitat von Ralph Sikau <[email protected]>: > >> Ralph Sikau schrieb: >>> Jan Schneider schrieb: >>>> >>>> Zitat von Ralph Sikau <[email protected]>: >>>> >>>>> At the console the user can connect from the horde machine to his >>>>> home directory on the Samba server. With Gollem he cannot: >>>>> "Authentication failed". The problem seems to be that the home >>>>> directory has the name of the user. So it does not help to define >>>>> "share = homes" but there should be a variable representing the >>>>> username. >>>>> Any ideas? >>>>> >>>>> Best, Ralph >>>> >>>> It should still work using the "homes" share name, if this is what is >>>> used in your Samba server. >>>> >>> Unfortunately ist does not. It works if I define "share = ralph" and >>> login as ralph. But that is wrong for the other users. >>> >>> >> Can anybody tell which login string Gollem uses with the server and >> share parameters included? >> And is there a debug option to get more details than just >> "authentication failed"? > > putenv('PASSWD=' . $this->_params['password']); > $port = isset($this->_params['port']) > ? (' "-p' . $this->_params['port'] . '"') > : ''; > $ipoption = isset($this->_params['ipaddress']) > ? (' -I ' . $this->_params['ipaddress']) > : ''; > $domain = isset($this->_params['domain']) > ? (' -W ' . $this->_params['domain']) > : ''; > $fullcmd = $this->_params['smbclient'] . > ' "//' . $this->_params['hostspec'] . '/' . $share . '"' . > $port . > ' "-U' . $this->_params['username'] . '"' . > ' -D "' . $path . '"' . > $ipoption . > $domain . > ' -c "'; > foreach ($cmd as $c) { > $fullcmd .= $c . ";"; > } > $fullcmd .= '"'; > > Hmm ... How can I define in backends.local.php that parameter $share = params['username']? -- gollem mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected]