Displaying 4 results from an estimated 4 matches for "sharetest".
Did you mean:
share_test
2005 Dec 08
0
permissions weirdness with samba share mounted in linux
I have two linux machines, both are running Samba. I'm trying to mount a
samba share that exists on machine A to a local mount point on machine
B. I created an account on machine A called "sharetest" with full access
to the samba share I want to mount on machine B. I tested by trying to
access the share via windows using the sharetest accocunt and it worked
great. Then I mounted the share on machine B with this command:
mount -t smbfs //[IP Address]/[Share] /mnt/test -o
username=sharetes...
2014 Nov 11
1
Changing password server to win 2012
...= yes
domain logons = no
password server = dc1 dc2
security = domain
The new smb.conf:
workgroup = nl.newdomain.com
password server = <ip1 of dc1> <ip2 of dc2>
.. other options left same.
a share would be:
[testshare]
comment = test share
path = /mypath/sharetest
public = no
writeable = yes
create mode = 0770
inherit permissions = yes
force directory mode = 2770
If I try to join the new domain it fails too: (Although it validates my
password properly!, using a wrong password fails with: The username or
password was not correct.)
r...
2018 Jan 30
1
Samba 4.6.2 does not inherit setgid bit (anymore)
...rd or not manage to apply these sticky bits at all ( at least
regarding latest v4.7.4 ), I grabbed from the log following excerpt:
[2018/01/30 19:05:17.994374, 5, pid=3294, effective(2002158,
2000513), real(2002158, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
unix_mode: unix_mode(sharetest/A/X/New folder (10)) returning 02770
...
[2018/01/30 19:05:18.064582, 5, pid=3294, effective(2002158,
2000513), real(2002158, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
unix_mode: unix_mode(datatest/A/X/New folder (10)) returning 0770
Another efficient workaround could be to...
2003 Dec 01
0
No subject
...ndHeader(1);
system("echo > newline");
my($endflag) = "Press enter to see a dump of your service definitions";
my($line);
my(@lines) = 'testparm < newline';
foreach $line (@lines)
{
chomp($line);
last if $line eq $endflag;
&writelog($line);
}
}
sub shareTest
{
my($tf)="testfile.tmp";
my($tfback)="$tf\.tst";
unlink $tfback;
system("echo First line of test file > $tf");
system("echo Last line of test file. >> $tf");
&writeCommandHeader("7");
my($command)="smbclient \'$TESTSHAR...