Hello, I need to serve one fileshare to different users in different groups ( I do so ). I gave different users different groups and told samba to make new files owned by user:group, mod 775. But now some users have the need to write in the directory of another group. Is it possible to force user and group per directory and not per share, or is it possible to create links in the filestructure that are pointing to other samba-shares ??? So the thing I want to do is to be better than the unix-filesystem-permission-set. Thanks, Robert Robert Koruna <robert.koruna@tiwag.co.at> ----------------------------------------- TIWAG-Tiroler Wasserkraftwerke AG Abteilung IT-UE Eduard Wallnoefer-Platz-2 A 6010-Innsbruck Tel.: +43 / (0)512 / 506 - 2772 Fax: +43 / (0)512 / 506 - 2670 -----------------------------------------
This has happened to me at work with just a Novell network; no Samba. The network printers go away and the best recovery is a reboot. Reinstalling the printer drivers just confuses the issue. It has stopped happening the last six months. So the last round of system upgrades seems to have fixed it. Enjoy ray> ------------------------------ > > Date: Tue, 28 Apr 1998 09:44:11 +1000 (EST) > Yes. Happens to me sometimes, latest version of Samba on Solaris > 2.5.1, > athough it has been happening for a long time.
> Date: Mon, 27 Apr 1998 18:12:21 > From: <cnj2@usa.net> > To: samba@samba.anu.edu.au > Subject: Verification of passwd chat script > Message-ID: <19980427181221.20868.qmail@www02.netaddress.usa.net> > > passwd chat = Changing*password*for**%u*\r %u*s*New*password* %n\n Re*enter*%u*s*new*password* %n\nSeems like you might be missing a token here. The first is an expect so the second must be a send. There is no need to tell chat to match the whole string. e.g. passwd chat = d: %n\r d: %n\r would be a minimal string. Brett ,------------ | ------ ,----------- `----. ------ | ------ | | COMPUTER TECHNOLOGY -----' ------ `---------- `------ | Brett Worth - Ph: +61 6 241 5633 Fx: 241 3733 - Canberra Australia
> I have set up a Solaris SysV lp spool to print to a Win95 printer using > smbprint.sysv. This works great except for one problem - the printer > requires a manual feed to print the last page. Any ideas?At the end of your SYSV filter you need to put a formfeed. Try: echo "\f\c"> Thanks, dave.Brett Brett Worth - Ph: +61 6 241 5633 Fx: 241 3733 - Canberra Australia
> After stopping that still living nmbd and restarting it everything was > fine again. > > It is perfectly possible that the link between subnet 160.18 and 160.19 > was broken at this moment caused by a leased line maintenance done by > our line provider. > > What still irritates me that we lost responsiveness of nmbd: a later > test showed that the nmbd process son is stable against SIGPIPE: the > father just goes on and starts another son.I just reported a similar sounding nmbd problem to samba-bugs - I have two 'remote' servers on different subnets acting as local browse masters. The browse list syncing works fine. However if I lose the link (via router crash or WAN outage), often nmbd locks up. The otherday our router failed and I had nmbd in log level 3 at the time. nmbd stop responding at the point it started to sync with the remote server. The child nmbd had died and didnt restart. As far as I can see the remote server initiated a sync, and the link between them dropped as the protocol exchange started. Our main nmbd process never recovered. I killed it and restarted, and all was fine, but we have had a number of link outages and this has happened nearly every time. Im not always about when this happens, and no one can login untill I restart nmbd. People who work late or on weekends are not happy when this happens. -- Matthew Geier, matthew@law.usyd.edu.au Computer Systems Manager, +61 2 9351 0240 Law School, University of Sydney +61 2 9351 0200 (fax)
> Date: Tue, 28 Apr 1998 10:05:17 +0200 (MEST) > From: "F. G. P." <fgp@fgp.atnet.at> > To: Multiple recipients of list <samba@samba.anu.edu.au> > Subject: printing from unix to smb printer > Message-ID: <Pine.LNX.3.95.980428100123.25201A-100000@fgp.atnet.at> > > Hi > > This would not work, because the unix-password are encrypted by an > one-way-hash funktion. With today's computers it's NOT possible to get the > clear-text password from the /etc/passwd or /etc/shadow file, no is itMy one friend has many times tried to use a decryption program, which supposely could broke unix password... I sent him once a encrypted password, which for I didn't have decrypted one and he gave me it. It was something that could be someone's password... I don't know how he did that, but I think somehow he did it.. Was it somekind of brute force or not, only God knows it. He never sent me that program 'cause he promised not to do so.> possible to convert the password to the encryption used by WIndows. > However, you could patch the passwd programm, so that it saves the > clear-text or windows-encrypted password somewhere. This could than be > used for printing. If you are really concerned about security, you should > not do this, because the encryption used by windows is known to be weak. > > mfg, fgp > > ____________________________________________________________ > > E-Mail: fgp@fgp.atnet.at (Mail me for my PGP 5.0 public key) > ____________________________________________________________ > > This Mail was created with: > __ ___ > / / / / > / / \_/ > / / ___ ___ __ __ __ __ > / / / / / /__ / / / / \ \/ / > / / / / / __ \ / / / / \ / > / ----/ / / / / / / / /__/ / / \ > /_______/ /__/ /__/ /__/ /______/ /__/\__\ > > >
Steve Francis <steve.francis@commserv.ucsb.edu> wrote:> > I have a samba install, samba-1.9.18p4, with security=server. Users are > validated against the NT domain controller correctly, and user accounts > do exist on the unix box (AIX 4.2.1) > > Problem is that while the uid of the files that users create is correct, > the group id is always sys, even though the users have as primary gid > STAFF.[snip] Is the set-group-id bit set on the directory and is the directory group owned by sys? I believe AIX defaults to setting this bit on newly created directories. To fix: # chmod g-s <directory-name> -- Thomas J. Pinkl 738 Louis Drive Unix Systems Programmer Warminster, Pa 18974 Health Business Systems, Inc. (215) 442-9300 x9260