Hello, I'm writting an application that will be running on a Samba PDC. It has to get <login> (%username%) currently logged on some windows NT domain clients. I began to use 'net status sessions' but sometimes it returns more than one user currently logged on the same windows client. What's happening ? Is there a solution to avoid this ? Are there other methods to get <login> ? Thanks, K.
Kurthermal
2008-Mar-10 17:26 UTC
[Samba] Get logged on username (several sessions on the same machine)
I repost my question because I've noticed it on several Samba servers and I'm sure it is certainly a known problem. My configuration : Samba 3.0.24 Ubuntu Feisty Any help will be highly appreciated. Kurt Kurthermal wrote :> Hello, > I'm writting an application that will be running on a Samba PDC. It > has to get <login> (%username%) currently logged on some windows NT > domain clients. > I began to use 'net status sessions' but sometimes it returns more > than one user currently logged on the same windows client. > What's happening ? > Is there a solution to avoid this ? > Are there other methods to get <login> ? > > Thanks, > K.