[Samba] Get logged on username (several sessions on the same machine)

Kurthermal kurt.hermal at laposte.net
Mon Mar 10 17:26:10 GMT 2008


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.


More information about the samba mailing list