Quick samba question

Darin Perusich Darin.Perusich at cognigencorp.com
Thu Jun 27 14:31:14 EDT 2002


you're not running samba and pcnetlink on the same server are you? i 
don't think you are, i just want to make sure. samba and pcnetlink are 
esentially the same thing.

Justin Bennett wrote:
> Hmm.. A little side effect of reloading samba. Atleast the version I'm
> running, samba-2.2.4-1  with the compiled RPM from samba. My samba
> server is also the NIS master (and also bound it it's self). a users
> home dir is /home/jbennett, while the actual files are in
> /export/mishome/jbennett. NIS and automounter mount /home/jbennett to
> /export/mishome/jbennett. The user is set to use /home/jbennett for
> their home. This works fine, except after a samba reload (pkill -HUP)
> and also if I change the config file (it auto reloads if the file is
> changed). Then if a user breaks the connection to their home dir (they
> reboot their machine) samba won't find their home dir. I ran redhat
> up2date and installed a new kernel so I rebooted, (my drives on my linux
> box are mounted via smbmount it's easier than doing NIS and making sure
> user IDs and Group Ids are all the same).
> 
> I get:
> 
> [jbennett at polo jbennett]$ smbclient //cheetah/jbennett -U jbennett
> added interface ip=192.168.128.9 bcast=192.168.128.255
> nmask=255.255.255.0
> Password:
> Domain=[DYNABRADE.COM] OS=[Unix] Server=[Samba 2.2.4]
> tree connect failed: NT_STATUS_BAD_NETWORK_NAME
> [jbennett at polo jbennett]$
> 
> If i do a wholesale restart of samba then The homes will map. However
> that would kick anyone working at the moment. Is anyone else doing samba
> via NIS? Experienced this problem?  Is their build options to fix this?
> I haven't had this problem before this build of samba I'm running, but
> prior my NIS master was seperate, (a sun blade 100 running PCNetlink and
> NIS).
> 
> Ideas?
> 
> I can work around this temporarily by putting my home dir as a share in
> smb.conf until I restart samba tonight, but if someones PC crashes I'll
> have to do it for them too.
> 
> 
> 
> 
> On Thu, 2002-06-27 at 11:44, Justin Bennett wrote:
> 
>>Not an option in my init script. :( mines from the rpm on sambas
>>download site, may not have that in that script.
>>
>>/etc/rc.d/init.d/smb reload
>>
>>Usage: smb {start|stop|restart|status}
>>
>>
>>On Thu, 2002-06-27 at 11:32, Robert Meyer wrote:
>>
>>>/etc/rc.d/init.d/smb reload
>>>
>>>Cheers!
>>>
>>>Bob
>>>--- Justin Bennett <justin.bennett at dynabrade.com> wrote:
>>>
>>>>ok I just added a linux printer queqe (spell.)  and I would like to have
>>>>samba read the printcap file and share the printer without having to
>>>>restart samba and kicking anyone off their shares. Any easy way to
>>>>refresh samba without loosing share connections on client pcs maybe a
>>>>kill -HUP?
>>>>
>>>>
>>>>
>>>>-- 
>>>>-------------------------------------------
>>>>Justin Bennett
>>>>Red Hat (Linux) Certified Engineer
>>>>Network Administrator
>>>>Dynabrade Inc.
>>>>8989 Sheridan Dr
>>>>Clarence, NY 14031
>>>>716-631-0100 ext 215
>>>
>>>=====
>>>Bob Meyer
>>>Knightwing Communications, Inc.
>>>36 Cayuga Blvd
>>>Depew, NY 14043
>>>Phone: 716-308-8931 or 716-681-0076
>>>Meyer_RM at Yahoo.com
>>>
>>>__________________________________________________
>>>Do You Yahoo!?
>>>Yahoo! - Official partner of 2002 FIFA World Cup
>>>http://fifaworldcup.yahoo.com
>>>
>>>--
>>>This message has been scanned for viruses and
>>>dangerous content by Dynabrade using Mailscanner,
>>>and is believed to be clean.
>>
>>-- 
>>-------------------------------------------
>>Justin Bennett
>>Red Hat (Linux) Certified Engineer
>>Network Administrator
>>Dynabrade Inc.
>>8989 Sheridan Dr
>>Clarence, NY 14031
>>716-631-0100 ext 215
>>
>>--
>>This message has been scanned for viruses and
>>dangerous content by Dynabrade using Mailscanner,
>>and is believed to be clean.
> 


-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corp.
darinper at cognigencorp.com




More information about the nflug mailing list