Samba and logoff event

Andrew Bartlett abartlet at samba.org
Sat Jun 15 00:23:51 MDT 2013


On Sat, 2013-06-15 at 00:42 +0200, Alex Winzer wrote:
> Hello,
> 
> first of all thank your for your great work on Samba. I'm using it for 
> years and I'm kind of satisfied. Second I don't know if this is the 
> right list to ask. So I#d be thankful for any advice were to put it right.
> 
> I'm using samba as a primary domian controller mostly for Windows XP 
> clients with roaming profiles. I have two offices and so I'm using samba 
> as a file server only from that second office. This I wanted to change.
> 
> I already did some research on the internet, how to syncronize these 
> profiles. There seems not to be an event fired by samba if a user does a 
> logoff from PDC. 

Correct, there is not a specific message sent to us on 'log off'. 

> That's why some people offer a solution by using a cron 
> job to keep the profiles the same. Others use a construction of 
> smbstatus and grep or netstat and grep to simulate this.
> 
> So here my questions:
> 1. Does samba have such kind of event?
> 2. If it has, how can I handle it / find some information about?
> 3. If it doesn't, would it be possible to insert such kind of event into 
> future versions of samba?

The client doesn't tell us about a desktop logoff, so that's why this
isn't easy to do.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba-technical mailing list