[Samba] BDC problem!? user can't get profile/map drive

Gémes Géza geza at kzsdabas.sulinet.hu
Mon Mar 28 14:25:41 GMT 2005


You don't need to explicitly set anything userSmbHome or userProfile 
related ldap parameters, unless you need to set for some users, some 
nondefault paths

Cheers

Geza

>My smb.conf already use %L (logon path =
>\\%L\profiles\%U)
>
>Is that mean in the smbldap_conf.pm, the $_userSmbHome
>is set as q(\\\\%L\\homes) and _userProfile are set as
>q(\\\\%L\\profiles\\)???
>
>Thanks a lot!
>Carmen
>
>
>--- Gémes Géza <geza at kzsdabas.sulinet.hu> wrote:
>
>  
>
>>Change PDC to %L and you are done, the clients will
>>request the share 
>>from the DC they are connected to.
>>
>>    
>>
>>>My problem is that when my PDC is down, my BDC can
>>>pick up the user authorization but is not able to
>>>      
>>>
>>help
>>    
>>
>>>client to mount to the home directory. 
>>>
>>>I am using openldap to store user account, I found
>>>      
>>>
>>the
>>    
>>
>>>samba home drive entry in the openldap as
>>>      
>>>
>>//PDC/homes.
>>    
>>
>>>I don't know whether this prevent my BDC to help
>>>client to mount to the //BDC/homes instead...
>>>
>>>Do anyone know how to solve this??
>>>
>>>Thanks a lot!
>>>Carmen
>>>
>>>
>>>--- Gémes Géza <geza at kzsdabas.sulinet.hu> wrote:
>>> 
>>>
>>>      
>>>
>>>>I would suggest to rsync the profile and home
>>>>        
>>>>
>>shares
>>    
>>
>>>>periodically, 
>>>>between DCs, of course it would mean a lot of disk
>>>>space waste :-(
>>>>
>>>>Cheers
>>>>
>>>>Geza
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>>>Dear Paul:
>>>>>
>>>>>Would you show me how can I implement the BDC so
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>>that
>>>>   
>>>>
>>>>        
>>>>
>>>>>the user can mount to the BDC home and get the
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>>profile
>>>>   
>>>>
>>>>        
>>>>
>>>>>on BDC instead when the PDC is down?? 
>>>>>
>>>>>Thanks a lot!
>>>>>Carmen
>>>>>
>>>>>--- Paul Gienger <pgienger at ae-solutions.com>
>>>>>          
>>>>>
>>wrote:
>>    
>>
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>>>>>Then I try to shut down my PDC to check whether
>>>>>>>         
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>the
>>>>   
>>>>
>>>>        
>>>>
>>>>>>>client login through the BDC. I found that my
>>>>>>>    
>>>>>>>
>>>>>>>         
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>client
>>>>>>  
>>>>>>
>>>>>>       
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>(on Window NT) are able to authenticated by
>>>>>>>              
>>>>>>>
>>BDC,
>>    
>>
>>>>>>>    
>>>>>>>
>>>>>>>         
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>but
>>>>>>  
>>>>>>
>>>>>>       
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>    
>>>>>>>
>>>>>>>         
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>Makes sense
>>>>>>
>>>>>>  
>>>>>>
>>>>>>       
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>it keeps saying that it can't retrieve the user
>>>>>>>profile. Also the user's home drive can't map
>>>>>>>              
>>>>>>>
>>to
>>    
>>
>>>>>>>client PC machine. 
>>>>>>>
>>>>>>>
>>>>>>>    
>>>>>>>
>>>>>>>         
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>Also makes sense.
>>>>>>
>>>>>>  
>>>>>>
>>>>>>       
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>the map drive and the profile path as
>>>>>>>              
>>>>>>>
>>//PDC/homes
>>    
>>
>>>>>>>    
>>>>>>>
>>>>>>>         
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>and
>>>>>>  
>>>>>>
>>>>>>       
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>//PDC/profiles. Is that mean, if I am using
>>>>>>>              
>>>>>>>
>>BDC,
>>    
>>
>>>>>>>         
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>it
>>>>   
>>>>
>>>>        
>>>>
>>>>>>>    
>>>>>>>
>>>>>>>         
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>is
>>>>>>  
>>>>>>
>>>>>>       
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>failed to find the //PDC/homes and
>>>>>>>         
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>//PDC/profiles?
>>>>   
>>>>
>>>>        
>>>>
>>>>>>>    
>>>>>>>
>>>>>>>         
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>If your pdc has gone down you will most
>>>>>>            
>>>>>>
>>certainly
>>    
>>
>>>>>>have a problem 
>>>>>>mounting drives/accessing files on that machine,
>>>>>>just as when any other 
>>>>>>server goes down you can't access services
>>>>>>            
>>>>>>
>>hosted
>>    
>>
>>>>>>       
>>>>>>
>>>>>>            
>>>>>>
>>>>on
>>>>   
>>>>
>>>>        
>>>>
>>>>>>it.  If this is 
>>>>>>your goal, you need to find some way to make the
>>>>>>pdc/home data highly 
>>>>>>available, such as storing them on a seperate
>>>>>>       
>>>>>>
>>>>>>            
>>>>>>
>>>>server
>>>>   
>>>>
>>>>        
>>>>
>>>>>>that the users are 
>>>>>>then pointed to for the data.  There are many
>>>>>>            
>>>>>>
>>ways
>>    
>>
>>>>>>to go about doing 
>>>>>>this, you just need to find the way that works
>>>>>>       
>>>>>>
>>>>>>            
>>>>>>
>>>>best
>>>>   
>>>>
>>>>        
>>>>
>>>>>>for your situation.
>>>>>>
>>>>>>-- 
>>>>>>Paul Gienger                    Office:
>>>>>>       
>>>>>>
>>>>>>            
>>>>>>
>>>>701-281-1884
>>>>   
>>>>
>>>>        
>>>>
>>>>>>Applied Engineering Inc.
>>>>>>Systems Architect               Fax:   
>>>>>>       
>>>>>>
>>>>>>            
>>>>>>
>>>>701-281-1322
>>>>   
>>>>
>>>>        
>>>>
>>>>>>URL: www.ae-solutions.com       mailto:
>>>>>>pgienger at ae-solutions.com
>>>>>>            
>>>>>>
>=== message truncated ===
>
>
>
>		
>__________________________________ 
>Do you Yahoo!? 
>Yahoo! Small Business - Try our new resources site!
>http://smallbusiness.yahoo.com/resources/ 
>  
>



More information about the samba mailing list