similar to: need help with preexec

Displaying 20 results from an estimated 3000 matches similar to: "need help with preexec"

2002 Aug 04
2
can someone PLEASE tell me how to mount a share with all stuff world
Ok, on local machine, everyone can do anything they want in /share and all it's files/subdirs On remote machine, everyone can do whatever they want on /share, but no one can do ANYTHING in it's subdirs. >From: Joel Hammer <Joel@HammersHome.com> >To: David Cougle <dcougle@hotmail.com>, samba@lists.samba.org >Subject: Re: [Samba] can someone PLEASE tell me how to
2002 Jul 15
3
Removing ALL security from samba. :)
Hi, I've got samba running on multiple machines, blah blah works great... On my new fax server (RH7.2) I want any windows user to be able to connect using any username/password. I got it to work with the nobody/pc guest accounts, but that defeats the purpose (I need to see their windows/default username). Basically you connect to the fake samba shared printer, and the script mails a URL
2003 Feb 25
1
encoding problem with samba 227 ad rh80
Hello I'm using an OOTB RH80 with recent updates, and samba 227, french language when I access a samba share from a w98 box eveything works fine but with accented chars I just can't get the right filename under linux. whatever filename I use on w98, with accented chars, it works from the w98 side (I get write and read files with their right filenames) but when I try to access those
2003 Mar 10
1
1 minute wait on a share / call_trans2qfsinfo takes 60 seconds
Hi I have a linux mdk 8.0 w/ custom 2.4.19-16 kernel, acls, quotas etc I have a samba 2.2.7 serving several shares on LVs everything's fine but with one share : whenever a windows client accesses this share his file manager is locked out for exactly one minute. this happens when the client requests the directory listing (or when an automatic refresh takes place) i can't see any reason
2003 Jun 28
3
Listing samba 2.2.8a (redhat 8) verables to a text file
I have been using samba for a while now with great sucesses it has replaced my Windows 2000 server completely, I am using a mix of windows98, 2000 and XP with no problems. However i would like to do two things, 1) print samba veriables to a log file in a location of my choice 2) When a windows test user logs on, i would like to display a windowed dialog box showing the verious samba veriable
2003 May 20
1
readonly files get un-erasable from win nt clients #REPOST
Hi I posted this last week but go no answers. So I try again in case someone has any idea... I have a file server (linux with acl and quotas custom 2.4.18 kernel, samba 2.2.7a with acl, quotas and winbind) among others there's a share on which any user of the domain is allowed to put files, any user able to read and write other users' files (a public and free space) the problem is that
2002 May 09
1
How do i set different permission for a shared directory?
Hello, Would really appreciate any advise on how the security setting should be setup. I have running Samba ver 2.0.7 on HPUX10.20. Clients run Windows 200 PCs, WinNT4 PDC. "docusers" is the UNIX home directory for document users. their individual home dir is created under their user id. so, Paul 's home directory structure is : /docusers/paul Below is an extract from the
2001 Nov 09
5
Permissions or what!?! <: \
PLEASE HELP ME!!! For some reason, I can not change any of my shares! I just started trying to configure samba yesterday. Here is what I have: (2) Windows 98 SE Systems (1) Debian 2.2 r 3 Linux System running Samba The username on the Windows machines is "Name" and I want to be able to access a few shares on the Samba machine. So I started configuring
2002 Dec 31
1
Trouble pinging servers DNS name.
I can ping the virtual Linux servers NetBIOS name and access a share. Perhaps someone can examine the attached named.conf file for errors and/or omissions. My virtual Linux server (172.17.60.6) has been configured as a WINS server, and a PDC. I am not, however, certain how to configure it as a DNS server beyond what is in the attached named.conf file. Here are the results of pinging the
2001 Nov 29
2
Odd preexec/root preexec behavior
Running Samba 2.2.2, having troubles with preexec when it involves the path parameter: Log on to the samba server as kris, user "users". %U expands to kris, %G expands to users. [profile] path = /data/profile/%U preexec = /bin/mkdir -m 700 /data/profile/%U writable = yes create mode = 0600 directory mode = 0700 This fails to work, Samba reports that it could not
2003 Jan 26
2
Remote machines seen as UNKNOWN
Hello, I have two machines (Samba under Linux, and Win98) that try to connect to another samba machine. They are all two seen as UNKNOWN machines. With the Linux one, I am correctly authenticated, but with the Win98, Connections are rejected. Here is a level 3 log file (It's a bit long, sorry). As you can see, there is an ERRNO = Connection reset by peer Thanks.
2016 Oct 30
4
Auto Create Home - shadow_copy2 and root preexec
Hi, I make use of shadow_copy2 and root preexec. The vfs root preexec is responsible to auto create home directories which initially don't exist. The script behind it is well tested and works perfectly. Unfortunaltely shadow_copy2 seems to be called before root preexec and fails due to the missing ZFS home share which causes the session to fail completely before root preexec even has a
1999 Oct 20
3
Preexec and smb.conf
Hi Steve, And thanks for your answer. Unfortunately it does not solve my problem. What I?m trying to do is to create two dirs using preexec in the same service. It works well as long as I?m only creating one directory, what I can?t figure out is how to create the second directory withing the same service. Eg. How would I continue after the last "fi" in the script to check for the second
1999 Oct 19
2
Preexec and multiple commands
Hi, I am trying to create two directories using the preexec command but I must be missing something very simple. I just can?t figure out the syntax. How would I continue this so that I could create dir2? preexec = if [ ! -e /home/%U/dir1] then /bin/mkdir /home/%U/dir1; fi Regards Robert ----------------------------------------------------------
2002 May 07
6
What to do for ACL support?
Hi! I'm trying to setup samba 2.2.4 on MandrakeLinux 8.2. The server should act as a file storage for about 25 Windows 2000 clients. Setting up a "basic" server which just serves the files is easy. However, I'd also like to support NT ACLs on the Samba server. Well, what do I have to do, to get it to work? I'm using the Mandrake RPM for 2.2.4, which has ACL support
2004 May 12
2
preexec script problem
hi all i'm running into a little problem when using preexec scripts for the creation of dir's on my samba server.... script --- #! /bin/sh name=`getent passwd | grep %U | awk -F: '{print $5}'` mkdir /samba/test/"$name" --- snip of smb.conf --- [test] path = /samba/test preexec = /root/script browseable = Yes writeable = Yes
2004 Oct 13
1
root preexec script runs twice
Hi. I'm tesing Samba 3.0.7-a on Debian Sarge with Debian kernel 2.6.8. I am working on auto-creation of logon scripts, & am using a root preexec on the netlogon share for this. In testing I have passed the user ID to the script, and have used echo to test output. The netlogon service parameters and other info are below. The output from the script occurs twice in the output file,
2015 Oct 22
3
Can't get 'root preexec' to run
The next interesting question for me is: If I put '\\server\%username%' into ADUC Windows part (or \\server\username explicitly, for that matter), Samba on 'Ok/Apply' registers the attempt to access a non-existing share and applies the [homes] section (executes 'root preexec'). I tested that. However, the user doing this is the domain admin. So Samba would look that
2007 Oct 01
2
Logging logins with preexec and Samba/LDAP
Hi all, I had the following line in my smb.conf with which to log access to the home share when users logged in: preexec = /bin/echo \"%u logged in to %m at %T\" >> /var/log/samba/logons.log Since updating to LDAP however, it's stopped working and I suspect that smbldap cant handle the % substitutions for user, machine and time. Has anyone else run into this problem? If
2015 May 12
2
preexec and msdfs proxy
On 12/05/15 20:27, Greg Enlow wrote: > To the powers the might be, > > it seems that the "(root) preexec" function does not work when used with "msdfs proxy". Is that just "my" problem, an error or by design? > If it is by design, I would be curious to know why. > If it is an error, can it be addressed fairly quickly? > If it is none of the above,